SQL/LeetCode

[LeetCode] 1527. Patients With a Condition

yeyeyep 2025. 2. 20. 18:48

 

 

[문제]

이미지를 누르면 문제 링크로 넘어갑니다

 

 

[MySQL]

SELECT *
FROM Patients
WHERE conditions LIKE 'DIAB1%'
   OR conditions LIKE '% DIAB1%'