20 pts.
 I want to retrieve always the first record via sql
I want to retrieve always the first record of a group of records i.e. a history of sold articles, I want to see the date of every first sold article

Software/Hardware used:
ASKED: November 26, 2008  3:23 PM
UPDATED: November 26, 2008  4:41 PM

Answer Wiki:
An example of the data you want to get from the query would have been nice. If you just want to get the date of the first sold article, for every different article, a query like this should do the trick: <pre>Select article_id, min(sale_date) From sales Group by article_id</pre> As we don’t know your column and table names, you will need to make the necessary changes. If that’s not what you meant, please provide a little more information, and if possible, some example data.
Last Wiki Answer Submitted:  November 26, 2008  4:41 pm  by  carlosdl   63,580 pts.
All Answer Wiki Contributors:  carlosdl   63,580 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _