title: Get previous weekday + MySQL
body: <p>I need to get the previous weekday. So when it's monday I need to get the result friday but I can't seem to understand the WEEKDAY() function. Could someone help to start with this?</p>