From the events table (columns user_id, product_id) count, for each user_id, the number of distinct product_id values. Return columns user_id and distinct_products. Order by user_id.
Sign in to see submission history
Sign in to use AI Mentor
Your query result will appear here