SQL Quiz 3

SQL Quiz 3

Assessment

Assessment

Created by

ARTURO PARIÑAS

Computers

11th Grade

20 plays

Hard

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FILL IN THE BLANK

30 sec • 1 pt

Insert the missing statement to get all the columns from the Customers table.

___________* FROM Customers;

2.

FILL IN THE BLANK

30 sec • 1 pt

Write a statement that will select the City column from the Customers table.

_______ ____ ______ Customers;

3.

FILL IN THE BLANK

30 sec • 1 pt

Select all the different values from the Country column in the Customers table.

_______ _________ Country FROM Customers;

4.

FILL IN THE BLANK

30 sec • 1 pt

Select all records where the City column has the value "Berlin".

SELECT * FROM Customers _____ ____ = ________;

5.

FILL IN THE BLANK

1 min • 1 pt

Use the NOT keyword to select all records where City is NOT "Berlin".

SELECT * FROM Customers _____ ___ ____ = "______";

6.

FILL IN THE BLANK

30 sec • 1 pt

Select all records where the CustomerID column has the value 32.

SELECT * FROM Customers _____ CustomerID __ __;

7.

FILL IN THE BLANK

30 sec • 1 pt

Select all records where the City column has the value 'Berlin' and the PostalCode column has the value 12209.

______ * FROM Customers _____ City = 'Berlin' ___ __________= 12209;

8.

FILL IN THE BLANK

30 sec • 1 pt

Select all records where the City column has the value 'Berlin' or 'London'.

______ * FROM Customers _____ City = 'Berlin' __ ____= '______';

9.

FILL IN THE BLANK

30 sec • 1 pt

Insert a new record in the Customers table.

______ ____ Customers CustomerName, Address, City, PostalCode,

Country _ _____ _ 'Hekkan Burger', 'Gateveien 15', 'Sandnes', '4306', 'Norway' _ ;

10.

FILL IN THE BLANK

30 sec • 1 pt

Update the City column of all records in the Customers table.

______ Customers ___ City = 'Oslo';

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?