SQL Finals

SQL Finals

University

18 Qs

quiz-placeholder

Similar activities

Burn off some STEAM!

Burn off some STEAM!

University

15 Qs

TG Quiz

TG Quiz

KG - Professional Development

13 Qs

CPA JYSS 2018 Prelims Paper 1

CPA JYSS 2018 Prelims Paper 1

7th Grade - Professional Development

20 Qs

EMERGINGX

EMERGINGX

University

15 Qs

Aerodynamic Drag Yr10 Engineering

Aerodynamic Drag Yr10 Engineering

10th Grade - Professional Development

18 Qs

UAS Basis Data

UAS Basis Data

University

20 Qs

MidYear Strategic/Operations Planning Quiz

MidYear Strategic/Operations Planning Quiz

University

15 Qs

BCS Systems & Architecture Raymond's Quiz

BCS Systems & Architecture Raymond's Quiz

University - Professional Development

15 Qs

SQL Finals

SQL Finals

Assessment

Quiz

Instructional Technology

University

Practice Problem

Medium

Created by

DANIEL TAGULALAC

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?