23

In the "Query Builder" I can currently filter on value from the "Values List", but I'd like to be able to filter for multiple values at once.

How can I go about doing this using the SQL and "Operator's Section"?

2 Answers 2

44

One method is to use the IN function followed by your list of values all inside brackets.

E.g.

"Column_Name" IN ('Value_1', 'Value_2', 'Value_N')
0
9

The alternative is to use an AND/OR statement:

"Column_Name" = 'Value_1' OR "Column_Name" =  'Value_2'
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.