educative.io

The % symbol a wildcard that matches zero to all characters - strings

How many characters does the % match in this value? “_riy%” when it returns the first name row for Priyanka Choprah …?

It’s matching Priyanka Choprah based on the first 4 characters of Priy.

_riy% broken down means match all strings that start with any character + riy. Strings starting with Ariy, Briy, etc would all match.

Let me know if this helps!

Yes! It helped, Adam 1. Thank you!