
Fundamentals of SQL

Quiz
•
Other
•
Professional Development
•
Easy
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
Similar Resources on Wayground
14 questions
SQL

Quiz
•
Professional Development
7 questions
Power BI and SQL

Quiz
•
Professional Development
10 questions
Fullstack Assignment

Quiz
•
Professional Development
15 questions
Python & SQL

Quiz
•
Professional Development
10 questions
Power BI Quiz

Quiz
•
Professional Development
12 questions
SQL basics

Quiz
•
Professional Development
15 questions
Lists and operators

Quiz
•
Professional Development
15 questions
SQL Advance Functions MCQs

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade