Search Header Logo

SQL - Structured Query Language

Authored by Ryan Coughlin

Computers

11th - 12th Grade

Used 3+ times

SQL - Structured Query Language
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Find all customers from Berlin

SELECT * FROM Customers

SELECT * FROM CustomerName

SELECT * FROM Customers WHERE city = 'Berlin'

FROM CustomersSELECT * WHERE city = 'Berlin'

2.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

Media Image

Find all customer names from whose postcode is 1000 or greater

(the table name is Customers)

(a)  

3.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

Media Image

Find all customer names whose names start with "Al"

(the table name is Customers)

(a)  

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

All employee names who made an order in 1996

SELECT FirstName, LastName FROM Employees, OrderID WHERE Employees.EmployeeID = Orders.EmployeeID AND OrderDate Like "1996%"

SELECT EmployeeName FROM Employees, OrderID WHERE Employees.EmployeeID = Orders.EmployeeID AND OrderDate.year > 1996

SELECT FirstName, LastName FROM Employees, WHERE Employees.EmployeeID = OrderDate = 1996

SELECT FirstName, LastName FROM Employees, OrderID WHERE Employees.OrderID = Orders.OrderID AND OrderDate Like "%1996%"

5.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Media Image

Count of how many orders each employee made (see bottom of image)

(a)  

6.

DRAW QUESTION

3 mins • Ungraded

Draw the ER diagram of Employees, Orders and Customers tables

Media Image

7.

OPEN ENDED QUESTION

3 mins • Ungraded

Media Image

Names of customers who ordered with any employee named Nancy.

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?