Hi,
I believe that my SQL query is correct, the problem is that datatypes are different. How can I change them ? Or make the second SELECT statement an array ?
SELECT fldNAME, ID
FROM TABLE_CATE
WHERE ID
IN
(SELECT fldCATES
FROM TABLE_USER
WHERE ID = 2)
Thanks for your help !
I believe that my SQL query is correct, the problem is that datatypes are different. How can I change them ? Or make the second SELECT statement an array ?
SELECT fldNAME, ID
FROM TABLE_CATE
WHERE ID
IN
(SELECT fldCATES
FROM TABLE_USER
WHERE ID = 2)
Thanks for your help !