From 896aa3670ef6722cdb9945dacc11c008bdfe8c53 Mon Sep 17 00:00:00 2001 From: Sharan Kumar U V <127188541+s-k-u-v@users.noreply.github.com> Date: Sat, 1 Mar 2025 10:51:35 +0530 Subject: [PATCH] Update 1527. Patients With a Condition.sql this change in code works properly and effectively --- .../1527. Patients With a Condition.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Advanced String Functions,Regex,Clause/1527. Patients With a Condition.sql b/Advanced String Functions,Regex,Clause/1527. Patients With a Condition.sql index 01580d0..3db1661 100644 --- a/Advanced String Functions,Regex,Clause/1527. Patients With a Condition.sql +++ b/Advanced String Functions,Regex,Clause/1527. Patients With a Condition.sql @@ -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';