데이터 분석 기술 블로그

Patients With a Condition _ Easy. LeetCode 본문

SQL/문제풀이

Patients With a Condition _ Easy. LeetCode

데이터분석가 이채은 2025. 1. 12. 19:06

SELECT patient_id,patient_name,conditions from Patients
WHERE conditions LIKE 'DIAB1%'  OR  conditions LIKE '% DIAB1%' ;

생각해 보면 쉬운 문제인데 LIKE를 생각해내지 못했다.