diff --git a/tests/script/general/parser/nestquery.sim b/tests/script/general/parser/nestquery.sim index 35785bfb39825280894e658dab454772677d4fab..fe12972bf698aae9f7469ee5768852cb342bc6c3 100644 --- a/tests/script/general/parser/nestquery.sim +++ b/tests/script/general/parser/nestquery.sim @@ -430,5 +430,24 @@ print ===========>td-4805 sql_error select tbname, i from (select * from nest_tb0) group by i; sql select count(*),c1 from (select * from nest_tb0) where c1 < 2 group by c1; +if $rows != 2 then + return -1 +endi + +if $data00 != 100 then + return -1 +endi + +if $data01 != 0 then + return -1 +endi + +if $data10 != 100 then + return -1 +endi + +if $data11 != 1 then + return -1 +endi system sh/exec.sh -n dnode1 -s stop -x SIGINT \ No newline at end of file