Machine-translated by Google. Questions are authored in English.
Top

Discussion

SQL is a data sublanguage.

  • A.True
  • B.False

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.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.