when i write query with empty IN clause it raised an error. e.g select city where id in()
And if i write any sub query in IN clause which return empty resultset then it wont raise error.
e.g select city where id in(select id where name='abc') where sub query return empty resultset.
Can Anybody tell me what happen behind it??
i have read this but not convincing answer. Visit Empty IN clause parameter list in MySQL