Question : SQL - display the top and bottom date in one result set

I have an SQL 2000  database table that has a field called DateTaken.  I'd like to run one query to give me the starting date and the end date  (basically out of all the records what is the first date on record and the last date) There are a few records where this field is Null so it has to filter only records where the DateTaken is NOT null and give me the results like

StartDate          EndDate
xx/xx/xxxx       xx/xx/xxxx

Answer : SQL - display the top and bottom date in one result set

SELECT MIN(DateTaken) AS StartDate, MAX(DateTaken) AS EndDate FROM table_name WHERE DateTaken IS NOT NULL;
Random Solutions  
 
programming4us programming4us