How to create a query that create sum of previous and current year total amount, base on multiple rows data? – Mysql
I wanted to create a query based on the date, I want to sum the credit and debit based on the year of the transaction_line and display it as total_previous (date within 2021) and total_current (date within 2022). Below is…