select * from your_table order by no desc limit 0,1

> -----Original Message-----
> From: mustakim abas [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, December 19, 2002 12:07 PM
> To: [EMAIL PROTECTED]
> Subject: help me, please
> 
> 
> Hello, i am new in mysql. I got a problem. I try write
> my C program with mysql API.I have 5 field in 
> table.No,Name,Phone,Date,Time. How can i take one row where 
> the No is bigger? Thanks for help.
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now. 
http://mailplus.yahoo.com

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