SELECT DISTINCT category FROM data;
Run this query on the demo dataset →
SELECT DISTINCT removes duplicate rows from the result, so selecting just one column with DISTINCT gives you the list of unique values that column takes — useful for quickly checking what categories, statuses, or countries actually appear in a file before you decide how to group or filter it.
A table named data with columns: order_id (integer), customer (text), country (text), category (text), quantity (integer), unit_price (real), order_date (text, YYYY-MM-DD).
Want to run it on your own file? Open it with Count rows in a CSV: your file becomes the table data, and you can paste this query with your own column names.