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
20 questions
Sistem Basis Data 30 Juni

Quiz
•
University
10 questions
DBMS 1

Quiz
•
University
20 questions
DML Quiz

Quiz
•
University
20 questions
BASIS DATA - Modul 05

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

Quiz
•
University
10 questions
SQL

Quiz
•
University
12 questions
Database Management system

Quiz
•
University
20 questions
Database Concepts Quiz

Quiz
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University