SELECT * FROM tablename ORDER BY lastname, firstname;

Gurhan

----- Original Message -----
From: "César Aracena" <[EMAIL PROTECTED]>
To: "'MySQL General'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 18, 2002 7:04 PM
Subject: ORDER BY & BY ¿?


Hi all.



Is there any possible way for me to arrange a SELECT query made to MySQL
in to orders? Like ……. ORDER BY lastname THEN BY firstname?



Thanks in advance,

Cesar Aracena
CE / MCSE+I
Neuquen, Argentina
+54.299.6356688
+54.299.4466621




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



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