I have to write a query that find missing data, but I want it to write without any subqueries or nested SELECT (it finds the missing data and inserts it from a table to the one that has missing data).
The query is:
INSERT INTO Personal_tbl
SELECT *
FROM PersonalView
WHERE PID NOT IN (SELECT PID FROM Personal_tbl)