0

これら 2 つの 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

2 番目 ==

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

4

1 に答える 1