In short
SELECT * is the first trick everyone learns, and the first habit good analysts drop. It is great for a quick look and risky everywhere else.
SELECT * returns every column, which is handy for a quick look but risky in saved queries: it pulls extra data, breaks when columns are added and hides what the query really needs.

Think of it like this
Packing for a weekend trip
Going to Goa for two days, you could load the whole almirah into a truck. It works, but it's slow, heavy and you'll still dig through it to find your sandals. Or you pack a small bag with exactly what you need. SELECT * is the truck. Naming columns is the small bag.
Watch it happen
Two ways to ask
SELECT *
- Fast to type for a first look
- Pulls every column, even large unused ones
- Result changes when someone adds a column
- Hides which columns the query really needs
SELECT named columns
- Only the data you need travels
- Stable output when the table changes
- Reads as documentation
- Lets the database use covering indexes
Use SELECT * with LIMIT to explore a new table. In anything you save, share or schedule, name the columns.
The big ideas
What you need to know
Great for exploring
SELECT * FROM orders LIMIT 5; is the fastest way to see what a table looks like.
Wasteful at scale
A table with an address or notes column can make SELECT * move far more data than you need.
Fragile in saved code
If a column is added or reordered, a report or app expecting fixed columns can break quietly.
Named columns explain intent
A reader sees exactly which fields the query depends on without opening the table.
See it in code
Walk through the code
1-- Explore: what does this table look like?2SELECT *3FROM orders4LIMIT 5;5 6-- Real query: say exactly what you need7SELECT order_id, customer_id, amount, order_date8FROM orders9WHERE order_date >= DATE '2026-04-01';1/2A quick look at five rows, every column. Perfect for a first glance.
Peek with *, then switch to named columns for real work. In SQL Server, replace LIMIT 5 with SELECT TOP 5 *.
Save yourself the pain
Common mistakes
Oops
Using SELECT * inside a saved view or report query.
Do this instead
Name the columns. In PostgreSQL a view even freezes the * list at creation, so new columns won't appear anyway.
Oops
Running SELECT * on a huge table with no LIMIT just to look.
Do this instead
Add LIMIT 10 when exploring, so your client doesn't try to load millions of rows.
Your mission
Trim the truck
Quick check
When is SELECT * a reasonable choice?
Go deeper
- 1Use SELECT * with LIMIT only to explore a new table.
- 2Rewrite one SELECT * query to name only the columns you actually use.
- 3Notice how naming columns makes a query easier to review and less likely to break.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.