I guess what I was teying to accomplish is not possible since I don't wand to see the details (item_number) but just the totals of the vendors like below:
PO PO
MONTH YEAR COL1
----------- ----------- -----------
1 1999...
I ran the query you sugested and came up with an error message at the bottom, I use the month parm to some times select only month 03 thru 08
SQL QUERY MODIFIED LINE 1...
I have a sql query that is not quite right, I was trying to have the col1 field count the number of distinct po_vendor_codes under a distinct Item_part_number within the po_month and po_year ---- any suggestions ..
SELECT PO_MONTH, PO_YEAR, COUNT(DISTINCT
PO_VENDOR_CODE) FROM...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.