How many car makers are there in france?
create table countries (countryid varchar, countryname varchar, PRIMARY KEY (countryid)); create table car_makers (country varchar, PRIMARY KEY (country))
select count(*) from car_makers as t1 join countries as t2 on t1.country = t2.countryid where t2.countryname = 'france'