0% found this document useful (0 votes)
13 views

SQL MCQ

These really help you out in your studies

Uploaded by

ruma21474
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

SQL MCQ

These really help you out in your studies

Uploaded by

ruma21474
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

SQL MCQ (Multiple Choice Questions)

1. What does SQL is used to perform operations on?

A. Update Records
B. Insert Records
C. Both A and B
D. None of the above

Answer: C) Both A and B

2. What does SQL stand for?

A. SQL stands for Sample Query Language


B. SQL stands for Structured Query List
C. SQL stands for Structured Query Language
D. SQL stands for Sample Query List

Answer: C) SQL stands for Structured Query Language

3. What does this SQL database language design to?

A. Maintain the data in hierarchal database management systems.


B. Maintain the data in relational database management systems.
C. Maintain the data in network database management systems.
D. Maintain the data in object-oriented database management systems.

Answer: B) Maintain the data in relational database management systems

7. Determine the correct SQL command?

A. CREATE
B. UPDATE
C. DELETE
D. All of the above

Answer: D) All of the above

8. What is the work of CREATE command?

A. Using this command, you can remove or erase recorded information from
a database table.
B. It enables you to create new databases, tables, table views, and other
objects using this command.
C. Inserting records or data into the database tables is accomplished with
this command. In addition to inserting records in single rows, we can
insert records in multiple rows as well.
D. A single or multiple rows can be accessed using this command from one
or more tables of a database. Using the WHERE clause with this command
is also possible.
Answer: B) It enables you to create new databases, tables, table views, and
other objects using this command

9. What is the work of UPDATE command?

A. A single or multiple rows can be accessed using this command from one
or more tables of a database. Using the WHERE clause with this command
is also possible.
B. Using this command, you can remove or erase recorded information from
a database table.
C. Database data can be updated or changed using this command.
D. It enables you to create new databases, tables, table views, and other
objects using this command.

Answer: C) Database data can be updated or changed using this command

10. What is the work of DELETE command?

A. A single or multiple rows can be accessed using this command from one
or more tables of a database. Using the WHERE clause with this command
is also possible.
B. Database data can be updated or changed using this command.
C. Database objects such as tables, table views, and other objects can be
deleted using this command.
D. Using this command, you can remove or erase recorded information from
a database table.

Answer: D) Using this command, you can remove or erase recorded


information from a database table

11. What is the work of SELECT command?

A. Database objects such as tables, table views, and other objects can be
deleted using this command.
B. Database objects such as tables, table views, and other objects can be
deleted using this command.
C. One or more rows from one or more tables of the database can be
accessed with this command. Using the WHERE clause with this command
is also possible.
D. It enables you to create new databases, tables, table views, and other
objects using this command.

Answer: C) One or more rows from one or more tables of the database can be
accessed with this command. Using the WHERE clause with this command is
also possible

12. What is the work of INSERT command?


A. Inserting records or data into the database tables is accomplished with
this command. In addition to inserting records in single rows, we can
insert records in multiple rows as well.
B. Database objects such as tables, table views, and other objects can be
deleted using this command.
C. One or more rows from one or more tables of the database can be
accessed with this command. Using the WHERE clause with this command
is also possible.
D. It enables you to create new databases, tables, table views, and other
objects using this command.

Answer: A) Inserting records or data into the database tables is accomplished


with this command. In addition to inserting records in single rows, we can insert
records in multiple rows as well

13. Which statement is not true?

A. SQL is rational whereas No-SQL is non-rational.


B. SQL follows BASE Model whereas No-SQL follows ACID Model.
C. SQL database are vertically scalable whereas No-SQL database are
horizontally scalable.
D. No-SQL databases are preferable to store hierarchical data in comparison
SQL databases.

Answer: B) SQL follows BASE Model whereas No-SQL follows ACID Model

14. Which statement is true about the SQL?

A. SQL databases are vertically scalable.


B. SQL follows BASE Model.
C. SQL database cannot handle complex queries.
D. SQL database does not require object-relational mapping.

Answer: A) SQL databases are vertically scalable

You might also like