Ravi,
Did you give a try splitting them into two derived tables and use them as two seperate queries.
One query gives you the start value and other gives you the end value.
Pass these values on to the 3rd query and use them in the where clause.
By doing this, you should be able to achieve the expected output.
Regards
Sri Harsha