SQL Finals

SQL Finals

University

18 Qs

quiz-placeholder

Similar activities

Technology Integration

Technology Integration

KG - University

14 Qs

PBD QUiz 1

PBD QUiz 1

University

15 Qs

Photoshop tools

Photoshop tools

6th Grade - Professional Development

16 Qs

TEST YOUR KNOWLEDGE OF TECHNOLOGY

TEST YOUR KNOWLEDGE OF TECHNOLOGY

University

22 Qs

Aplikasi Pengolah Angka

Aplikasi Pengolah Angka

University

20 Qs

Examen de conocimiento general- Computación e Informática

Examen de conocimiento general- Computación e Informática

10th Grade - University

20 Qs

HAH Diagnostic Quiz

HAH Diagnostic Quiz

University

20 Qs

untitled

untitled

1st Grade - University

22 Qs

SQL Finals

SQL Finals

Assessment

Quiz

Instructional Technology

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Instructional Technology