QUIZ ON SQL

QUIZ ON SQL

University

10 Qs

quiz-placeholder

Similar activities

Key and constrain

Key and constrain

University

15 Qs

POST-TEST MODUL 1 APSI

POST-TEST MODUL 1 APSI

University

15 Qs

Manipulating Data

Manipulating Data

University - Professional Development

15 Qs

Câu hỏi về SQL

Câu hỏi về SQL

11th Grade - University

12 Qs

BEW - Databases

BEW - Databases

University

7 Qs

SQL Basic

SQL Basic

University

10 Qs

Web Dev Quizz 1

Web Dev Quizz 1

University

15 Qs

Equipo9_PBD

Equipo9_PBD

University

10 Qs

QUIZ ON SQL

QUIZ ON SQL

Assessment

Quiz

Computers

University

Hard

Created by

Anasuya Sahoo

Used 15+ times

FREE Resource

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

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?