Académique Documents
Professionnel Documents
Culture Documents
Like
this
study
set? Create a free
Create account
a free
account Maybe later
to save
it.
https://quizlet.com/191734004/murachsqlserver2012chapter6flashcards/ 1/4
6/26/2017 MurachSQLServer2012Chapter6Flashcards|Quizlet
single column A subquery that returns (a) _______ can be coded in place of
a list of values, such as the values for an IN phrase
one or more columns A subquery that returns (a) _____ can be introduced in place
of a table in the FROM clause
outer query The result set of a query with a subquery can ONLY include
columns from the table named in the _________
Join Only a ______ can produce a result set that includes columns
from both tables
https://quizlet.com/191734004/murachsqlserver2012chapter6flashcards/ 2/4
6/26/2017 MurachSQLServer2012Chapter6Flashcards|Quizlet
aggregate value, outer You can use a subquery to pass an ___________ to the ________
query
long, complex queries Which type of queries are easier to code with subqueries?
single column of values If you use the IN operator, the subquery must result (a)
_____________
outer join Instead of using the NOT IN operator with a subquery, use
a(n) __________
single value If you code a search condition without the SOME, ANY,
and ALL keywords, the subquery must return a __________
any or some The ______________ keyword tests that a condition is true for at
least one of the values returned by a subquery
correlated subquery a subquery that is executed once for each row processed
by the outer query
alias or correlation If the subquery uses the same table as the outer query, you
https://quizlet.com/191734004/murachsqlserver2012chapter6flashcards/ 3/4
6/26/2017 MurachSQLServer2012Chapter6Flashcards|Quizlet
EXISTS Use this operator to test that one or more rows are
returned by the subquery
NOT EXISTS Use this operator to test that no rows are returned by the
subquery
correlated subqueries The EXISTS operator is used most often with ________________
alias When you create a derived table, you must assign a(n)
______________
FROM When you code a subquery in the ________ clause, you must
assign names to any calculated values in the result set
derived tables Most useful when you need to further summarize the
results of a summary query
faster and more Code a join instead of a subquery in the select clause
readable because it's _________________
https://quizlet.com/191734004/murachsqlserver2012chapter6flashcards/ 4/4