1 Answer
- Newest
- Most votes
- Most comments
0
This is an old school answer but you could do it with something like:
SELECT * FROM foo WHERE ... UNION ALL select count(*), NULL from foo WHERE ...;
The last row will contain the count of the query
answered 4 years ago
Relevant content
asked 3 years ago
asked 3 years ago
