"mysql query equivalent of "and", whereas "in" is "or"?" Code Answer

3

i hope this is what you're looking for. if you confirm it,i'll explain you the query.

select x
from table
where y in (2,3)
group by x
having count(distinct(y)) = 2
By Jefferson Henrique C. Soares on August 27 2022

Answers related to “mysql query equivalent of "and", whereas "in" is "or"?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.