if i have a table with columns id, name, score, date
and i wanted to run a sql query to get the record where id = 2 with the earliest date in the data set.
can you do this within the query or do you need to loop after the fact ?
EDIT: To be explicit, I want to get all of the fields of that record . .