Skip to main contentSkip to solution

The underscore( _ ) symbol is used to represent _______ matching in SQL.

Solution

✅ Correct Option: 3

In SQL's LIKE operator, the underscore ( _ ) is a wildcard that matches exactly one character at that position. For example, '_at' matches "cat" and "bat" but not "at" or "chat".


Options 1 and 2: these confuse _ with the percent sign (%), which matches zero, one or many characters.

Remember: _ = exactly one character, % = any number of characters.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question