Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need the earliest date

Status
Not open for further replies.

simian336

Programmer
Sep 16, 2009
723
US
My brain is not working today.

I need a query for the earliest day and with associated Account_ID.

Account_ID Service_Activation_Date
2100089506 1985-08-02 00:00:00.000
2100089506 2004-02-17 00:00:00.000
2100089506 2004-02-17 00:00:00.000
2100089511 1997-12-22 00:00:00.000
2100089511 2005-10-10 00:00:00.000
2100089511 2005-10-10 00:00:00.000
2100089514 1988-04-04 00:00:00.000
2100089514 1999-01-04 00:00:00.000
2100089514 1999-01-04 00:00:00.000

Answer.
2100089506 1985-08-02 00:00:00.000
2100089511 1997-12-22 00:00:00.000
2100089514 1988-04-04 00:00:00.000

Thanks

Simi


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top