What is the primary purpose of SQL in a database?

2023

What is the primary purpose of SQL in a database?

  1. A.

    Defragmenting the hard disk

  2. B.

    Managing and querying databases

  3. C.

    Creating computer graphics

  4. 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.

Explore the full course: Btsc Lab Assistant