Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

dearbeany

[프로그래머스] 자동차 종류 별 특정 옵션이 포함된 자동차 수 구하기 본문

Oracle

[프로그래머스] 자동차 종류 별 특정 옵션이 포함된 자동차 수 구하기

dearbeany 2023. 11. 25. 00:33
select car_type, count(car_id) as cars
from (select * from car_rental_company_car
        where options like '%통풍시트%'
        or options like '%열선시트%'
        or options like '%가죽시트%')
group by car_type
order by car_type;