Fundamentals of SQL

Fundamentals of SQL

Professional Development

10 Qs

quiz-placeholder

Similar activities

sql

sql

Professional Development

10 Qs

SET OPERATORS

SET OPERATORS

Professional Development

8 Qs

E.14-X-17.06_BD

E.14-X-17.06_BD

Professional Development

10 Qs

SQL Quiz

SQL Quiz

Professional Development

10 Qs

Ms-SQL-QIUZZ

Ms-SQL-QIUZZ

Professional Development

10 Qs

Data Dynamos Quiz Day 3

Data Dynamos Quiz Day 3

Professional Development

10 Qs

Связи в таблицах mySQL

Связи в таблицах mySQL

Professional Development

7 Qs

[BIE - Thu 2 June 2022] - Chapter 4 (ETL)

[BIE - Thu 2 June 2022] - Chapter 4 (ETL)

Professional Development

10 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?