Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password

Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Question

To retrieve data from more than one table, you must ___ the tables together by finding rows in the two tables that have identical values in matching columns.
click to flip
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't know

Question

Another word for joining the tables is to ___.
Remaining cards (25)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

SQL Ch4 Review

QuestionAnswer
To retrieve data from more than one table, you must ___ the tables together by finding rows in the two tables that have identical values in matching columns. join
Another word for joining the tables is to ___. relate
When there is potential ambiguity in listing column names, you must ___ the columns involved in the query. qualify
You join tables in SQL by including a condition in the ____ clause to ensure that matching columns contain equal values. WHERE
You can obtain similar results by using either the __ operator or the ___ operator. EXISTS, IN
A ___ is a query that involves a table listed in the outer query. correlated subquery
A subquery within a subquery is known as a ____. nested subquery
SQL evaluates the queries from the ____ query to the ____ query. innermost, outermost
An alternate name that you can use in the rest of a statement is known as a ___. alias
If the query is complex and requires you to qualify the names, using ____ can simplify the process. aliases
A second reason for using an alias is when you are joining a table to itself, called a ____. self-join
In SQL, you can use the set operations for taking the ____,____,____ of two tables. union, intersection, differece
The ___ of two tables is a table containing every row that is in either the first table, the second table or both tables. union
The ____( ___ ) of two tables is a table containing all rows that are in both tables. intersection(intersect)
The ___(___) of two tables is the set of all rows that are in the first table but that are not in the second table. difference(minus)
Two tables are _____ ___ if they have the same number of columns and if their corresponding columns have identical data types and lengths. union compatible
If the SQL implementation truly supports the union operation it will remove any ____ rows automatically. duplicate
You can use the ___ and ___ operators with subqueries to produce a single column of numbers. ALL, ANY
A join that compares the tables in the FROM clause and lists only those rows that satisfy the condition in the WHERE clause is called a(n) ___ ___. inner join
Sometimes you need to list all the rows from one of the tables in a join, regardless of whether they match any rows in the other table. This is called a(n) ___ ___. outer join
There are three types of outer joins: __ __ ___. left outer join, right outer join, full outer join
In a ___ ___ ___ all rows from the table on the left will be included regardless of whether they match rows from the table on the right. left outer join
In a ___ ___ __, all rows from the table on the right will be included regardless of whether they match rows from the table on the left. right outer join
In a ___ __ __ , all rows from both tables will be included regardless of whether they match rows from the other table. full outer join
The ___ ( formerly called the ___ ___) of two tables is the combination of all rows in the first table and all rows in the second table. product, Cartesian Product
To form a product you simply omit the ___ clause. WHERE
Created by: kat1350
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards