How to get row value after GROUP BY by MIN or MAX

  • nguyennd (4/27/2010)


    Huhu = hic hic 😀

    Hmmm...hic hic doesn't mean anything to me either. Is it laughter?

    Thank Paul, very very ...

    But why do you use

    MAXPRICE = MAX(D.Price) OVER (PARTITION BY D.DetailKey)

    , i don't understand 😀

    Just in case you needed it - it's not important for the result in this case.

    You can safely take it out.

Viewing post 16 (of 15 total)

You must be logged in to reply to this topic. Login to reply