1 votes 1 votes I think answer is 0 , given answer is 3 mehul vaidya asked Jan 11, 2019 mehul vaidya 236 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Kunal Kadian commented Jan 11, 2019 reply Follow Share Given answer is correct. 3 tuples will be returned. 1,3,5 from (1,20) (3,20) and (5,20) entries 0 votes 0 votes Chandrabhan Vishwa 1 commented Jan 11, 2019 reply Follow Share yes anwer is 3 apply correlated query 0 votes 0 votes OneZero commented Jan 12, 2019 reply Follow Share @Kunal Kadian @Chandrabhan Vishwa 1 Shoudnt the answer be 7 because the inner loop is executed once for each entry of the outer loop. also their is no distinct keyword. so according to me the output of the above should be 1,1,3,3,1,5,5. 0 votes 0 votes Please log in or register to add a comment.