WGU C170 Advanced SQL(questions with complete solution)
1 view 0 purchase
Course
WGU C170
Institution
WGU C170
In a subquery, the _____________ query is executed first.
INNER
The use of the ______ operator allows you to compare a single value with a list of values returned by the first subquery (sqA) using a comparison operator other than EQUALS.
ALL
00:43
01:11
How many rows would be ...
wgu c170 advanced sqlquestions with complete solution
the query is executed first
the use of the operator allows you to compare a single value with a list of val
Written for
WGU C170
All documents for this subject (500)
Seller
Follow
EvaTee
Reviews received
Content preview
WGU C170 Advanced SQL
In a subquery, the _____________ query is executed first. - Answer INNER
The use of the ______ operator allows you to compare a single value with a list of
values returned by the first subquery (sqA) using a comparison operator other than
EQUALS. - Answer ALL
How many rows would be returned from a cross join of tables A and B, if A contains 8
rows and B contains 18? - Answer 144
In subquery terminology, the first query in the SQL statement is known as the _______
query. - Answer outer
"Union compatible" means that the ______________ attributes must be the same and
their data types must be alike. - Answer names of the relation attributes must be the
same and their data types must be alike
The _________ clause is used to restrict the output of a GROUP BY query by applying
a conditional criteria to the grouped rows. - Answer having
The Oracle ___________ function returns the current date. - Answer SYSDATE
The ANSI standard defines __________ type(s) of outer join(s) - Answer three
The Oracle string concatenation function is ____ - Answer II
The syntax of the DECODE function starts with ________________. - Answer
DECODE(e, x, y, d).
Assume you are using the UNION ALL operator to combine the results from two tables
with identical structure, CUSTOMER and CUSTOMER_2. The CUSTOMER table
contains 10 rows, while the CUSTOMER_2 table contains 7 rows. Customers Dunne
and Olowski are included in the CUSTOMER table as well as in the CUSTOMER_2
table. How many records are returned when using the UNION ALL operator? - Answer
17
The ________________ data type is compatible with NUMBER. - Answer SMALLINT
The syntax for the UNION query is query UNION query. - Answer query UNION query
If the DBMS does not support the INTERSECT statement, one can use a(n) ___
subquery to achieve the same result. - Answer IN
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller EvaTee. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.