368 views

2 Answers

1 votes
1 votes
Here ans will be (c)1

inner query first executed i.e. select manager from emp ; and this fetches 2,3,4

Now, outer query will be executed and the rows of eno.=2 or 3 or 4 will not be prined

So, it only prints

eno           ename            manager

  1                 a                         2
edited by
0 votes
0 votes
ans d is correct....whenever not in operator compare with null value condition become false....so no row is selected...

Related questions

1 votes
1 votes
3 answers
1
srestha asked Aug 8, 2016
569 views
What B=2 return means? How is it returning the tuple? andHow many number of rows return here?
1 votes
1 votes
0 answers
3
1 votes
1 votes
1 answer
4
richa116 asked Nov 29, 2015
305 views