Time zones
ts AT TIME ZONE 'Asia/Tokyo' gives the wall clock in Tokyo. An order at 23:30 UTC is already the next day there.
task
Orders per local day for customers in Asia/Tokyo. Return the day and the count.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
ts AT TIME ZONE 'Asia/Tokyo' gives the wall clock in Tokyo. An order at 23:30 UTC is already the next day there.
Orders per local day for customers in Asia/Tokyo. Return the day and the count.