SQL Quiz 2

SQL Quiz 2

University

48 Qs

quiz-placeholder

Similar activities

kuis  Jaringan Internet

kuis Jaringan Internet

9th Grade - University

50 Qs

Milestone - 1

Milestone - 1

University

50 Qs

UAS - PBD - INABA

UAS - PBD - INABA

University

50 Qs

Year 12 Summative Review - Nov 2022

Year 12 Summative Review - Nov 2022

12th Grade - University

50 Qs

Basis Data Class

Basis Data Class

University

44 Qs

Databricks Certified Data Engineer Quiz part 2

Databricks Certified Data Engineer Quiz part 2

1st Grade - University

50 Qs

UTS Web Development I

UTS Web Development I

University

50 Qs

ICT 151-200

ICT 151-200

University

50 Qs

SQL Quiz 2

SQL Quiz 2

Assessment

Quiz

Computers

University

Hard

Created by

Zhannat Akylbek

FREE Resource

AI

Enhance your content

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

48 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the columns from a table named "Persons"?

SELECT * FROM Persons;

SELECT Persons;

SELECT [all] FROM Persons;

SELECT *.Persons;

2.

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" is "Peter"?

SELECT * FROM Persons WHERE FirstName='Peter';

SELECT [all] FROM Persons WHERE FirstName='Peter';

SELECT * FROM Persons WHERE FirstName<>'Peter';

SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter';

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Peter" and the "LastName" is "Jackson"?

SELECT * FROM Persons WHERE FirstName='Peter' AND LastName='Jackson';

SELECT FirstName='Peter', LastName='Jackson' FROM Persons;

SELECT * FROM Persons WHERE FirstName<>'Peter' AND LastName<>'Jackson';

SELECT * FROM Persons WHERE LastName='Jackson';

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to apply a second condition to your statement where both statements must be true, what keyword would you use between the conditions?

AND

BOTH

TRUE

WHERE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct order of keywords for SQL SELECT statements?

SELECT, FROM, WHERE

FROM, WHERE, SELECT

WHERE, FROM, SELECT

SELECT,WHERE,FROM

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of an SQL SELECT statement is a(n) ________.

table

report

file

form

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an SQL SELECT statement querying a single table, the asterisk (*) means that:

all columns of the table are to be returned.

all records meeting the full criteria are to be returned.

all records with even partial criteria met are to be returned.

None of the given.

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?