can I get count() and rows from one sql query in sql server?
- by Greg
I'd like to get the total count of results and top n rows of some query - is it possible
in one statement?
I'd expect the results as:
count(..) column1 column2
125 some_value some_value
125 some_value some_value
Thank you in advance!