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

Conteúdo do Curso

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.

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 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.

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 1. Capítulo 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.

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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.

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 1. Capítulo 3
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt