
Quiz5_CSCI_4410
Authored by Xin Yang
Computers
University
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With MySQL, how can you return the number of records in the "Persons" table?
SELECT LEN(*) FROM Persons
SELECT COLUMNS(*) FROM Persons
SELECT COUNT(*) FROM Persons
SELECT NO(*) FROM Persons
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following MySQL query selects all the records from table Students where the age is 19,20, or 21:
SELECT * FROM Students WHERE Age BETWEEN 18 AND 22;
True
False
3.
OPEN ENDED QUESTION
30 sec • 1 pt
Please Write a MySQL query to extract all the records from table Students where Age is 20.
Evaluate responses using AI:
OFF
Answer explanation
SELECT * FROM Students WHERE Age = 20;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does SQL stand for?
Structured Query Language
Strong Question Language
Structured Question Language
Sequential Query Language
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With SQL, how do you select a column named "FirstName" from a table named "Persons"?
EXTRACT FirstName FROM Persons
SELECT FirstName FROM Persons
SELECT Persons.FirstName
SELECT * FROM FirstName;
6.
MULTIPLE CHOICE QUESTION
30 sec • 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 LIKE '%a'
SELECT * FROM Persons WHERE FirstName LIKE 'a%'
SELECT * FROM Persons WHERE FirstName='%a%'
SELECT * FROM Persons WHERE FirstName='a'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL statement is used to return only unique (different) values?
SELECT DISTINCT
SELECT DIFFERENT
SELECT UNIQUE
SELECT NEW
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?