SQL Session 2 Quiz

SQL Session 2 Quiz

Professional Development

10 Qs

quiz-placeholder

Similar activities

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

Quality Day 22 Oct 2021

Quality Day 22 Oct 2021

Professional Development

10 Qs

gta san adres

gta san adres

KG - Professional Development

10 Qs

Ice Breaker Challenge- Guess the Tool by Its Logo

Ice Breaker Challenge- Guess the Tool by Its Logo

Professional Development

10 Qs

Office T&T

Office T&T

Professional Development

12 Qs

Digital Tools in Education Pre-Test

Digital Tools in Education Pre-Test

Professional Development

10 Qs

ABREDES - Devasc Python

ABREDES - Devasc Python

Professional Development

14 Qs

rappers

rappers

7th Grade - Professional Development

6 Qs

SQL Session 2 Quiz

SQL Session 2 Quiz

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Ammar Taimoori

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does INNER JOIN in SQL do?

  • Retrieves all rows from both tables

Retrieves only matching rows from both tables

Retrieves only rows from the left table

Retrieves only rows from the right table

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Only single WHEN statement can be included in CASE statement

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the default join type in SQL?

LEFT JOIN

RIGHT JOIN

INNER JOIN

OUTER JOIN

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following JOINs returns all rows from the left table and matching rows from the right table?

INNER JOIN

LEFT JOIN

RIGHT JOIN

FULL JOIN

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a LEFT JOIN, what happens if there is no match in the right table?

No rows are returned

All rows from the right table are returned with NULL values for columns from the left table

All rows from the left table are returned with NULL values for columns from the right table

An error is thrown

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JOIN returns all rows when there is a match in either the left or right table?

INNER JOIN

LEFT JOIN

RIGHT JOIN

FULL JOIN

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the CASE statement used in a SELECT clause?

To filter rows in the WHERE clause

To define conditions and return values based on them

To sort the result set

To join multiple tables

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?