saraswathy saras wrote: > is there any other specific command instead order by ID DESC to select > all the record from table where the ID is the last ID.The ID is > autoincrement.
Not sure from your message if you already know this, but ORDER BY ID DESC LIMIT 1 gives you what you want. -myk mysql, query --------------------------------------------------------------------- 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