|
|
发表于 2008/7/3 11:11:16
|
显示全部楼层
表名太长,看得眼花了,格式化一下
select ifsapp.inventory_part.part_product_code,
ifsapp.inventory_part.part_no,
mrp_order_code,
ifsapp.inventory_part_planning_lov1.description,
ifsapp.inventory_part.part_status,
ifsapp.inventory_part.contract,
ifsapp.inventory_part.last_activity_date
from ifsapp.inventory_part_planning,
ifsapp.inventory_part_planning_lov1,
ifsapp.inventory_part
where ifsapp.inventory_part.part_product_code like '%KNS%' and
ifsapp.inventory_part_planning.part_no = ifsapp.inventory_part_planning_lov1.part_no and
ifsapp.inventory_part_planning.part_no = ifsapp.inventory_part.part_no
order by ifsapp.inventory_part.contract; |
|