How to apply both AND and OR ranges on fields of a table with x++ query. I tried with adding all fields but it alwas take AND and not using OR. Is it possible in x++ query?

How to apply both AND and OR ranges on fields of a table with x++ query. I tried with adding all fields but it alwas take AND and not using OR. Is it possible in x++ query?