Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update 1527. Patients With a Condition.sql
this change in code works properly and effectively
  • Loading branch information
s-k-u-v authored Mar 1, 2025
commit 896aa3670ef6722cdb9945dacc11c008bdfe8c53
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Write your MySQL query statement below
SELECT patient_id, patient_name, conditions
FROM Patients
WHERE conditions REGEXP '\\bDIAB1'
Select patient_id,patient_name, conditions
from Patients
WHERE conditions Regexp '^DIAB1| DIAB1';