Kursinnhold
Introduction to SQL
Introduction to SQL
Retrieving All Columns
Instead of listing each column, you can use the asterisk *
to retrieve all columns from the table at once. This is especially useful when you need to view all the data in a table without manually typing out each column name. Here’s an example:
SELECT * FROM table_name;
Swipe to start coding
Write an SQL query to retrieve ALL columns from the country
table.
Løsning
Takk for tilbakemeldingene dine!
Retrieving All Columns
Instead of listing each column, you can use the asterisk *
to retrieve all columns from the table at once. This is especially useful when you need to view all the data in a table without manually typing out each column name. Here’s an example:
SELECT * FROM table_name;
Swipe to start coding
Write an SQL query to retrieve ALL columns from the country
table.
Løsning
Takk for tilbakemeldingene dine!