SQL is a data sublanguage.
Answer: A
Correct answer: True
SQL is called a data sublanguage because it handles only the data part of an application. It has no loops, no branching, no input or output beyond the result set, and no way to build an interface.
Those come from a host language - C, Java, Python - in which SQL statements are embedded. It is also declarative: a query states what is wanted and leaves the optimiser to decide how to obtain it. Procedural dialects such as PL/SQL add control flow, but they are extensions built on SQL rather than SQL itself.
Please log in or register to report this question.