Im new to sql server.
I have two tables, I need to write a query that will take the values out of one table if they exist in another table.
Each table has one column only and they are varchar(250). Each table has approx 20,000 rows.
I need to remove entries from table1 that already exist in table2.
Example as follows:
Table1 Table2
------ ------
car car
bus train
train blue
red bike
blue ....
green
bike
....
Thanks guys
I have two tables, I need to write a query that will take the values out of one table if they exist in another table.
Each table has one column only and they are varchar(250). Each table has approx 20,000 rows.
I need to remove entries from table1 that already exist in table2.
Example as follows:
Table1 Table2
------ ------
car car
bus train
train blue
red bike
blue ....
green
bike
....
Thanks guys
