In the Brand master table, I am getting City like this '1,2,3,4,5,6'
I want to search on this basis
select * from leaseonclick.brand_master where city like (select distinct ct.cityname from inventory inv
inner join buildingspecification bs on bs.id= inv.buildingid
inner join location loc on loc.id=bs.locationid
inner join city ct on ct.id=loc.cityid where ct.cityname like '%Gurgaon%')

Jitendra KumarPosted Sep 8, 2018, 7:47 AM
Faisal PathanPosted Sep 8, 2018, 6:22 AM
Jignesh KumarPosted Sep 8, 2018, 6:20 AM
Faisal PathanPosted Sep 8, 2018, 6:20 AM
Jitendra KumarPosted Sep 8, 2018, 5:20 AM
Faisal PathanPosted Sep 8, 2018, 5:10 AM