Nice question... learn something new today.. 🙂
But can anyone plz explain me about the SUM part which is returning 12, I am not clear with this section :w00t:
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/