See the whole table
Select some columns
4. Select many columns
Filtering rows
Logic
Text patterns
To be or NULL to be
A little bit of mathematics
Let's practice

Instruction

Great! If you want to get a couple of columns, give the names of the interesting columns before FROM. So to get names and ages of all users, type:

SELECT 
  name,
  age 
FROM user;

Note that you separate the names of the columns with a comma (,).

Exercise

Select model and price from table car.

Stuck? Here's a hint!

Type:

SELECT 
  model, 
  price 
FROM car;