ClickHouse/tests/queries/0_stateless/00834_date_datetime_cmp.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up ()
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

5 lines
234 B
SQL

SELECT toDateTime('2017-06-28 12:01:01') < toDate('2017-07-01');
SELECT toDateTime('2017-06-28 12:01:01') > toDate('2017-07-01');
SELECT toDate('2017-06-28') < toDate('2017-07-01');
SELECT toDate('2017-06-28') > toDate('2017-07-01');