title: Last n weekdays in sql where clausel
body: <p>We are using MySQL as our database to store messages with timestamps. Is it possible to create a query that returns messages of the last n weekdays? </p>
  
  <p>I.e. if n is 4 and today is Tuesday, I want messages from this weeks Monday, last weeks Friday, last weeks Thursday and last weeks Wednesday .</p>