Sobes.tech
Junior — Middle

How to retrieve all data from a table in SQL?

sobes.tech AI

Answer from AI

To retrieve all data from a table in SQL, the SELECT command is used with all columns specified by * and the table name. For example:

SELECT * FROM table_name;

This will return all rows and all columns from the specified table.