Search Header Logo

Database Week 3 Quiz

Authored by Gerald Gerald

Instructional Technology

University

Used 12+ times

Database Week 3 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which function would you use to calculate the total revenue from all sales?

COUNT

SUM

AVG

MIN

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

To analyze sales data by product category, you would use the:

WHERE clause

GROUP BY clause

HAVING clause

ORDER BY clause

3.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

If you want to find the average transaction amount for customers who spent more than $1000, you would use the:

WHERE clause

GROUP BY clause

HAVING clause

ORDER BY clause

4.

MULTIPLE CHOICE QUESTION

1 min • 20 pts

To calculate the total revenue and the average transaction amount for each product category, you would use:

GROUP BY product_category

GROUP BY product_category, SUM(revenue), AVG(transaction_amount)

SELECT SUM(revenue), AVG(transaction_amount) GROUP BY product_category

SELECT product_category, SUM(revenue), AVG(transaction_amount)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the largest country in Africa by land area?

Nigeria

Algeria

South Africa

Democratic Republic of Congo

6.

MULTIPLE CHOICE QUESTION

30 sec • 9 pts

Who was the first African leader to win the Nobel Peace Prize?

Nelson Mandela

Albert Luthuli

Desmond Tutu

Kofi Annan

7.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Which African country is known for its traditional Kente cloth?

Ghana

Nigeria

South Africa

Kenya

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?