我想将这两个 mysql 查询字符串连接在一起,用于结果列,如 worker、product、Issued、received、pro_unitrs、pro_tot
第一个==
select (select wor_code from chall_rec_master where rec_id = chall_rec_pro.rec_id) as Worker, pro_code, sum(pro_qty) as receive, pro_unitrs, pro_tot from chall_rec_pro group by pro_code
第二个==
select (select worker_code from challan_master where challan_id = challan_mast_prod.challan_id) as Worker , pro_code, sum(pro_qty) as Issued from challan_mast_prod group by pro_code
列 worker, product, Issued, received, pro_unitrs, pro_tot