SpinTheMic
Pro

Interview practice question

Revenue total lower than expected

Data Engineering · BigQuery · Beginner

A SUM of revenue in BigQuery looks too low after joining orders to a discounts table. What do you check?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • LEFT vs INNER join dropping orders without discounts.
  • NULL arithmetic: price minus NULL discount gives NULL.
  • Use IFNULL or COALESCE.
  • Check join keys for type mismatches.
  • Compare counts before and after the join.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics