SQL Quiz

Quiz
•
Computers
•
University
•
Medium
Neeraj Varshney
Used 243+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a ‘tuple’?
A row or record in a database table
Another name for the key linking different tables in a database.
An attribute attached to a record.
Another name for a table in an RDBMS.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The command to remove rows from a table ‘CUSTOMER’ is:
REMOVE FROM CUSTOMER …
DROP FROM CUSTOMER …
DELETE FROM CUSTOMER WHERE …
UPDATE FROM CUSTOMER …
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The command to eliminate a table from a database is:
REMOVE TABLE CUSTOMER;
DROP TABLE CUSTOMER;
DELETE TABLE CUSTOMER;
UPDATE TABLE CUSTOMER;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be included
ONLY
UNIQUE
DISTINCT
SINGLE
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
With SQL, how do you select all the columns from a table named "Persons"?
SELECT [all] FROM Persons
SELECT Persons
SELECT * FROM Persons
SELECT *.Persons
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?
SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter'
SELECT [all] FROM Persons WHERE FirstName='Peter'
SELECT * FROM Persons WHERE FirstName='Peter'
SELECT * FROM Persons WHERE FirstName<>'Peter'
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with an "a"?
SELECT * FROM Persons WHERE FirstName='a'
SELECT * FROM Persons WHERE FirstName LIKE 'a%'
SELECT * FROM Persons WHERE FirstName='%a%'
SELECT * FROM Persons WHERE FirstName LIKE '%a'
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
SQL

Quiz
•
University
15 questions
HSC YEP 2021

Quiz
•
University
15 questions
SQL and Database Quiz

Quiz
•
University
15 questions
Social Media Basics for Educators

Quiz
•
9th Grade - Professio...
15 questions
Post Test Modul 4 APSI

Quiz
•
University
15 questions
7-mavzu. Python va MySQLda ma’lumotlarni tanlash va o‘chirish

Quiz
•
University
23 questions
SQL

Quiz
•
12th Grade - Professi...
15 questions
Digital Communication II

Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University