Other Questions Flashcards
What is a primary key?
One or more columns whose value(s) uniquely identify a row in that table (2.5)
What is a foreign key?
One or more columns whose value(s) uniquely identify a row in another table (2.5)
What does granularity indicate?
The granularity of a table indicates what level of detail each row represents.
• Higher granularity means more detailed
• Lower granularity means less detailed. The WHERE clause can be used to lower granularity.
(4.35)
How can the rule of thumb “Join in the …-to-1 Direction” be summarized?
Join in order of decreasing granularity (6.30)
True or False: Join type and table order don’t need to be considered when determining granularity.
False (6.31)
True or False: The GROUP BY clause is limited to one column.
False (7.10)
It is NOT limited to one column: it allows for a comma-delimited list of columns.