select TIMEDIFF(1,2)
select TIMEDIFF(2,1)
select TIMEDIFF(1,2,1s)
select TIMEDIFF(2,1,1s)
select TIMEDIFF(1,10000000,1m)
select TIMEDIFF(10000000,1,1m)
select TIMEDIFF(1,10000000,1h)
select TIMEDIFF(10000000,1,1h)
select TIMEDIFF(1,10000000,1d)
select TIMEDIFF(10000000,1,1d)
select TIMEDIFF(1,10000000,1w)
select TIMEDIFF(10000000,1,1w)
select TIMEDIFF(1724404450,1725095657)
select TIMEDIFF(1725095657,1724404450)
select TIMEDIFF(1724404450,1725095657,1s)
select TIMEDIFF(1725095657,1724404450,1s)
select TIMEDIFF(1724404450,1725095657,1m)
select TIMEDIFF(1725095657,1724404450,1m)
select TIMEDIFF(1724404450,1725095657,1h)
select TIMEDIFF(1725095657,1724404450,1h)
select TIMEDIFF(1724404450,1725095657,1d)
select TIMEDIFF(1725095657,1724404450,1d)
select TIMEDIFF(1724404450,1725095657,1w)
select TIMEDIFF(1725095657,1724404450,1w)
select TIMEDIFF('2024-08-23 17:14:17', '2024-08-31 17:14:17')
select TIMEDIFF('2024-08-31 17:14:17', '2024-08-23 17:14:17')
select TIMEDIFF('2024-08-23 17:14:17', '2024-08-31 17:14:17', 1s)
select TIMEDIFF('2024-08-31 17:14:17', '2024-08-23 17:14:17', 1s)
select TIMEDIFF('2024-08-23 17:14:17', '2024-08-31 17:14:17', 1m)
select TIMEDIFF('2024-08-31 17:14:17', '2024-08-23 17:14:17', 1m)
select TIMEDIFF('2024-08-23 17:14:17', '2024-08-31 17:14:17', 1h)
select TIMEDIFF('2024-08-31 17:14:17', '2024-08-23 17:14:17', 1h)
select TIMEDIFF('2024-08-23 17:14:17', '2024-08-31 17:14:17', 1d)
select TIMEDIFF('2024-08-31 17:14:17', '2024-08-23 17:14:17', 1d)
select TIMEDIFF('2024-08-23 17:14:17', '2024-08-31 17:14:17', 1w)
select TIMEDIFF('2024-08-31 17:14:17', '2024-08-23 17:14:17', 1w)
select TIMEDIFF('2024-08-23 17:14:17', 1725095657)
select TIMEDIFF(1725095657, '2024-08-23 17:14:17')
select TIMEDIFF('2024-08-23 17:14:17', 1725095657, 1s)
select TIMEDIFF(1725095657, '2024-08-23 17:14:17', 1s)
select TIMEDIFF('2024-08-23 17:14:17', 1725095657, 1m)
select TIMEDIFF(1725095657, '2024-08-23 17:14:17', 1m)
select TIMEDIFF('2024-08-23 17:14:17', 1725095657, 1h)
select TIMEDIFF(1725095657, '2024-08-23 17:14:17', 1h)
select TIMEDIFF('2024-08-23 17:14:17', 1725095657, 1d)
select TIMEDIFF(1725095657, '2024-08-23 17:14:17', 1d)
select TIMEDIFF('2024-08-23 17:14:17', 1725095657, 1w)
select TIMEDIFF(1725095657, '2024-08-23 17:14:17', 1w)
select TIMEDIFF(ts, ts) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, '2024-08-31 17:14:17') from ts_4893.meters order by ts limit 10
select TIMEDIFF('2024-08-31 17:14:17', ts) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, '2024-08-31 17:14:17', 1s) from ts_4893.meters order by ts limit 10
select TIMEDIFF('2024-08-31 17:14:17', ts, 1s) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, '2024-08-31 17:14:17', 1m) from ts_4893.meters order by ts limit 10
select TIMEDIFF('2024-08-31 17:14:17', ts, 1m) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, '2024-08-31 17:14:17', 1h) from ts_4893.meters order by ts limit 10
select TIMEDIFF('2024-08-31 17:14:17', ts, 1h) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, '2024-08-31 17:14:17', 1d) from ts_4893.meters order by ts limit 10
select TIMEDIFF('2024-08-31 17:14:17', ts, 1d) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, '2024-08-31 17:14:17', 1w) from ts_4893.meters order by ts limit 10
select TIMEDIFF('2024-08-31 17:14:17', ts, 1w) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, 1725095657) from ts_4893.meters order by ts limit 10
select TIMEDIFF(1725095657, ts) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, 1725095657, 1s) from ts_4893.meters order by ts limit 10
select TIMEDIFF(1725095657, ts, 1s) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, 1725095657, 1m) from ts_4893.meters order by ts limit 10
select TIMEDIFF(1725095657, ts, 1m) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, 1725095657, 1h) from ts_4893.meters order by ts limit 10
select TIMEDIFF(1725095657, ts, 1h) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, 1725095657, 1d) from ts_4893.meters order by ts limit 10
select TIMEDIFF(1725095657, ts, 1d) from ts_4893.meters order by ts limit 10
select TIMEDIFF(ts, 1725095657, 1w) from ts_4893.meters order by ts limit 10
select TIMEDIFF(1725095657, ts, 1w) from ts_4893.meters order by ts limit 10
select timediff('2022-01-01 08:00:00', '2022-01-01 08:00:10',1s)
select timediff('2023-01-01 08:00:00', '2022-01-01 08:00:00',1s)
select timediff('2022-01-01 08:00:03', '2022-01-01 08:00:00',1a)
select timediff('2022-01-31 08:00:00', '2022-01-01 08:00:00',1m)
select timediff('2022-01-31 08:00:00', '2022-01-01 08:00:00',1h)
select timediff('2022-01-31 08:00:00', '2022-01-01 08:00:00',1d)
select timediff('2022-01-31 08:00:00', '2022-01-01 08:00:00',1w)
select timediff('2022-01-31 08:00:00', '2022-01-01 08:00:00')
select timediff('2022-01-31 08:00:0', '2022-01-01 08:00:00',1s)
select timediff('2022-01-31', '2022-01-01',1s)
select timediff(1720769589, 1720769529, 1s)
select timediff(1720769589, '2022-01-01 08:00:00', 1s)
select timediff(1720769589123, 1720769529123, 1s)
select timediff(1720769589231, '2022-01-01 08:00:00', 1s)
select timediff('2022-01-01 08:00:00', 1720769589, 1s)
select timediff('2022-01-01 08:00:00', 1720769589123, 1s)
select timediff(ts, 1720769589123, 1a) from ts_4893.d0 order by ts limit 10
select timediff(ts, 1720769589123, 1a) from ts_4893.meters order by ts limit 10
select timediff(null, '2022-01-01 08:00:01', 1s)
select timediff('20220131', '20220101', 1s)
select timediff('01/31/22', '01/01/22', 1s)
select timediff('22/01/31', '22/01/01')
select timediff('22/01/31', '22/01/01', 1s)
select timediff('31-JAN-22', '01-JAN-22', 1s)
select timediff('2022/01/31', '2022/01/01', 1s)
select timediff('2022-01-01 08:00:00', null, 1s)
select timediff('www', 'ttt')
select timediff(ts, ts) from ts_4893.meters limit 1
select timediff(ts, ts - 1d) from ts_4893.meters limit 1
select timediff(ts, '00:00:00') from ts_4893.meters limit 1
select timediff(ts, null) from ts_4893.meters limit 1
select timediff('25:61:61', ts) from ts_4893.meters limit 1
select timediff('invalid_format', ts) from ts_4893.meters limit 1
select timediff(name, ts) from ts_4893.meters limit 2
select timediff('string_value', 'another_string') from ts_4893.meters limit 1
