Amazon Interview Question

Describe with a written code example the usage of an Oracle RANK OVER PARTITION BY analytic function

Interview Answers

Anonymous

Jan 25, 2016

select Name,Subject,Marks, RANK() over(partition by name order by Marks desc)Rank From ExamResult order by name,subject

2

Anonymous

Mar 31, 2012

could you share more detail info about the interview questions? what type of them? algrothem? database? SQL query? BI tools ? data modeling? thanks

2