SELECT now() AT TIME ZONE 'Asia/Kolkata' AS run_at_ist, current_user; run_at_ist | current_user ----------------------------+-------------- 2026-11-24 00:36:24.436463 | nl2sql_full (1 row) SELECT to_char(date_trunc('month', placed_at AT TIME ZONE 'UTC'), 'Mon YYYY') AS month, COUNT(*) AS orders FROM orders WHERE placed_at >= '2026-06-01 00:00+00' AND placed_at < '2026-09-01 00:00+00' GROUP BY date_trunc('month', placed_at AT TIME ZONE 'UTC'), 1 ORDER BY date_trunc('month', placed_at AT TIME ZONE 'UTC'); month | orders ----------+-------- Jun 2026 | 11 Jul 2026 | 18 Aug 2026 | 28 (3 rows)