Hi everyone,
I'm trying to write a SQL query that generates a calendar for a specific month (e.g., October 2026). I want the output to look like a standard calendar grid with columns for each day of the week (Sun-Sat).
Ideally, the output should look something like this:
Plaintext
Sun | Mon | Tue | Wed | Thu | Fri | Sat
---------------------------------------
| | 1 | 2 | 3 | 4 | 5
6 | 7 | 8 | 9 | 10 | 11 | 12
...