Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Product Ratings | Introduction to BigQuery-Specific Features
BigQuery Fundamentals

bookChallenge: Product Ratings

Swipe um das Menü anzuzeigen

Use the product_feedback_array table to answer the following business questions about product reviews.

  1. Unnest the ratings array to count how many times each rating appears across all products:
    • Unnest the ratings array;
    • Count the occurrences of each rating (e.g., 5, 4, 3, etc.);
    • Your query should return these columns:
      • rating (INTEGER);
      • rating_count (how many times this rating appears).
  2. Calculate the average, total, and maximum rating for each product_name:
    • Calculate the average rating;
    • Count the total number of ratings;
    • Find the highest rating given;
    • Your query should return these columns:
      • product_name;
      • average_rating;
      • total_ratings;
      • max_rating.
  3. Identify which products have the tag "durable" in their tags array:
    • Filter the results to include only products with the "durable" tag;
    • Your query should return these columns:
      • product_name (only those that include "durable" in tags).
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 4

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Abschnitt 3. Kapitel 4
some-alt