Forum Moderators: open

Message Too Old, No Replies

sql query

         

stevelibby

9:07 am on Aug 31, 2006 (gmt 0)

10+ Year Member



hi peoples
my brain is not working today...
i have to doa query and i cant work it out, so here it is..
i have a table of cars with make,models,doors and so on.
i am trying to filter out the first car of each make and i cant seem to do it..
any ideas?

FalseDawn

2:22 pm on Aug 31, 2006 (gmt 0)

10+ Year Member



SELECT FIRST(car) FROM cars GROUP BY make

If by "first" you mean "first alphabetically", then try MIN() instead of FIRST()