I’m doing a request to get the number of rows in 3 different tables.
So I use an Union between 3 simples request to Count rows in each tables.
But I get an error : “Syntax error in Join Operation”
even tho I have no join in my query…
any one can help me with this please?
And here’s the request :
Select Sum(asd) as 'totalRows'
FROM ((Select Count(*) as 'asd' from Machines)
Union (Select Count(*) as 'asd' from Factures)
Union (Select Count(*) as 'asd' From Consommation))
as 'tab1'
I’ve solved this by changing the request, it’s now :
It’s not the answer to my question but it’s a walk-around.
A real answer would still be appreciated. 🙂