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

Kursinnhold

SQL Tutorial for Beginners

SQL Tutorial for Beginners

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

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

Oppgave

Swipe to start coding

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

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 3
toggle bottom row

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

Oppgave

Swipe to start coding

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

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 3
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt