can u help me understand to difference between EXISTS
and IN
using mysql ?.
in my application i am using IN
in my queries,
since i am using memcached to store the IN values,
so i find IN more faster the EXISTS,
for example :
String my_chached_string = Memecached.get('somekey')
"SELECT * FROM Table t WHERE t.fromId IN (" + my_chached_string + ")"
my question, is there a way to use EXISTS the same way, with constant values ?
thank you