Search Header Logo

SQL Concepts Quiz for Grade 12 Students

Authored by KAREN TAN

Computers

12th Grade

Used 1+ times

SQL Concepts Quiz for Grade 12 Students
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

OPEN ENDED QUESTION

5 mins • 20 pts

Describe the output of the following SQL query:
SELECT CustomerID, SUM(SalesAmount) AS TotalSales

FROM Orders

GROUP BY CustomerID;

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

5 mins • 20 pts

Describe the output of the following SQL query:
SELECT ProductName, Price

FROM Products

ORDER BY Price DESC;

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

5 mins • 20 pts

Describe the output of the following SQL query:
SELECT DepartmentID, AVG(Salary) AS AvgSalary

FROM Employees

GROUP BY DepartmentID

HAVING AVG(Salary) > 50000;

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

5 mins • 20 pts

Describe the output of the following SQL query:
SELECT CustomerName

FROM Customers

WHERE CustomerName LIKE 'J%';

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

5 mins • 20 pts

Describe the output of the following SQL query:
SELECT EmployeeName

FROM Employees

WHERE Department = 'Sales' OR Department = 'Marketing';

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

5 mins • 20 pts

Describe the output of the following SQL query:
SELECT ProductName, Price

FROM Products

WHERE Price > 100 AND Price < 500;

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

5 mins • 20 pts

Describe the output of the following SQL query:
SELECT *

FROM Orders

WHERE MONTH(OrderDate) = 6;

Evaluate responses using AI:

OFF

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?