Professional Documents
Culture Documents
srv_item_no,
b.svi_challan_qty_punit, b.svi_pay_unit from mmc.srv_header a, mmc.srv_item b where a.srv_no
= b.srv_no and a.srv_date between '01-apr-2011' and '31-dec-2011' and a.supp_code ='S0141' and
b.svi_pay_unit='KG' and substr(b.po_no,1,2) in ('25',65) and b.year_code='1' order by 4;
Motor
Select distinct a.po_no, b.po_item_no, c.pod_delivery_date, b.srv_no, a.srv_date, c.item_value
from mmc.srv_header a, mmc.srv_item b, mmc.po_delivery_comt_pk c
where a.srv_no= b.srv_no and
a.srv_date between '01-apr-2012' and '30-sep-2012' and
b.svi_pay_unit='KG' and
a.po_no = c.po_no and
b.po_no = c.po_no and
substr (c.indent_no,2,3)=327 and
= b.srv_no and a.srv_date between '01-apr-2011' and '31-dec-2011' and a.supp_code ='S0141' and
b.svi_pay_unit='KG' and substr(b.po_no,1,2) in ('69') and b.year_code='1';
order by 4, 1, 3;