Using And or Or to combine query filters

This table explains the difference between the And and the Or operators.

Retrieve this data

Example

Select

Data true for both filters.

Customers who ordered supplies in Q1 and in Q2 (the data you retrieve will include: customers who placed orders in both Q1 and Q2).

And

Data true for any one of the filters.

Customers who ordered supplies in: Q1 or Q2 (the data you retrieve will include: customers who placed orders in Q1only; customers who placed orders only in Q2, and; customers who placed orders in both Q1 and Q2).

Or