
DDSQL2-DP8-P10
Quiz
•
Computers
•
University
•
Hard
Roni salambue
Used 1+ times
FREE Resource
Enhance your content
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which group function would you use to display the average price of all products in the PRODUCTS table?
MAX
SUM
COUNT
AVG
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You need to calculate the average salary of employees in each department. Which group function will you use?
AVERAGE
MEAN
MEAN
AVG
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which group function would you use to display the highest salary value in the EMPLOYEES table?
MAX
MIN
COUNT
AVG
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You need to calculate the standard deviation for the cost of products produced in the Birmingham facility. Which group function will you use?
VARIANCE
STDEV
VAR_SAMP
STDDEV
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
The VENDORS table contains these columns:
VENDOR_ID NUMBER Primary Key NAME VARCHAR2(30) LOCATION_ID NUMBER ORDER_DT DATE ORDER_AMOUNT NUMBER(8,2)
Which two clauses represent valid uses of aggregate functions for this table?
(Choose all correct answers)
SELECT SUM(order_dt)
FROM MAX(order_dt)
WHERE MAX(order_dt) = order_dt
SELECT SUM(order_amount)
SELECT MIN(AVG(order_amount))
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the following data in the employees table (employee_id, salary, commission_pct)
DATA: (143, 2600, null 144, 2500, null 149, 10500, .2 174, 11000, .3 176, 8600, .2 178, 7000, .15)
What is the result of the following statement:
SELECT SUM(commission_pct), COUNT(salary) FROM employees WHERE employee_id IN( 143,144,149,174,176,178);
SUM = 1.85 and COUNT =4
SUM = .85 and COUNT = 4
SUM = .85 and COUNT = 6
SUM = 1.85 and COUNT = 6
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the following data in the employees table (employee_id, salary, commission_pct)
DATA: (143, 2600, null 144, 2500, null 149, 10500, .2 174, 11000, .3 176, 8600, .2 178, 7000, .15)
What is the result of the following statement:
SELECT AVG(commission_pct) FROM employees WHERE employee_id IN( 143,144,149,174,176,178);
0.2125
This statement is invalid
0.0425
1.2125
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
IT 101 - Quiz 3
Quiz
•
University
16 questions
Algo Quiz
Quiz
•
University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
13 questions
Computer Science: CPU performance
Quiz
•
University
20 questions
DI (EM24) - Diseño de Contenidos (T8)
Quiz
•
University - Professi...
20 questions
The Internet
Quiz
•
University
15 questions
13de IT English
Quiz
•
9th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University