$query="Select DISTINCT RECEIVER from TRANS_TBL order by TRANS_ID DESC LIMIT
10" ;

HTH,
Cal
http://www.calevans.com


-----Original Message-----
From: Randy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 10, 2001 9:42 AM
To: [EMAIL PROTECTED]
Subject: GETTING ROWS


Here is a query:


$query="Select RECEIVER from TRANS_TBL order by TRANS_ID DESC LIMIT 10" ;


How do I change this query to skip rows if it already selected a row with
that particular receiver in it?

Thanks

randy


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