SQL Database Quiz

SQL Database Quiz

University

10 Qs

quiz-placeholder

Similar activities

SQL set 1

SQL set 1

University

10 Qs

JSP

JSP

University

10 Qs

BD 2.1

BD 2.1

3rd Grade - University

10 Qs

Quiz Sistem Basis Data 2PITA(16/06/2022)

Quiz Sistem Basis Data 2PITA(16/06/2022)

University

14 Qs

MySQL Data Manipulation Language Quiz

MySQL Data Manipulation Language Quiz

University

15 Qs

Games Materi

Games Materi

University

10 Qs

Mastering SQL Basics

Mastering SQL Basics

University

10 Qs

DBMS Quiz 2 DSE

DBMS Quiz 2 DSE

University

15 Qs

SQL Database Quiz

SQL Database Quiz

Assessment

Quiz

Other

University

Medium

Created by

Megha Agarwal

Used 2+ times

FREE Resource

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?