
SQL MCQ
Authored by Abdullah Muhammad 201-801-271
Computers
University
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to retrieve data from an SQLite database?
INSERT
UPDATE
SELECT
DELETE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to create a new table in SQLite?
CREATE NEW TABLE table_name (column1 datatype, column2 datatype);
CREATE TABLE table_name (column1 datatype, column2 datatype);
CREATE TABLE table_name: (column1 datatype, column2 datatype);
NEW TABLE table_name (column1 datatype, column2 datatype);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to eliminate duplicate rows in the result set of a query?
UNIQUE
DISTINCT
DIFFERENT
EXCLUSIVE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you retrieve all columns from a table named employees?
SELECT * FROM employees;
SELECT all FROM employees;
SELECT employees.* FROM employees;
SELECT columns FROM employees;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the WHERE clause in SQLite?
To sort the result set
To filter records
To join tables
To group records
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you update the salary column to 5000 for all employees in the staff table?
MODIFY staff SET salary = 5000;
ALTER TABLE staff SET salary = 5000;
UPDATE staff SET salary = 5000;
SET staff.salary = 5000;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove a table named customers from an SQLite database?
A) REMOVE TABLE customers;
B) DELETE TABLE customers;
C) DROP TABLE customers;
D) ERASE TABLE customers;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Microsoft Word
Quiz
•
University
10 questions
PERINTAH SQL 01
Quiz
•
10th Grade - University
10 questions
Data Analytics and Artificial Intelligence
Quiz
•
University
10 questions
Managing Knowledge
Quiz
•
University
10 questions
ทบทวน Dreamweaver CS6
Quiz
•
6th Grade - University
10 questions
Pemrograman Android KD 3.28/4.28
Quiz
•
1st Grade - Professio...
9 questions
C# Variables and Data Types
Quiz
•
8th Grade - University
10 questions
Database Design
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University