To select all columns from a database table, we use the * character. For example, Here, the SQL command selects all columns of the Customers table. A SELECT statement can have an optional WHERE clause. The WHERE clause allows us to fetch records from a database table that matches specified condition (s). For example,