At 04:21 AM 2/5/2002 , you wrote:
>Dear all,
>Which of the following SQL queries is faster and better
>"select thefield from thetable group by thetable"
>Or
>"select distinct thefield from thetable"?
>and WHY?
>
>Best Regards
>Hayan

Hayan,
         I believe the "Select Distinct.." gets translated into a "Group 
By" so they should both be identical.

Brent

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