I have a query that selects * from column A, column B, column C.
Column A is dates. B is income. C is debts.
How do I order by A, B so B entries return before C entries when they have the same date?
Jan1 income
Jan1 income
jan1 debts
Jan2 income
Jan2 debts
Jan2 debts
Etc
Sorry I'm on my phone so was going to add a screenshot that would clarify much easier but it is saying the image is to large lol ..um this is a site about coding and they can't run a simple optimization script?
You can
union alltwo queries, one from B and one from C, and add a fictitious column just for the ordering: