Shared Flashcard Set

Details

MySQL Chapter 05
N/A
15
Computer Science
Undergraduate 2
04/25/2011

Additional Computer Science Flashcards

 


 

Cards

Term
Joins
Definition
Used to link tables and retrieve data from two or more tables using foreign keys
Term
Join Classification
Definition
Inner Joins
Outer Joins
Term
Inner Joins
Definition
Merge rows from two tables
Returns the rows that have common values in common columns
Term
Outer Joins
Definition
Merge rows from two tables
Returns rows that have common values in common columns or have no matching values
Term
Product
Definition
Cartesian product
Combination of all rows in first table and all rows in second table
Happens when you forget the WHERE clause or joint condition
Term
Nested subquery
Definition
Subquery within a subquery
Evaluate from innermost query to outermost
Term
Self-Join
Definition
Joining a table to itself
Use to compare records within one table
Term
Relational Set Operators
Definition
Use relational algebra to manipulate data in a database
Eight different types of operators
Most common are UNION , INTERSECT , MINUS
Term
UNION
Definition
Combines the output of two queries and puts them together and excludes duplicate values
Term
INTERSECT
Definition
Includes records that are included in both queries
Term
MINUS
Definition
All the records that appear in table one but not in table 2
Term
Left Outer Join
Definition
Returns rows matching the join condition
Returns rows in left side table with unmatched values
Term
Right Outer Join
Definition
Returns rows matching join condition
Returns rows in right side table with unmatched values
Term
Full Outer Join
Definition
All rows from both tables will be included regardless of matches
Term
Practice Problems
Definition
Slide 10 , 13 , 18 , 30 , 34
Supporting users have an ad free experience!