SQL MCQs - Class 12

Quiz
•
Computers
•
12th Grade
•
Easy
Dread Angel
Used 3+ times
FREE Resource
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()
Create a free account and access millions of resources
Similar Resources on Wayground
55 questions
AHJ: Unit13-User Defined Data Types and File Organization Quiz

Quiz
•
12th Grade - University
54 questions
eSkill-8

Quiz
•
12th Grade
50 questions
AHJN: U8 DB Fr-TB

Quiz
•
12th Grade - University
50 questions
Databricks Certified Data Engineer Quiz part 2

Quiz
•
1st Grade - University
55 questions
basis data

Quiz
•
12th Grade
50 questions
Mysql Practice 1 Mark Questions

Quiz
•
12th Grade
51 questions
Python and SQL Quiz

Quiz
•
12th Grade
50 questions
SQL Basic Quiz

Quiz
•
12th Grade
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
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University