skip to main
|
skip to sidebar
Faisal Imran
Wednesday, April 29, 2009
Sql Server Two Table Operation
How to list the rows of table A that are not in Table B?
Ans
Actually it is the inverse of inner join.
select * from A where A.ID not in( select A_ID from B)
here A.ID is primary key and A_ID is forgin key in table B.
here the operation summery...
Reference:
http://www.dba-oracle.com/t_convert_set_to_join_sql_parameter.htm
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
About Me
Faisal imran
Very Simple,you might be able to judge other people!! but it is impossible to judge me!!!
View my complete profile
Blog Archive
►
2010
(2)
►
April
(1)
►
March
(1)
▼
2009
(32)
►
August
(6)
►
July
(2)
►
June
(11)
►
May
(7)
▼
April
(1)
Sql Server Two Table Operation
►
March
(5)
Followers
Total Vistors
eckhart tolle