(`a1`a2`a3`a4,20) as ts_code,rand(10.0,20) as price)
eval(sql(select=sqlColAlias(<sumcolname>, `y),from=t, groupBy=sqlCol(`ts_code`))) Syntax Error: expected to close the function call sum我有DolphinDB服务器1.20.9版本。
#define SUM_A( x, y ) if( x == 0 || y == 0) { 0 } else { ( ( ( x * x ) / ( ( x ) + ( y ) ) ) * ( y ))}float a = 40, b = 10, result; printf("%f", result);
我尝试使用方括号将if函数括起来,但在if语句之前总是出现语法错误。