
M12 - SQL Query
Quiz
•
Geography
•
University
•
Practice Problem
•
Easy
ALI SUROJAYA
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
To find the average salary for each department, you would use the following SQL query:
SELECT Department, AVG(Salary)
FROM Employees
GROUP BY _____;
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
To get students who have a GPA greater than 3.5 and are majoring in 'Engineering', you would use the following SQL query:
SELECT *
FROM Students
WHERE GPA > 3.5 ___ Major = 'Engineering';
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
To find the maximum order amount for each customer, you would use the following SQL query:
SELECT CustomerID, MAX(OrderAmount)
FROM Orders
GROUP BY _____;
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Retrieve employee names and their corresponding department names from the employees and departments tables:
SELECT employees.name, departments.department_name
FROM employees
_____ departments
ON employees.department_id = departments.id;
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Find the total number of hours worked by each employee from the timesheets table:
SELECT employee_id, _____(hours) AS total_hours_worked
FROM timesheets
GROUP BY employee_id;
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Retrieve the name and highest score of students from the scores table:
SELECT name, _____(score) FROM scores;
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
Already have an account?
Similar Resources on Wayground
15 questions
Philippine Tourism Culture and Geography
Quiz
•
University
10 questions
KQ2 Arctic Physical Factors
Quiz
•
12th Grade - University
10 questions
Agrihan
Quiz
•
9th Grade - University
11 questions
Citipointe Yr 4 Vasco De Gama
Quiz
•
1st Grade - University
15 questions
Ancient India
Quiz
•
9th Grade - University
10 questions
Geography Questions
Quiz
•
3rd Grade - University
11 questions
Five Themes of Geography
Quiz
•
KG - University
10 questions
My general knowledge :)
Quiz
•
9th Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Geography
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
