title: how to select last 30 days mysql record and group by each day
body: <p>i have in mysql DB some records and want to get last 30 days records by "token" and group by each day.</p>
  
  <p>my DB column like this:</p>
  
  <p><a href="https://i.stack.imgur.com/DcPDm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DcPDm.png" alt="enter image description here"></a></p>
  
  <p>tanks!</p>