코딩테스트/MySQL
[ 프로그래머스 Level 3 ] 대여 기록이 존재하는 자동차 리스트 구하기 (MySQL)
최-코드
2025. 3. 9. 14:57
https://school.programmers.co.kr/learn/courses/30/lessons/157341
프로그래머스
SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr
select distinct car_id
from CAR_RENTAL_COMPANY_CAR natural join CAR_RENTAL_COMPANY_RENTAL_HISTORY
where car_type like '세단' and start_date like '2022-10-%'
order by car_id desc