Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Retrieving Individual Columns | Retrieving Data
TEST SQL COURSE E2E

Pyyhkäise näyttääksesi valikon

book
Retrieving Individual Columns

A database is an organized structure designed to store, modify, and process large amounts of data.

What is SQL?

SQL is a programming language for user interaction with databases, used to query, update, and manage databases.

Let’s get started! In this course, we will work with a country database containing a country table. Let's look at this table.

SELECT is an operator language that returns a data set (sample) from the database. In order to use the SELECT operator, we should specify what exactly we want to select and where we want to select it from.

12
SELECT continent FROM country;
copy

We used the SELECT statement in the previous query to get a single continent column from the country table. We need to specify the column name immediately after the SELECT keyword, and the FROM keyword specifies the name of the table from which we want to retrieve data.

Tehtävä

Swipe to start coding

You have to retrieve a capital column from the country table.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 1
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

book
Retrieving Individual Columns

A database is an organized structure designed to store, modify, and process large amounts of data.

What is SQL?

SQL is a programming language for user interaction with databases, used to query, update, and manage databases.

Let’s get started! In this course, we will work with a country database containing a country table. Let's look at this table.

SELECT is an operator language that returns a data set (sample) from the database. In order to use the SELECT operator, we should specify what exactly we want to select and where we want to select it from.

12
SELECT continent FROM country;
copy

We used the SELECT statement in the previous query to get a single continent column from the country table. We need to specify the column name immediately after the SELECT keyword, and the FROM keyword specifies the name of the table from which we want to retrieve data.

Tehtävä

Swipe to start coding

You have to retrieve a capital column from the country table.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 1
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt