Skip to main content
All Questions

Find Average Purchase Value.

Easy
Unlock detailed company stats for this questionUpgrade

You are given the following tables:

attribution table:

session_idmarketing_channelpurchase_value
stringstringfloat

user_sessions table:

session_idad_click_timestampuser_id
stringdatetimestring

Find the average value of purchases made through each marketing channel and arrange them in descending order, starting with the channel that has the highest average purchase value. Your output should have the following columns: marketing_channel, avg_purchase_value

Related questions

Find Campaign Purchases