I have a table like this :
id package start_date option
1 342323 2012-02-02 1
2 3423333 2012-02-06 1
3 552234 2012-02-14 2
I want to select only the (top 1) row that has the minimum start_date.
I tried where start_date = MIN(start_date) but it’s not working.
I’m using SQL Server 2008.
1 Answer