1 line
330 B
SQL
1 line
330 B
SQL
select to_country.iso3 as 'iso3', to_country.name as 'country', to_members.bloodtype as 'blood', count(*) as 'count' FROM to_country left join to_members on to_members.country = to_country.iso3 where not to_members.bloodtype = "I d" group by to_members.bloodtype, to_country.iso3 order by to_country.name, to_members.bloodtype asc |