
SQL Finals

Quiz
•
Instructional Technology
•
University
•
Medium
DANIEL TAGULALAC
Used 1+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the COUNT(*) function do?
Adds values
Finds the average
Counts all rows
Deletes rows
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which query returns the total number of students in the students table?
SELECT SUM(*) FROM students;
SELECT COUNT(*) FROM students;
SELECT AVG(*) FROM students;
3.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
How do you get the average score from a column named grade from students table?
___________
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Which aggregate function is used to add values in a column?
____
5.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Find the total salary of all employees. Table name employees
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What’s wrong with this query?
SELECT COUNT(name), age FROM students;
Nothing
Missing GROUP BY
Should use SUM
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want the number of students older than 18. Which is correct?
SELECT COUNT(age > 18) FROM students;
SELECT COUNT(*) FROM students WHERE age > 18;
SELECT SUM(age > 18) FROM students;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Comandos Básicos de MongoDB

Quiz
•
9th Grade - University
20 questions
Google Slides Basics - Multiple Choice Test

Quiz
•
University
15 questions
TTL1 QUIZ

Quiz
•
University
20 questions
Proper Use of Instructional Materials

Quiz
•
University
15 questions
Basic Concept & Roles of ICT in Teaching & Learning

Quiz
•
University
14 questions
Lesson 2 - PCK6

Quiz
•
University
15 questions
QUIZ 1.2 TTL

Quiz
•
University
15 questions
GOOGLE CLASSROOM

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade