Structured query language (SQL)
Good notes will help you organise and process data and information
Using SQL we can perform various operations on data in out database tables.
We can, for instance, SELECT, INSERT, DELETE and UPDATE tables, records and fields.
SELECT
INSERT
DELETE
UPDATE
Query is another word for questioning the Database using search criteria.
The most commonly used SQL statements include:
FROM
WHERE
ORDER BY
*
01/01/1960
01/01/2000
SELECT * FROM Customer WHERE DoB BETWEEN #01/01/1960# AND #01/01/2000# ORDER BY Surname DESC;
Books table
1970
SELECT BookID, Title, Genre, Rating, PublishDate FROM Books WHERE Rating > 5 OR PublishDate >= #01/01/1970# ORDER BY Title ASC;
>
AQA Computer Science Tutor
SQL Insert, update, delete