Jim,

The following Statement does the job

SELECT A.ITNBR,MAX(A.ITDSC), MAX(A.ITTYP), MAX(B.CURUC), MAX(C.PURPR)
FROM AMFLIBI/ITEMASA A, AMFLIBI/ITEMASB B, AMFLIBI/ITEMASC C
WHERE ITTYP = '3' OR
ITTYP = '4' AND
A.ITNBR = B.ITNBR AND
B.ITNBR = C.ITNBR
GROUP BY A.ITNBR

Met vriendelijke groet
Yours sincerely
Bien a vous

Jules Bloemsaat
bloemsaat@axias.com

-----Original Message-----
From: mapics-l-admin@midrange.com [mailto:mapics-l-admin@midrange.com]On
Behalf Of Jim Wiedl
Sent: maandag 25 februari 2002 16:58
To: mapics-l@midrange.com
Subject: SQL


Can someone send we a sample SQL statement listing the item masters picking
out only item types 3 and 4?



***********************************************************
This email has been scanned for viruses.
***********************************************************

_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/mapics-l
or email: MAPICS-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mapics-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.