Skip to content
Advertisement

PostgreSQL find the sum of two queries from different tables

I have two queries that returns the total number of issuances and redemptions from two different tables.

This one returns issuances, around 18k

This one returns redemptions, around 7k

I need the sum of them, I came up with this but this only returns 2, counting it wrong

What should I do?

Advertisement

Answer

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement