My example:
Table A: post_id
Table B: id + delete(null)
- In that, post_id = id
I want to delete all rows for both tables where A.deleted != 'null'
I tried: Delete A, B FROM A LEFT JOIN B ON B.post_id = A.id WHERE A.deleted != 'null'
- but not work