Here is an odd request. I have a table of around 10 million rows. In those rows are sourcename, sourceState and date. What I am trying to do is create a list of non-duplicate rows that basically has every sourcename, sourcestate and date... but the earliest of each one.
So and example... lets say I have a row that the sourcestate is FL and the source is Broward County and the earliets record it appeared in the database is 19960912 (thats how the date is and its in a varchar column) , but there are 1000;s of other FL and Broward County entries, I need them all thrown out leaving only the unique sourcestate, sourcename and date only... for each unique sourcename that exists in the table.. .which is about 500 or so.