SQL Quiz

SQL Quiz

University

20 Qs

quiz-placeholder

Similar activities

Microsoft Week 23 PA Wrap Up!

Microsoft Week 23 PA Wrap Up!

University

20 Qs

Quiz 2 AENG 221 Finals

Quiz 2 AENG 221 Finals

University

15 Qs

QUIZ #1 MICROFINANCE

QUIZ #1 MICROFINANCE

University

15 Qs

IMPORTANT BRANDING DECISSIONS

IMPORTANT BRANDING DECISSIONS

University

15 Qs

Quiz ODC-Jan 2021

Quiz ODC-Jan 2021

University

20 Qs

Employee Satisfaction and Commitment

Employee Satisfaction and Commitment

University

19 Qs

Python Quiz

Python Quiz

University

15 Qs

Quiz No. 1_EA

Quiz No. 1_EA

University

20 Qs

SQL Quiz

SQL Quiz

Assessment

Quiz

Other

University

Practice Problem

Medium

Created by

33KAZ undefined

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...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which join type results in a Cartesian product?

FULL OUTER JOIN

RIGHT JOIN

CROSS JOIN

LEFT JOIN

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators is used to combine the result sets of two or more SELECT queries, removing duplicates?

ЕХСЕРТ

INTERSECT

UNION

JOIN

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of join includes all rows from the left table and only the matching rows from the right table?

LEFT JOIN

FULL JOIN

RIGHT JOIN

INNER JOIN

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax to rename a column in a SELECT statement using an alias?

SELECT alias_name FROM column_name

RENAME column_name TO alias_name

SELECT column_name AS alias_name

WITH column_name AS alias_name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL function returns the sum of values in a column?

SUM()

COUNT)

AVG()

MIN()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using aliases in SQL?

To filter data

To delete records from tables

To provide temporary names for columns or tables for easier reference

To create new columns in a result set

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for using the UNION keyword in SQL?

SELECT * FROM tableA EXCEPT SELECT * FROM tableB;

SELECT * FROM tableA UNION SELECT * FROM tableB;

SELECT * FROM tableA JOIN tableB;

SELECT * FROM tableA UNION ALL SELECT * FROM tableB;

Access all questions and much more by creating a free account

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?