Which SQL statement is used to retrieve data from a database? MCQ with Answer and Explanation

Which SQL statement is used to retrieve data from a database?
A. INSERT
B. UPDATE
C. SELECT
D. DELETE
Answer: Option C
Solution (By JKExamLibrary)
SELECT is the SQL command used to query and retrieve data from one or more tables.

This question belongs to: Computer Database Management System (DBMS)

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1 Report Error
A key that consists of more than one attribute to uniquely identify rows in a table is called a what?
A. Foreign Key
B. Secondary Key
C. Primary Key
D. Composite Key

Correct Answer: Option D


Explanation:
When a primary key or unique key comprises two or more columns (attributes) combined together, it is known as a Composite Key.

This question belongs to: Computer Database Management System (DBMS)
Question #2 Report Error
What type of anomaly occurs when deleting a row inadvertently destroys other independent, valuable historical facts from the database?
A. Selection Anomaly
B. Deletion Anomaly
C. Insertion Anomaly
D. Projection Anomaly

Correct Answer: Option B


Explanation:
A Deletion Anomaly occurs when the deletion of a specific data record unintentionally deletes other distinct, unrelated information that should have been preserved.

This question belongs to: Computer Database Management System (DBMS)
Question #3 Report Error
An attribute that can be broken down into smaller, independent sub-parts with independent meanings (such as Name into First_Name and Last_Name) is called a what?
A. Simple Attribute
B. Multi-valued Attribute
C. Derived Attribute
D. Composite Attribute

Correct Answer: Option D


Explanation:
A Composite Attribute is one that can be divided into smaller sub-components or meaningful independent fields.

This question belongs to: Computer Database Management System (DBMS)