Fundamentals of SQL

Fundamentals of SQL

Professional Development

10 Qs

quiz-placeholder

Similar activities

sql

sql

Professional Development

10 Qs

Pretest

Pretest

Professional Development

11 Qs

Intro SQL 2 - Data Dictionary

Intro SQL 2 - Data Dictionary

Professional Development

12 Qs

Power BI and SQL

Power BI and SQL

Professional Development

7 Qs

Python & SQL

Python & SQL

Professional Development

15 Qs

SQL Quiz

SQL Quiz

Professional Development

10 Qs

FinTech 07-3 SQL

FinTech 07-3 SQL

Professional Development

10 Qs

Lists and operators

Lists and operators

Professional Development

15 Qs

Fundamentals of SQL

Fundamentals of SQL

Assessment

Quiz

Other

Professional Development

Easy

Created by

Fiska Hendiyaningsih

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of SQL data types?

The purpose of SQL data types is to specify the type of data that can be stored in a column, ensuring data integrity and optimizing storage.

To manage database permissions

To define the structure of SQL queries

To create user accounts in a database

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL data type is used to store text?

DATE

INT

VARCHAR or TEXT

FLOAT

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write a basic SQL query to select all columns from a table named 'employees'.

SELECT employees.*;

SELECT * FROM employees;

GET * FROM employees;

SELECT ALL FROM employees;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following SQL query: SELECT COUNT(*) FROM orders?

A boolean indicating if the orders table is empty.

A list of all unique values in the orders table.

An integer representing the total number of rows in the orders table.

A string representing the first row in the orders table.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the difference between INNER JOIN and LEFT JOIN.

INNER JOIN returns matching rows from both tables; LEFT JOIN returns all rows from the left table and matched rows from the right table.

INNER JOIN returns only unmatched rows from both tables; LEFT JOIN returns all rows from the right table.

INNER JOIN returns all rows from both tables; LEFT JOIN returns matching rows from the right table.

INNER JOIN returns all rows from the right table; LEFT JOIN returns only matching rows from both tables.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What SQL function would you use to find the maximum value in a column?

SUM()

COUNT()

MAX()

AVG()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to filter records in a SQL query?

SELECT

FILTER

ORDER BY

WHERE

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?