Professional Documents
Culture Documents
Interview Questions Technical
Interview Questions Technical
Table 1
Table 2
D
D
Solution:
Inner Join
D
Left Join
SOLUTION:
SELECT o.order_id, o.order_date, o.order_amount, o.customer_name, o.email, o.address
FROM Orders o
left join Customer c
ON o.customerid = c.customerid
WHERE o.order_date BETWEEN '2022-01-01' AND '2022-12-31'
Q) All employees are mapped to managers Sam and Mike. For employees mapped to manager
Mike, map them to new manager Shane
Solution:
FROM Table
A N A1 100
B S A2150
C N A1 200
A N A1 100 2
C N A1 200 1
B S A2 150 1
Q) Identify employees in each department that got the highest hike in last year?
FROM Employee_increments
JOIN Emp_increment T2
Date Retention_No
Jan1 100
Jan2 80
.
Jan7 40
=<
Q) Identify users who made a consecutive purchase on days from user orders in last 7 days?
Product Analyst - OLA (Transportation)
KPI
Used Cases
Internal -
1. Update
2. Number of Rides - Increases / constant / decreases
3. Fair Prices - Inflation, stayed the same,
4. Time spent - Increase
External -
1. Strike , Festival
2. Competitor - Rides cheaper, add more, discount/ rewards
Activation Funnel -