PostgreSQL 풀이 | Unfinished Parts

2025. 3. 7. 15:36·SQL

문제 1.  Unfinished Parts

Tesla is investigating production bottlenecks and they need your help to extract the relevant data. Write a query to determine which parts have begun the assembly process but are not yet finished.

Assumptions:
parts_assembly table contains all parts currently in production, each at varying stages of the assembly process.
An unfinished part is one that lacks a finish_date.
This question is straightforward, so let's approach it with simplicity in both thinking and solution.

https://datalemur.com/questions/tesla-unfinished-parts

 

Tesla SQL Interview Question | DataLemur

Tesla SQL Interview Question: Find a query to find all parts in assembly that are unfinished.

datalemur.com


💡 문제 풀이 

`내 풀이`

소요 시간 02:29

SELECT part, assembly_step
FROM parts_assembly
WHERE finish_date IS NuLL;

 

`오답노트`

  • 영어 해석하는데 시간이 더 오래걸리는 것 같다^_^

💯결과

 

 

'SQL' 카테고리의 다른 글
  • PostgreSQL 풀이 | Histogram of Tweets
  • PostgreSQL 풀이 | Data Science Skills
  • PostgreSQL 풀이 | Laptop vs. Mobile Viewership (CASE문과 집계함수, FILTER)
  • PostgreSQL 풀이 | Average Post Hiatus (Part 1) (연도 추출, 날짜 차이)
초담
초담
4년차 마케터입니다
  • 초담
    그로스마케터의 기록
    초담
  • 전체
    오늘
    어제
  • 글쓰기 관리
    • 분류 전체보기 (117)
      • Data Analytics Project (3)
      • SQL (55)
      • Python (43)
      • GA4 (0)
      • Tableau (8)
      • 아티클 스터디 (7)
  • 인기 글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.2
초담
PostgreSQL 풀이 | Unfinished Parts
상단으로

티스토리툴바