> hi there.. no solution from me, but I'm also interested in this type of
> query (although I only want 1 for each "lang")

If you only want one row for each "lang" you can do it using GROUP BY...

  SELECT * FROM table GROUP BY lang

Often you would want to use some GROUP BY functions: MIN(), MAX(), COUNT,
SUM(), AVG() and more.

<URL: http://www.mysql.com/doc/G/r/Group_by_functions.html >

--
Roger


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to