D
DevilDog1978
SELECT CALSEL_Master_t1.[Item Nbr], max(GREATEST(CV, CV+, LH, LH+))
FROM CALSEL_Master_t1
AS Maximum Required
GROUP BY CALSEL_Master_t1.[Item Nbr]
WITH OWNERACCESS OPTION;
I am trying to get this to work. Basically I want to select the Item Nbr,
CV, CV+, LH and LH+ fields from CALSEL_MASTER_t1. I want this query to return
the max value present in the CV, CV+, LH, LH+ columns as Maximum Required
field. This needs to be grouped by Item Nbr.
Any help would be greatly appreciated.
FROM CALSEL_Master_t1
AS Maximum Required
GROUP BY CALSEL_Master_t1.[Item Nbr]
WITH OWNERACCESS OPTION;
I am trying to get this to work. Basically I want to select the Item Nbr,
CV, CV+, LH and LH+ fields from CALSEL_MASTER_t1. I want this query to return
the max value present in the CV, CV+, LH, LH+ columns as Maximum Required
field. This needs to be grouped by Item Nbr.
Any help would be greatly appreciated.