Suggest an editImprove this articleRefine the answer for “How do you set several filter conditions at once?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)Several filter conditions are set with logical operators: `AND` (every condition must be true at once), `OR` (at least one condition needs to be true), and `NOT` (negates a condition). **Key point:** parentheses are used to set the order conditions are evaluated in, e.g. `WHERE (city = 'Kyiv' OR city = 'Lviv') AND age >= 25`.Shown above the full answer for quick recall.Answer (EN)ImageSeveral filter conditions are set using logical operators: - `AND`, **every condition must be true at once**; - `OR`, **at least one condition needs to be true**; - `NOT`, **negates** a condition. Examples: ```sql -- 1. Every condition at once WHERE age > 18 AND city = 'Kyiv' -- 2. At least one condition WHERE city = 'Kyiv' OR city = 'Lviv' -- 3. Negation WHERE NOT city = 'Kyiv' -- 4. A combination with priority WHERE (city = 'Kyiv' OR city = 'Lviv') AND age >= 25 ``` Parentheses are used to set the order the conditions are evaluated in.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.