How would you answer basic Java, Spring Boot, and database questions in an interview?
You are given a small log of interview questions and the topic each question belongs to. Write a SQL query that returns the number of questions in each topic category.
topic, question_counttopic is not nullquestion_count descending, then topic ascending| Column | Type | Description |
|---|---|---|
| question_idPK | INT | Unique identifier for the interview question |
| topic | VARCHAR(50) | Topic category for the question, such as Java, Spring Boot, or database |
| question_text | VARCHAR(255) | Interview question text |
| asked_by_team | VARCHAR(50) | Team that asked the question |