QUIZ ON SQL

QUIZ ON SQL

University

10 Qs

quiz-placeholder

Similar activities

Microsoft Word

Microsoft Word

University

10 Qs

UIT Talk 2

UIT Talk 2

University

10 Qs

Information System and Modern Organization part 1

Information System and Modern Organization part 1

University

14 Qs

Tutorium1

Tutorium1

University

10 Qs

PAW-Q1-2023

PAW-Q1-2023

University

10 Qs

Node.js

Node.js

University

10 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

ລະບົບຖານຂໍ້ມູນ ທົດສອບ1

ລະບົບຖານຂໍ້ມູນ ທົດສອບ1

University

15 Qs

QUIZ ON SQL

QUIZ ON SQL

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Anasuya Sahoo

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a DDL command?

UPDATE

TRUNCATE

ALTER

None of the Mentioned

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following are TCL commands?

UPDATE and TRUNCATE

SELECT and INSERT

GRANT and REVOKE

ROLLBACK and SAVEPOINT

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

________________ is not a category of SQL command.

TCL

SCL

DCL

DDL

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”?

SELECT * FROM Persons WHERE FirstName=’a’

SELECT * FROM Persons WHERE FirstName LIKE ‘a%’

SELECT * FROM Persons WHERE FirstName LIKE ‘%a’

SELECT * FROM Persons WHERE FirstName=’%a%’

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the ALTER TABLE clause do?

The SQL ALTER TABLE clause modifies a table definition by altering, adding, or deleting table columns and/or constraints

The SQL ALTER TABLE clause is used to insert data into database table

THE SQL ALTER TABLE deletes data from database table

The SQL ALTER TABLE clause is used to delete a database table

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The UNION SQL clause can be used with _____________

SELECT clause only

DELETE and UPDATE clauses

UPDATE clause only

All of the mentioned

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which join refers to join records from the right table that have no matching key in the left table are include in the result set:

Left outer join

Right outer join

Full outer join

None of the above

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 Computers