This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

select row with max count per date

 
Grace Green
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This query will return as many rows as there are VALUEs and COUNTs for a given date, but I am not interested in all VALUEs, only in the one with the max(COUNT) on a given date. Can you please help me build the sql statement I need ?



I tried with the sql below but I basically got the same results.



Hope some sql expert can help. Thanks !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic