Fundamentals of SQL

Fundamentals of SQL

Professional Development

10 Qs

quiz-placeholder

Similar activities

Profesi IT bagian 1

Profesi IT bagian 1

Professional Development

10 Qs

Ứng dụng SQL truy vấn và phân tích dữ liệu_buổi 1

Ứng dụng SQL truy vấn và phân tích dữ liệu_buổi 1

Professional Development

10 Qs

SQL Queries Basics

SQL Queries Basics

Professional Development

15 Qs

SQL QUIZ

SQL QUIZ

Professional Development

14 Qs

Intro SQL 2 - Data Dictionary

Intro SQL 2 - Data Dictionary

Professional Development

12 Qs

Advanced SQL Quiz

Advanced SQL Quiz

Professional Development

5 Qs

MS SQL SERVER - Day 9

MS SQL SERVER - Day 9

Professional Development

13 Qs

Pretest

Pretest

Professional Development

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