Retrieving data from dimensional model
With the new dimensional model in place, the HR department wants to analyze the training sessions attended by all the employees in 2023. They are trying to gather the employees' average score, which is lower than the minimum 100 points, to call them for extra training.
Your task is to extract this information from the data warehouse.
This exercise is part of the course
Introduction to Data Modeling in Snowflake
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
SELECT
-- Retrieve all attributes from the dimension
___
FROM fact_employee_trainings
-- Merge fact table with dimension
JOIN ___
ON fact_employee_trainings.employee_id = ___;