Robot rubbish: MIN, FIELD, MySQL, SQL....


> Christian,
> 
> ...
> > > Another way to solve my problem would be if there was some sort of
> > > FIRST_IN_SET functionallity that I could use on the where clause
> > > select * from articles where language = FIRST_IN_SET('en,sv,no')
> 
> =I "language" is the column name, FIRST_IN_SET() can be realised by:
> 
>      MIN( FIELD( language, 'no', 'en', 'fr', 'sv' ) )
> 
> - I've managed to get that far...
> 
> =Regards,
> =dn
> 
> 


---------------------------------------------------------------------
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