选择与条件匹配的行
通常,语法是:
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')