What SQL datatypes could be used for a fractional number?
FLOAT
REAL
What SQL datatypes can be used for dates and time
DATE
TIME
DATETIME
What is one way of defining a customer ID (int) value?
CustomerID INT PRIMARY KEY
What are the main clauses of a select query?
SELECT
FROM
WHERE
What symbol denotes all fields in a table?
*
What clause orders items?
ORDER BY
Write a query to select all fields from a sales table where value is more than £500
SELECT * FROM SALES WHERE Value > 500;
What is the format to add values into a SQL table
INSERT INTO VALUES ;
What are the main clauses of an update query?
UPDATE
SET
WHERE