r/SQL • • Sep 19 '23

Discussion Is there something wrong with this query.

Post image
158 Upvotes

127 comments sorted by

View all comments

57

u/kitzkhan Sep 19 '23

Also i would use a LOWER(name) like '%chocolate%'

14

u/Blues2112 Sep 20 '23

Huh, I always use UPPER(name) like '%CHOCOLATE%'

4

u/joec_95123 Sep 20 '23

UPPER() gang represent.