Saama Technologies interview question

1. SQL complex queries. 2. Java questions on looping and datastructure.