sql select c1, log(c2, 2), pow(c1,2), pow(c2,2)+2, pow(c2,3)+log(c3, 2)+pow(c5,2) as v4, pow(c4, 4.5)+pow(c3, 2), log(c1,2)+log(c3,4)+pow(c6,2.8)+2 as v6 from $stb order by ts desc
sql select c1, log(c2, 2), pow(c1,2), pow(c2,2)+2, pow(c2,3)+log(c3, 2)+pow(c5,2) as v4, pow(c4, 4.5)+pow(c3, 2), log(c1,2)+log(c3,4)+pow(c6,2.8)+2 as v6 from $tb order by ts limit 2;
print ===============> step 3 sql_error stable, group by, window
sql_error select log(c2,2) from $stb group by tbname;
sql_error select log(c2,2) from $stb group by tgcol;
sql_error select log(c2,2) from $stb group by c3;
sql_error select log(c2,2) from $stb interval(1m);
sql_error select log(c2,2) from $stb state_window(c7);
sql_error select log(c2,2) from $tb state_window(c7);
sql_error select log(c2,2) from $stb session(ts, 30s);
sql_error select log(c2,2) from $tb session(ts, 30s);
sql_error select log(c2,2) from $stb slimit 2;
sql_error select pow(c2,2) from $stb group by tbname;
sql_error select pow(c2,2) from $stb group by tgcol;
sql_error select pow(c2,2) from $stb group by c3;
sql_error select pow(c2,2) from $stb interval(1m);
sql_error select pow(c2,2) from $stb state_window(c7);
sql_error select pow(c2,2) from $tb state_window(c7);
sql_error select pow(c2,2) from $stb session(ts, 30s);
sql_error select pow(c2,2) from $tb session(ts, 30s);
sql_error select pow(c2,2) from $stb slimit 2;
sql_error select pow(c2,2) from $stb interval(1m) slimit 2;
print ===============> step 4 nested query
sql select c1, log(c2, 2), pow(c1,2), pow(c2,2)+2, pow(c2,3)+log(c3, 2)+pow(c5,2) as v4, pow(c4, 4.5)+pow(c3, 2), log(c1,2)+log(c3,4)+pow(c6,2.8)+2 as v6 from (select * from $stb order by ts desc)
sql select c1, log(c2, 2), pow(c1,2), pow(c2,2)+2, pow(c2,3)+log(c3, 2)+pow(c5,2) as v4, pow(c4, 4.5)+pow(c3, 2), log(c1,2)+log(c3,4)+pow(c6,2.8)+2 as v6 from (select * from $tb order by ts limit 2);