Leetcode Note: MySQL - Patients With a Condition
Patients With a Condition - LeetCode
https://leetcode.com/problems/patients-with-a-condition/
- Go 言語で取り組んだメモ
回答
Simple MySQL Solution, faster than 100% - Patients With a Condition - LeetCode
https://leetcode.com/problems/patients-with-a-condition/solutions/756596/simple-mysql-solution-faster-than-100/
SELECT * FROM PATIENTS WHERE
CONDITIONS LIKE '% DIAB1%' OR
CONDITIONS LIKE 'DIAB1%';