Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Monthly Fusion Team Adoption Summary

MediumSQL · PostgreSQL00:00
I
Practice interviewer
Your interviewer
In session
I
Interviewer

Welcome to the SQL screen.

The question is on your right: Monthly Fusion Team Adoption Summary. Read through the requirements and the three tables first.

Run and submit your code as often as you need. You also have five interviewer messages this session - want to talk through your approach, or are you ready to start coding?

You need to log in / sign up to run or submit.

Problem

You are given Autodesk Fusion workspace, user, and activity data. Write a PostgreSQL query that returns one row per workspace for March 2024 showing the workspace name, total active users, number of paid active users, total edit events, and an adoption label. Count a user as active only if they had at least one edit event during March 2024. Include workspaces even if they had no March activity.

Use an adoption label of High when at least 60% of active users are paid, Low when the ratio is below 60%, and No Activity when the workspace has no active users.

Schema

fusion_workspaces
ColumnTypeDescription
workspace_idPKINTWorkspace identifier
workspace_nameVARCHAR(100)Workspace name
industryVARCHAR(50)Industry segment
created_atDATEWorkspace creation date
fusion_users
ColumnTypeDescription
user_idPKINTUser identifier
workspace_idINTWorkspace the user belongs to
user_nameVARCHAR(100)User name
seat_typeVARCHAR(20)License seat type
joined_atDATEDate the user joined the workspace
fusion_activity
ColumnTypeDescription
activity_idPKINTActivity identifier
user_idINTUser who performed the action
activity_dateDATEDate of the activity
activity_typeVARCHAR(20)Type of activity
minutes_spentINTMinutes spent in the session
Tablesfusion_workspacesfusion_usersfusion_activity
Your solutionPostgreSQL
You need to log in / sign up to run or submit.
Run a query to see results