select a.buyer_company, a.buyer_division, a.seller_company,a.seller_division,a.po_no, a.sup_receive_date, a.sup_receive_time, a.if_version
from pohd a,
(select buyer_company, buyer_division, seller_company, seller_division, po_no, max(sup_receive_date)maxdate, max(sup_receive_time)maxtime , max(if_version)maxif
from pohd
group by buyer_company, buyer_division, seller_company,seller_division, po_no) aa
예를 들어 쿼리를 위와같이 작성을 한뒤 필요한 데이터를 찾았는데
아직 스킬이 많이 부족하여...
삭제가 잘안되서요...조언을 좀 부탁드립니다....