Search Header Logo

SQL Database Quiz

Authored by Megha Agarwal

Other

University

Used 2+ times

SQL Database Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is SQL?

Structured Query Logic

Sequential Query Language

System Query Language

Structured Query Language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name three common SQL data types.

String, Boolean, Decimal

Float, Char, Boolean

Integer, Varchar, Date

Text, Number, Boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for a basic SQL query?

SELECT column1, column2, ... FROM table_name;

SELECT column1, column2 FROM table_name WHERE condition;

SELECT column1, column2 FROM table_name;

SELECT * FROM table_name;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a SQL join and how does it work?

A SQL join is used to combine rows from two or more tables based on a related column between them.

A SQL join is used to combine rows from two or more tables based on a common value in a non-related column.

A SQL join is used to combine rows from two or more tables based on a primary key column.

A SQL join is used to combine rows from two or more tables based on a random column.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the different types of SQL joins?

cross join

self join

natural join

inner join, left join, right join, full outer join

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are SQL aggregation functions used for?

SQL aggregation functions are used to perform calculations on a set of values and return a single value as the result.

SQL aggregation functions are used to create new tables in a database.

SQL aggregation functions are used to update records in a database.

SQL aggregation functions are used to sort data in a database.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Give an example of an SQL aggregation function.

COUNT()

MAX()

MIN()

SUM()

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?