Q: What does the SQL SELECT statement do?
A: It selects data from a database.
Q: Write a SELECT statement to return CustomerName and City from the Customers table.
SELECT CustomerName, City FROM Customers;
Q: What is the syntax for a basic SELECT statement?
SELECT column1, column2, …
FROM table_name;
Q: In the SELECT statement, what does table_name represent?
A: It represents the name of the table from which data is being selected.
Q: How do you select all columns from a table without listing each column name?
A: Use SELECT *.
Q: Write a query to select all columns from the Customers table.
SELECT * FROM Customers;