Database > Tables > Columns > Rows
Types
Operators
Directives
CREATE
INSERT
SELECT
UPDATE
DELETE
SET SQL_SAFE_UPDATES=0
was needed on the video I’ve watched to enable delete operations.
ALTER
TRUNCATE
DROP
Constraints
Constraints can be added to existing tables as well:
Relationships
Joins
Will include only entries where the relationship exists.
JOIN
== INNER JOIN
OUTER JOIN
CROSS JOIN
Union combines results of two queries:
UNION ALL
allows duplicate values.
Intersections will return common results from two queries:
Except will return only unique results from the first query that are not in the second:
References