MySQL Forums
Forum List  »  Newbie

multi table delete
Posted by: bpontz
Date: November 22, 2006 09:16AM

Hi,

Can anyone help me with this?

DELETE FROM master,iostats,loads,nfsstats WHERE master.id = iostats.id =
loads.id = nfsstats.id AND master.epoch < UNIX_TIMESTAMP()-3600

Is there anyway to make this work?
Basically I want to delete rows in tables "iostats,loads,nfsstats" where
the id's are the same as the rows I'm deleting in the master table.

Options: ReplyQuote


Subject
Written By
Posted
multi table delete
November 22, 2006 09:16AM
November 22, 2006 11:48AM
November 22, 2006 12:56PM


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.