I've been asked by the Accounting team to purge (e.g. delete) all vendor records that are not currently supplying any products you carry.
There should be 3 of them that are removed from Vendors (but don't use SQL that hard-codes the Vendors by id- should be generic and work with any data in the table)
can someone help me write the SQL statement to accomplish this?