select model, descr, mpg, ( select count(*) from car_details where mpg is not null) as "Number of Cars" from car_names, car_details where car_details.id = car_names.id and mpg is null for (reg_name) in ('NE', 'NW', 'SE', 'SW') );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)