I have an SQL question.. hopefully I can find some help here
Supposed this is my table..
ID OWNER CREATION_DATE
1 bob 1/1/2001
2 bob 2/2/2002
3 tom 3/3/2003
4 tom 4/4/2004
What I need to do is find the earliest entry based on date for each owner in the table. Obviously owners are not unique. I need a select statement that will return the OWNER and the CREATION_DATE corresponding to the earliest entry of that owner in the database.
Any ideas?
Thanks!
Supposed this is my table..
ID OWNER CREATION_DATE
1 bob 1/1/2001
2 bob 2/2/2002
3 tom 3/3/2003
4 tom 4/4/2004
What I need to do is find the earliest entry based on date for each owner in the table. Obviously owners are not unique. I need a select statement that will return the OWNER and the CREATION_DATE corresponding to the earliest entry of that owner in the database.
Any ideas?
Thanks!