I would like to delete all post that do not contain a relation to media.
My select statement looks like this:
select post.*
from post full outer join media m on post.id = m.post_id where m is null;
How would the delete statement look like to delete all entries in the post table that do not have an entry in media?