All jobs / Data analyst / BI / SQL
Data analyst / BI interview question · 0–1 years
“Orders on 1 September” differs in Tel Aviv and UTC. What do you write on the dashboard?
The strongest answer
The timezone and the clock the business uses — I do not leave “the date” unnamed
Why it works
Exactly. A day is a cut on a clock. Unnamed days are how two teams fight.
What a good answer covers
- Name the timezone.
- Use the business clock.
- Do not pick the bigger cut.
- Do not use the laptop’s zone.
Answers that fall short
- Close, but not the strongest: Nothing; dates are universal
Dates are not universal across offsets. - Weak: Whichever timezone makes the number larger
Larger is not truer. - Red flag: Local time of whoever refreshed the extract
The refresher’s laptop is not a standard.
Who gets asked this
More SQL questions
- SELECT customer_id, SUM(amount) without GROUP BY — what is wrong?
- You LEFT JOIN orders, then WHERE orders.status = 'paid'. What did you just do?
- You need each order and the customer’s lifetime total on the same row. What do you use?
- You join orders to refunds (many refunds per order) then average order value. What bites you?
- A customer dimension has two rows per person after an address change. How do you join a fact?
- A “helpful” dashboard takes a raw table name from a query string. What do you say?
- You want each user’s first paid order date next to every order. How?
- A query that was fine on a sample scans the lake for 20 minutes in prod. What do you look at?