QUIZ ON SQL

QUIZ ON SQL

University

10 Qs

quiz-placeholder

Similar activities

UTS Basis Data II - ITM

UTS Basis Data II - ITM

University

15 Qs

9.1 Databases Cambridge IGCSE 0478

9.1 Databases Cambridge IGCSE 0478

10th Grade - University

10 Qs

CA - C1

CA - C1

University

6 Qs

PBD Pertemuan 07

PBD Pertemuan 07

University

10 Qs

Exploring Database Management Systems

Exploring Database Management Systems

University

15 Qs

SQL with Python Quiz

SQL with Python Quiz

12th Grade - University

15 Qs

Database Design & Development SQL 2

Database Design & Development SQL 2

University

12 Qs

RDBMS-SQL

RDBMS-SQL

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?