So guys, i have to find the percentage spent at location, i need i have to use end_date and start date for that, so i wrote the following code, just for selecting the column