The following SQL statement selects all the columns from the "Customers" table:
Example
SELECT * FROM Customers;
SELECT CustomerName, /*City,*/ Country FROM Customers;
Try it Yourself »
SELECT * FROM Customers WHERE (CustomerName LIKE 'L%'
OR CustomerName LIKE 'R%' /*OR CustomerName LIKE 'S%'
OR CustomerName LIKE 'T%'*/ OR CustomerName LIKE 'W%')
AND Country='USA'
ORDER BY CustomerName;
Try it Yourself »
/*Select all the columns
of all the records
in the Customers table:*/
SELECT * FROM Customers;
Try it Yourself »
/*SELECT * FROM Customers;
SELECT * FROM Products;
SELECT * FROM Orders;
SELECT * FROM Categories;*/
SELECT * FROM Suppliers;
Try it Yourself »
--Select all:SELECT * FROM Customers;
Try it Yourself »
SELECT * FROM Customers -- WHERE City='Berlin';
Try it Yourself »
--SELECT * FROM Customers;SELECT * FROM Products;
Try it Yourself »