SQL
Revision as of 17:11, 22 July 2010 by Dec (talk | contribs) (Created page with 'Category:SQL == Basics == === Select === The SELECT statement is used to assemble fields of different tables and queries to a new result. ==== Examples ==== * Selecting al...')
Basics
Select
The SELECT statement is used to assemble fields of different tables and queries to a new result.
Examples
- Selecting all fields from a table
SELECT *
FROM tbl
- Selecting two fields from a table
SELECT field1
, field2
FROM tbl
Insert
- INSERT INTO
Update
- UPDATE
Delete
- DELETE