I want a single query to produce the following results..
To result in records that are in table1 and in table2 and were not in table3.
There are more than 10,000 records in each table..so i am looking for an efficient one. In all the table Cono is the primary key..
In detail with tables.
TABLE 1:-
Cono
th-123
th-124
th-125
TABLE 2:-
Cono
th-234
th-245
th-256
TABLE 3:-
Cono
th-124
th-125
th-256
Now i want to have the following records
Result TABLE:-
Cono
th-123
th-234
th-245