How would you prepare for an online test that includes Python and SQL questions in 1.5 hours?
You are given a short list of topics and a time budget. Write a SQL query that returns the topics to study first, ordered by priority and then by topic name. Ignore any topic with a NULL priority.
topic, prioritypriority descending, then topic ascending| Column | Type | Description |
|---|---|---|
| topic_idPK | INT | Unique topic identifier |
| topic | VARCHAR(100) | Study topic name |
| priority | INT | Priority score for study ordering |