wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Database Week 3 Quiz

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

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

a)

COUNT

b)

SUM

c)

AVG

d)

MIN

2.

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

a)

WHERE clause

b)

GROUP BY clause

c)

HAVING clause

d)

ORDER BY clause

3.

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

a)

WHERE clause

b)

GROUP BY clause

c)

HAVING clause

d)

ORDER BY clause

4.

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

a)

GROUP BY product_category

b)

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

c)

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

d)

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

5.

What is the largest country in Africa by land area?

a)

Nigeria

b)

Algeria

c)

South Africa

d)

Democratic Republic of Congo

6.

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

a)

Nelson Mandela

b)

Albert Luthuli

c)

Desmond Tutu

d)

Kofi Annan

7.

Which African country is known for its traditional Kente cloth?

a)

Ghana

b)

Nigeria

c)

South Africa

d)

Kenya

8.

What is the primary economic activity in most African countries?

a)

Manufacturing

b)

Agriculture

c)

Tourism

d)

Mining

9.

Which African country has won the most FIFA World Cup titles?

a)

Cameroon

b)

Nigeria

c)

South Africa

d)

None of the above

10.

Which African animal is known for its long neck?

a)

Zebra

b)

Giraffe

c)

Elephant

d)

Hippopotamus