ClickHouse/tests/queries/0_stateless/02503_mysql_compat_utc_timestamp.sql
2022-12-23 03:29:18 +03:00

3 lines
159 B
SQL

-- PowerBI is doing this query. It should work at least somehow, not necessarily in the same way as in MySQL.
SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP()) DIV 600;