For example, if we have two tables: Table1 and table 2
Table1 - main table (with unique entry for all records) table2 - is a history table(where is containg many entries for same record on time stampe basis) (also contains some specific field type)
I need to retreive data like, all data from table1 where there is no entry for the record with type = 'Some vaue'