Evening all, I have the following SQL Query for PDO:
DELETE FROM group_members WHERE group_id IN( SELECT * FROM groups WHERE group_owner = 1 ) AND user_id = 2
And for some strange reason I keep getting the following message:
#1241 - Operand should contain 1 column(s)
Now; I understand what the message means but I can clearly see that I've set a condition after the and so im not too sure what's going on.
Thanks for any help! :o) I'm sure its a noob mistake ;)