what have you tried? The logical query would be
where a = condition1 and b = condition2 and e <= something
but since we don't know what condition1 and condition2 are we can't give much more help. So post your actual code if you want better help.
Ancient Dragon
Retired & Loving It
30,046 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,342