2020-09-08 20:05:47 +00:00
|
|
|
SELECT
|
2022-03-11 23:45:26 +00:00
|
|
|
toDate(toDateTime((number * 10) * 86400, 'Asia/Istanbul')) AS d1,
|
|
|
|
toDate(toDateTime(number * 86400, 'Asia/Istanbul')) AS d2,
|
2020-07-08 23:56:44 +00:00
|
|
|
'original' AS source
|
|
|
|
FROM numbers(10)
|
|
|
|
WHERE (number % 3) = 1
|
2020-09-08 20:05:47 +00:00
|
|
|
ORDER BY
|
2020-07-08 23:56:44 +00:00
|
|
|
d2 WITH FILL,
|
|
|
|
d1 WITH FILL STEP 5;
|
|
|
|
|
|
|
|
SELECT '===============';
|
|
|
|
|
2020-09-08 20:05:47 +00:00
|
|
|
SELECT
|
2022-03-11 23:45:26 +00:00
|
|
|
toDate(toDateTime((number * 10) * 86400, 'Asia/Istanbul')) AS d1,
|
|
|
|
toDate(toDateTime(number * 86400, 'Asia/Istanbul')) AS d2,
|
2020-07-08 23:56:44 +00:00
|
|
|
'original' AS source
|
|
|
|
FROM numbers(10)
|
|
|
|
WHERE (number % 3) = 1
|
2020-09-08 20:05:47 +00:00
|
|
|
ORDER BY
|
2020-07-08 23:56:44 +00:00
|
|
|
d1 WITH FILL STEP 5,
|
2020-11-24 09:52:35 +00:00
|
|
|
d2 WITH FILL;
|