Both are two different query with different filtering condition. How do you intend to compare them? May be if you can tell us what you are trying to achieve then we could probably help.
Please read the FAQ Re: 2. How do I ask a question on the forums? Point 5 to 10 will give you suggestion of how to ask a question.
No need help on on this post.Please ignore.
I analyzed which one is correct.
basically one query would return a subset of what's the other query is returning -- how do you intend to compare them? I myself cannot think of a way to compare two syntactically different queries, it's apples and oranges.