I have a question. So I need to get data from the last days of months using a sql request. For example :

1. Now date is `22/08/2016`, I need to get data from `01/08/2016-22/08/2016`;
2. Now date is `04/06/2016`, I need to get data from `01/06/2016-04/06/2016`;

Sorry but I dont have an idea. Thx in advance and sorry for my english