> > At 8:06 -0800 12/19/02, mustakim abas wrote: > >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. > > Bigger than what? >
Maybe SELECT No, Name, Phone, Date, Time FROM tablename ORDER BY No DESC LIMIT 1 --------------------------------------------------------------------- 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