Hi
I have a bit of a problem. Below I have pasted the row_number function i am using in my code. However i want to select where RowNumber=1 in my where clause but it doesn't recognise it. could anyone help here.
ROW_NUMBER() OVER (PARTITION BY item_key ORDER BY execution_time desc)as RowNumber
this is what i tried but it won't work.
where RowNumber=1
thanks in advance for the help.
lasd
I have a bit of a problem. Below I have pasted the row_number function i am using in my code. However i want to select where RowNumber=1 in my where clause but it doesn't recognise it. could anyone help here.
ROW_NUMBER() OVER (PARTITION BY item_key ORDER BY execution_time desc)as RowNumber
this is what i tried but it won't work.
where RowNumber=1
thanks in advance for the help.
lasd