标签: mysql codeigniter-3 group-concat
在我的数据库中,我有2个数据,但出现的只是其中之一。我该如何克服?
SELECT nomor_surat,GROUP_CONCAT(t_pegawai.nama) AS nama FROM t_surat_tugas LEFT JOIN t_tugas_utusan ON t_tugas_utusan.id_surat_tugas = t_surat_tugas.id LEFT JOIN t_pegawai ON t_pegawai.nip=t_tugas_utusan.nip