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
Your Data Project
00:00
5 left

Your Data Project

MediumSQL · PostgreSQL

Problem

What data project have you conducted?

Use the provided TikTok Shop tables to demonstrate a concise seller-performance data project. Calculate completed-order performance and retain only sellers meeting the minimum order threshold.

Output

  1. One row per seller with at least two completed orders.
  2. Columns: seller_id, seller_name, completed_orders, completed_gmv, and average_order_value.
  3. Sort by completed_gmv descending, then seller_id ascending.

Schema

sellers
ColumnTypeDescription
seller_idPKINTTikTok Shop seller identifier
seller_nameVARCHAR(100)Seller display name
orders
ColumnTypeDescription
order_idPKINTOrder identifier
seller_idINTSeller associated with the order
statusVARCHAR(20)Order lifecycle status
order_dateDATEOrder creation date
order_items
ColumnTypeDescription
order_item_idPKINTOrder item identifier
order_idINTParent order identifier
skuVARCHAR(40)Product SKU
quantityINTUnits purchased
unit_priceNUMERIC(10,2)Price per unit
Tablessellersordersorder_items
Interviewer

Your question is Your Data Project. 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.