選擇與條件匹配的行
通常,語法是:
SELECT <column names>
FROM <table name>
WHERE <condition>
例如:
SELECT FirstName, Age
FROM Users
WHERE LastName = 'Smith'
條件可能很複雜:
SELECT FirstName, Age
FROM Users
WHERE LastName = 'Smith' AND (City = 'New York' OR City = 'Los Angeles')