Extracting year and total days between range of date – SQL – Mysql
I have data with start date and end date (Say 20th Feb 2018 to 20th Feb 2020), I want to find out the total days in every year inside this range. For example: 2018 - x days , 2019 -…