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

bookSQL 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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookSQL 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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 3
toggle bottom row

bookSQL 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.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

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 desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt