I\'m copying and pasting the code from the Google Analytics Cookbook:
SELECT one.hits.item.productSku AS ProductSku, ( sum_of_hit_number / total_hits ) AS avg