QuestionQ70

VerifiedRetrieving Data Using the SQL SELECT Statement

Which SQL statement accepts user input for the displayed columns, the table name, and the WHERE condition?

Explanation

SQL*Plus substitutes ampersand variables before parsing the SQL statement. Column names and table names are identifiers, so their substitution variables must appear unquoted; a character comparison value, such as a last name, must be enclosed in single quotes. Oracle documents substitution-variable use for identifiers and quoted character values.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!