
SQL and PL/SQL Multiple Choice Questions
Authored by Suhada c
Information Technology (IT)
11th Grade
Used 4+ 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 SQL command is used to create a new database?
CREATE TABLE
CREATE DATABASE
MAKE DATABASE
NEW DATABASE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a DML command?
CREATE
DROP
INSERT
ALTER
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The command used to remove all rows from a table but keep its structure is:
DELETE
DROP
TRUNCATE
ERASE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The WHERE clause is used to:
Group data
Filter records
Sort results
Rename columns
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function returns the number of rows in a table?
SUM()
COUNT()
AVG()
MAX()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The SQL clause used to arrange records in ascending or descending order is:
GROUP BY
ORDER BY
SORT
HAVING
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aggregate functions return:
Multiple values
A single value
Boolean values
Text only
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?