SQL Quiz

SQL Quiz

University

20 Qs

quiz-placeholder

Similar activities

GEN ANA 1 LAB ACTIVITY 2024

GEN ANA 1 LAB ACTIVITY 2024

University - Professional Development

20 Qs

FNSINC612 Practice 3

FNSINC612 Practice 3

University

15 Qs

SYBBI Trial Quiz - Financial Statement Analysis

SYBBI Trial Quiz - Financial Statement Analysis

University

19 Qs

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

LSM - 2

LSM - 2

University

16 Qs

PDP

PDP

University

15 Qs

LIVE QUIZ - SDG 4, 5 AND 6

LIVE QUIZ - SDG 4, 5 AND 6

University

15 Qs

SPANISH GREETINGS, ALPHABETS, DAYS

SPANISH GREETINGS, ALPHABETS, DAYS

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

In SQL, what does the CAST function do?

Converts a value from one data type to another

Combines two tables into one

Removes rows with null values

Renames a table

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL function is used to concatenate strings in PostgreSQL?

||

&

+

CONCATO

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the SQL statements is correct?

SELECT Username AND Password FROM Users

None of the given

SELECT Username, Password WHERE Username = 'user1'

SELECT Username, Password FROM Users

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List all operations of relation algebra in the query: SELECT accountId FROM Account;

Selection

Projection, selection

Projection

Projection, union

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used in SQL for partial string matching?

BETWEEN

IN

NOT IN

LIKE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of join returns all rows from both tables, filling in NULLs where there are no matches?

LEFT JOIN

INNER JOIN

CROSS JOIN

FULL OUTER JOIN

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword can you use to search for a string in a column?

HAS STRING

CONTAINS STRING

LIKE

FIND STRING

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?