ExistWhich one is faster than In it depends on condition when your inner query fetching thousandthe number of rows than exist would be better choice when yourqueries fetched by the inner query fetching few rows you chice should be iN it will be fast that time Exist evulate:
- When your inner query fetching thousand of rows then EXIST would be better choice
- When your inner query fetching few rows, then IN will be faster
EXIST evaluate on true or false but inIN compare multiple value when. When you don't know the this record is exist or not, your chice shoulb be Existshould choose EXIST