Interview questions
Predict the result, find the errors, explain the solution. You can read the questions without an account.
12 questions
Will
DATE_TRUNC('month', created_at)run successfully?Predict the resultOn how many days was each user active?
Predict the resultFind the bugs: DAU for the last three days
Find the errorsFind the bugs: employees with at least five years of service
Find the errorsWhich users were active on both sides of the month boundary?
Predict the resultHow many earlier paid orders does a temporal
SELF JOINfind?Predict the resultWhat does grouping events by hour return?
Predict the resultWhich orders were placed after each user's last event?
Predict the resultFind the bugs: customer events before an order
Find the errorsFind the bugs: customers whose first order was in March
Find the errors