SQL ✅ | LIKE ✅| Easy to understand
Intuition\nWe have two different situations. condition can consist of one word or several words:\n1. If it is one word \'DIAB1%\' would be enough.\n2. If it con
# Intuition\nWe have two different situations. condition can consist of one word or several words:\n1. If it is one word \'DIAB1%\' would be enough.\n2. If it consists of several words, we add \'% DIAB1%\' so that the beginning of an optional word starts with "DIAB1"\n\n![image.png](https://assets.leetcode.com/users/images/df766da9-266b-40e9-b18f-1602b194cb05_1686843337.7371843.png)\n\n\n# Code\n```\nselect *from Patients \nwhere conditions like \'DIAB1%\' or conditions like \'% DIAB1%\'\n```
['Database', 'MySQL']