The deepest event
IntermediateORDER BY with tiesEarthquakes (USGS, Oct 2026)
Return the place, depth and mag of the single deepest event.
Solution
SELECT place, depth, mag FROM quakes ORDER BY depth DESC LIMIT 1;Expected output:
Hint
Depth is in kilometers. Sort descending and keep one row.
Same question in Excel / Google Sheets
=XLOOKUP(MAX(E:E),E:E,J:J) for the place of the max depth.
Download the CSV from the datasets page. Column letters assume the CSV opens with its header in row 1.
Tip: Ctrl+Enter (⌘+Enter on Mac) checks your answer. Everything runs in your browser; nothing you type is sent anywhere.