Answer the question
In order to leave comments, you need to log in
Enum does not work in the ALL statement?
Hello everyone, I'm trying to get the users that provide ALL services from an array:
SELECT users.id FROM users
LEFT JOIN users_services ON users_services."userId" = users.id
WHERE users_services."serviceId" = ALL(array[1,31])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question