2. sql keywords
2. sql keywords
Set operator: Combines tables if the number, order, and datatypes of columns are the same.
Join: Combines tables based on at least one common column between them.
TCL: Transaction Control Language, manages manages actions like savepoints and rollbacks.
Foreign key: Allows values from a parent table's primary key only..
Group by: Groups rows sharing a property so aggregate functions can be applied.
Minus/Except: Returns rows from the first query that aren't in the second query.
Outer join: Returns all rows from one table and matching rows from the other.
Left outer join: Returns all rows from the left table and matching rows from the right.
Right outer join: Returns all rows from the right table and matching rows from the left.
Full outer join: Returns rows when there is a match in one of the tables.
Foreign key: Allows values from a parent table's primary key only.
Super key: One or more columns used to uniquely identify a row, e.g., id, email, id and name.
Candidate key: A column that can uniquely identify a row, except the primary key, e.g., email.
Alternate key: All candidate keys that are not the primary key.
Composite key: Combination of columns to uniquely identify a row, e.g., id and name and age.