
DDSQL-DP9-P10
Authored by Roni salambue
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
20 questions
Digitalization of Cooperatives Quiz
Quiz
•
University
15 questions
8051-MCQ
Quiz
•
University
11 questions
HTML Postest
Quiz
•
University
15 questions
Object Oriented Programming Assessment 1
Quiz
•
University
20 questions
Quiz 3
Quiz
•
University
12 questions
Microsoft Office Word
Quiz
•
4th Grade - University
19 questions
DBMS - Fundamentals
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University