Closed VincentSteil closed 11 years ago
Just write a comment with the number and English query above each SQL query. All in one file.
Select sum(number) From HumanImpact Where crisis_id in (Select id From Crisis Where kind="TA");
select id from Crisis where kind = "HU" and id in(select entity_id from Location where country="United States" or country = "United States of America" or country = "US" or country = "USA") and id in(select id_crisis from CrisisOrganization where id_organization in (select id_organization from OrganizationPerson where id_person = "WStickney"));
select count(id_crisis) from CrisisOrganization where id_organization in (select id from Organization where kind = "IA");
select id from Crisis where kind = "HU" and id in(select entity_id from Location where country="United States" or country = "United States of America" ) and id not in (select distinct id_crisis from CrisisOrganization where id_organization = "FEMA");
stuck on 45... Gonna get a few cups of coffee and try again
I've done 45. All of them are done now and have been sanity checked by me on the db. Just need to make the html when @mduban updates the db to its final form. Going to push the queries now.
Ill take these, @VincentSteil what format do you want them in and by what time