How to Derive Year from DATEs Useful MySQL Query

Here’s SQL Query you can get Year from two DATEs. You can achieve this with DATEDIFF() function in MySQL.