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:
1SELECT title FROM songs
You can also choose two or more columns:
1SELECT title, singer FROM songs
Now you selected all records from the table, but only title
and singer
columns.
Swipe to start coding
Select info about album
and year
for all records from songs
.
Lösning
Tack för dina kommentarer!
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.17
SQL Select Column
Svep för att visa menyn
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:
1SELECT title FROM songs
You can also choose two or more columns:
1SELECT title, singer FROM songs
Now you selected all records from the table, but only title
and singer
columns.
Swipe to start coding
Select info about album
and year
for all records from songs
.
Lösning
Tack för dina kommentarer!
Awesome!
Completion rate improved to 4.17single