Hi,

> Table example:
> _The Rock
> Scary Movie
> X-Files

> With order I want the output
> Scary Movie
> _The Rock
> X-Files

select * from movies order by trim(leading from replace(movetitle, '_', ' '));


Regards,
Sasa

»mysql, select, database«



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