SQL Quiz-3

SQL Quiz-3

Professional Development

30 Qs

quiz-placeholder

Similar activities

PRE TEST PROPPER JULI 2019

PRE TEST PROPPER JULI 2019

Professional Development

25 Qs

FR SR Part1

FR SR Part1

Professional Development

25 Qs

MONTHLY EVALUATION FO DESEMBER

MONTHLY EVALUATION FO DESEMBER

Professional Development

25 Qs

Motivation

Motivation

10th Grade - Professional Development

30 Qs

Indian Polity 2

Indian Polity 2

Professional Development

25 Qs

e-Golf

e-Golf

Professional Development

26 Qs

Earning Unit Vocabulary

Earning Unit Vocabulary

Professional Development

34 Qs

ICH Review

ICH Review

Professional Development

27 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?

Discover more resources for Professional Development