What is the primary purpose of SQL in a database?
2023
What is the primary purpose of SQL in a database?
- A.
Defragmenting the hard disk
- B.
Managing and querying databases
- C.
Creating computer graphics
- D.
Designing the user interface
Attempted by 312 students.
Show answer & explanation
Correct answer: B
The correct answer is Option B: Managing and querying databases. SQL (Structured Query Language) is the standard programming language specifically designed for storing, manipulating, retrieving, and managing data held in a relational database management system (RDBMS). It allows users to perform tasks like creating tables, updating records, and running complex queries.