QuestionQ238

VerifiedRestricting and Sorting Data

The PART_CODE column in the SPARES table contains the following values:

Question Image

Which statement is true about the result of the query shown above?

Explanation

With ESCAPE '\', the sequence \% matches a literal percent sign. The unescaped _ still matches exactly one character, and the surrounding % characters match any number of characters. Thus the matching values are A%_WQ123 and A%BWQ123. Oracle Database SQL Language Reference: Pattern-matching Conditions

Learn more

Community Discussion

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