georgia51390
Programmer
Hi there,
I have a table(table A) that contains patients and appointment dates. A patient may be in the table numerous times. I need to create a new table that has each record from table A for each patient ordered from the earliest to latest date. Is there a way to create a new column that orders them, maybe assigns them a number 1 - whatever. I eventually need to take the earliest date for each patient and the MIN function did not work.
Thanks!
I have a table(table A) that contains patients and appointment dates. A patient may be in the table numerous times. I need to create a new table that has each record from table A for each patient ordered from the earliest to latest date. Is there a way to create a new column that orders them, maybe assigns them a number 1 - whatever. I eventually need to take the earliest date for each patient and the MIN function did not work.
Thanks!