Hello.
I have a select query that returns a list of records of the following kind:
Field1 Field2 Field3
A 8 NOK
A 7 NOK
A 5 OK
A 4 NOK
A 3 NOK
A 2 NOK
B 10 OK
B 9 NOK
B 8 NOK
B 7 NOK
B 6 NOK
B 5 NOK
.......
Is it possible to return only the top 5 Values of Field2 for each value of
Field1 where Field3 is NOK and ordered by Field2 DESC?
Thanks.
Luis
I have a select query that returns a list of records of the following kind:
Field1 Field2 Field3
A 8 NOK
A 7 NOK
A 5 OK
A 4 NOK
A 3 NOK
A 2 NOK
B 10 OK
B 9 NOK
B 8 NOK
B 7 NOK
B 6 NOK
B 5 NOK
.......
Is it possible to return only the top 5 Values of Field2 for each value of
Field1 where Field3 is NOK and ordered by Field2 DESC?
Thanks.
Luis
Comment