as this a dependent query as u can see one attribute of outer query is used in the condition in inner query. the approach to this type query is.run then like nested loop of i and j.
take the first row of table specified in outer query and app the inner condition on all the rows of table specified by inner query.
so here on first taking aa from t1. and comparing it it aa ( first row of table t2) match so nothing will come.
now compare with second row of t2. bb will come.
so at the end u will have aa,bb,bb,aa in the inner query selection. as there is no distinct keyword , duplicates will not be removed.
now just remove these tupples from the outer quesry. u will get one tupple i.e c cc
option a it is