feat: sql commadn 'select max(c1), c2 from t'
This commit is contained in:
parent
d97f1cc388
commit
7cdedc8bc8
|
@ -101,7 +101,7 @@ class TDTestCase:
|
||||||
# tdSql.error("select distinct c1, ts from stb1 group by c2")
|
# tdSql.error("select distinct c1, ts from stb1 group by c2")
|
||||||
tdSql.error("select distinct c1, ts from t1 group by c2")
|
tdSql.error("select distinct c1, ts from t1 group by c2")
|
||||||
# tdSql.error("select distinct c1, max(c2) from stb1 ")
|
# tdSql.error("select distinct c1, max(c2) from stb1 ")
|
||||||
tdSql.error("select distinct c1, max(c2) from t1 ")
|
# tdSql.error("select distinct c1, max(c2) from t1 ")
|
||||||
# tdSql.error("select max(c2), distinct c1 from stb1 ")
|
# tdSql.error("select max(c2), distinct c1 from stb1 ")
|
||||||
tdSql.error("select max(c2), distinct c1 from t1 ")
|
tdSql.error("select max(c2), distinct c1 from t1 ")
|
||||||
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 group by t0")
|
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 group by t0")
|
||||||
|
@ -109,9 +109,9 @@ class TDTestCase:
|
||||||
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 interval(1d) ")
|
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 interval(1d) ")
|
||||||
tdSql.error("select distinct c1, c2 from t1 where c1 > 3 interval(1d) ")
|
tdSql.error("select distinct c1, c2 from t1 where c1 > 3 interval(1d) ")
|
||||||
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 interval(1d) fill(next)")
|
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 interval(1d) fill(next)")
|
||||||
# tdSql.error("select distinct c1, c2 from t1 where c1 > 3 interval(1d) fill(next)")
|
tdSql.error("select distinct c1, c2 from t1 where c1 > 3 interval(1d) fill(next)")
|
||||||
# tdSql.error("select distinct c1, c2 from stb1 where ts > now-10d and ts < now interval(1d) fill(next)")
|
# tdSql.error("select distinct c1, c2 from stb1 where ts > now-10d and ts < now interval(1d) fill(next)")
|
||||||
# tdSql.error("select distinct c1, c2 from t1 where ts > now-10d and ts < now interval(1d) fill(next)")
|
tdSql.error("select distinct c1, c2 from t1 where ts > now-10d and ts < now interval(1d) fill(next)")
|
||||||
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 slimit 1")
|
# tdSql.error("select distinct c1, c2 from stb1 where c1 > 3 slimit 1")
|
||||||
# tdSql.error("select distinct c1, c2 from t1 where c1 > 3 slimit 1")
|
# tdSql.error("select distinct c1, c2 from t1 where c1 > 3 slimit 1")
|
||||||
# tdSql.query(f"select distinct c1, c2 from stb1 where c1 between {tbnum-2} and {tbnum} ")
|
# tdSql.query(f"select distinct c1, c2 from stb1 where c1 between {tbnum-2} and {tbnum} ")
|
||||||
|
|
Loading…
Reference in New Issue