Quiz5_CSCI_4410

Quiz5_CSCI_4410

University

20 Qs

quiz-placeholder

Similar activities

AWS compute services

AWS compute services

University

17 Qs

Information Technology

Information Technology

University

17 Qs

STS Informatika

STS Informatika

10th Grade - University

20 Qs

ADB Quiz #1

ADB Quiz #1

University

15 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

GIS Unit III

GIS Unit III

University

15 Qs

ICT Unit-2

ICT Unit-2

University

20 Qs

Quiz5_CSCI_4410

Quiz5_CSCI_4410

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Xin Yang

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?