ClickHouse/dbms/tests/queries/0_stateless/00834_date_datetime_cmp.sql

5 lines
234 B
MySQL
Raw Normal View History

2019-02-02 17:00:29 +00:00
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');