I try to remove records, but getting constraint error and query stops. Or I use ‘delete ignore …’ but query stops too, only with warning. I can’t set constraint check off, I just need remove records without constraints. Maybe mysql have some commands for this? I found nothing.
Share
The only way I can imagine is to write a query that returns rows from you master table which don’t have details, and then join result of this query with master table , something like
An alternative to join, which works pretty much the same is to add
WHERE NOT EXISTto check