Can anyone help me to get the query. I have 2 table in first table customer and 2018, 2019 order and profit data. in second table customer and 2020 0rder and profit data.
I want to write a query that will return all customer an thier order and profit in a different format.
I have attached the screenshot of data and output. Please help me on this.