MySQL Forums
Forum List  »  Triggers

Delete last row inserted
Posted by: sdgbfdsg fdhgfdhds
Date: April 07, 2014 08:27AM

I want to do a trigger that checks when a row inserted, if the row has the previous value in column A than the previous row, it should delete it.

Im a little forgetful on how to check this correctly so if someone could lend a hand, thank you.

Options: ReplyQuote


Subject
Views
Written By
Posted
Delete last row inserted
2005
April 07, 2014 08:27AM
1312
April 09, 2014 08:05AM


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.