SQL Quiz

SQL Quiz

University

15 Qs

quiz-placeholder

Similar activities

Quiz number 1

Quiz number 1

University

15 Qs

Examen Parcial 1

Examen Parcial 1

University

16 Qs

G0102 imi paper 2

G0102 imi paper 2

University

15 Qs

UAS Basis Data

UAS Basis Data

University

20 Qs

Literasi TIK 3

Literasi TIK 3

University

15 Qs

Soal Open Class External

Soal Open Class External

University

15 Qs

Câu hỏi trắc nghiệm Word

Câu hỏi trắc nghiệm Word

10th Grade - University

10 Qs

3D Printing at NKN

3D Printing at NKN

6th Grade - University

16 Qs

SQL Quiz

SQL Quiz

Assessment

Quiz

Instructional Technology

University

Practice Problem

Medium

Created by

Jigme Dema

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the GROUP BY clause in SQL?

To group rows that have the same values into summary rows

To filter rows based on a condition

To sort rows in ascending order

To join multiple tables

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an aggregate function in SQL?

COUNT()

JOIN()

SELECT()

WHERE()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the HAVING clause do in SQL?

It filters records before grouping

It filters records after grouping

It sorts the results

It joins two tables

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about subqueries?

They can return multiple columns

They must be enclosed within parentheses

They can use ORDER BY

They cannot be used in WHERE clauses

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of join returns all rows from both tables when there is a match?

OUTER Join

INNER Join

CROSS Join

LEFT Join

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a LEFT OUTER join return?

Only matching rows from both tables

All rows from the right table

All rows from the left table and matching rows from the right table

Only unmatched rows

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL command is used to create a view?

CREATE VIEW

CREATE TABLE

SELECT INTO

INSERT INTO

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?