
SQL Quiz-3
Authored by Data_Analyst_Harish undefined
Professional Development
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a DDL command?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove all rows from a table but keep its structure?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DQL commands are primarily used to:
4.
MULTIPLE SELECT QUESTION
30 sec • 2 pts
Identify the DML commands from the list below. (Multiple correct)
UPDATE
CREATE
DELETE
ALTER
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following query do?
ALTER TABLE employees ADD COLUMN department_id INT;
Add a new row to employees table
Add a new column to students table
Add a new column to employees table
Create a new table
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which query correctly retrieves unique department names from the departments table?
SELECT department_name FROM departments;
SELECT UNIQUE department_name FROM departments;
SELECT DISTINCT department_name FROM departments;
SELECT department_name DISTINCT FROM departments;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions is NOT an aggregation function?
SUM()
COUNT()
MAX()
ROUND()
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?