MINUS will give you rows from the first query that are not present in the second query. (True or False?)

DDSQL-DP9-P10

Quiz
•
Computers
•
University
•
Hard
Roni salambue
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 Quizizz
19 questions
SQL Quiz

Quiz
•
University
11 questions
@tbinh1768/TIN ĐS HK1

Quiz
•
11th Grade - University
12 questions
Câu hỏi về SQL

Quiz
•
11th Grade - University
20 questions
DBMS Relational Algebra & Calculus Quiz 4

Quiz
•
University
20 questions
Chapt.5 - Relational Database Model

Quiz
•
University
10 questions
SQL

Quiz
•
University
12 questions
SQL Questions

Quiz
•
University
10 questions
SYS 1591

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade