At 10:32 PM +0300 5/30/01, Olexandr Vynnychenko wrote:
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?
This would not be unusual if id is a numeric column.
database,sql,query
--
Best regards,
Olexandr Vynnychenko mailto:[EMAIL PROTECTED]
--
Paul DuBois, [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