homework-jianmu/tests/army/query/function/in/dayofweek.in

13 lines
778 B
Plaintext

select DAYOFWEEK('2020-01-01 00:00:00');
select DAYOFWEEK('2020-01-01 00:00:00') from ts_4893.meters order by ts limit 10;
select DAYOFWEEK('2021-01-01 00:00:00');
select DAYOFWEEK('2021-01-01 00:00:00') from ts_4893.meters order by ts limit 10;
select DAYOFWEEK('1998-01-01 00:00:00');
select DAYOFWEEK('1998-01-01 00:00:00') from ts_4893.meters order by ts limit 10;
select DAYOFWEEK('1998-12-31 00:00:00');
select DAYOFWEEK('1998-12-31 00:00:00') from ts_4893.meters order by ts limit 10;
select DAYOFWEEK('2000-01-06 00:00:00');
select DAYOFWEEK('2000-01-06 00:00:00') from ts_4893.meters order by ts limit 10;
select DAYOFWEEK(1725095657);
select DAYOFWEEK(1725095657) from ts_4893.meters order by ts limit 10;
select DAYOFWEEK(ts) from ts_4893.meters order by ts limit 10;