Choosing columns with SELECT
List only the columns you need.
After SELECT you list the columns you want, separated by commas. After FROM you name the table. The result shows the columns in the order you listed them, for every row of the table. Picking only the columns you need makes the answer easier to read, and on big databases it is also faster.
SELECT name, city FROM members;Shows two columns for all 8 library members: their name and their city.
Column names must be spelled exactly as they are in the table. If you write titel instead of title, the database answers with an error like "no such column: titel". That is not a disaster: read the message, fix the spelling and run again.