Hi All, I have 2 Queries both of them returning same result but the query cost for one query is comming 51.07 % and another is coming 49.02%First Query Select * From Loclib5 Where Code in (Select Code From Loclib5 Group by Code Having Count(1) >1) -- Query Cost 49.02 %
Second Query Select * From Loclib5 Inner Join (Select Code From Loclib5 Group by Code Having Count(1) >1) As F On F.Code = Loclib5.Code -- Query Cost 51.07
Can anyone tell me how Query Cost is calculated(Same Algorithm etc..) and what is the signifance of the same.. ???Thanks.. If Debugging is the process of removing Bugs then i Guess programming should be process of Adding them.