Coding/SQL
[LeetCode-SQL 50] 1527. Patients With a Condition
kangplay
2025. 3. 10. 16:34
문제
https://leetcode.com/problems/patients-with-a-condition/description

설명
문자열 패턴 문제는 LIKE 키워드를 사용하면 된다.
구현
# Write your MySQL query statement below
select *
from patients
where conditions like 'DIAB1%' or conditions like '% DIAB1%'