tdSql.query('select upper(q_nchar1),upper(q_nchar2),length(q_nchar1),char_length(q_nchar1),lower(q_nchar1) from (select * from stable_1) order by ts;')
tdSql.query('select * from (select CONCAT_WS("abc, taos, , <, %, $, @, |",q_binary3, q_binary7, q_binary4, q_binary8, q_binary5, q_binary6, q_binary2, q_binary1) from stable_2 where q_double <= 1.7E308 and q_int <= 2147483647 and t_tinyint != 128 and t_nchar is not null and q_nchar match \'nchar\' and (q_bool = true or q_bool = false));')
tdSql.query('select CONCAT_WS("), <, ., ^, >, , |, /",q_nchar1, q_nchar6, q_nchar7, q_nchar, q_nchar5, q_nchar8, q_nchar4, q_nchar3) from stable_2 where q_bigint is not null and t_ts is not null and q_binary nmatch \'binarynchar\';')
tdSql.query("select UPPER(q_nchar),UPPER(q_nchar),LOWER(q_nchar),length(q_nchar),char_length(q_nchar) from stable_2 where tbname in ('stable_2_1') and q_tinyint <= 127 and t_smallint is not null and (q_binary like 'binary%' or q_nchar = '0' or q_binary = 'binary_' ) and t_bool in (0 , 1) ;")
tdSql.query("select * from (select UPPER(q_nchar),UPPER(q_nchar),LOWER(q_nchar),length(q_nchar),char_length(q_nchar) from stable_2 where tbname in ('stable_2_1') and q_tinyint <= 127 and q_tinyint between -127 and 127 and (q_binary like 'binary%' or q_nchar = '0' or q_binary = 'binary_' ) and t_bool in (0 , 1) );")
tdSql.query("select UPPER(q_nchar) from stable_2 where tbname in ('stable_2_1') and q_tinyint <= 127 and q_tinyint between -127 and 127 and (q_binary like 'binary%' or q_nchar = '0' or q_binary = 'binary_' ) and t_bool in (0 , 1) ;")
tdSql.query("select * from (select UPPER(q_binary),LOWER(q_binary),CONCAT(q_binary,q_binary) from stable_2 where tbname in ('stable_2_1') and q_int is not null and t_smallint >= -32767 and q_binary nmatch 'binarynchar' and (t_bool = true or t_bool = false) order by ts desc);")
tdSql.query("select * from (select ts, UPPER(q_binary), LOWER(q_binary) from stable_2 where tbname in ('stable_2_1') and q_int is not null and t_smallint >= -32767 and q_binary nmatch 'binarynchar' and (t_bool = true or t_bool = false)) order by ts desc;")