Interview Sheet
Interview Sheet
Excel 10 0%
Logical 5 0%
SQL Test 1 15 0%
SQL Test 2 5 0%
Total 35 0 0%
s.no Question Marks Candidate Answer Result
1 Name any 5 Excel Formulas 1
There are 3 temples and also there are one pond in front of all 3 temples, you start with few flowers, you wash
flowers in pond at first temple, the flowers become double, then you devote few flowers in first temple, you
exit with leftover flowers from first temple, you wash flowers in pond at second temple, the flowers become
double, then you devote few flowers in second temple, you exit with leftover flowers from second temple, you
wash flowers in pond at third temple, the flowers become double, then you devote few flowers in third temple,
when you exit from third temple you have nothing left. how many flowers you had in starting and how many
flowers you devoted in each of the temple.
5 Note: you devoted equal amount of flowers in each of the temple. 1
Result
###
S.No Task To do Tables Marks
For the above query rather than Jan 01-10 extract the
4 Table 01-03 2
data for Current date - 100 days
1 Zone wise aggregation on premium where premium must be more than 5000 and zone aggregation value more than 100
Candidate Ans
Correct Ans select r.zone,r.value from (select zone,sum(primium) value from table where premium>5000 group by zone) r where r.value>1
Candidate Ans
Correct Ans select count(office) from table where primium > average(primium);
Candidate Ans
select r.* from (select zone,premium,rank() over(partition by zone order by premium desc) rank from table order by zone,rank)
Correct Ans
rank<=2;
Table
one aggregation value more than 100000 Marks Result Office Zone Premium
ADEl1 South 250000
ADEl2 South 100000
ADEL3 West 300000
2 0
ADEL4 West 4000
000 group by zone) r where r.value>100000; ADEL5 West 40000
ADEl6 West 60000
Marks Result ADEL7 West 3000
1 0
e(primium);
Marks Result
2 0
c) rank from table order by zone,rank) r where