Chinastark/bird_dataset huggingface dataset:
Database: donor
Question: What is the essay title of the project that have the highest total price excluding optional support and who is the biggest donor? Identify the donor and calculate how many percent did he/she donated in the project.
Evidence: highest total price excluding optional support refers to max(total_price_excluding_optional_support); who refers to donor_acctid; percent = divide(donation_to_project, total_price_excluding_optional_support)*100%
SQL: SELECT T1.title, T3.donor_acctid, CAST(T3.donation_to_project AS REAL) / T2.total_price_excluding_optional_support FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid INNER JOIN donations AS T3 ON T2.projectid = T3.projectid ORDER BY T3.donation_to_project DESC LIMIT 1
Database: donor
Question: From which state do the 5 biggest donor, who gave the highest cost of optional support, come from? List their donor_acctid and calculate for their average cost of optional support for every donations they make and identtify the project's type of resource to which they gave the hightest optional support.
Evidence: which state refers to school_state; highest cost of optional support refers to max(donation_optional_support); average cost of optional support = avg(donation_optional_support)
SQL: SELECT T1.school_state, T2.donor_acctid, AVG(T2.donation_optional_support), T1.resource_type FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid ORDER BY T2.donation_optional_support DESC LIMIT 5
Database: donor
Question: Which project in Brooklyn that have the highest request of resources? State the the project ID including all of the name of item requested.
Evidence: in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
SQL: SELECT T1.projectid, T1.item_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.school_city LIKE 'Brooklyn' GROUP BY T1.item_name ORDER BY COUNT(T1.item_name) DESC LIMIT 1
Database: donor
Question: How many schools in urban area requested for books resources?
Evidence: urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'
SQL: SELECT COUNT(T2.schoolid) FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.resource_type = 'Books' AND T2.school_metro = 'urban'
Database: donor
Question: Which school requested the highest amount of resources from Amazon? State the school's ID.
Evidence: highest amount of resources refers to max(count(schoolid)); Amazon refers to vendor_name = 'Amazon'
SQL: SELECT T2.schoolid FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.vendor_name LIKE 'Amazon' GROUP BY T2.schoolid ORDER BY COUNT(T1.vendor_name) DESC LIMIT 1
Database: donor
Question: How many donors in Los Angeles donated to school in another city?
Evidence: in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'
SQL: SELECT COUNT(T2.schoolid) FROM donations AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.donor_city = 'Los Angeles' AND T2.school_city NOT LIKE 'Los Angeles'
Database: donor
Question: What is the prefix for the teacher who handled the 'Reading About Other Cultures' project?
Evidence: Reading About Other Cultures' project refers to title = 'Reading About Other Cultures'; prefix for the teacher refers to teacher_prefix
SQL: SELECT T2.teacher_prefix FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.title LIKE 'Reading About Other Cultures'
Database: donor
Question: How many students will be impacted for the Fit Firsties! Project?
Evidence: how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'
SQL: SELECT T2.students_reached FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.title LIKE 'Fit Firsties!'
Database: donor
Question: List the title of all projects located in Chicago along with the ID of the donor.
Evidence: in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
SQL: SELECT T1.title, T3.donor_acctid FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid INNER JOIN donations AS T3 ON T2.projectid = T3.projectid WHERE T2.school_city LIKE 'Chicago'
Database: donor
Question: Which projects created by teachers with Doctor Degree where the project have more than 300 students involved. List down the title of the project.
Evidence: eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
SQL: SELECT T1.title FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.teacher_prefix LIKE 'Dr.' AND T2.students_reached > 300
Database: donor
Question: State the name of vendor that supplies book resources to all school with literacy subject as their primary focus.
Evidence: literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
SQL: SELECT DISTINCT T1.vendor_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.primary_focus_subject LIKE 'Literacy'
Database: donor
Question: What is the title of project that have the most expensive funds?
Evidence: the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
SQL: SELECT T1.title FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.projectid = ( SELECT projectid FROM resources ORDER BY item_unit_price * item_quantity DESC LIMIT 1 )
Database: donor
Question: Among all the donors from New York, how many of them are teachers?
Evidence: from New York refers to donor_city = 'New York'; donor is a teacher refers to is_teacher_acct = 't';
SQL: SELECT COUNT(donationid) FROM donations WHERE is_teacher_acct = 't' AND donor_city = 'New York'
Database: donor
Question: How many donors from New Jersey have made a donation for an honoree?
Evidence: from New Jersey refers to donor_state = 'NJ'; for an honoree refers to for_honoree = 't';
SQL: SELECT COUNT(donationid) FROM donations WHERE for_honoree = 't' AND donor_state = 'NJ'
Database: donor
Question: Please list the types of resources that the vendor Lakeshore Learning Materials has provided for the projects.
Evidence: Lakeshore Learning Materials is vendor_name; type of resources refers to project_resource_type;
SQL: SELECT DISTINCT project_resource_type FROM resources WHERE vendor_name = 'Lakeshore Learning Materials'
Database: donor
Question: What is the name of the item that is provided in the biggest amount by the vendor Lakeshore Learning Materials?
Evidence: lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
SQL: SELECT item_name FROM resources WHERE vendor_name = 'Lakeshore Learning Materials' ORDER BY item_quantity DESC LIMIT 1
Database: donor
Question: Among the projects created by a teacher from New York, how many of them have a donor from the same city?
Evidence: New York is the donor city; donor from the same city refers to donor from New York in which teacher_ny_teaching_fellow = 't';
SQL: SELECT COUNT(T1.projectid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.teacher_ny_teaching_fellow = 't' AND T2.donor_city = 'New York'
Database: donor
Question: How many projects have their resources provided by the vendor Lakeshore Learning Materials and are created by a teacher with a doctor degree?
Evidence: Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';
SQL: SELECT COUNT(T1.projectid) FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.vendor_name = 'Lakeshore Learning Materials' AND T2.teacher_prefix = 'Dr.'
Database: donor
Question: Please list the vendor providing resources for the projects of a school with the highest poverty level.
Evidence: highest poverty level refers to poverty_level = 'highest poverty';
SQL: SELECT T1.vendor_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.poverty_level = 'highest poverty'
Database: donor
Question: Of the projects whose resources are provided by the vendor Lakeshore Learning Materials, the school of which project has the highest cost of labor fulfillment? Please give its school ID.
Evidence: Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
SQL: SELECT T2.schoolid FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.vendor_name = 'Lakeshore Learning Materials' ORDER BY T2.fulfillment_labor_materials DESC LIMIT 1
Database: donor
Question: Who is the vendor of the resources needed by the project that had the highest cost of optional tip?
Evidence: Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);
SQL: SELECT T1.vendor_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid ORDER BY T2.total_price_including_optional_support - T2.total_price_including_optional_support DESC LIMIT 1
Database: donor
Question: What is the total donated amount for projects created by a teacher working in a school in Brooklyn?
Evidence: school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;
SQL: SELECT SUM(T2.donation_total) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.school_city = 'Brooklyn'
Database: donor
Question: Please list the donation messages of the donations for the projects created by a teacher working in a public magnet school in Brooklyn.
Evidence: school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
SQL: SELECT T2.donation_message FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.school_city = 'Brooklyn' AND T1.school_magnet = 't'
Database: donor
Question: Among the donations with a portion using account credits redemption, how many of them are for projects created by teachers working in a public year-round school?
Evidence: portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';
SQL: SELECT COUNT(T1.projectid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T2.payment_included_acct_credit = 't' AND T1.school_year_round = 't'
Database: donor
Question: What is the total donation amount made for projects whose main subject area are Literacy & Language?
Evidence: main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
SQL: SELECT SUM(T2.dollar_amount) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.primary_focus_area = 'Literacy & Language'
Database: donor
Question: Which donor has donated the most for a project whose main subject area is Literacy & Language? Please give his or her ID.
Evidence: main subject area refers to primary_focus_area = 'Literacy & Language'; donated the most refers to Max(donation_total);
SQL: SELECT T2.donor_acctid FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.primary_focus_area = 'Literacy & Language' ORDER BY T2.donation_total DESC LIMIT 1
Database: donor
Question: What is the most requested item under the resource type "Supplies" for projects whose main subject area is Literacy & Language?
Evidence: main subject area refers to primary_focus_area = 'Literacy & Language'; resource type supplies refers to project_resource_type = 'Supplies'; most requested item refers to Max(item_quantity);
SQL: SELECT T1.item_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.primary_focus_area = 'Literacy & Language' AND T1.project_resource_type = 'Supplies' ORDER BY T1.item_quantity DESC LIMIT 1
Database: donor
Question: Which item provided to a project whose main subject area is Literacy & Language has the highest unit price?
Evidence: main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);
SQL: SELECT T1.item_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.primary_focus_area = 'Literacy & Language' ORDER BY T1.item_unit_price DESC LIMIT 1
Database: donor
Question: What is the average donation amount to a project created by a teacher working in a school in Brooklyn?
Evidence: school in Brooklyn refers to school_city = 'Brooklyn'; Average = AVG(donation_total);
SQL: SELECT SUM(T2.donation_total) / COUNT(donationid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.school_city = 'Brooklyn'
Database: donor
Question: To which city did donor “22cbc920c9b5fa08dfb331422f5926b5” donate?
Evidence: donor “22cbc920c9b5fa08dfb331422f5926b5” refers to donor_acctid = '22cbc920c9b5fa08dfb331422f5926b5'; city refers to donor_city
SQL: SELECT DISTINCT donor_city FROM donations WHERE donor_acctid = '22cbc920c9b5fa08dfb331422f5926b5'
Database: donor
Question: Is donor “22cbc920c9b5fa08dfb331422f5926b5” a teacher?
Evidence: donor “22cbc920c9b5fa08dfb331422f5926b5” refers to donor_acctid = '22cbc920c9b5fa08dfb331422f5926b5'; is a teacher refers to is_teacher_acct;
SQL: SELECT DISTINCT is_teacher_acct FROM donations WHERE donor_acctid = '22cbc920c9b5fa08dfb331422f5926b5'
Database: donor
Question: Have the teacher "42d43fa6f37314365d08692e08680973" acquired P.h.D or doctor degree?
Evidence: teacher "42d43fa6f37314365d08692e08680973" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
SQL: SELECT CASE WHEN teacher_prefix = 'Dr.' THEN 'Yes' ELSE 'NO' END FROM projects WHERE teacher_acctid = '42d43fa6f37314365d08692e08680973'
Database: donor
Question: Is teacher "42d43fa6f37314365d08692e08680973" a New York teacher?
Evidence: teacher "42d43fa6f37314365d08692e08680973"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
SQL: SELECT teacher_ny_teaching_fellow end FROM projects WHERE teacher_acctid = '42d43fa6f37314365d08692e08680973'
Database: donor
Question: Please list the titles of projects by which schools in Abington was donated.
Evidence: Abington is school_city;
SQL: SELECT T2.title FROM projects AS T1 INNER JOIN essays AS T2 ON T1.projectid = T2.projectid WHERE T1.school_city LIKE 'Abington'
Database: donor
Question: Please list the resource names of project that teacher "822b7b8768c17456fdce78b65abcc18e" created.
Evidence: teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
SQL: SELECT T1.item_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'
Database: donor
Question: Among the schools' projects whose donation didn't use account credits redemption,how many schools are public magnet schools?
Evidence: donation didn't use account credits redemption refers to payment_included_acct_credit = 'f'; magnet school refers to school_magnet = 't';
SQL: SELECT COUNT(T1.schoolid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.school_magnet = 't' AND T2.payment_included_acct_credit = 'f'
Database: donor
Question: Please provide the type of resource that donation "b39547f29dfc25fb13c6e9e8d940dc43" contain.
Evidence: donation "b39547f29dfc25fb13c6e9e8d940dc43" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;
SQL: SELECT DISTINCT T1.project_resource_type FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid INNER JOIN donations AS T3 ON T2.projectid = T3.projectid WHERE T3.donationid LIKE 'b39547f29dfc25fb13c6e9e8d940dc43'
Database: donor
Question: Among public magnet schools,what percentage of schools that receive the donated resources as books?
Evidence: magnet school refers to school_magnet = 't'; donated resources as books refers to project_resource_type = 'Books'; percentage = Divide(Count(projectid) where project_resource_type = 'Books', Count(projectid))*100
SQL: SELECT CAST(SUM(CASE WHEN T1.project_resource_type = 'Books' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.projectid) FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.school_magnet = 't'
Database: donor
Question: In the schools donated by the project of the resources provided by ABC School Supply, how many schools are public magnet schools?
Evidence: ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
SQL: SELECT COUNT(T2.schoolid) FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.school_magnet = 't' AND T1.vendor_name = 'ABC School Supply'
Database: donor
Question: Among the schools donated by donor "000eebf28658900e63b538cf8a73afbd",how many schools whose poverty level are highest?
Evidence: donor "000eebf28658900e63b538cf8a73afbd" refers to donor_acctid = '000eebf28658900e63b538cf8a73afbd'; highest poverty level refers to poverty_level = 'highest poverty';
SQL: SELECT COUNT(T1.schoolid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.poverty_level = 'highest poverty' AND T2.donor_acctid = '000eebf28658900e63b538cf8a73afbd'
Database: donor
Question: What is the short description of the project that gives donation to school “301c9bf0a45d159d162b65a93fddd74e”?
Evidence: school “301c9bf0a45d159d162b65a93fddd74e" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';
SQL: SELECT T2.short_description FROM projects AS T1 INNER JOIN essays AS T2 ON T1.projectid = T2.projectid WHERE T1.schoolid = '301c9bf0a45d159d162b65a93fddd74e'
Database: donor
Question: Which city does the school that project "iMath" donated to in?
Evidence: iMath is the title; city refers to school_city;
SQL: SELECT T1.school_city FROM projects AS T1 INNER JOIN essays AS T2 ON T1.projectid = T2.projectid WHERE T2.title LIKE 'iMath'
Database: donor
Question: How to pay the donation of the project that teacher "822b7b8768c17456fdce78b65abcc18e" created?
Evidence: teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; how to pay the donation refers to payment_method;
SQL: SELECT T2.payment_method FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'
Database: donor
Question: How much did the project that teacher "822b7b8768c17456fdce78b65abcc18e" created donate?
Evidence: teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
SQL: SELECT T2.donation_total FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'
Database: donor
Question: Is the donor who donated to school "d4af834b1d3fc8061e1ee1b3f1a77b85" a teacher?
Evidence: school "d4af834b1d3fc8061e1ee1b3f1a77b85" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';
SQL: SELECT T2.is_teacher_acct FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'
Database: donor
Question: Among the schools whose donators are teachers, what is the percentage of schools that are in Brooklyn?
Evidence: donors are teachers refers to is_teacher_acct = 't'; Brooklyn is school_city; percentage = Divide(Count(school_city-'Brooklyn'),Count(school_city))*100
SQL: SELECT CAST(SUM(CASE WHEN T1.school_city LIKE 'Brooklyn' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.teacher_acctid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T2.is_teacher_acct = 't'
Database: donor
Question: Among the projects whose donators are teachers, what is the percentage of projects that affected more than 30 students?
Evidence: donors are teachers refers to is_teacher_acct = 't'; affect more than 30 students refers to students_reached>30; Percentage = Divide(Count(students_reached>30), Count(students_reached))*100
SQL: SELECT CAST(SUM(CASE WHEN T1.students_reached > 30 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.projectid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T2.is_teacher_acct = 't'
Database: donor
Question: How many schools which have suburban metro are there in Bethlehem?
Evidence: Bethlehem is school_city; suburban metro refers to school_metro = 'suburban';
SQL: SELECT COUNT(schoolid) FROM projects WHERE school_city = 'Bethlehem' AND school_metro = 'suburban'
Database: donor
Question: What is the number of the year round school in Los Angeles?
Evidence: Los Angeles is school_city; year-round school refers to school_year_round = 't';
SQL: SELECT COUNT(school_year_round) FROM projects WHERE school_city = 'Los Angeles' AND school_year_round = 't'
Database: donor
Question: State the number of public magnet schools in New York Manhattan.
Evidence: public magnet school refers to school_magnet = 't'; in New York Manhattan refers to school_country = 'New York(Manhattan)';
SQL: SELECT COUNT(schoolid) FROM projects WHERE school_county = 'New York (Manhattan)' AND school_magnet = 't'
Database: donor
Question: How many teachers in Twin Falls have Math & Science as their primary focus area?
Evidence: Twin Falls is school_country; 'Math & Science' is primary_focus_area;
SQL: SELECT COUNT(teacher_acctid) FROM projects WHERE school_county = 'Twin Falls' AND primary_focus_area = 'Math & Science'
Database: donor
Question: How many teachers that have Literature & Writing as their primary focus subject use 'Mr' as their teacher prefix?
Evidence: Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';
SQL: SELECT COUNT(teacher_acctid) FROM projects WHERE teacher_prefix = 'Mr.' AND primary_focus_subject = 'Literature & Writing'
Database: donor
Question: What is the total number of projects that was created by the teachers that teach 3-5 grades in Boston Public School District?
Evidence: teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
SQL: SELECT COUNT(projectid) FROM projects WHERE school_district = 'Boston Public School District' AND grade_level = 'Grades 3-5'
Database: donor
Question: For the teacher who wrote the project 'ABC Read', which city was he/she in?
Evidence: ABC Read' is the title; city refers to school_city
SQL: SELECT T2.school_city FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.title = 'ABC Read'
Database: donor
Question: What is the teacher prefix for the teacher who wrote the project 'Creating Memories and Inspiring Dreams'?
Evidence: Creating Memories and Inspiring Dreams is title;
SQL: SELECT T2.teacher_prefix FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.title LIKE 'Creating Memories and Inspiring Dreams%'
Database: donor
Question: Is the donor of the project 'Calculate, Financial Security For Tomorrow Starts Today! ' a teacher?
Evidence: Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'
SQL: SELECT T2.is_teacher_acct FROM essays AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.title LIKE 'Calculate, Financial Security For Tomorrow Starts Today! '
Database: donor
Question: What is the title for the project that got the donation message as "Donation on behalf of Matt Carpenter because I'm a strong believer in education".
SQL: SELECT T1.title FROM essays AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T2.donation_message LIKE 'Donation on behalf of Matt Carpenter because I''m a strong believer in education.'
Database: donor
Question: How many number of donations did the project 'A Rug For Reaching Readers' get?
Evidence: A Rug For Reaching Readers'is the title;
SQL: SELECT SUM(T2.donation_total) FROM essays AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.title LIKE 'A Rug For Reaching Readers'