MySQL Forums
Forum List  »  Newbie

Re: two different users join
Posted by: Peter Brawley
Date: July 23, 2021 05:34PM

Delete the orphaned messages ...

delete m
from messages m
left join conversations c using(conversation_id)
where c.conversation_id is null;

Options: ReplyQuote

Written By
July 23, 2021 11:10AM
Re: two different users join
July 23, 2021 05:34PM

Sorry, only registered users may post in this forum.

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.