I've got three different tables.
Table one is the main table wich contains about 65 000 records.
Table two contains records that are to be excluded from table one.
Table three contains records that will do two things. 1. If the same record is represented in table one it will be replaced by the one in table three. 2. If a record in table three isn't reprecented in table one it will be included in the result.
The database contains names and each name has an unique idnumber.
Did I explain things good enough? 🙂
The best thing would be if this could be done in one query.
So, can anyone help me out here?