Hello.
I am wondering whether is possible to get a row count with SELECT Statement including UNION ALL.
e.g.Code SQL:SELECT * FROM WORLD_1 UNION ALL SELECT * FROM WORLD_2 UNION ALL SELECT * FROM WORLD_3
And get a row count for a full resultset.
1. Richie WORLD_1
2. Caroline WORLD_3
3. Stephen WORLD_2
4. Stuard WORLD_1
5. Etheyn WORLD_2
In simple query , it can be done by one variable setting.
But here , perhaps could it be done with SQL_CALC_FOUND_ROWS ?







Bookmarks