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
Data Engineering Concepts and In-Depth SQL/Python
00:00
5 left

Data Engineering Concepts and In-Depth SQL/Python

MediumSQL · PostgreSQL

Problem

Tell me about the data engineering concepts, Python, and SQL you would go deep on across multiple rounds of interviews.

For the SQL portion, use the supplied interview-round and topic-assignment tables to summarize SQL coverage across all rounds.

Output

  1. One row per interview round, including rounds without SQL assignments.
  2. Columns: round_number, round_name, sql_concept_count, and avg_sql_depth.
  3. Sort by round_number ascending. Use zero for rounds without SQL concepts and NULL for their average depth.

Output details

  • Count distinct concept_name values for each round’s SQL assignments.
  • Round avg_sql_depth to two decimal places.
  • Retain every interview-round row, including rows sharing the same round_number.

Schema

interview_rounds
ColumnTypeDescription
round_idPKINTUnique identifier for an interview round
round_numberINTSequential interview round number
round_nameVARCHAR(100)Name of the interview round
topic_assignments
ColumnTypeDescription
assignment_idPKINTUnique topic assignment identifier
round_idINTInterview round associated with the assignment
topic_areaVARCHAR(50)High-level topic area
concept_nameVARCHAR(100)Specific concept assigned to the round
planned_depthINTPlanned depth rating for the concept
Tablesinterview_roundstopic_assignments
Interviewer

Whenever you're ready, walk me through your approach or go straight to the code. The requirements and the two tables are in the Question tab.

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.