Patients With a Condition || MySQL || Easy Approach
Simple Approach\n\n# Approach\n1. We are selecting all the columns from patients table.\n2. For condition we will check 2 things.\n    1. if condition contain o
# Simple Approach\n\n# Approach\n1. We are selecting all the columns from patients table.\n2. For condition we will check 2 things.\n    1. if condition contain only one word then use \'DIAB1%\'\n    2. otherwise use \'% DIAB1%\'\n\n# Code\n```\n# Write your MySQL query statement below\nselect patient_id, patient_name, conditions from Patients where conditions like \'DIAB1%\' or conditions like \'% DIAB1%\';\n```
['MySQL']