
SQL Basics Quiz for Students

Quiz
•
Computers
•
10th Grade
•
Easy

Graeme Smith
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the PRIMARY KEY in an SQL table?
To store the first column of data
To ensure no duplicate values and identify each record uniquely
To allow NULL values in the table
To link two tables together
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL command is used to create a new database?
CREATE DATABASE
INSERT DATABASE
ADD DATABASE
MAKE DATABASE
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the FOREIGN KEY constraint do?
It creates a unique identifier for each record
It links data from two tables based on a common field
It allows duplicate values in the table
It updates multiple tables at once
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid SQL data type?
varchar
int
float
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove a table from a database?
DROP TABLE
DELETE TABLE
REMOVE TABLE
CLEAR TABLE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL clause is used to filter records?
WHERE
FILTER
SELECT
ORDER BY
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the SQL command SELECT?
To delete records from a table
To update records in a table
To retrieve data from a database
To insert new records into a table
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
SQL- Join, Group by, having

Quiz
•
9th - 12th Grade
12 questions
Pretest 1 PDBMS

Quiz
•
1st - 10th Grade
10 questions
SQL Multiple Choice Quiz

Quiz
•
10th Grade
12 questions
Database Knowledge Check 3 (SQL)

Quiz
•
9th - 12th Grade
14 questions
Security Systems - Threats

Quiz
•
10th Grade
12 questions
G10 Structured Query Language

Quiz
•
10th Grade
16 questions
Access Revision

Quiz
•
5th - 12th Grade
15 questions
AV1/R1 3TEC_Banco de Dados - Chave Primária

Quiz
•
1st Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade