Write a SQL query to get the last 5 latest inserted records into the table.
Asked in the Technical round stage. Assume insertion recency is represented by inserted_at; when timestamps match, the higher record_id is considered later.
record_id, record_name, and inserted_at.inserted_at after all timestamped rows.| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique record identifier |
| record_name | VARCHAR(100) | Record label |
| inserted_at | TIMESTAMPTZ | Timestamp when the record was inserted |