select
Syntax:
SELECT *
FROM suppliers
WHERE city = 'Newark';
You can also use the select statement to retrieve fields from multiple tables.
SELECT columnsExample:
FROM tables
WHERE predicates;
SELECT *
FROM suppliers
WHERE city = 'Newark';
You can also use the select statement to retrieve fields from multiple tables.
SELECT orders.order_id, suppliers.nameYou can select some fields from a table acoording to more than one conditions.
FROM suppliers, orders
WHERE suppliers.supplier_id = orders.supplier_id;
Comments
Post a Comment