
Subqueries Quiz

Quiz
•
Information Technology (IT)
•
University
•
Medium

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
Similar Resources on Wayground
16 questions
Test Kemanan Komputer Pertemuan 01

Quiz
•
University
20 questions
APPDEV Prelim

Quiz
•
University
20 questions
Q1 Role and Skill of System Analyst & Key Skills_Quiz 1

Quiz
•
University
15 questions
Namo's Database Quiz

Quiz
•
University
15 questions
Oracle PL/SQL Quizz

Quiz
•
University
15 questions
Profesi Utama di Bidang Informatika

Quiz
•
10th Grade - University
20 questions
TES_AWAL_M2_APSI

Quiz
•
University
20 questions
QUIZIZZ 1 | DATA ENGINNER

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University