Must know facts Flashcards
Normalization?
How Does It Work
the process of designing database tables to minimize the data redundancy
divide a database into two or more tables and define relationships between them.
Use having only with group by clauses
INNER JOIN
returns all the rows for which there is at least one match in BOTH the tables.
LEFT JOIN
Returns all rows from the left table, and the matching rows from the right table.
When does the where clause filter data?
When does the having clause filter data?
Before the data has been grouped
After the data has been grouped
Facts about the primary key
Cannot be null
Every table can only have one primary key
Can be related to another table as a foreign key
Facts about unique key
May have a null value
Table can have more than one unique constraint
Not related to another table as a foreign key
What does sql stand for
Structured query language