I also think that you study the program help file a little.
Especially the last example in the paragraph on the Query Builder.
With this type of grid we cannot support “A AND (B or C)” directly, it will need to be rewritten (using common boolean mathematics)
– like “A AND (B or C) = ( A AND B ) OR ( A AND C )“
Have a look on how you treat a condition that year(delievery) shall be AND'ed with country like 'India' OR 'Pakistan' etc in that last example of the program help file.