SQL Quiz-2

SQL Quiz-2

Professional Development

10 Qs

quiz-placeholder

Similar activities

DBMS Lab Internal Viva - Jan 2021

DBMS Lab Internal Viva - Jan 2021

Professional Development

15 Qs

Nodejs: MongoDB

Nodejs: MongoDB

Professional Development

10 Qs

SQL Quiz

SQL Quiz

Professional Development

7 Qs

SQL Checkup

SQL Checkup

Professional Development

5 Qs

WCF-DSE-Q9

WCF-DSE-Q9

Professional Development

8 Qs

PJP Apr 23

PJP Apr 23

Professional Development

10 Qs

Assessment 3

Assessment 3

Professional Development

10 Qs

SQL Quiz

SQL Quiz

Professional Development

13 Qs

SQL Quiz-2

SQL Quiz-2

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Data_Analyst_Harish undefined

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following SQL commands is used to create a new table?

INSERT

CREATE

ALTER

SELECT

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. What does the ALTER command do in SQL?

Modifies data in a table

Modifies the structure of a table

Deletes records

Adds new data rows

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands will delete a table and all its data permanently?

DROP

DELETE

TRUNCATE

REMOVE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which DDL command can be used to remove all data from a table but keep its structure?

DELETE

DROP

TRUNCATE

CLEAR

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the UPDATE command do in SQL?

The UPDATE command modifies existing records in a table.
The UPDATE command deletes records from a table.
The UPDATE command creates new tables in a database.
The UPDATE command retrieves data from a table.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL command removes specific rows from a table?

DELETE
INSERT
UPDATE
SELECT

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the WHERE clause do in a SELECT query?

Limits the number of columns

Changes column values

Filters rows based on conditions

Deletes rows

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?