I have a query like so, I understand the syntax ain't correct but how would I perform such "action":
SELECT *
FROM accounts C
JOIN proxies P ON C.proxy_id = P.proxy_id
WHERE C.account_id NOT IN
(SELECT send,
receive
FROM action
WHERE send = C.account_id
AND receive = ".UID.") LIMIT 1
I'm shown the following error Operand should contain 1 column(s)
because of what I'm aware I'm not supposed to do NOT IN
with 2 columns, so how would I do a query like so?