query
stringlengths
24
325
positive
stringlengths
1
580
negative_1
stringlengths
6
580
negative_2
stringlengths
1
576
negative_3
stringlengths
1
576
negative_4
stringlengths
1
580
negative_5
stringlengths
1
580
negative_6
stringlengths
1
580
negative_7
stringlengths
5
576
negative_8
stringlengths
1
576
negative_9
stringlengths
1
580
negative_10
stringlengths
1
580
How many donations from teachers were done in the state of Colorado?
from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)
donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
In the schools donated by the project of the resources provided by ABC School Supply, how many schools are public magnet schools?
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
iMath is the title; city refers to school_city;
from "Sax Arts & Crafts" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip
primary focus area is Literature refers to primary_focus_area = 'Literature'
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
the highest poverty level refers to poverty_level = 'highest poverty'
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'
portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';
What is the total donation amount for the project 'Engaging Young Readers with a Leveled Classroom Library'?
Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)
zip code "7079" refers to donor_zip = '7079'
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
resources that were requested refers to item_name; project "d6ef27c07c30c81f0c16c32b6acfa2ff" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree
donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';
Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
What are the coordinates of the school where project 'Look, Look, We Need a Nook!' Was donated to and what resource type is it?
Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;
date refer to date_posted; Lets Share Ideas refer to title
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
teacher "42d43fa6f37314365d08692e08680973"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'
Name the vendors that sell the item Classroom Keepers Management Center.
vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name
teacher "42d43fa6f37314365d08692e08680973"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
resources that were requested refers to item_name; project "d6ef27c07c30c81f0c16c32b6acfa2ff" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree
A Rug For Reaching Readers'is the title;
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)
320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'
Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'
What were the resources that were requested by the teacher for project "d6ef27c07c30c81f0c16c32b6acfa2ff"? Indicate the quantities as well and whether or not the teacher acquired P.h.D or doctor degree.
resources that were requested refers to item_name; project "d6ef27c07c30c81f0c16c32b6acfa2ff" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree
Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))
project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'
not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
the highest poverty level refers to poverty_level = 'highest poverty'
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
List the poverty level of all the schools that received donations with the zip code "7079".
zip code "7079" refers to donor_zip = '7079'
latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
book-type projects refers to project_resource_type = 'Books'
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
main subject refers to primary_focus_subject
resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’
How many Rock Hill City School projects have teacher donors?
Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
project "Photojournalists Want to Exhibit Their Best Works" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;
highest total price including optional support refers to max(total_price_including_optional_support)
first ever project refers to min(date_posted); names of the resources refers to item_name
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'
Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
How many donations of more than $100 were made for an honoree?
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%
Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
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
school "d4af834b1d3fc8061e1ee1b3f1a77b85" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';
book-type projects refers to project_resource_type = 'Books'
Future Einsteins of America refer to title
primary focus area is Literature refers to primary_focus_area = 'Literature'
Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
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?
portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';
A Rug For Reaching Readers'is the title;
Needed Resource Materials For My Students refer to title
paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)
the highest poverty level refers to poverty_level = 'highest poverty'
vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name
project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'
highest total price including optional support refers to max(total_price_including_optional_support)
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
Which projects created by teachers with Doctor Degree where the project have more than 300 students involved. List down the title of the project.
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
teacher "42d43fa6f37314365d08692e08680973"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
Creating Memories and Inspiring Dreams is title;
zip code "22205" refers to donor_zip = '22205'; students impacted refers to students_reached
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
Family History Project refer to title, need statement refer to need_statement
Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
project "Photojournalists Want to Exhibit Their Best Works" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted
Which project in Brooklyn that have the highest request of resources? State the the project ID including all of the name of item requested.
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';
Needed Resource Materials For My Students refer to title
ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
highest total price including optional support refers to max(total_price_including_optional_support)
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
Future Einsteins of America refer to title
How many donors in Los Angeles donated to school in another city?
in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'
teacher "42d43fa6f37314365d08692e08680973" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
Family History Project refer to title, need statement refer to need_statement
Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
first ever project refers to min(date_posted); names of the resources refers to item_name
the highest poverty level refers to poverty_level = 'highest poverty'
donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';
zip code "7079" refers to donor_zip = '7079'
Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
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
What are the vendors of the book-type projects? List them with the project ID.
book-type projects refers to project_resource_type = 'Books'
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
project "Photojournalists Want to Exhibit Their Best Works" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted
zip code "7079" refers to donor_zip = '7079'
donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)
donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;
Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
What is the percentage of payment methods of donations made in March 2013?
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district
iMath is the title; city refers to school_city;
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
book-type projects refers to project_resource_type = 'Books'
project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%
main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
for grades 9-12 refers to grade_level = 'Grades 9-12'
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
State the name of vendor that supplies book resources to all school with literacy subject as their primary focus.
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
zip code "22205" refers to donor_zip = '22205'; students impacted refers to students_reached
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)
Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'
Creating Memories and Inspiring Dreams is title;
Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'
zip code "7079" refers to donor_zip = '7079'
Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;
What is the name of the vendor that the project "Bloody Times" uses for their resources?
project "Bloody Times" refers to title = 'Bloody Times'
primary focus area is Literature refers to primary_focus_area = 'Literature'
Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
teacher "42d43fa6f37314365d08692e08680973"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;
Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)
Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
Name the project that costs the most. How much has been collected from donation and what is the percentage amount still lacking?
project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%
total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)
school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
donation "b39547f29dfc25fb13c6e9e8d940dc43" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
school “301c9bf0a45d159d162b65a93fddd74e" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';
Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
book-type projects refers to project_resource_type = 'Books'
How many donations were paid via credit card to Memphis City School District?
paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district
city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'
school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
zip code "22205" refers to donor_zip = '22205'; students impacted refers to students_reached
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
primary focus area is Literature refers to primary_focus_area = 'Literature'
Needed Resource Materials For My Students refer to title
Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
A Rug For Reaching Readers'is the title;
What is the average amount of donations by people who donated in the project "Recording Rockin' Readers"
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
date refer to date_posted; Lets Share Ideas refer to title
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
donations collected refers to sum(donation_to_project); project 'Whistle While We Work!' refers to title = 'Whistle While We Work!'
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
List the title of all projects located in Chicago along with the ID of the donor.
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
Family History Project refer to title, need statement refer to need_statement
What date did the project with he 'Lets Share Ideas essay' went live?
date refer to date_posted; Lets Share Ideas refer to title
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
zip code "7079" refers to donor_zip = '7079'
first ever project refers to min(date_posted); names of the resources refers to item_name
school “301c9bf0a45d159d162b65a93fddd74e" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';
Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district
not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%
urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'
Calculate the sum of all the total amount donated to the essay project titled 'Lets Share Ideas' which were paid through paypal and indicate the city and poverty level.
paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)
Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
Future Einsteins of America refer to title
donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
school “301c9bf0a45d159d162b65a93fddd74e" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';
Which resource type is commonly bought by the Los Angeles Unified School District?
resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’
iMath is the title; city refers to school_city;
main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;
main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name
A Rug For Reaching Readers'is the title;
Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;
for grades 9-12 refers to grade_level = 'Grades 9-12'
Which city does the school that project "iMath" donated to in?
iMath is the title; city refers to school_city;
main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%
portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';
resource type refer to project_resource_type; most commonly bought refer to COUNT(project_resource_type where school_district = ’Los Angeles Unif Sch Dist’); Los Angeles Unified School District refer to school_district = ’Los Angeles Unif Sch Dist’
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
What is the title of project that have the most expensive funds?
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
A Rug For Reaching Readers'is the title;
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;
highest total price including optional support refers to max(total_price_including_optional_support)
Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';
school "d4af834b1d3fc8061e1ee1b3f1a77b85" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';
how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'
paid via credit card refer to payment method = creditcard; Memphis City School District refer to school_district
from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'
primary focus area is Literature refers to primary_focus_area = 'Literature'
Name the vendors who provide resources for project 'Lights, Camera, Action!'. List all the item names and unit price for each.
project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'
A Rug For Reaching Readers'is the title;
vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name
for grades 9-12 refers to grade_level = 'Grades 9-12'
Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)
resources that were requested refers to item_name; project "d6ef27c07c30c81f0c16c32b6acfa2ff" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree
Needed Resource Materials For My Students refer to title
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
Calculate the total amount of donations made in 2011 for an honoree with payment via campaign page.
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district
I Can't See It...Can You Help Me???' is the title;
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
primary focus area is Literature refers to primary_focus_area = 'Literature'
AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
In what percentage of counties has the ABC Read project been launched?
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%
latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
for grades 9-12 refers to grade_level = 'Grades 9-12'
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';
from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'
What is the id of the project that has the highest optional tip? Indicate the names of the resources that were requested.
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)
for grades 9-12 refers to grade_level = 'Grades 9-12'
donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';
vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name
zip code "7079" refers to donor_zip = '7079'
main subject refers to primary_focus_subject
What is the project in which 320 students will be impacted if the project is funded? Name the project and state the project cost.
320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'
A Rug For Reaching Readers'is the title;
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
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
highest total price including optional support refers to max(total_price_including_optional_support)
donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
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
What is the latitude and longitude of the school where the teacher who wrote "Smile for the Camera!!!" teaches?
wrote "Smile for the Camera!!!" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
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
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
vendor refer to vendor_name; Classroom Keepers Management Center refer to item_name
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'
project "Photojournalists Want to Exhibit Their Best Works" refers to title = 'Photojournalists Want to Exhibit Their Best Works'; when project go live refers to datePosted
Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';
How many schools in the West New York School District have the highest poverty level?
the highest poverty level refers to poverty_level = 'highest poverty'
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
book-type projects refers to project_resource_type = 'Books'
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
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
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
in Los Angeles refers to donor_city = 'Los Angeles'; school in another city refers to school_city ! = 'Los Angeles'
Creating Memories and Inspiring Dreams is title;
main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
Is the donor who donated to school "d4af834b1d3fc8061e1ee1b3f1a77b85" a teacher?
school "d4af834b1d3fc8061e1ee1b3f1a77b85" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';
AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
A Rug For Reaching Readers'is the title;
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
Needed Resource Materials For My Students refer to title
not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%
suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district
total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
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.
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)
primary focus area is Literature refers to primary_focus_area = 'Literature'
urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
highest total price including optional support refers to max(total_price_including_optional_support)
Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;
wrote "Smile for the Camera!!!" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude
date refer to date_posted; Lets Share Ideas refer to title
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
book-type projects refers to project_resource_type = 'Books'
What is the teacher prefix for the teacher who wrote the project 'Creating Memories and Inspiring Dreams'?
Creating Memories and Inspiring Dreams is title;
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'
wrote "Smile for the Camera!!!" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude
portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
for grades 9-12 refers to grade_level = 'Grades 9-12'
total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)
How many projects have their resources provided by the vendor Lakeshore Learning Materials and are created by a teacher with a doctor degree?
Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';
city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;
project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'
ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'
total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
main subject area refers to primary_focus_area = 'Literacy & Language'; highest unit price refers to Max(item_unit_price);
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.
Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
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)
in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
Needed Resource Materials For My Students refer to title
Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;
resources that were requested refers to item_name; project "d6ef27c07c30c81f0c16c32b6acfa2ff" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'
What is the total donated amount for projects created by a teacher working in a school in Brooklyn?
school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;
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
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
zip code "22205" refers to donor_zip = '22205'; students impacted refers to students_reached
latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
first ever project refers to min(date_posted); names of the resources refers to item_name
What is the name of the vendors serving material for projects for grades 9-12?
for grades 9-12 refers to grade_level = 'Grades 9-12'
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
wrote "Smile for the Camera!!!" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude
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)
the highest poverty level refers to poverty_level = 'highest poverty'
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
Future Einsteins of America refer to title
A Rug For Reaching Readers'is the title;
school "d4af834b1d3fc8061e1ee1b3f1a77b85" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
How many teachers have made some type of donation for projects in Chicago?
in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
iMath is the title; city refers to school_city;
main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)
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)
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district
Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';
What is the teacher's account ID for the project that got the donation at 11:38:43 on 2008/7/29 ?
donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;
ordered between 5 to 10 items refers to item_quantity between 5 and 10; are from Quill.com refers to vendor_name = 'Quill.com'
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
teacher "42d43fa6f37314365d08692e08680973"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
the most expensive funds refers to max(multiply(item_unit_price, item_quantity))
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)
primary focus area is Literature refers to primary_focus_area = 'Literature'
paypal refer to payment method; Lets Share Ideas refer to title; city refer to school_city; total amount donated refer to SUM(donation_total of paypal where payment_method = ’paypal’)
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
project "Bloody Times" refers to title = 'Bloody Times'
How many teachers in Twin Falls have Math & Science as their primary focus area?
Twin Falls is school_country; 'Math & Science' is primary_focus_area;
zip code "7079" refers to donor_zip = '7079'
Creating Memories and Inspiring Dreams is title;
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
iMath is the title; city refers to school_city;
Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
for grades 9-12 refers to grade_level = 'Grades 9-12'
List the resource types available at Sax Arts & Crafts.
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
ABC School Supply is vendor_name;  public magnet school refers to school_magnet = 't';
urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'
not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
wrote "Smile for the Camera!!!" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude
first ever project refers to min(date_posted); names of the resources refers to item_name
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
teacher "42d43fa6f37314365d08692e08680973"refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
Which school district was Future Einsteins Of America project located at?
Future Einsteins of America refer to title
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
Engaging Young Readers with a Leveled Classroom Library' is the title; total donation amount = Add(donation_to_project, donation_optional_support)
donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;
zip code "7079" refers to donor_zip = '7079'
the highest poverty level refers to poverty_level = 'highest poverty'
Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
ABC Read project been launched refers to title = 'ABC Read'; percentage refers to DIVIDE(count(case when title = 'ABC Read' then school_county else null end),count(school_county))*100
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
wrote "Smile for the Camera!!!" refers to title = 'Smile for the Camera!!!'; latitude refers to school_latitude; longitude refers to school_longitude
Please provide the type of resource that donation "b39547f29dfc25fb13c6e9e8d940dc43" contain.
donation "b39547f29dfc25fb13c6e9e8d940dc43" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;
how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
main subject refers to primary_focus_subject
AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
primary focus area is Literature refers to primary_focus_area = 'Literature'
project 'Lights, Camera, Action!' refers to title = 'Lights, Camera, Action!'
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
an honoree refers to for_honoree = 't'; more than $100 refers to dollar_amount = '100_and_up'
How many teachers that have Literature & Writing as their primary focus subject use 'Mr' as their teacher prefix?
Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';
320 students will be impacted refers to students_reached = 320; name the project refers to title; project cost refers tp total_price_excluding_optional_support
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
Lakeshore Learning Materials is vendor_name;  teacher with a doctor degree refers to teacher_prefix = 'Dr.';
the highest poverty level refers to poverty_level = 'highest poverty'
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
how many students refers to students_reached; Fit Firsties! project refers to title = 'Fit Firsties!'
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)
project "Bloody Times" refers to title = 'Bloody Times'
Bringing Drama to Life' is the title; Percentage = Divide(Count(payment_method = 'creditcard'), Count(projectid))*100;
Among public magnet schools,what percentage of schools that receive the donated resources as books?
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
Family History Project refer to title, need statement refer to need_statement
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
date refer to date_posted; Lets Share Ideas refer to title
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
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)
main subject refers to primary_focus_subject
donation at 14:44:29 on 2012/9/6 refers to donation_timestamp = '2012/9/6 14:44:29';
school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;
Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';
What is the name of the vendors that serve resources to schools whose primary focus area is Literature?
primary focus area is Literature refers to primary_focus_area = 'Literature'
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'
Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'
portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
Awesome Audiobooks Make Avid Readers' is the title; percentage = Divie(donation_optional_support, donation_total)*100;
project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
How many suburban metros are there in Livingston Parish School District?
suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district
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
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
donation at 11:38:43 on 2008/7/29 refers to donation_timestamp = '2008/7/29 11:38:43'; teacher's account ID refers to teacher_acctid;
project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%
Calculate, Financial Security For Tomorrow Starts Today! ' is title; donor is a teacher refers to is_teacher_acct = 't'
school "d4af834b1d3fc8061e1ee1b3f1a77b85" refers to schoolid = 'd4af834b1d3fc8061e1ee1b3f1a77b85'; donor is a teacher refers to is_teacher_acct = 't';
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)
for grades 9-12 refers to grade_level = 'Grades 9-12'
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
Which cities in the Los Angeles Unified School District has bought supplies from Quill.com?
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
average amount of donations = divide(sum(donation_to_project), count(donor_acctid)); project "Recording Rockin' Readers" refers to title = 'Recording Rockin' Readers'
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
urban area refers to school_metro = 'urban'; books resources refers to project_resource_type = 'Books'
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
I Can't See It...Can You Help Me???' is the title;
school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
AKJ Books items refers to vendor_name = 'AKJ Books'; average unit price refers to DIVIDE(sum(item_unit_price),count(resourceid))
Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;
Please list the donation messages of the donations for the projects created by a teacher working in a public magnet school in Brooklyn.
school in Brooklyn refers to school_city = 'Brooklyn'; public magnet refers to school_magnet = 't';
largest donor by amount refers to max(donation_total); total amount of the donation refers to donation_total
lakeshore Learning Materials is vendor_name; biggest amount refers to Max(item_quantity);
I Can't See It...Can You Help Me???' is the title;
portion using account credits redemption refers to payment_included_acct_credit = 't'; year-round school refers to school_year_round = 't';
received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
Family History Project refer to title, need statement refer to need_statement
from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'
teach 3-5 grades refers to grade_level = 'Grades 3-5'; 'Boston Public School District' is school_district;
What is the short description of the project that gives donation to school “301c9bf0a45d159d162b65a93fddd74e”?
school “301c9bf0a45d159d162b65a93fddd74e" refers to schoolid = '301c9bf0a45d159d162b65a93fddd74e';
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
total amount of all the donations refers to sum(donation_total); highest donation refers to max(donation_total)
the highest poverty level refers to poverty_level = 'highest poverty'
Lakeshore Learning Materials is vendor_name; highest cost of labor fulfillment refers to Max(fulfillment_labor_materials);
eachers with Doctor Degree refers to teacher_prefix = 'Dr.'; more than 300 students involved refers to students_reached > 300
located in the rural area refers to school_metro = 'rural'; percentage = divide(sum(donation_to_project), sum(donation_to_project where school_metro = 'rural'))*100%
in Brooklyn refers to school_city = 'Brooklyn'; highest request of resources refers to max(count(T1.item_name))
Coordinates of the school refer to school_latitude, school_longitude); Look, Look, We Need a Nook! Refer to title;
not from a teacher refers to is_teacher_acct = 'f'; donor account id refers to donor_acctid; percentage of donation = divide(donation_optional_support, donation_total)*100%
Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);
Who is the vendor of the resources needed by the project that had the highest cost of optional tip?
Highest cost of the optional tip refers to Max(total_price_including_optional_support - total_price_excluding_optional_support);
literacy subject as primary focus refers to primary_focus_subject = 'Literacy'
Literature & Writing' is primary_focus_subject; use 'Mr' as their teacher prefix refers to teacher_prefix = 'Mr';
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e';
zip code "22205" refers to donor_zip = '22205'; students impacted refers to students_reached
project name refers to title; costs the most refers to max(total_price_excluding_optional_support); amount collected from donation refers to sum(donation_to_project); percentage amount refers to divide(subtract(total_price_excluding_optional_support, sum(donation_to_project)), sum(donation_to_project))*100%
project name refers to title; describe refers to short_description; New York teachers refers to teacher_ny_teaching_fellow = 't'
total amount refers to sum(donation_total); 2011 refers to donation_timestamp LIKE'2011%'; honoree refers to for_honoree = 't'; via campaign page refers to via_giving_page = 't'
Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
suburban metros refer to metro = 'suburban'; Livingston Parish School District refer to school_district
city of Pocatello refers to donor_city = 'Pocatello'; not teachers refers to is_teacher_acct = 'f'
When was the first ever project went live on the site and what were the names of the resources being requested? If there are multiple projects that have the same date, indicate each of them and their items.
first ever project refers to min(date_posted); names of the resources refers to item_name
Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'
from "Sax Arts & Crafts" refers to vendor_name = 'Sax Arts & Crafts'; zip code of the schools refers school_zip
Mathematics as a primary subject refers to primary_focus_subject = 'Mathematics'; most expensive refers to max(item_unit_price)
technology items refers to project_resource_type = 'Technology'; from Best Buy for Business refers to vendor_name = 'Best Buy for Business'; percentage refers to DIVIDE(count(case when vendor_name = 'Best Buy for Business'),count(projectid))
A Rug For Reaching Readers'is the title;
teacher "42d43fa6f37314365d08692e08680973" refers to teacher_acctid = '42d43fa6f37314365d08692e08680973';
Sax Arts & Crafts refer to vendor_name; resource type available refer to project_resource_type
resources that were requested refers to item_name; project "d6ef27c07c30c81f0c16c32b6acfa2ff" refers to projectid = 'd6ef27c07c30c81f0c16c32b6acfa2ff'; quantities refers to item_quantity; teacher_prefix = 'Dr. ' refers to teacher acquired P.h.D or doctor degree
school in Brooklyn refers to school_city = 'Brooklyn'; total donated amount refers to donation_total;
Needed Resource Materials For My Students refer to title
What is the project title of the school located at latitude 42003718 and longitude -87668289?
latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
Suffolk County refers to School_county = 'Suffolk'; Ph.D. teachers refers to Teacher_prefix = 'Dr.'
message refer to donation_message; Newark School District refer to school_district; 40.735332, -74.196014 refer to (school latitude, school_longitude)
in Chicago refers to school_city = 'Chicago'; ID of the donor refers to donor_acctid
teacher "822b7b8768c17456fdce78b65abcc18e" refers to teacher_acctid = '822b7b8768c17456fdce78b65abcc18e'; donated refers to donation_total;
highest optional tip refers to subtract(total_price_including_optional_support, total_price_excluding_optional_support); names of the resources refers to item_name
main subject area refers to primary_focus_area = 'Literacy & Language'; total donation amount refers to Sum(dollar_amount);
cities refer to school_city; Los Angeles Unified School District refer to school_district = 'Los Angeles Unified School District'; supplies refer to project_resource_type; Quill.com refer to vendor_name
from teachers refers to is_teacher_acct = 't'; the state of Colorado refers to donor_state = 'CO-Colorado'
made in March 2013 refers to substr(donation_timestamp,1,7) = '2013-03'; percentage refers to DIVIDE(SUM(payment_method made in March 2013), SUM(payment_method))*100
donation "b39547f29dfc25fb13c6e9e8d940dc43" refers to donationid = 'b39547f29dfc25fb13c6e9e8d940dc43'; type of resource refers to project_resource_type;
Which team won the match in the EC division on January 20, 2008 at home?
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;
consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';
England is the name of country;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Italian means belong to country = 'Italy";
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
How many Scottish League One games took place on the day that "Pro Vercelli" and "Pescara"had a 5-2 game?
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
How many teams that played in the 2012 season belong to any of the English divisions and what percentage play in each of the divisions?
matches = Div
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
England is the name of country;
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
List the number of games that ended up with 5-0 in Greece.
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Netherlands is the name of country;
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
How many matches of the Bundesliga division ended with an away victory in the 2021 season?
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
Netherlands is the name of country;
England is the name of country;
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
Premier League is the name of division;
Italian means belong to country = 'Italy";
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
What's the name of the football division in the Netherlands?
Netherlands is the name of country;
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
What's the winning rate of Club Brugge in the 2021 Premier League?
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
England is the name of country;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
What percentage of all tied games did the Sassuolo team play in?
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Premier League is the name of division;
Netherlands is the name of country;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
What was the difference in home team and away team win percentages across all divisions in 2010?
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
Netherlands is the name of country;
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
What was the final score for the game Bursaspor vs Denizlispor on 2009/4/26?
Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Italian means belong to country = 'Italy";
Netherlands is the name of country;
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Premier League is the name of division;
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
Which away team in the division of Bundesliga has the highest final time goals?
Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Premier League is the name of division;
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
Netherlands is the name of country;
How many matches were played in the Scottish Premiership division from 2006 to 2008?
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';
Italian means belong to country = 'Italy";
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Bundesliga is the name of division; Date = '2020/10/2';
Please list the home teams in the matches of the Bundesliga division that ended with a home victory in the 2021 season.
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
matches = Div
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
Premier League is the name of division;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
When did the first match that score more than 10 goals happen?
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
matches = Div
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);
Premier League is the name of division;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Which division had the most draft matches in the 2008 season?
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Bundesliga is the name of division; Date = '2020/10/2';
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Italian means belong to country = 'Italy";
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
Premier League is the name of division;
How many home victories does the Bundesliga division have in more or less than the Premier League division in the 2021 season?
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
How many matches were held during the 2021 season's Premier League?
Premier League is the name of division;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
Italian means belong to country = 'Italy";
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
What is the most consecutive games tied by Ebbsfleet as an away team in the 2008 season?
consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';
Premier League is the name of division;
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Netherlands is the name of country;
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
Which team had the most final-time home-team goals in the 2021 season's matches of the Bundesliga division?
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
Netherlands is the name of country;
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
England is the name of country;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);
What is the name of the division that has had the lowest number of draft matches in the 2019 season?
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
Premier League is the name of division;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
Italian means belong to country = 'Italy";
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
Which division had the most games with more than 5 total field goals on 2020/2/22? Give the full name of the division?
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
Premier League is the name of division;
Which team has the most victories as the home team in matches of the Bundesliga division?
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
For a game had a score of 1-8 in the year of 2011, what division was that game in? Give the full name of the division.
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
How many draw games happened on 2018/8/7 for National League?
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
Netherlands is the name of country;
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);
Please provide the names of any three away teams that competed in the Italian divisions.
Italian means belong to country = 'Italy";
Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;
Netherlands is the name of country;
matches = Div
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Bundesliga is the name of division; Date = '2020/10/2';
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
Of the matches in all seasons of the Bundesliga division, how many of them ended with a tie?
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
England is the name of country;
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
What's the home win ratio of the Bundesliga division in 2021?
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
matches = Div
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Of all the teams that played as a team away against Caen in the 2010 season, which one has the highest winning percentage?
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
Netherlands is the name of country;
the most draft matches refer to MAX(COUNT(Div)) where FTR = 'D';
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
Which country did Bradford Team belongs to?
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
the lowest number of draft matches refers to MIN(COUNT(FTR = 'D'));
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Premier League is the name of division;
How many football divisions does England have?
England is the name of country;
Bundesliga is the name of division; Date = '2020/10/2';
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
Bundesliga is the name of division; the most victories as the home team refers to MAX(COUNT(FTR = 'H'));
more than 5 total field goals refers to SUM(FTHG, FTAG)>5, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; 2020/2/22 is a date;
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
Caen refers to HomeTeam; which one refers to AwayTeam; the highest winning percentage = MAX(DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Caen', season = '2010')), COUNT(Div where HomeTeam = 'Caen', season = '2010')) as percentage;
How many final-time home-team goals were there in total in all the matches of the Bundesliga division in the 2021 season?
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Bundesliga is the name of division; away victory refers to FTR = 'A', where 'A' stands for away victory;
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
England is the name of country;
Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;
tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
consecutive games mean happen one after the other without interruption and refer to Date; tied refers to FTR = 'D';
How many Eredivisie teams have played in 2008?
Eredivisie is the name of division; 2008 refers to season; teams refer to HomeTeam;
Bundesliga is the name of division; final-time home-team goals refers to FTHG;
Bundesliga is the name of division; the most final-time home-team goals refers to MAX(FTHG);
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
score more than 10 goals refers to SUM(FTHG, FTAG)>10, which are short names for Final-time Home-team Goals and Final-time Away-team Goals; the first means the earliest and refers to MIN(Date);
matches = Div
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
Bundesliga is the name of division; tie refers to FTR = 'D', where D stands for draft;
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
What percentage of matches played on 2005/07/30 belong to the F1 division?
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
2011 refers to season; a score of 1-8 refers to FTHG = '1' and FTAG = '8';
Bundesliga and the Premier League are names of division; home victories refer to FTR = 'H', where H stands for home victory; SUBTRACT(COUNT(FTR = 'H' where season = 2021, name = 'Bundesliga'), COUNT(FTR = 'H' where season = 2021, name = 'Premier League'));
Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);
home win refers to FTR = 'H', where H stands for home victory; season = '2021'; Bundesliga is a name of division; DIVIDE(COUNT(Div where FTR = 'H, season = '2021' and name = 'Bundesliga'), COUNT(Div where season = '2021' and name = 'Bundesliga')) as percentage;
Scottish Premiership is a name of division; from 2006 to 2008 means seasons between 2006 and 2008;
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
2010 refers to season = 2010; SUBTRACT(DIVIDE(COUNT(Div where FTR = 'H', season = 2010), COUNT(Div where season = 2010)), COUNT(Div where FTR = 'A', season = 2010), COUNT(Div where season = 2010)) as percentage;
Netherlands is the name of country;
Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;
Which team was the home team in the match of the Bundesliga division on 2020/10/2?
Bundesliga is the name of division; Date = '2020/10/2';
National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
Premier League is the name of division;
Netherlands is the name of country;
Division refers to Div; DIVIDE(COUNT(Div = 'F1', Date = '2005/07/30'), COUNT(Div, Date = '2005/07/30')) as percentage;
Pro Vercelli and Pescara are names of teams; HomeTeam = 'Pro Vercelli'; AwayTeam = 'Pescara'; 5-2 is a score where FTHG = '5' and FTAG = '2'; Scottish League One is a name of division; games refer to Div;
won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
5-0 is a score where FTHG = '5' and FTAG = '0'; Greece is a name of country; games refer to Div;
Italian means belong to country = 'Italy";
Premier League is name of division; season = 2021; Club Brugge is name of team; Club Brugge wins implies HomeTeam = 'Club Brugge' and FTR = 'H' and AwayTeam = 'Club Brugge' and FTR = 'A'; DIVIDE(SUM(COUNT(FTR = 'H' where HomeTeam = 'Club Brugge', name = 'Premier League', season = 2021), COUNT(FTR = 'A'where AwayTeam = 'Club Brugge', name = 'Premier League', season = 2021)), COUNT(Div where name = 'Premier League', season = 2021));
Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
List down the owner's name with a zip code 94104.
zip code 94104 refers to owner_zip = '94104';
establishments have the same meaning as businesses; contaminated or adulterated food refers to violations where description = 'Contaminated or adulterated food'; date = '2013';
unscheduled inspections refer to type = 'Routine - Unschedule'; year(date) = 2016;
DIVIDE(COUNT(business_id where risk_category = 'Low Risk', score < 95 and postal_code = 94110), COUNT(business_id where score < 95 and postal_code = 94110)) as percentage;
businesses with a high risk category refer to business_id where risk_category = 'High Risk';
establishments have the same meaning as businesses; inspection score of no more than 50 refers to score < 50;
establishment with the highest number of low risk violations refers to business_id where MAX(COUNT(risk_category = 'Low Risk')); year(date) = 2014;
El Aji Peruvian Restaurant is the name of the business; highest inspection score refers to MAX(score);
eateries represent business; highest score in inspection refers to score = 100;
establishment has the same meaning as business; score of 90 or more refers to score ≥ 90; year(date) = 2015;
eateries refer to business_id;
Which business had the lowest score for the unscheduled routine inspection on 2016/9/26? Give the name of the business.
the lowest score for unscheduled routine inspection refers to type = 'Routine - Unscheduled' where MIN(score); date = '2016-09-26';
the most number of inspections refers to MAX(COUNT(business_id)); Id number for that business refers to business_id;
owner's name of businesses refers to owner_name;
the lowest inspection score refers to MIN(score);
"Chez Fayala, Inc." is the name of the business; moderate risk violation refers to risk_category = 'Moderate Risk'; date = '2016-07-01';
restaurants in San Francisco refer to business_id where city in ('San Francisco', 'SF', 'S.F.', 'SAN FRANCISCO'); high risk violations refer to risk_category = 'High Risk';
inspections carried out in 2016 refer to YEAR(date) = 2016; routine inspections refer to type = 'Routine - Unscheduled';
establishment refers to business_id; the highest number of inspections refers to MAX(COUNT(business_id)); avg(score);
average score refers avg(score); owner with the highest number of establishments refers to owner_name where MAX(COUNT(business_id));
score greater than the 80% of average score of all businesses refers to score > MULTIPLY(0.8, avg(score) from inspections);
the most number of high risk violations refers to MAX(COUNT(business_id)) where risk_category = 'High';
What are the names of the establishments that met all the required standards for 4 consecutive years?
establishment has the same meaning as business; score of 90 or more refers to score ≥ 90; year(date) = 2015; ; met all required standards for 4 consecutive years refers to COUNT(year(date)) = 4 where score = 100;
establishment has the same meaning as business; score of 90 or more refers to score ≥ 90; year(date) = 2015;
businesses that violates 103157 refer to business_id where violation_type_id = 103157; date = '2016-05-27'; unscheduled inspection refers to type = 'Routine - Unscheduled';
"Rue Lepic" is the name of the business;
the most number of inspections because of complaint refers to type = 'Complaint' where MAX(business_id);
eateries under Jade Chocolates LLC refer to business_id where owner_name = 'Jade Chocolates LLC';
zip code 94104 refers to owner_zip = '94104';
businesses with score that ranges from 70 to 80 refer to business_id where score between 80 and 90;
owners of eateries refer to owner_name; highest health hazard by improper cooking time or temperatures refers to risk_category = 'High Risk' and description = 'Improper cooking time or temperatures';
inspected in 2016 refers to YEAR(date) = 2016; San Francisco refers to city in ('San Francisco', 'SF' ,'S.F.', 'SAN FRANCISCO');
establishments have the same meaning as businesses; inspection score of no more than 50 refers to score < 50;
Which business had the most number of high risk violations? Give the name of the business.
the most number of high risk violations refers to MAX(COUNT(business_id)) where risk_category = 'High';
eateries represent business; highest score in inspection refers to score = 100;
eateries under Jade Chocolates LLC refer to business_id where owner_name = 'Jade Chocolates LLC';
businesses with a high risk category refer to business_id where risk_category = 'High Risk';
5 owners with highest number of establishments refer to owner_name where MAX(COUNT(business_id)) LIMIT 5; the highest number of high risk violations refers to MAX(COUNT(risk_category = 'High Risk'));
the most number of inspections refers to MAX(COUNT(business_id)); Id number for that business refers to business_id;
business that violates 103156 on June 12, 2014 refers to business_id where violation_type_id = 103156 and date = '2014-06-12';
in 2014 refers to year(date) = 2014; risk_category = 'Low Risk';
score greater than the 80% of average score of all businesses refers to score > MULTIPLY(0.8, avg(score) from inspections);
inspections carried out in 2016 refer to YEAR(date) = 2016; routine inspections refer to type = 'Routine - Unscheduled';
"Rue Lepic" is the name of the business;
Among the restaurants being inspected in 2016, how many of them are in San Francisco?
inspected in 2016 refers to YEAR(date) = 2016; San Francisco refers to city in ('San Francisco', 'SF' ,'S.F.', 'SAN FRANCISCO');
average score refers avg(score); owner with the highest number of establishments refers to owner_name where MAX(COUNT(business_id));
business that violates 103156 on June 12, 2014 refers to business_id where violation_type_id = 103156 and date = '2014-06-12';
in 2014 refers to year(date) = 2014; risk_category = 'Low Risk';
owner's name of businesses refers to owner_name;
"Rue Lepic" is the name of the business;
zip code 94104 refers to owner_zip = '94104';
unscheduled inspections refer to type = 'Routine - Unschedule'; year(date) = 2016;
ART's CAFÉ is the name of the business; moderate risk category refers to risk_category = 'Moderate Risk';
the most number of high risk violations refers to MAX(COUNT(business_id)) where risk_category = 'High';
establishments with the tax code H24 refer to business_id where tax_code = 'H24'; complaint inspections of 5 or more refer to inspections where type = 'Complaint' and COUNT(business_id) ≥ 5;
Describe the inspection types and violation descriptions under moderate risk category for ART's CAFÉ.
ART's CAFÉ is the name of the business; moderate risk category refers to risk_category = 'Moderate Risk';
the most number of inspections refers to MAX(COUNT(business_id)); Id number for that business refers to business_id;
eateries refer to business_id;
in 2014 refers to year(date) = 2014; risk_category = 'Low Risk';
the lowest score for unscheduled routine inspection refers to type = 'Routine - Unscheduled' where MIN(score); date = '2016-09-26';
owners of eateries refer to owner_name; highest health hazard by improper cooking time or temperatures refers to risk_category = 'High Risk' and description = 'Improper cooking time or temperatures';
establishment has the same meaning as business; score of 90 or more refers to score ≥ 90; year(date) = 2015;
zip code 94104 refers to owner_zip = '94104';
unscheduled inspections refer to type = 'Routine - Unschedule'; year(date) = 2016;
businesses with score that ranges from 70 to 80 refer to business_id where score between 80 and 90;
1825 POST St #223 refers to address = '1825 POST St #223', San Francisco is the name of the city;
Provide the name of the business which had the most number of inspections because of complaint.
the most number of inspections because of complaint refers to type = 'Complaint' where MAX(business_id);
ART's CAFÉ is the name of the business; moderate risk category refers to risk_category = 'Moderate Risk';
1825 POST St #223 refers to address = '1825 POST St #223', San Francisco is the name of the city;
establishment has the same meaning as business; score of 90 or more refers to score ≥ 90; year(date) = 2015;
eateries represent business; highest score in inspection refers to score = 100;
establishment with the highest number of low risk violations refers to business_id where MAX(COUNT(risk_category = 'Low Risk')); year(date) = 2014;
the highest health and safety hazards refer to risk_category = 'High Risk'; year(date) = 2016; establishments has the same meaning as businesses;
establishments have the same meaning as businesses; contaminated or adulterated food refers to violations where description = 'Contaminated or adulterated food'; date = '2013';
unscheduled inspections refer to type = 'Routine - Unschedule'; year(date) = 2016;
establishments have the same meaning as businesses; inspection score of no more than 50 refers to score < 50;
eateries which had reinspection on 2nd February, 2015 refer to business_id where date = '2015-02-02' and type = 'Reinspection/Followup';
Provide eateries' IDs, names and addresses which were inspected on 30th July, 2016.
eateries' IDs inspected on 30th July, 2016 refer to business_id where business_id is not null and date = '2016-07-30';
eateries which had reinspection on 2nd February, 2015 refer to business_id where date = '2015-02-02' and type = 'Reinspection/Followup';
the highest health and safety hazards refer to risk_category = 'High Risk'; year(date) = 2016; establishments has the same meaning as businesses;
establishments have the same meaning as businesses; inspection score of no more than 50 refers to score < 50;
eateries refer to business_id;
El Aji Peruvian Restaurant is the name of the business; highest inspection score refers to MAX(score);
Tiramisu Kitchen is the name of the business; inspection on 2014/1/14 refers to date = '2014-01-14';
inspected in 2016 refers to YEAR(date) = 2016; San Francisco refers to city in ('San Francisco', 'SF' ,'S.F.', 'SAN FRANCISCO');
unscheduled inspections refer to type = 'Routine - Unschedule'; year(date) = 2016;
business that violates 103156 on June 12, 2014 refers to business_id where violation_type_id = 103156 and date = '2014-06-12';
owner refers to owner_name; high risk violation of 103109 and described as unclean or unsanitary food contact surfaces refers to risk_category = 'High Risk' where violation_type_id = 103109 and description = 'Unclean or unsanitary food contact surfaces';
Among the businesses with score that ranges from 70 to 80, list their violation type ID and risk category.
businesses with score that ranges from 70 to 80 refer to business_id where score between 80 and 90;
the most number of inspections because of complaint refers to type = 'Complaint' where MAX(business_id);
owners of eateries refer to owner_name; highest health hazard by improper cooking time or temperatures refers to risk_category = 'High Risk' and description = 'Improper cooking time or temperatures';
eateries applied in 2012 refer to business_id where application_date between '2012-01-01' and '2012-12-31';
owner refers to owner_name; high risk violation of 103109 and described as unclean or unsanitary food contact surfaces refers to risk_category = 'High Risk' where violation_type_id = 103109 and description = 'Unclean or unsanitary food contact surfaces';
in 2014 refers to year(date) = 2014; risk_category = 'Low Risk';
El Aji Peruvian Restaurant is the name of the business; highest inspection score refers to MAX(score);
Tiramisu Kitchen is the name of the business; routine inspections refer to type = 'Routine - Unscheduled'; score of over 70 refers to score > 70;
business that violates 103156 on June 12, 2014 refers to business_id where violation_type_id = 103156 and date = '2014-06-12';
ART's CAFÉ is the name of the business; moderate risk category refers to risk_category = 'Moderate Risk';
eateries' IDs refer to business_id; structural inspection type refers to inspections WHERE type = 'Structural Inspection'; in February 2016 refers to year(date) = 2016 and month(date) = 2;
What is the name of the establishment with the lowest inspection score of all time?
the lowest inspection score refers to MIN(score);
eateries' IDs refer to business_id; structural inspection type refers to inspections WHERE type = 'Structural Inspection'; in February 2016 refers to year(date) = 2016 and month(date) = 2;
Tiramisu Kitchen is the name of the business; routine inspections refer to type = 'Routine - Unscheduled'; score of over 70 refers to score > 70;
El Aji Peruvian Restaurant is the name of the business; highest inspection score refers to MAX(score);
"Chez Fayala, Inc." is the name of the business; moderate risk violation refers to risk_category = 'Moderate Risk'; date = '2016-07-01';
owner refers to owner_name; high risk violation of 103109 and described as unclean or unsanitary food contact surfaces refers to risk_category = 'High Risk' where violation_type_id = 103109 and description = 'Unclean or unsanitary food contact surfaces';
the most number of inspections refers to MAX(COUNT(business_id)); Id number for that business refers to business_id;
1825 POST St #223 refers to address = '1825 POST St #223', San Francisco is the name of the city;
eateries' IDs inspected on 30th July, 2016 refer to business_id where business_id is not null and date = '2016-07-30';
eateries with tax code AA refer to business_id where tax_code = 'AA';
establishment has the same meaning as business; score of 90 or more refers to score ≥ 90; year(date) = 2015;