0
I have a problem which is this::
Knowing that a care can have several exams, I need to number the exams in order to know the first, second, third..., for each service. Example:
LINHA ATENDIMENTO SEQ_EXAME
1 100 11
2 100 13
3 100 17
1 200 83
2 200 92
Using the ROWNUM
does not work because it does not number for each different attendance.
LINHA ATENDIMENTO SEQ_EXAME
1 100 11
2 100 13
3 100 17
4 200 83
5 200 92
Could you help me by suggesting some solutions?
Whoa, it worked, kid! That’s right. Thank you so much!
– MBrenzan