I have one table need to compare sales for same branch in last yearm which is in SQL Server. Any help appreciated.
DECLARE @fdate as date DECLARE @sec