Leetcode的SQL题:1527. 患某种疾病的患者

链接:https://leetcode.cn/problems/patients-with-a-condition/

我的代码

select * from Patients
where conditions like 'DIAB1%'
or conditions like '% DIAB1%'

提交结果

执行结果:
通过
显示详情
添加备注

执行用时:
364 ms
, 在所有 MySQL 提交中击败了
55.63%
的用户
内存消耗:
0 B
, 在所有 MySQL 提交中击败了
100.00%
的用户
通过测试用例:
14 / 14

posted @ 2022-07-02 18:18  孤舟浮岸  阅读(13)  评论(0编辑  收藏  举报