Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Retrieving All Columns | Section
/
SQL Fundamentals
Avsnitt 1. Kapitel 3
single

single

bookRetrieving All Columns

Svep för att visa menyn

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:

12
SELECT * FROM table_name;
copy
Uppgift

Swipe to start coding

Write an SQL query to retrieve every column and every row from the country table. Use the asterisk symbol (*) to select all columns. Place your query in the space below.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

some-alt