Choose the columns you need
SELECT lists columns. Avoid SELECT * in real code: it is slower and breaks when the table changes.
SQL · Choose the columns you needBeginner
SELECT id, name, city
FROM customers;
-- all columns (fine while learning)
SELECT * FROM customers;selectcolumnsbasics