
DDSQL-DP9-P10

Quiz
•
Computers
•
University
•
Hard
Roni salambue
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
MINUS will give you rows from the first query that are not present in the second query. (True or False?)
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
INTERSECT will give you the common rows found in both queries. (True or False?)
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When using SET operators, the names of the matching columns must be identical in all of the SELECT statements used in the query. True or False?
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You use GROUPING functions to ______ database rows from tabulated rows.
COUNT
COMPUTE
DISTINGUISH
CREATE
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Examine the following statement:
SELECT department_id, manager_id, job_id, SUM(salary) FROM employees GROUP BY GROUPING SETS((department_id, manager_id), (department_id, job_id))
What data will this query generate?
Sum of salaries for (department_id, job_id) and (department_id, manager_id)
Sum of salaries for (department_id, job_id, manager_id)
Subtotals for (job_id, manager_id)
The statement will fail.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
CUBE will cross-reference the columns listed in the ______ clause to create a superset of groups.
WHERE
SELECT
GROUP BY
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Examine the following statement:
SELECT department_id, manager_id, job_id, SUM(salary) FROM employees GROUP BY GROUPING SETS(.......);
Select the correct GROUP BY GROUPING SETS clause from the following list:
GROUP BY GROUPING SETS (department_id, AVG(salary)), (department_id, job_id), (department_id, manager_id)
GROUP BY GROUPING SETS ((department_id, manager_id), (department_id, job_id), (manager_id, job_id))
GROUP BY GROUPING SETS ((department_id, manager_id), (department_id, SUM(salary), (manager_id, job_id))
GROUP BY GROUPING SETS (department_id, salary), (department_id, job_id), (department_id, manager_id)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
DBMS 1

Quiz
•
University
20 questions
Database Concepts Quiz

Quiz
•
University
20 questions
Database Concepts Quiz

Quiz
•
University
10 questions
DBMS_CSN_WEEK5_QUIZ

Quiz
•
University
19 questions
Bases de Datos

Quiz
•
University
20 questions
Kuis SQL Select

Quiz
•
University
17 questions
PHP MySQL

Quiz
•
7th Grade - Professio...
20 questions
HTTP and CSS Selector

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University