Hello everyone,

I tried 2 queries:

1) SELECT id, CONCAT(title, ' [', id, ']') as name FROM rubrics ORDER BY name
2) SELECT id, CONCAT(title, ' [', id, ']') FROM rubrics ORDER BY title, id

The 2nd returns results in alphabetical order but the 1st is a little
bit strange... Does anybody knows why they return results in different
order?

database,sql,query

-- 
Best regards,
 Olexandr Vynnychenko                          mailto:[EMAIL PROTECTED]



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