SQL - Basics
Section 1
: This section covers the most basic SQL commands. Below is a table called names. To select all of the table : SELECT * To select the SecondName fields only : SELECT SecondName To select the SecondName fields only in alphabetical order (a-z) : SELECT SecondName To select the ID fields and the SecondName fields in reverse alphabetical order (z-a) : SELECT SecondName,
ID Section 2 : This section covers the insert, update and delete SQL commands. To insert a new field in the table : INSERT INTO names To update a field within the table : UPDATE names To delete a field within the table : DELETE FROM names
|
Click here to return to menu