EASY WAY TO SOLVE THIS PROBLEM USING "LIKE"
IntuitionPLEASE UPVOTE IF YOU FIND IT HELPFULL!
ApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
PLEASE UPVOTE IF YOU FIND IT HELPFULL!
![images.jpeg](https://assets.leetcode.com/users/images/402849fa-769e-46fa-ba3e-460eea621e29_1741598328.8248084.jpeg)
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```oraclesql []
/* Write your PL/SQL query statement below */
SELECT patient_id, patient_name, conditions
FROM Patients
WHERE conditions LIKE 'DIAB1%' OR conditions LIKE '% DIAB1%'
```
['Database', 'MySQL', 'Oracle', 'MS SQL Server', 'PostgreSQL']