Skip to content
Advertisement

How do i sum two query with each count and criteria in it

I have this two query sql and i’m trying to do a sum of both 2 counts in the query together but when i try to do the UNION ALL but it kept prompt me to enter parameter for CountOfTools_Number2. All i wan is the sum of the two count and return me a value.

Advertisement

Answer

Presuming your two example queries work, this should do the trick:

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