728x90
https://school.programmers.co.kr/learn/courses/30/lessons/151137
728x90
SELECT car_type, COUNT(car_id) as cars
FROM car_rental_company_car
WHERE
options like '%통풍시트%'
OR options like '%열선시트%'
OR options like '%가죽시트%'
GROUP BY car_type
ORDER BY car_type
728x90
'Problem Solving > Programmers' 카테고리의 다른 글
[프로그래머스, 131533] 상품 별 오프라인 매출 구하기 (mysql) (0) | 2024.04.01 |
---|---|
[프로그래머스, 144855] 별 도서 판매량 집계하기 (mysql) (0) | 2024.03.25 |
[프로그래머스, 132201] 12세 이하인 여자 환자 목록 출력하기 (mysql) (0) | 2024.03.20 |
[프로그래머스, 133024] 인기있는 아이스크림 (mysql) (0) | 2024.03.19 |
[프로그래머스, 59412] 입양 시각 구하기(1) (mysql) (0) | 2024.03.18 |