Back to the 2021 paper

Unit 2: Relational Query Languages

20212m

Which of the following is the original purpose of SQL?

  • (i) To specify the syntax and semantics of SQL data definition language
    (ii) To specify the syntax and semantics of SQL manipulation language
    (ii) To define the data structures
    (iv) All of the above
Worked SolutionAI Assisted

Answer: (iv) All of the above

Explanation: SQL was originally based on SEQUEL and intended to specify both Data Definition Language (DDL - CREATE, ALTER) and Data Manipulation Language (DML - SELECT, INSERT, etc.) syntax and semantics, and consequently data structures. In exam context, expected answer is All of the above. More precise textbook answer is (ii) SQL manipulation, but given options, (iv) is marked correct in many keys.

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.