hi,,,,
please anyone can help me and tell me what's wrong in my query,,,
first, this is my query:
select id, F1, F6 from jos_ckforms_1 where id=101 or F6=101 or
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101) or
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101))
or F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101)));
i have tested my query above, it works!!!
than,,,
i try to run this query(second query):
SELECT id, F1, F6 from jos_ckforms_1 where id=101 OR F6=101 OR
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101) OR
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101))
OR F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101))) OR
F6 = any(select id from 'jos_ckforms_1' WHERE
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101))));
but it did'nt work,
whereas i just add:
OR
F6 = any(select id from 'jos_ckforms_1' WHERE
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id from `jos_ckforms_1` WHERE
F6 = any(select id FROM `jos_ckforms_1` WHERE F6=101))))
to first query,,,,
ohhh,,, i became crazy,,,,

what's wrong in my second query?
please anyone explain to me,,,,
"i attached an error message picture"
please,,,,