⟩ How To Select All Columns of All Rows from a Table with a SELECT statement in MS SQL Server?
The simplest query statement is the one that selects all columns of all rows from a single table: "SELECT * FROM tableName". The (*) in the SELECT clause tells the query to return all columns. The missing WHERE clause tells the query to return all rows in specified table. The tutorial exercise below returns all columns and all rows from table "ggl_links":
SELECT * FROM ggl_links
id url notes counts created
101 rendc.org NULL 0 2006-04-30
102 rendc.org/html NULL 0 2007-05-19
103 rendc.org/sql NULL NULL 2007-05-19