Tell me about how you would approach a SQL whiteboarding problem and a separate coding problem under time pressure.
For the SQL portion, use the supplied users and posts tables. Write a query that demonstrates a clear, verifiable approach without including users who do not meet the required post threshold.
user_id, username, published_post_count, and latest_published_atpublished_post_count descending, then username ascending, with NULL usernames last| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique user identifier |
| username | VARCHAR(50) | Displayed username |
| created_at | TIMESTAMP | User creation timestamp |
| Column | Type | Description |
|---|---|---|
| post_idPK | INT | Unique post identifier |
| user_id | INT | User who created the post |
| title | VARCHAR(120) | Post title |
| status | VARCHAR(20) | Post publication status |
| created_at | TIMESTAMP | Post creation timestamp |