SQL Quiz-3

SQL Quiz-3

Professional Development

•

30 Qs

quiz-placeholder

Similar activities

Employment

Employment

University - Professional Development

•

25 Qs

EKG 1

EKG 1

Professional Development

•

25 Qs

Employability Skills YR1 456-480

Employability Skills YR1 456-480

Professional Development

•

25 Qs

MRBST 2019

MRBST 2019

Professional Development

•

25 Qs

FAFD2

FAFD2

Professional Development

•

25 Qs

Mengenal MTsN 8 Jakarta

Mengenal MTsN 8 Jakarta

Professional Development

•

25 Qs

T1 Pro | T1 44W

T1 Pro | T1 44W

Professional Development

•

25 Qs

SQL Quiz-3

SQL Quiz-3

Assessment

Quiz

•

Professional Development

•

Professional Development

•

Practice Problem

•

Medium

Created by

Data_Analyst_Harish undefined

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development