SELECT "column_name"
FROM "table_name"
WHERE "condition"
For example, to select all stores with sales above $1,000 in Table Store_Information,
Table Store_Information
| store_name | Sales | Date | |||
|
|
| |||
|
|
| |||
|
|
| |||
| Boston |
|
|
we key in,
SELECT store_name
FROM Store_Information
WHERE Sales > 1000
Result:
|
| ||
|
| ||
|
| ||
|
|
No comments:
Post a Comment