Learn

Platform

For Business

Pricing

Resources

/

#9

The Price is Right

The Price is Right

Your Objective

Your Objective

Your dataset contains three tables from a pizza restaurant:

  1. A transactions table with order date, product, and quantity

  2. A products table with the current price for each product

  3. A price history table with the price changes for each product over time

Your task is to look up the price for each product in the transactions table at that point in time, accurately reflecting the price changes.

NOTE: If the effective date of a price change is equal to the order date for a transaction, then that is the price that should be reflected.

See example below:

Submit your solution

What is the total revenue from the transactions? (round down to nearest integer)

Watch the solution video & tutorial

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team's data & AI skills and follow personalized learning plans to close the gaps.

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team's data & AI skills and follow personalized learning plans to close the gaps.

FOR INDIVIDUALS

Master data & AI skills

Build data & AI skills to launch or accelerate your career (start for free, no credit card required).

FOR COMPANIES & TEAMS

Transform your workforce

Assess your team's data & AI skills and follow personalized learning plans to close the gaps.