SQL Quiz-3

SQL Quiz-3

Professional Development

30 Qs

quiz-placeholder

Similar activities

PAC Training 3: Benefit Verification + RxHome Screen Set Up

PAC Training 3: Benefit Verification + RxHome Screen Set Up

Professional Development

25 Qs

All model & Mobile trouble shooting

All model & Mobile trouble shooting

Professional Development

28 Qs

Baroda Gyani 24

Baroda Gyani 24

Professional Development

25 Qs

mysql Test

mysql Test

Professional Development

25 Qs

MONTHLY EVALUATION FO DESEMBER

MONTHLY EVALUATION FO DESEMBER

Professional Development

25 Qs

M20_Review (HR and Payroll Terms)

M20_Review (HR and Payroll Terms)

Professional Development

25 Qs

Overall SQL Exam

Overall SQL Exam

Professional Development

31 Qs

FR SR Part1

FR SR Part1

Professional Development

25 Qs

SQL Quiz-3

SQL Quiz-3

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Data_Analyst_Harish undefined

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a DDL command?

UPDATE
CREATE
DELETE
SELECT

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to remove all rows from a table but keep its structure?

TRUNCATE TABLE
CLEAR TABLE
DROP TABLE
DELETE FROM

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

DQL commands are primarily used to:

retrieve data from a database
create new tables in a database
update data in a database
delete data from a database

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?