How to select the first/least/max row per group in SQL


/ Published in: SQL
Save to your folder(s)

max value record for each group


Copy this code and paste it in your HTML
  1. http://www.xaprb.com/blog/2006/12/07/how-to-select-the-firstleastmax-row-per-group-in-SQL/

URL: http://www.xaprb.com/blog/2006/12/07/how-to-select-the-firstleastmax-row-per-group-in-sql/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.