SQL 3.1-3.4 SUMMATIVE

SQL 3.1-3.4 SUMMATIVE

4th Grade

20 Qs

quiz-placeholder

Similar activities

NCT Dream

NCT Dream

KG - Professional Development

20 Qs

Dr. Dan's Mastering Basic Sentences (Level 2) 1/31/2024

Dr. Dan's Mastering Basic Sentences (Level 2) 1/31/2024

1st - 5th Grade

16 Qs

An Employee Handbook

An Employee Handbook

3rd Grade - Professional Development

25 Qs

Tajweed Questions for Grad 1.1

Tajweed Questions for Grad 1.1

KG - Professional Development

23 Qs

Identifying Variables and Constants in One-Step Equations

Identifying Variables and Constants in One-Step Equations

4th - 8th Grade

20 Qs

Answering Questions

Answering Questions

3rd Grade - Professional Development

25 Qs

Interest and Stuff

Interest and Stuff

KG - Professional Development

20 Qs

PDR World OSH Day 2024

PDR World OSH Day 2024

1st - 5th Grade

24 Qs

SQL 3.1-3.4 SUMMATIVE

SQL 3.1-3.4 SUMMATIVE

Assessment

Quiz

Special Education

4th Grade

Easy

Created by

David Turner

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL function is used to count the number of rows in a table?

SUM()

COUNT()

GROUP()

FILTER()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the GROUP BY clause do in SQL?

It combines rows from two tables.

It filters rows based on a condition.

It groups rows that have the same values in specified columns.

It limits the number of rows returned.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL keyword is used to restrict the number of rows returned in a query?

COUNT

LIMIT

GROUP BY

FILTER

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the HAVING clause in SQL?

To filter records after aggregation.

To sort the result set.

To select distinct records.

To count the number of rows in a table.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following SQL query do? SELECT COUNT(*) FROM employees;

Counts the number of distinct rows in the employees table.

Counts all rows in the employees table.

Groups the rows in the employees table.

Filters the employees table based on a condition.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function can be used to calculate the average value of a numeric column in SQL?

MAX()

SUM()

AVG()

COUNT()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true about the WHERE clause?

It is used to filter records after aggregation.

It filters records before grouping.

It is always used after the GROUP BY clause.

It limits the number of rows returned.

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?