Search Header Logo

SQL 3.1-3.4 SUMMATIVE

Authored by David Turner

Special Education

4th Grade

Used 1+ times

SQL 3.1-3.4 SUMMATIVE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

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?