我有一些問題將MYSQL查詢轉換爲CI語法。將MySQL查詢轉換爲Codeigniter語法
這是我的MySQL語法:
select a.pbj_name as 'NAMA PERUSAHAAN', count(a.id_pbj) as 'JUMLAH PAKET', group_concat(c.paket_kode) as 'PILIHAN PAKET'
from jed_pbj a
left join jed_paket_pbj b
on a.id_pbj=b.id_pbj
left join jed_paket c
on b.id_paket=c.id_paket
group by a.id_pbj
嗯你沒有把它轉換......笨使用MySQL以及 –