Syntax

SQL Select All Columns Syntax

In SQL, select all columns: returns every column and row from a table — SELECT * FROM users;

Quick Answer

Syntax
SELECT * FROM users;
SQLSyntax

Select All Columns

Code example
SELECT * FROM users;

Returns every column and row from a table.

Learn More

How to select all columns in SQL

  1. Open your SQL file or editor.
  2. Copy the example, then replace its sample names and values for your code.

SQL Select All Columns Syntax

Use SELECT * FROM users;.

Related Syntax References

Frequently asked questions

What is the SQL syntax for select all columns?

Use this pattern: SELECT * FROM users;

Can I copy this SQL code example?

Yes. Use Copy code and adapt the example to your program.

Is this SQL syntax different on Mac or Windows?

No. The language syntax is the same across operating systems.

Official source · How we verify