Problem Solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\n-- Write your PostgreSQL query statement below\nselect patient_id , patient_name , conditions\nfrom Patients \n-- here we have two cases \n-- case 1 : condition start with \'DIAB1\' \n-- case 2 : condition does not start with \'DIABI\' but also refers to Type I Diabetes\nwhere conditions like \'% DIAB1%\' or conditions like \'DIAB1%\';\n```
['PostgreSQL']