Skip to content
Advertisement

MySQL multiple columns in ALL clause [closed]

Why it is not allowed to do the following?

But it is possible to do

Advertisement

Answer

Assuming that this is the query you wanted to write:

This does not work in MySQL, and raises error:

Operand should contain 1 column(s)

MySQL supports tuple (in)equality though, so you could phrase this with not exists:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement