What is SQL?
SQL is a declarative language that is used for querying and updating tables in a relationship database
How is the Select statement used?
Select *
From * Table
Where Condition
How do you Specify a specific order in SQL?
Select * From * Where Condition AND Order By \_\_\_\_\_\_
How do you extract data from several Tables?
Syntax: tablename.fieldname
How do you Define a Database Table?
To define a Data-Base table CREATE TABLE: \_\_\_\_\_\_\_ Emp.ID (Primary key) Emp.Name HireDate Salary
How do you Insert data Using SQL?
INSERT INTO tableName (column1, column2)
VALUES (values1, values2)
How do you Update data Using SQL?
UPDATE tableName
SET column1 = value1 column 2 = value 2
WHERE condition
How do you Delete Data Using SQL?
DELETE FROM tableName
WHERE Condition
WHEN DO YOU USE AND??
ONLY USE AND WITH A FOREIGN KEY