

SQL Training 01
Presentation
•
Science
•
Professional Development
•
Practice Problem
•
Hard
Levente Maár
Used 4+ times
FREE Resource
1 Slide • 20 Questions
1
By Where the Magic Begins
2
Multiple Choice
Which kind of database is the PostgreSQL?
NoSQL
RBDMS
3
Multiple Choice
What is the file format in what MSSQL stores the log files in use?
TRN
MDF
BAK
LDF
4
Multiple Select
Which statements about PRIMARY KEY are true?
It uniquely identifies each row
It can contain NULL values
It can be composed of multiple columns
It automatically creates an index
5
Multiple Select
Which clauses can be used to filter data in SQL?
WHERE
ORDER BY
TOP
6
Multiple Select
Which statements about a One-to-Many relationship are true?
The parent table contains the foreign key
The child table contains the foreign key
One record in the parent table can relate to multiple records in the child table
It requires a link table
7
Multiple Select
Which statements about Many-to-Many relationships are correct?
Requires a link table
Each table can have multiple related rows in the other table
Not able to use constraints in their columns
8
Multiple Choice
Which JOIN returns all rows from both tables, including unmatched rows?
INNER JOIN
LEFT JOIN
FULL OUTER JOIN
CROSS JOIN
9
Multiple Select
Which JOIN types can return NULL values in the result set?
INNER JOIN
LEFT JOIN
RIGHT JOIN
FULL OUTER JOIN
CROSS JOIN
10
Multiple Select
Which JOIN types can potentially increase the number of rows compared to the original tables?
INNER JOIN
LEFT JOIN
FULL OUTER JOIN
CROSS JOIN
11
Multiple Choice
Which of the following statements about FLOAT and REAL is true?
Both are exact numeric types
FLOAT is approximate, REAL is exact
Both are approximate numeric types
REAL is used for integers only
12
Multiple Choice
What is the difference between CHAR and VARCHAR?
CHAR is variable-length, VARCHAR is fixed-length
CHAR is fixed-length, VARCHAR is variable-length
Both are fixed-length
Both are variable-length
13
Multiple Select
Which of the following are deprecated in MSSQL?
TEXT
NTEXT
IMAGE
NVARCHAR(MAX)
14
Multiple Select
Which data types support fractional seconds?
DATETIME
DATETIME2
SMALLDATETIME
TIME
15
Multiple Select
Which of the following are drawbacks of using UNIQUEIDENTIFIER as a primary key?
Larger storage size compared to INT
Cannot be indexed
Fragmentation in clustered indexes
No default function to generate one in case of insert
16
Multiple Select
Which clauses can be used with SELECT?
FROM
WHERE
TOP
ORDER BY
17
Multiple Select
Which of the following are valid ways to select all columns from a table?
SELECT * FROM Employees
SELECT ALL FROM Employees
SELECT Employees.* FROM Employees
SELECT * Employees
18
Multiple Select
Which of the following are valid ways to sort by multiple columns?
ORDER BY LastName, FirstName
ORDER BY LastName ASC, FirstName DESC
ORDER BY 1, 2
ORDER BY LastName AND FirstName
19
Multiple Choice
Which of the following is valid syntax to return the top 5 rows?
SELECT TOP 5 * FROM Employees
SELECT LIMIT 5 * FROM Employees
SELECT FIRST 5 * FROM Employees
SELECT * FROM Employees TOP 5
20
Fill in the Blanks
What keyword is missing f?
SELECT TOP(10) Id
Type answer...
21
Fill in the Blanks
What keyword is wrong?
SELECT * FROM Orders ORDER BY OrderDate DESC LIMIT 1
Type answer...
By Where the Magic Begins
Show answer
Auto Play
Slide 1 / 21
SLIDE
Similar Resources on Wayground
17 questions
Basal Ganglia
Presentation
•
Professional Development
17 questions
Circulatory system
Presentation
•
Professional Development
13 questions
Ordering Food (ESL)
Presentation
•
Professional Development
17 questions
Blood and Circulation
Presentation
•
Professional Development
15 questions
Elements of Exercise
Presentation
•
Professional Development
17 questions
some/any/a lot of/much/many
Presentation
•
Professional Development
16 questions
Weather Maps
Presentation
•
KG
16 questions
Water Filter STEM Lesson
Presentation
•
KG
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade