Write a SQL query to retrieve all users who signed up in the last month.
Use the users table. Interpret “last month” as the previous calendar month, excluding the current month and any earlier months.
user_id, email, and signed_up_at.signed_up_at ascending, then user_id ascending.| Column | Type | Description |
|---|---|---|
| user_idPK | INTEGER | Unique identifier for the user |
| VARCHAR(255) | User email address | |
| signed_up_at | TIMESTAMPTZ | Timestamp when the user signed up |