I’ve been toying with row_number() and then sort by row_number descending and pick off the first row as the total number.
Use count as a window function.
David J.
I’ve been toying with row_number() and then sort by row_number descending and pick off the first row as the total number.