select cartype,count(cartype) as cars from CARRENTALCOMPANYCAR where options in ('통풍시트','열선시트','가죽시트') group by cartype order by car_type
1 2 3 4 select car_type,count(car_id) as cars from CAR_RENTAL_COMPANY_CAR where options not in ('주차감지센서', '스마트키', '네비게이션', '후방카메라' ) group by car_type order by car_type
1 2 3 4
select car_type,count(car_id) as cars from CAR_RENTAL_COMPANY_CAR where options not in ('주차감지센서', '스마트키', '네비게이션', '후방카메라' ) group by car_type order by car_type
IN의 조건에 맞는 데이터가 존재하지않기때문에 출력되지않습니다. NOT IN의 경우 네이비게이션, 후방카메라는 하나씩 존재하는 행이 존재하여 출력이됩니다.