Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
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 feedbackCoaching1:1 coaching with people at your target companiesSuccess 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
SQL and Resume-Based Questions
00:00
5 left

SQL and Resume-Based Questions

MediumSQL · PostgreSQL

Problem

Tell me about the SQL work you have done that is most relevant to your resume, including any data manipulation you performed for risk analysis.

Write a SQL query that returns a concise risk-analysis work summary from the provided tables. Focus on the most relevant work items, their source systems, and the type of manipulation performed.

Output

  1. One row per work item with a non-null status and a matching analyst assignment
  2. Columns: work_item_id, analyst_name, source_system, manipulation_type, risk_focus, last_updated
  3. Include only work items marked completed or in_progress
  4. Sort by last_updated descending, then work_item_id ascending

Schema

analysts
ColumnTypeDescription
analyst_idPKINTPrimary key for the analyst
analyst_nameVARCHAR(100)Analyst name
team_nameVARCHAR(100)Risk team name
risk_work_items
ColumnTypeDescription
work_item_idPKINTPrimary key for the work item
analyst_idINTAnalyst assigned to the work item
source_systemVARCHAR(100)Source system used for the work item
manipulation_codeVARCHAR(20)Internal code describing the type of data manipulation
risk_focusVARCHAR(100)Risk topic covered by the work item
statusVARCHAR(20)Current status of the work item
last_updatedDATEDate the work item was last updated
Tablesrisk_work_itemsanalysts
Interviewer

Your question is SQL and Resume-Based Questions. Start with the requirements and the two 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.