Question · SQL and MySQL course · Module 3: Filtering (WHERE)

The underscore wildcard

How many characters does the underscore _ replace in a LIKE pattern, e.g. 'J_n' ?

Answer options

  • Any sequence of characters, including empty
  • Exactly two characters
  • Exactly one arbitrary character
  • No character - it is just decoration

You can check the correct answer by solving this task in the CodeWorlds game.