title: select 10 rows per day with order
body: <p>i have a db with records with date (timestamp)
  i need to select 10 records for each day (there are many more per day)
  and order them by few columns...</p>
  
  <p>how should that query look like?</p>