Greetings folks,
Just curious if anyone knows what the following would produce:
SELECT
MAX( ECP_SUPPORT_DED _EMAIL.CD_TYP_C MPGN) CD_TYP_CMPGN,
MAX(ECP_SUPPORT _DED_EMAIL.CELL _ID) CELL_ID,
ECP_SUPPORT_DED _EMAIL.CLIC_CUS T_ID CUSTID,
MAX( ECP_SUPPORT_DED _EMAIL.ADDRESS) CONTACTED_PARTY ID,
MAX( ECP_SUPPORT_DED _EMAIL.CONTACTE D_PARTY_ID_TYPE )
FROM
ECP_SUPPORT_DED _EMAIL
group by CUSTID
For a given CUSTID, and assuming all fields are character and there
are duplicates, will it randomly select the MAX value of any of these
fields across duplicates, or will it randomly select a custID and
retain that row's attributes with integrity?
thanks!
Jack
Just curious if anyone knows what the following would produce:
SELECT
MAX( ECP_SUPPORT_DED _EMAIL.CD_TYP_C MPGN) CD_TYP_CMPGN,
MAX(ECP_SUPPORT _DED_EMAIL.CELL _ID) CELL_ID,
ECP_SUPPORT_DED _EMAIL.CLIC_CUS T_ID CUSTID,
MAX( ECP_SUPPORT_DED _EMAIL.ADDRESS) CONTACTED_PARTY ID,
MAX( ECP_SUPPORT_DED _EMAIL.CONTACTE D_PARTY_ID_TYPE )
FROM
ECP_SUPPORT_DED _EMAIL
group by CUSTID
For a given CUSTID, and assuming all fields are character and there
are duplicates, will it randomly select the MAX value of any of these
fields across duplicates, or will it randomly select a custID and
retain that row's attributes with integrity?
thanks!
Jack
Comment