НачатьНачать бесплатно

Is CrossFit a popular workout?

You're interested in what sort of workouts gym members are doing at each gym. To get a better idea, you'd like to dig into the visits table to calculate how many of each workout_type is being done, by gym. To do this, you'll get to use your new favorite tool; PIVOT!

You'll work with the CORE_GYM schema in the database, starting with COURSE_41769.

⚠️ Can't select a database, or getting a "table not found" error?

Use the table's full path in your FROM clause. Get it from the left panel: Databases tab → expand your COURSE_… database → select the table → Copy name.

Это упражнение является частью курса

Data Types and Functions in Snowflake

Посмотреть курс

Практическое интерактивное упражнение

Превратите теорию в практику с помощью одного из наших интерактивных упражнений

Начать упражнение