
SQL Basics Quiz
Authored by VEDANT VEDANT
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the SELECT statement in SQL?
To update data in a database table.
To delete data from a database table.
To create a new database table.
To retrieve data from a database table.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to select all columns from a table named 'Customers'.
SELECT ALL FROM Customers
SELECT * Customers
SELECT Customers FROM *
SELECT * FROM Customers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to insert a new record into a table named 'Employees' with columns 'Name' and 'Age'.
INSERT INTO Employees (Name, Age) VALUES ('Jane Smith', 30)
INSERT INTO Employees (Name, Age) VALUES ('John Doe', 25)
INSERT INTO Employees (Name, Age) VALUES ('Bob Johnson', 20)
INSERT INTO Employees (Name, Age) VALUES ('Mary Brown', 35)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following SQL query: SELECT COUNT(*) FROM Orders;
The result of the query is the average of all values in the 'Orders' table.
The result of the query is the count of all rows in the 'Orders' table.
The result of the query is the maximum value in the 'Orders' table.
The result of the query is the sum of all values in the 'Orders' table.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to select only the 'Name' column from a table named 'Products'.
SELECT Name FROM Products;
SELECT ColumnName FROM Products;
SELECT ProductName FROM Products;
SELECT * FROM Products;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a SQL query to insert multiple records into a table named 'Students' with columns 'Name' and 'Grade'.
INSERT INTO Students (Name, Grade) VALUES ('John', 'A'), ('Jane', 'B'), ('Mike', 'C', 'D')
INSERT INTO Students (Name, Grade) VALUES ('John', 'A'), ('Jane', 'B'), ('Mike', 'C', 'D', 'E')
INSERT INTO Students (Name, Grade) VALUES ('John', 'A'), ('Jane', 'B'), ('Mike', 'C', 'D', 'E', 'F')
INSERT INTO Students (Name, Grade) VALUES ('John', 'A'), ('Jane', 'B'), ('Mike', 'C')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following SQL query: SELECT AVG(Price) FROM Products;
The result of the SQL query will be the average price of the products.
The result of the SQL query will be the sum of the prices of the products.
The result of the SQL query will be the maximum price of the products.
The result of the SQL query will be the minimum price of the products.
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
10 questions
RAPAT TELECONFERENCE
Quiz
•
12th Grade - University
10 questions
Memory
Quiz
•
University
10 questions
Sustainable Agriculture
Quiz
•
University
10 questions
Clare and Barry's TV Soap Quiz
Quiz
•
KG - Professional Dev...
10 questions
Chapter 11: OHP review
Quiz
•
University
11 questions
Nature based Quiz
Quiz
•
University
9 questions
star wars
Quiz
•
3rd Grade - Professio...
13 questions
rubiks cube quiz
Quiz
•
KG - Professional Dev...
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University