In SQL,literalsrepresent explicit values such asnumbers, strings, or binary datadirectly written into queries. For example:
SELECT * FROM Employees WHERE Salary > 50000;
Here, 50000 is anumeric literal.
Option A (Correct):Literalsare explicit values used in SQL queries, such as 123, 'John Doe', and TRUE.
Option B (Incorrect):Commentsare non-executable text used for documentation within SQL code, typically denoted by -- or /* ... */.
Option C (Incorrect):Identifiersare names oftables, columns, or other database objects, such as EmployeeID.
Option D (Incorrect):Keywordsare reserved words in SQL (e.g., SELECT, FROM, WHERE) that define operations and syntax.
[Reference:SQL syntax fundamentals in SE 3050 zyBooks​., ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit