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 2 years ago
Relevant content
- asked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 days ago