Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan
New Analysis Impact
00:00
5 left

New Analysis Impact

MediumSQL · PostgreSQL

Problem

Tell me about a time that you created a new piece of analysis and how it contributed to the organization.

For this SQL exercise, demonstrate the analysis with the provided data. Write a query that summarizes paid claims and active-member coverage for every active plan.

Output

  1. One row per active plan, including plans without qualifying claims or members.
  2. Return plan_name, active_member_count, claim_count, paid_amount, members_with_claims, and claims_per_100_members.
  3. Include paid claims dated from January 1 through March 31, 2025, and order by plan_name ascending.

Schema

plans
ColumnTypeDescription
plan_idPKINTUnique plan identifier
plan_nameVARCHAR(100)Plan name
stateVARCHAR(2)Two-letter plan state
statusVARCHAR(20)Current plan status
members
ColumnTypeDescription
member_idPKINTUnique member identifier
plan_idINTPlan assigned to the member
member_statusVARCHAR(20)Current member status
claims
ColumnTypeDescription
claim_idPKINTUnique claim identifier
member_idINTMember associated with the claim
claim_dateDATEDate the claim was submitted
claim_statusVARCHAR(20)Processing status of the claim
paid_amountDECIMAL(12,2)Amount paid for the claim
Tablesplansmembersclaims
Interviewer

Your question is New Analysis Impact. 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
Sign up free to run your codeLog inLn 1
Run your query to see results here.