Viewing 2 posts - 1 through 2 (of 2 total)
A further question, I am now using the following piece of code to report a count where the code is I
SELECT count(*)
FROM (SELECT ref_id, cus_id, code, amt,
ROW_NUMBER() OVER(PARTITION BY...
November 29, 2012 at 5:34 am
#1563695
Many thanks, works a treat (I'm not very familiar with OVER(PARTITION ...)
November 14, 2012 at 8:10 am
#1558948