[snip from mysql list message] I tried <select distinct Location from hotels1 order by Location> and worked. But how can I show all fields of the rows? It doesn't accept any field before <distinct> and shows every row after <distinct> (if I put <select distinct Location, Name ...> ) [/snip]
Can we see your table? Can you also write out what you expect the results to be? Thanks! Jay Blanchard --------------------------------------------------------------------- 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