
SQL set 1
Authored by ESPARK 2023
Other
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Query to select all records with "bar" in their name?
a)SELECT * FROM people WHERE name LIKE "%bar%";
b)SELECT * FROM people WHERE name = "%bar%";
c)SELECT * FROM people WHERE name = "_bar_"
d)SELECT * FROM people WHERE name IN ("bar");
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
SQL query used to fetch unique values from a field?
a)SELECT column_name FROM table_name WHERE COUNT(column_name) = 1;
b)SELECT UNIQUE column_name FROM table_name WHERE COUNT(column_name) = 1;
c)SELECT UNIQUE column_name FROM table_name;
d)SELECT DISTINCT column_name FROM table_name;
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
An SQL query to delete a data from the table and memory while keeping the structure of the table intact?
a)TRUNCATE TABLE table_name;
b)DELETE FROM TABLE table_name;
c)DROP TABLE table_name;
d)DROP FROM TABLE table_name;
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The SQL WHERE clause:
a)limits the column data that are returned.
b)limits the row data are returned.
c)Both A and B are correct.
d)Neither A nor B are correct.
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the original purpose of SQL?
a)To specify the syntax and semantics of SQL data definition language
b)To specify the syntax and semantics of SQL manipulation language
c)To define the data structures
d)All of the above.
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The command to eliminate a customer table from a database is:
a)REMOVE TABLE CUSTOMER;
b)DROP TABLE CUSTOMER;
c)DELETE TABLE CUSTOMER;
d)UPDATE TABLE CUSTOMER;
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the correct order of keywords for SQL SELECT statements?
a)SELECT, FROM, WHERE
b)FROM, WHERE, SELECT
c)WHERE, FROM,SELECT
d)SELECT,WHERE,FROM
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
15 questions
Quiz on Islamic Finance
Quiz
•
University
10 questions
QUIZ 1
Quiz
•
University
15 questions
AMT 221 Semifinal Long Quiz
Quiz
•
University
15 questions
MOM Lab Quiz
Quiz
•
University
13 questions
funnymike true fans
Quiz
•
1st Grade - University
10 questions
REPORT WRITING TECHNIQUE
Quiz
•
University
10 questions
EFFECTIVE GROUP DISCUSSION
Quiz
•
9th Grade - University
10 questions
TERMINATION OF CONTRACT
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University