filtering to display one entry per row

GarageFlower

Registered User.
Local time
Today, 16:40
Joined
May 20, 2004
Messages
108
im running a query on a table which contains many entries for the same thing
the many entries are different years finanical information for that project
how can i get a query to display a projects total spending for its earliest year, and not display any other year for that project
bare in mind each project could have a different earliest year
 
This may work for you:

Select your_columns
from table1 A
where A.date =
(select min(B.date)
from table1 B
where A.project = B.project)
 
thank you but not realy enough instructions for me to implement.

could you upload an example please or include more detailed instructions

Many thanks
 

Users who are viewing this thread

Back
Top Bottom