My join query looks like this:
select distinct A.id as plan_id, A.start_date, A.end_date, C.title
from cp_plan A left outer join cp_plan_zone_map B
on A.id = B.plan_id left outer join cp_zone C
on B.zone_id = C.id where A.status = 'in-planning'
This gives me the following result:
Since my plan id, start date and end date are all same, all I want is to merge the title like this:
How can I achieve this?