Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8459

Re: Query For Report Purchase Committee Recommendation

$
0
0

Hi,

 

Try this query:

 

SELECT T1.[ItemCode], T0.[CardCode], T0.[DocNum],min(T1.[Price]) FROM OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode] = '02498401' GROUP BY T1.[ItemCode], T0.[CardCode], T0.[DocNum], T1.[Price] HAVING min(T1.[Price]) <500  ORDER BY T1.[Price]

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 8459

Trending Articles