Not every 'earthquake' is an earthquake
BeginnerDISTINCTEarthquakes (USGS, Oct 2026)
List each distinct value in the type column.
Solution
SELECT DISTINCT type FROM quakes;Expected output:
Hint
Real feeds include other event types. DISTINCT shows them.
Same question in Excel / Google Sheets
Data → Remove Duplicates on a copy of the column, or =UNIQUE(K2:K2629) in Excel 365 / Sheets.
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.