• Or

    select col1,

    col2,

    max(col3),

    max(col4),

    max(col5),

    max(col6)

    from tablename

    group by col1,col2

    to group by first 2 cols.

    Edited by - davidburrows on 06/26/2003 06:44:56 AM

    Far away is close at hand in the images of elsewhere.
    Anon.