Write real Postgres SQL and run it instantly — no server, no signup. Practice ILIKE, STRING_AGG, DISTINCT ON, FILTER, generate_series and more, checked against an actual Postgres engine.
Retrieve all columns for every customer, ordered by ID.
Table structures and relationships
Run a query to see results