0
我要携起手来这两个MySQL查询字符串的结果列像工人,产品,发布,接收pro_unitrs,pro_totMySQL查询字符串结合起来,结果
首先==
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
列工人,产品,分,接收pro_unitrs,pro_tot
否从您的查询字符串我得到工人,pro_code,接收,pro_unitrs,pro_tot而pro_unitrs和pro_tot只显示空或blob和一个更多的列丢失,即发布? –
列像工人,产品,发布,收到,pro_unitrs,pro_tot –
更新 - 看看手册,看看它是如何工作的 –