Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
UPDATE table_name
SET column_name = value, column_name = value
[WHERE selection_condition]
JOINS
SELECT column (s)
FROM table1 INNER JOIN table2 returns only matching values
ON table1.column =table2.column
OUTER JOINS
SELECT column (s)
FROM table1 LEFT JOIN table2 returns all on table1 plus matching on
table2
ON table1.column =table2.column
EXAMPLES
RENAME
(SELECT Fname AS Name, LName AS Surname, Salary AS YearlyIncome
FROM (select * from EMPLOYEE) AS TEMP
WHERE YearlyIncome >20 000) AS RICHONES
PROJECT
Comes automatically when you select a particular column/s
That is – it returns a table with a reduced schema
Data Types