I have two tables like,
CREATE TABLE [dbo].[entry]
(
[id] [int] NULL,
[service] [int] NULL,
[sub] [int] NULL
)
The values are,
id service sub
1 1 0
2 1 1
3 1 2
Second table is:
CREATE TABLE [dbo].[service]
(
[service] [int] NULL,
[sub] [int] NULL
)
and its values are:
service sub
1 0
1 1
In the entry table there are 3 rows and in the service table are two rows. I want the rows which are not in service table but which are in the entry table
Thanks
Venkat
Another way to solve the problem