• tejaswini.patil (1/26/2011)

    I want to understand why the output will be 1, 3, 4?? Can anyone explain how it is correct?

    Have you tried reading the rest of the comments? It's already been pointed out multiple times that the answer as given only applies to SQL 2000--later versions produce 1,2,3,4.