Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
SQL Select Column | Database & Introduction to Syntax
SQL Tutorial for Beginners
course content

Course Content

SQL Tutorial for Beginners

SQL Tutorial for Beginners

1. Database & Introduction to Syntax
2. SQL Aggregate Functions
3. Filtering Statements

SQL Select Column

You can retrieve not all the data, but only some columns. For this, you should specify column name, for example, singer or title.

This query returns all the data containing in the title column:

1
SELECT title FROM songs
copy

You can also choose two or more columns:

1
SELECT title, singer FROM songs
copy

Now you selected all records from the table, but only title and singer columns.

Task

Select info about album and year for all records from songs.

Task

Select info about album and year for all records from songs.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 3
toggle bottom row

SQL Select Column

You can retrieve not all the data, but only some columns. For this, you should specify column name, for example, singer or title.

This query returns all the data containing in the title column:

1
SELECT title FROM songs
copy

You can also choose two or more columns:

1
SELECT title, singer FROM songs
copy

Now you selected all records from the table, but only title and singer columns.

Task

Select info about album and year for all records from songs.

Task

Select info about album and year for all records from songs.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 3
toggle bottom row

SQL Select Column

You can retrieve not all the data, but only some columns. For this, you should specify column name, for example, singer or title.

This query returns all the data containing in the title column:

1
SELECT title FROM songs
copy

You can also choose two or more columns:

1
SELECT title, singer FROM songs
copy

Now you selected all records from the table, but only title and singer columns.

Task

Select info about album and year for all records from songs.

Task

Select info about album and year for all records from songs.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

You can retrieve not all the data, but only some columns. For this, you should specify column name, for example, singer or title.

This query returns all the data containing in the title column:

1
SELECT title FROM songs
copy

You can also choose two or more columns:

1
SELECT title, singer FROM songs
copy

Now you selected all records from the table, but only title and singer columns.

Task

Select info about album and year for all records from songs.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 3
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt