Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
satya068
Posting Yak Master
233 Posts |
Posted - 2012-10-09 : 04:27:40
|
Hi,I have writtend two individual scripts for getting the total num of recordsUSE RODGERselect count(*) from Action Ainner join Referral R on A.ReferralID = R.ReferralIDwhere R.EMP_CODE like 'N%' ----520USE EMPselect count(*) from EMP_PND_WAGwhere PND_ACTIONID = 6 --------522I would like to know those 2 records which are the defference between the tables.can i know find those 2 records by joining the two tables? |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2012-10-09 : 04:32:12
|
We don't know the relation between the tables so it is not possible to give a solution. Too old to Rock'n'Roll too young to die. |
|
|
|
|
|