I have a table called Sales with a date column called SaleDate. How can I write a SQL query that shows the Australian financial year in addition to the other columns?
More details:
- I use Microsoft SQL Server
- The Australian financial year starts on 1 July and ends the next year on 30 June.
- Example 1: 10 June 2019 is FY 2019
- Example 2: 5 July 2019 is FY 2020