It is possible to drop the table with condition
example: DROP table table_name where (select column from table) = (select column from table2)
NOTE : Without PL