SQL - how to delete from one table while referring fom other table? -
How can I erase AT and AC from Table A while comparing two BPs of BP and BC BR = 1?
Actually there is not the following work but should go in this direction, unfortunately I can not understand how ...
Remove from one (AP = BP and AC = BC, where BC = 1) remove from one place (select BP, B to B, B = 1)
where it exists (SELECT NULL FROM B WHERE BP = AP AND BC = AC AND BR = 1)
Comments
Post a Comment