Write a query to identify candidates who have applied to more than three jobs in the last 30 days, ranking them by their most recent application date.
Use the provided candidates and applications data. Treat applications with a NULL application date as outside the reporting period.
candidate_id, candidate_name, application_count, most_recent_application, and application_rank.candidate_id ascending.| Column | Type | Description |
|---|---|---|
| candidate_idPK | INT | Unique candidate identifier |
| candidate_name | VARCHAR(120) | Candidate's full name |
| VARCHAR(255) | Candidate email address |
| Column | Type | Description |
|---|---|---|
| application_idPK | INT | Unique application identifier |
| candidate_id | INT | Candidate who submitted the application |
| job_id | INT | Job associated with the application |
| applied_at | TIMESTAMP | Timestamp when the application was submitted |