Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
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 desired columns before the FROM clause. 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 the car table.

Stuck? Here's a hint!

Type:

SELECT
  model,
  price
FROM car;