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
Data Sources for Research
00:00
5 left

Data Sources for Research

MediumSQL · PostgreSQL

Problem

What data do you usually use for your research, and how do you decide which sources to trust?

Using the provided source, review, and observation data, identify the active sources that meet the reliability criteria below.

Output

  1. One row per qualifying source with source_name, source_type, review_count, average_reliability_score, and verified_observation_count
  2. Include sources with at least 2 reviews, an average reliability score of at least 4.0, and at least 2 independently verified observations
  3. Order by average reliability score descending, verified observation count descending, and source name ascending

Schema

research_sources
ColumnTypeDescription
source_idPKINTUnique identifier for a research source
source_nameVARCHAR(150)Name of the research source
source_typeVARCHAR(60)Classification of the source
coverage_areaVARCHAR(80)Primary market or subject area covered
is_activeBOOLEANWhether the source is currently approved for use
source_reviews
ColumnTypeDescription
review_idPKINTUnique identifier for a source review
source_idINTReviewed research source
review_dateDATEDate of the review
reliability_scoreDECIMAL(3,1)Reliability score from 1.0 to 5.0
reviewer_teamVARCHAR(80)Team that completed the review
source_observations
ColumnTypeDescription
observation_idPKINTUnique identifier for an observed data point
source_idINTSource associated with the observation
observation_dateDATEDate of the observation
metric_nameVARCHAR(100)Name of the observed metric
observed_valueDECIMAL(12,2)Observed numeric value
independently_verifiedBOOLEANWhether the observation was confirmed independently
Tablesresearch_sourcessource_reviewssource_observations
Interviewer

Your question is Data Sources for Research. 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.