We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
'A%' = match anything beginning with the letter A ('Anne', 'Allison', 'Ann Arbor', etc ...)
'%A' = match anything ending with the letter A ('AurorA', 'BannanA', 'CaliforniA', etc...)
Using the OR clause the answer above is able to chain together a match for each of the five vowls. Because the LIKE clause is case-sensitive the query will fail if any of the cities are not capitalized.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 6
You are viewing a single comment's thread. Return to all comments →
The '%' is interpreted as a wild card. So
Using the OR clause the answer above is able to chain together a match for each of the five vowls. Because the LIKE clause is case-sensitive the query will fail if any of the cities are not capitalized.