mysql - I tried to run this query but it shows Subquery return more than 1 row -
select name test.projectusermap p projectid in( if(1 = 1, ( select projectid test.projectusermap ), ( select projectid test.projectusermap name = 'ravi' )) )
you need this
select name test.projectusermap p projectid in(select projectid test.projectusermap ( 1 = 1 ) /*i assume boolean condition placeholder testing , won't this*/ or name = 'ravi')
Comments
Post a Comment