WRONG CODE:
SELECT field1, field2CORRECT CODE:
FROM table
WHERE field1||field2 IN /* NO */
(SELECT field1||fieldS2 /* NO */
FROM table
WHERE some conditions);
SELECT field1, field2
FROM table
WHERE (field1,field2) IN /* YES */
(SELECT field1,fieldS2 /* YES */
FROM table
WHERE some conditions);
No comments:
Post a Comment