I've got two identical tables: sw_scan and software.
Now I want to get all rows from sw-scan that don't exist in table software.
With my statement I get all of the rows from table 1 with NULL for all table 2 values..
SELECT *
FROM sw_scan
LEFT JOIN software USING(Manufacturer,Product,Version,Computer)
WHERE software.manufacturer IS NULL;
oh, and (Manufacturer, Product, Version, Computer) is primary key in both tables ..