Browse Source

timestamp compare

wecisecode 1 tuần trước cách đây
mục cha
commit
abf302da47
1 tập tin đã thay đổi với 38 bổ sung0 xóa
  1. 38 0
      odbctest/mql/basic/13delete/98.subqueryconds.mql

+ 38 - 0
odbctest/mql/basic/13delete/98.subqueryconds.mql

@@ -0,0 +1,38 @@
+
+-- select * from /test/delete
+-- /**
+-- output()
+-- count(3)
+-- **/
+-- ;
+
+
+-- select * from  ( select * from /test/delete) vv
+-- /**
+-- output()
+-- count(3)
+-- **/
+-- ;
+
+
+-- select * from /test/delete where v_timestamp = '2019-10-22 23:59:59'
+-- /**
+-- output()
+-- count(1)
+-- **/
+-- ;
+
+
+select * from  ( select * from /test/delete) vv where v_timestamp = '2019-10-22 23:59:59'
+/**
+output()
+**/
+;
+
+
+select * from  ( select * from /test/delete) vv where vv.v_timestamp = '2019-10-22 23:59:59'
+/**
+output()
+**/
+;
+