G
Guest
I've got this SQL that works fine:
SELECT Unit, Function, Min(Prod) AS AProd
FROM tblGLFINAL
WHERE (((Desc)="Product Code Allocation") AND ((Acct) Not Like "4*"))
GROUP BY Unit, Function
But in the selection of the MIN Prod, I would like to exclude Prods 100,
200, 300 and 400 as valid selection options. Basically, those prods would
NOT be considered when determining the MIN prod. Help?!
SELECT Unit, Function, Min(Prod) AS AProd
FROM tblGLFINAL
WHERE (((Desc)="Product Code Allocation") AND ((Acct) Not Like "4*"))
GROUP BY Unit, Function
But in the selection of the MIN Prod, I would like to exclude Prods 100,
200, 300 and 400 as valid selection options. Basically, those prods would
NOT be considered when determining the MIN prod. Help?!