Subqueries Quiz

Subqueries Quiz

University

20 Qs

quiz-placeholder

Similar activities

QUIZIZZ | MODELAGEM DA INFORMAÇÃO

QUIZIZZ | MODELAGEM DA INFORMAÇÃO

University

20 Qs

ITE 314 SQL

ITE 314 SQL

University

20 Qs

Power BI Quiz (Beginner Level)

Power BI Quiz (Beginner Level)

University

15 Qs

Q1 Role and Skill of System Analyst & Key Skills_Quiz 1

Q1 Role and Skill of System Analyst & Key Skills_Quiz 1

University

20 Qs

Tarea 03 - Preguntas sobre Perspectivas en Power Pivot

Tarea 03 - Preguntas sobre Perspectivas en Power Pivot

University

20 Qs

Q3. Relational Model

Q3. Relational Model

University

16 Qs

INFO MAN FINALS

INFO MAN FINALS

University

19 Qs

Database Refreshment

Database Refreshment

University

18 Qs

Subqueries Quiz

Subqueries Quiz

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

John Ulakovich

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which key is used to represent relationships between tables?

Foreign key

Primary key

Secondary key

Tertiary key

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relationship between tables in a database called?

Foreign key relationship

Primary key relationship

Unique key relationship

Composite key relationship

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the given SQL query, what is being selected?

SELECT supplierID

FROM products

WHERE productName LIKE '%bread%';

productName

supplierID

productID

customerID

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the '%' symbol in the SQL query?

SELECT supplierID

FROM products

WHERE productName LIKE '%bread%';

To represent a wildcard for any sequence of characters

To denote a comment

To specify a column name

To indicate a table name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data is being queried in the example?

SELECT *

FROM suppliers

WHERE id IN ( SELECT DISTINCT supplierID

FROM products

WHERE productName LIKE '%bread%' );

Customer data

Supplier data

Order data

Employee data

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the result if the 'LIKE' clause was changed to 'NOT LIKE' in the query?

SELECT DISTINCT supplierID

FROM products

WHERE productName LIKE '%bread%';

It would select all products

It would select products not containing 'bread'

It would select products containing 'bread'

It would cause an error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the SQL function MIN() return?

The maximum value in a column

The average value in a column

The minimum value in a column

The sum of values in a column

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?