Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started
Monthly Fusion Team Adoption Summary
00:00
5 left

Monthly Fusion Team Adoption Summary

MediumSQL · PostgreSQL

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
Interviewer

Your question is Monthly Fusion Team Adoption Summary. Start with the requirements and the three tables in the Question tab.

Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.

You need to log in / sign up to run or submit.
CodePostgreSQL
You need to log in / sign up to run or submit.Ln 1
Run your query to see results here.