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
ExperiencesCoaching
New
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
Get started
SQL, PySpark, and Azure Stack
00:00
5 left

SQL, PySpark, and Azure Stack

MediumSQL · PostgreSQL

Problem

Tell me about your SQL and PySpark skills and how you use Azure services in your data engineering work at scale.

For the SQL portion, summarize January and February 2024 Azure Synapse pipeline runs by workspace and month using the supplied metadata. Include only workspace-month combinations with at least two runs.

Output

  1. One row per workspace and month with workspace_name, report_month, total_runs, successful_runs, success_rate_pct, and latest_status
  2. Include the latest run status and order by workspace_name, then report_month ascending

Schema

synapse_workspaces
ColumnTypeDescription
workspace_idPKINTUnique Azure Synapse workspace identifier
workspace_nameVARCHAR(100)Readable workspace name
environmentVARCHAR(20)Workspace environment classification
synapse_pipeline_runs
ColumnTypeDescription
run_idPKINTUnique pipeline run identifier
workspace_idINTWorkspace associated with the run
pipeline_nameVARCHAR(100)Executed pipeline name
statusVARCHAR(20)Pipeline outcome
started_atTIMESTAMPPipeline start timestamp
Tablessynapse_workspacessynapse_pipeline_runs
Interviewer

Your question is SQL, PySpark, and Azure Stack. 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.