You don't need a full inner join. Maybe try:
delete from a where a.col1 in (select distinct col1 from b)
But what I wonder about in your SQL is why you have two references to the same table tbl. Do you really want to delete the whole table?
In reply to Re^3: cleaning up dbi code
by Corion
in thread cleaning up dbi code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |