I come across few examples in Google where select statements were used within inner statement. I could not understand why and for what it was being used.
It was something like this :
Code:select * from table inner join (select * from table1) table2 on table.........)