MySQL Forums
Forum List  »  Newbie

Re: Delete nth row in database
Posted by: Rick James
Date: May 08, 2014 08:54AM

DELETE FROM table_name WHERE column_name = 'pear';

As peter says, there no concept of "second row". Instead, you need to supply yourself with some kind of handle so that you can access specific row(s).

In the current situation (as far as you have shown us), the only 'handle' is the column and the value 'pear'.

Options: ReplyQuote


Subject
Written By
Posted
Re: Delete nth row in database
May 08, 2014 08:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.