DELETE FROM EMP WHERE ID=1 AND NOT EXISTS(SELECT * FROM BAR WHERE ID=1)
In the above example EMP and BAR are tables and I want to remove a record from EMP if it doesn't exists in bar.
Delete columns and rows, right-click a row or column, and then click the command you want. You can also quickly add a row by clicking in the lower-right cell of the table pressing the Tab key.
Comment