SQL MCQs - Class 12
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Dread Angel
Used 3+ times
FREE Resource
Enhance your content in a minute
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an INNER JOIN in SQL?
To update records in a table.
To create a new table from existing tables.
To delete records from a table.
To retrieve matching records from two or more tables.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function is used to count the number of rows in a table?
MAX()
COUNT()
AVG()
SUM()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type would you use for a column that stores dates?
INTEGER
DATE or DATETIME
BOOLEAN
STRING
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you select all columns from a table named 'employees'?
GET * FROM employees;
FETCH * FROM employees;
SELECT * FROM employees;
SELECT ALL FROM employees;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the WHERE clause in an SQL statement?
To filter records based on specified conditions.
To create new records in the database.
To sort records in ascending order.
To join multiple tables together.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of JOIN returns all records from the left table and matched records from the right table?
FULL OUTER JOIN
LEFT JOIN
RIGHT JOIN
INNER JOIN
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function is used to find the maximum value in a column?
COUNT()
MIN()
SUM()
MAX()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
HTML
Quiz
•
8th Grade - University
50 questions
LATIHAN PAT INFORMATIKA KELAS X
Quiz
•
9th - 12th Grade
60 questions
E-BOOK
Quiz
•
KG - University
60 questions
lists and dictionaries in python smsmb
Quiz
•
11th - 12th Grade
50 questions
Uji Pengetahuan UKK TKJ 2023
Quiz
•
9th - 12th Grade
50 questions
AP CS P 5.1
Quiz
•
10th Grade - University
60 questions
Finals in Empowerment Technologies
Quiz
•
11th - 12th Grade
59 questions
Working with Files
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
