SQL Programming

Quiz
•
Computers
•
4th Grade - Professional Development
•
Hard

omar khairy
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the correct SQL statement to create a new table called Persons
ـــــــــــــــــــــــــ (
PersonID int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
);
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Select all records where the value of the City column starts with the letter "a".
SELECT * FROM Customers
______________________ ;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select all records where the City column has the value "Berlin"
SELECT * FROM Customers
ــــــــــــــــ City = "Berlin";
INSERT
SELECT
DROP
WHERE
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Select all records from the Customers table, sort the result alphabetically by the column City
SELECT * FROM Customers
ــــــــــــــــ City;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select all the different values from the Country column in the Customers table
SELECT ـــــــــــــــــــــ Country FROM Customers;
DISTICNT
DISTINCT
DITSINCT
DISTINTC
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select all records from the Customers where the PostalCode column is empty
SELECT * FROM Customers
WHERE PostalCode ــــــــــــــــــــــــــ ;
IS EMPTY
IS NULL
NOT FILLED
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Update the City column of all records in the Customers table
ــــــــــــــــــ Customers
ــــــــــ City = "Oslo"
UPDATE / MAKE
UPGRADE / SET
SET / UPDATE
UPDATE / SET
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
9.1 Databases Cambridge IGCSE 0478

Quiz
•
10th Grade - University
12 questions
IntroToDatabases W2

Quiz
•
University
10 questions
SQL basic

Quiz
•
University
11 questions
Adatbázis

Quiz
•
12th Grade
10 questions
Databases

Quiz
•
3rd - 10th Grade
15 questions
Learning SQL

Quiz
•
11th - 12th Grade
10 questions
MySQL Python Connectivity

Quiz
•
12th Grade - University
10 questions
CH 5 - SQL Language and Database Concepts

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade