आप GROUP_CONCAT()
का उपयोग करना चाहते हैं पसंद है
SELECT p.id, group_concat(pcb.users_admin_id) as uid
FROM properties p
INNER JOIN prop_captured_by pcb
ON p.id = pcb.property_id
group by p.id;
आप GROUP_CONCAT()
का उपयोग करना चाहते हैं पसंद है
SELECT p.id, group_concat(pcb.users_admin_id) as uid
FROM properties p
INNER JOIN prop_captured_by pcb
ON p.id = pcb.property_id
group by p.id;