Académique Documents
Professionnel Documents
Culture Documents
Assume
you have an in-built function to find the distance between two pairs of lat, long.
i.How will you get the distance between each pin code pair without repetition ie. AB
points should be there but not BA and likewise
Ans:. Not able to understand the question even after giving hints.
Ques: How will you remove duplicates from the query result?
Ans:
Ques: How would you identify customers which should be given promotional offers?
Ans: aggregate the trips based on id those who are having less that 5 trips can be given
Que: Which customers availed your cab service in Feb but not in March
Ans: Wrote a wrong query and did mistakes with simple joins
Que: Can you do it in 3 steps?
Ans:
Que: How to do it without nested query?
Ans:
Ques: Find drivers which have total number of rides greater than the avg. rides/driver in
Feb?
Ans: Not bale to understand the problem. After hints wrote a wrong query
Ques: Which location ids have total rides taken less than average rides per location in
Feb?
Ans: Didn’t ask
Ownership, Past work, Project Mgmt, Culture Fit and Self awareness
Did not test for this competency
People Management and Org Building, Driving Culture
Did not test for this competency
Question 1: Three tables one fact, one dimension and one more table. Use of window
functions across various levels.
Result: Reject