

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to Learn SQL
incomplete
2: Select Single Column
incomplete
3: Select Multiple Columns
incomplete
4: What Is SQL?
incomplete
5: Which Databases Use SQL?
incomplete
6: Comparing SQL Databases
incomplete
7: NoSQL vs. SQL
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
As you probably guessed, if you can select all columns with a *, and you can select a single column by name, you can also select multiple columns by name. For example, if I had a monsters table that stores their attributes, I might write:
select
health,
damage,
defense
from
monsters;
All SQL statements must end with a semicolon ;.
Update the query to select the:
agenamebalancecolumns in that order.
You can use the "Starter Tables" button in the code editor context menu to view the starter table:
You can use the toggle with table icon on the right of your screen to view the starter table: