Course Content
SQL Tutorial for Beginners
SQL Tutorial for Beginners
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:
SELECT title FROM songs
You can also choose two or more columns:
SELECT title, singer FROM songs
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
.
Thanks for your feedback!
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:
SELECT title FROM songs
You can also choose two or more columns:
SELECT title, singer FROM songs
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
.
Thanks for your feedback!
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:
SELECT title FROM songs
You can also choose two or more columns:
SELECT title, singer FROM songs
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
.
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:
SELECT title FROM songs
You can also choose two or more columns:
SELECT title, singer FROM songs
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
.