text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?
### CONTEXT
CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)
### ANSWER
SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde" | {
"answer": "SELECT location FROM table_name_19 WHERE method = \"submission (armbar)\" AND opponent = \"mayra conde\"",
"context": "CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)",
"question": "What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?"
} |
### QUESTION
What is the location and attendance of the game with a game number greater than 7 and a record of 5-2-1?
### CONTEXT
CREATE TABLE table_name_90 (location_attendance VARCHAR, game VARCHAR, record VARCHAR)
### ANSWER
SELECT location_attendance FROM table_name_90 WHERE game > 7 AND record = "5-2-1" | {
"answer": "SELECT location_attendance FROM table_name_90 WHERE game > 7 AND record = \"5-2-1\"",
"context": "CREATE TABLE table_name_90 (location_attendance VARCHAR, game VARCHAR, record VARCHAR)",
"question": "What is the location and attendance of the game with a game number greater than 7 and a record of 5-2-1?"
} |
### QUESTION
What are the colours of the team with benedikt guðmundsson as head coach?
### CONTEXT
CREATE TABLE table_name_26 (colours VARCHAR, head_coach VARCHAR)
### ANSWER
SELECT colours FROM table_name_26 WHERE head_coach = "benedikt guðmundsson" | {
"answer": "SELECT colours FROM table_name_26 WHERE head_coach = \"benedikt guðmundsson\"",
"context": "CREATE TABLE table_name_26 (colours VARCHAR, head_coach VARCHAR)",
"question": "What are the colours of the team with benedikt guðmundsson as head coach?"
} |
### QUESTION
When gordon (27) had high points, what was the number of high assists?
### CONTEXT
CREATE TABLE table_11960610_10 (high_assists VARCHAR, high_points VARCHAR)
### ANSWER
SELECT COUNT(high_assists) FROM table_11960610_10 WHERE high_points = "Gordon (27)" | {
"answer": "SELECT COUNT(high_assists) FROM table_11960610_10 WHERE high_points = \"Gordon (27)\"",
"context": "CREATE TABLE table_11960610_10 (high_assists VARCHAR, high_points VARCHAR)",
"question": "When gordon (27) had high points, what was the number of high assists?"
} |
### QUESTION
What is the Type with a Location with justus lipsius building, brussels, and a Year of 2012, and a President with herman van rompuy (1st term), and a Date with 23 may?
### CONTEXT
CREATE TABLE table_name_59 (type VARCHAR, date VARCHAR, president VARCHAR, location VARCHAR, year VARCHAR)
### ANSWER
SELECT type FROM table_name_59 WHERE location = "justus lipsius building, brussels" AND year = 2012 AND president = "herman van rompuy (1st term)" AND date = "23 may" | {
"answer": "SELECT type FROM table_name_59 WHERE location = \"justus lipsius building, brussels\" AND year = 2012 AND president = \"herman van rompuy (1st term)\" AND date = \"23 may\"",
"context": "CREATE TABLE table_name_59 (type VARCHAR, date VARCHAR, president VARCHAR, location VARCHAR, year VARCHAR)",
"question": "What is the Type with a Location with justus lipsius building, brussels, and a Year of 2012, and a President with herman van rompuy (1st term), and a Date with 23 may?"
} |
### QUESTION
Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?
### CONTEXT
CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)
### ANSWER
SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = "Esteban Guerrieri" AND fastest_lap = "Josef Newgarden" AND rd = "8A" | {
"answer": "SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = \"Esteban Guerrieri\" AND fastest_lap = \"Josef Newgarden\" AND rd = \"8A\"",
"context": "CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)",
"question": "Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?"
} |
### QUESTION
Find the name of customer who has the highest amount of loans.
### CONTEXT
CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)
### ANSWER
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY SUM(T2.amount) DESC LIMIT 1 | {
"answer": "SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY SUM(T2.amount) DESC LIMIT 1",
"context": "CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)",
"question": "Find the name of customer who has the highest amount of loans."
} |
### QUESTION
What reference is used with the title アイシテル?
### CONTEXT
CREATE TABLE table_name_39 (reference VARCHAR, japanese_title VARCHAR)
### ANSWER
SELECT reference FROM table_name_39 WHERE japanese_title = "アイシテル" | {
"answer": "SELECT reference FROM table_name_39 WHERE japanese_title = \"アイシテル\"",
"context": "CREATE TABLE table_name_39 (reference VARCHAR, japanese_title VARCHAR)",
"question": "What reference is used with the title アイシテル?"
} |
### QUESTION
What is the new classification for La Mirada, California?
### CONTEXT
CREATE TABLE table_name_69 (new_classification VARCHAR, location VARCHAR)
### ANSWER
SELECT new_classification FROM table_name_69 WHERE location = "la mirada, california" | {
"answer": "SELECT new_classification FROM table_name_69 WHERE location = \"la mirada, california\"",
"context": "CREATE TABLE table_name_69 (new_classification VARCHAR, location VARCHAR)",
"question": "What is the new classification for La Mirada, California?"
} |
### QUESTION
What's Trina Gulliver's high checkout?
### CONTEXT
CREATE TABLE table_20351295_2 (high_checkout VARCHAR, player VARCHAR)
### ANSWER
SELECT high_checkout FROM table_20351295_2 WHERE player = "Trina Gulliver" | {
"answer": "SELECT high_checkout FROM table_20351295_2 WHERE player = \"Trina Gulliver\"",
"context": "CREATE TABLE table_20351295_2 (high_checkout VARCHAR, player VARCHAR)",
"question": "What's Trina Gulliver's high checkout?"
} |
### QUESTION
What is the local mission that has none as a local location, high commissioner as a local position, fiji as a resident county, and a mission of tonga?
### CONTEXT
CREATE TABLE table_name_41 (Local VARCHAR, mission VARCHAR, resident_country VARCHAR, local_location VARCHAR, local_position VARCHAR)
### ANSWER
SELECT Local AS mission FROM table_name_41 WHERE local_location = "none" AND local_position = "high commissioner" AND resident_country = "fiji" AND mission = "tonga" | {
"answer": "SELECT Local AS mission FROM table_name_41 WHERE local_location = \"none\" AND local_position = \"high commissioner\" AND resident_country = \"fiji\" AND mission = \"tonga\"",
"context": "CREATE TABLE table_name_41 (Local VARCHAR, mission VARCHAR, resident_country VARCHAR, local_location VARCHAR, local_position VARCHAR)",
"question": "What is the local mission that has none as a local location, high commissioner as a local position, fiji as a resident county, and a mission of tonga?"
} |
### QUESTION
When nicole dubuc duane capizzi is the writer who is the director?
### CONTEXT
CREATE TABLE table_29475589_3 (director VARCHAR, writer_s_ VARCHAR)
### ANSWER
SELECT director FROM table_29475589_3 WHERE writer_s_ = "Nicole Dubuc Duane Capizzi" | {
"answer": "SELECT director FROM table_29475589_3 WHERE writer_s_ = \"Nicole Dubuc Duane Capizzi\"",
"context": "CREATE TABLE table_29475589_3 (director VARCHAR, writer_s_ VARCHAR)",
"question": "When nicole dubuc duane capizzi is the writer who is the director?"
} |
### QUESTION
How many players were in the team Boston Red Stockings in 2000?
### CONTEXT
CREATE TABLE salary (team_id VARCHAR, year VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
### ANSWER
SELECT COUNT(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000 | {
"answer": "SELECT COUNT(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000",
"context": "CREATE TABLE salary (team_id VARCHAR, year VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)",
"question": "How many players were in the team Boston Red Stockings in 2000?"
} |
### QUESTION
What is the name and the average gpa of department whose students have the highest average gpa?
### CONTEXT
CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE student (stu_gpa INTEGER, dept_code VARCHAR)
### ANSWER
SELECT T2.dept_name, AVG(T1.stu_gpa) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY AVG(T1.stu_gpa) DESC LIMIT 1 | {
"answer": "SELECT T2.dept_name, AVG(T1.stu_gpa) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY AVG(T1.stu_gpa) DESC LIMIT 1",
"context": "CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE student (stu_gpa INTEGER, dept_code VARCHAR)",
"question": "What is the name and the average gpa of department whose students have the highest average gpa?"
} |
### QUESTION
What coach premiered February 16, 2008 later than episode 21.0?
### CONTEXT
CREATE TABLE table_2140071_8 (coach VARCHAR, premier_date VARCHAR, episode VARCHAR)
### ANSWER
SELECT coach FROM table_2140071_8 WHERE premier_date = "February 16, 2008" AND episode > 21.0 | {
"answer": "SELECT coach FROM table_2140071_8 WHERE premier_date = \"February 16, 2008\" AND episode > 21.0",
"context": "CREATE TABLE table_2140071_8 (coach VARCHAR, premier_date VARCHAR, episode VARCHAR)",
"question": "What coach premiered February 16, 2008 later than episode 21.0?"
} |
### QUESTION
Can you tell me the total number of Total votes that has the Election larger than 2009, and the Candidates fielded larger than 61?
### CONTEXT
CREATE TABLE table_name_71 (total_votes VARCHAR, election VARCHAR, candidates_fielded VARCHAR)
### ANSWER
SELECT COUNT(total_votes) FROM table_name_71 WHERE election > 2009 AND candidates_fielded > 61 | {
"answer": "SELECT COUNT(total_votes) FROM table_name_71 WHERE election > 2009 AND candidates_fielded > 61",
"context": "CREATE TABLE table_name_71 (total_votes VARCHAR, election VARCHAR, candidates_fielded VARCHAR)",
"question": "Can you tell me the total number of Total votes that has the Election larger than 2009, and the Candidates fielded larger than 61?"
} |
### QUESTION
How many rounds did João Victor Horto achieved the fastest lap?
### CONTEXT
CREATE TABLE table_25459168_2 (round VARCHAR, fastest_lap VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_25459168_2 WHERE fastest_lap = "João Victor Horto" | {
"answer": "SELECT COUNT(round) FROM table_25459168_2 WHERE fastest_lap = \"João Victor Horto\"",
"context": "CREATE TABLE table_25459168_2 (round VARCHAR, fastest_lap VARCHAR)",
"question": "How many rounds did João Victor Horto achieved the fastest lap?"
} |
### QUESTION
If the rating is 9.1, what was the total viewers?
### CONTEXT
CREATE TABLE table_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR)
### ANSWER
SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = "9.1" | {
"answer": "SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = \"9.1\"",
"context": "CREATE TABLE table_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR)",
"question": "If the rating is 9.1, what was the total viewers?"
} |
### QUESTION
Show the manager name for gas stations belonging to the ExxonMobil company.
### CONTEXT
CREATE TABLE gas_station (manager_name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, company VARCHAR)
### ANSWER
SELECT T3.manager_name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.company = 'ExxonMobil' | {
"answer": "SELECT T3.manager_name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.company = 'ExxonMobil'",
"context": "CREATE TABLE gas_station (manager_name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, company VARCHAR)",
"question": "Show the manager name for gas stations belonging to the ExxonMobil company."
} |
### QUESTION
What is the Score of an Opponent\ in the final of jordi arrese àlex corretja?
### CONTEXT
CREATE TABLE table_name_25 (score VARCHAR, opponents_in_the_final VARCHAR)
### ANSWER
SELECT score FROM table_name_25 WHERE opponents_in_the_final = "jordi arrese àlex corretja" | {
"answer": "SELECT score FROM table_name_25 WHERE opponents_in_the_final = \"jordi arrese àlex corretja\"",
"context": "CREATE TABLE table_name_25 (score VARCHAR, opponents_in_the_final VARCHAR)",
"question": "What is the Score of an Opponent\\ in the final of jordi arrese àlex corretja?"
} |
### QUESTION
What's the sum of the number of episodes that originally aired after 1991 with a series number smaller than 21 and a DVD Region 2 release date of 26 march 2012?
### CONTEXT
CREATE TABLE table_name_99 (number_of_episodes INTEGER, dvd_region_2_release_date VARCHAR, original_air_date VARCHAR, series_number VARCHAR)
### ANSWER
SELECT SUM(number_of_episodes) FROM table_name_99 WHERE original_air_date > 1991 AND series_number < 21 AND dvd_region_2_release_date = "26 march 2012" | {
"answer": "SELECT SUM(number_of_episodes) FROM table_name_99 WHERE original_air_date > 1991 AND series_number < 21 AND dvd_region_2_release_date = \"26 march 2012\"",
"context": "CREATE TABLE table_name_99 (number_of_episodes INTEGER, dvd_region_2_release_date VARCHAR, original_air_date VARCHAR, series_number VARCHAR)",
"question": "What's the sum of the number of episodes that originally aired after 1991 with a series number smaller than 21 and a DVD Region 2 release date of 26 march 2012?"
} |
### QUESTION
When Tom Watson placed t6, what was the 2 par?
### CONTEXT
CREATE TABLE table_name_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_35 WHERE place = "t6" AND player = "tom watson" | {
"answer": "SELECT to_par FROM table_name_35 WHERE place = \"t6\" AND player = \"tom watson\"",
"context": "CREATE TABLE table_name_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)",
"question": "When Tom Watson placed t6, what was the 2 par?"
} |
### QUESTION
What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?
### CONTEXT
CREATE TABLE table_24865763_2 (rnd INTEGER, gt2_winning_team VARCHAR)
### ANSWER
SELECT MAX(rnd) FROM table_24865763_2 WHERE gt2_winning_team = "Marc Lieb Richard Lietz" | {
"answer": "SELECT MAX(rnd) FROM table_24865763_2 WHERE gt2_winning_team = \"Marc Lieb Richard Lietz\"",
"context": "CREATE TABLE table_24865763_2 (rnd INTEGER, gt2_winning_team VARCHAR)",
"question": "What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?"
} |
### QUESTION
What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre?
### CONTEXT
CREATE TABLE table_23829490_1 (composition_name VARCHAR, genre VARCHAR, music_library VARCHAR, media_type VARCHAR)
### ANSWER
SELECT composition_name FROM table_23829490_1 WHERE music_library = "Heart of Asia" AND media_type = "Album" AND genre = "Trance" | {
"answer": "SELECT composition_name FROM table_23829490_1 WHERE music_library = \"Heart of Asia\" AND media_type = \"Album\" AND genre = \"Trance\"",
"context": "CREATE TABLE table_23829490_1 (composition_name VARCHAR, genre VARCHAR, music_library VARCHAR, media_type VARCHAR)",
"question": "What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre?"
} |
### QUESTION
How many wins when the points are 0 and podiums are less than 0?
### CONTEXT
CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, podiums VARCHAR)
### ANSWER
SELECT SUM(wins) FROM table_name_51 WHERE points = "0" AND podiums < 0 | {
"answer": "SELECT SUM(wins) FROM table_name_51 WHERE points = \"0\" AND podiums < 0",
"context": "CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, podiums VARCHAR)",
"question": "How many wins when the points are 0 and podiums are less than 0?"
} |
### QUESTION
Which Number of households has a County of cook, and Population smaller than 5,176?
### CONTEXT
CREATE TABLE table_name_98 (number_of_households INTEGER, county VARCHAR, population VARCHAR)
### ANSWER
SELECT AVG(number_of_households) FROM table_name_98 WHERE county = "cook" AND population < 5 OFFSET 176 | {
"answer": "SELECT AVG(number_of_households) FROM table_name_98 WHERE county = \"cook\" AND population < 5 OFFSET 176",
"context": "CREATE TABLE table_name_98 (number_of_households INTEGER, county VARCHAR, population VARCHAR)",
"question": "Which Number of households has a County of cook, and Population smaller than 5,176?"
} |
### QUESTION
What is the total rank of the company with less than 248.44 billion in assets, an industry of oil and gas, headquarters in France, and a market value greater than 152.62 billions?
### CONTEXT
CREATE TABLE table_name_92 (rank VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR, assets__billion_$_ VARCHAR, industry VARCHAR)
### ANSWER
SELECT COUNT(rank) FROM table_name_92 WHERE assets__billion_$_ < 248.44 AND industry = "oil and gas" AND headquarters = "france" AND market_value__billion_$_ > 152.62 | {
"answer": "SELECT COUNT(rank) FROM table_name_92 WHERE assets__billion_$_ < 248.44 AND industry = \"oil and gas\" AND headquarters = \"france\" AND market_value__billion_$_ > 152.62",
"context": "CREATE TABLE table_name_92 (rank VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR, assets__billion_$_ VARCHAR, industry VARCHAR)",
"question": "What is the total rank of the company with less than 248.44 billion in assets, an industry of oil and gas, headquarters in France, and a market value greater than 152.62 billions?"
} |
### QUESTION
Is the Washington Corrections Center for Women (WCCW) a major facility?
### CONTEXT
CREATE TABLE table_25346763_1 (Major VARCHAR, facility VARCHAR)
### ANSWER
SELECT Major AS facility FROM table_25346763_1 WHERE facility = "Washington Corrections Center for Women (WCCW)" | {
"answer": "SELECT Major AS facility FROM table_25346763_1 WHERE facility = \"Washington Corrections Center for Women (WCCW)\"",
"context": "CREATE TABLE table_25346763_1 (Major VARCHAR, facility VARCHAR)",
"question": "Is the Washington Corrections Center for Women (WCCW) a major facility?"
} |
### QUESTION
How many directed by entries have UK viewership over 6.16 million?
### CONTEXT
CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
### ANSWER
SELECT COUNT(directed_by) FROM table_29063233_1 WHERE uk_viewers__million_ = "6.16" | {
"answer": "SELECT COUNT(directed_by) FROM table_29063233_1 WHERE uk_viewers__million_ = \"6.16\"",
"context": "CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)",
"question": "How many directed by entries have UK viewership over 6.16 million?"
} |
### QUESTION
what is the record when marc gasol (8) had the high rebounds?
### CONTEXT
CREATE TABLE table_name_23 (record VARCHAR, high_rebounds VARCHAR)
### ANSWER
SELECT record FROM table_name_23 WHERE high_rebounds = "marc gasol (8)" | {
"answer": "SELECT record FROM table_name_23 WHERE high_rebounds = \"marc gasol (8)\"",
"context": "CREATE TABLE table_name_23 (record VARCHAR, high_rebounds VARCHAR)",
"question": "what is the record when marc gasol (8) had the high rebounds?"
} |
### QUESTION
How many years is Antonio Pompa-Baldi Italy first?
### CONTEXT
CREATE TABLE table_name_36 (year VARCHAR, first VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_36 WHERE first = "antonio pompa-baldi italy" | {
"answer": "SELECT COUNT(year) FROM table_name_36 WHERE first = \"antonio pompa-baldi italy\"",
"context": "CREATE TABLE table_name_36 (year VARCHAR, first VARCHAR)",
"question": "How many years is Antonio Pompa-Baldi Italy first?"
} |
### QUESTION
Which 2008 has a 2009 of A, and a Tournament of cincinnati masters?
### CONTEXT
CREATE TABLE table_name_39 (tournament VARCHAR)
### ANSWER
SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters" | {
"answer": "SELECT 2008 FROM table_name_39 WHERE 2009 = \"a\" AND tournament = \"cincinnati masters\"",
"context": "CREATE TABLE table_name_39 (tournament VARCHAR)",
"question": "Which 2008 has a 2009 of A, and a Tournament of cincinnati masters?"
} |
### QUESTION
How much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyretá?
### CONTEXT
CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)
### ANSWER
SELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = "argentina" AND power__mw_ > 30 AND supply_point = "yacyretá" | {
"answer": "SELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = \"argentina\" AND power__mw_ > 30 AND supply_point = \"yacyretá\"",
"context": "CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)",
"question": "How much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyretá?"
} |
### QUESTION
Which Location has an Event of king of the cage: flash point?
### CONTEXT
CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR)
### ANSWER
SELECT location FROM table_name_16 WHERE event = "king of the cage: flash point" | {
"answer": "SELECT location FROM table_name_16 WHERE event = \"king of the cage: flash point\"",
"context": "CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR)",
"question": "Which Location has an Event of king of the cage: flash point?"
} |
### QUESTION
What is Player, when Place is "T5", and when Score is "69-72=141"?
### CONTEXT
CREATE TABLE table_name_88 (player VARCHAR, place VARCHAR, score VARCHAR)
### ANSWER
SELECT player FROM table_name_88 WHERE place = "t5" AND score = 69 - 72 = 141 | {
"answer": "SELECT player FROM table_name_88 WHERE place = \"t5\" AND score = 69 - 72 = 141",
"context": "CREATE TABLE table_name_88 (player VARCHAR, place VARCHAR, score VARCHAR)",
"question": "What is Player, when Place is \"T5\", and when Score is \"69-72=141\"?"
} |
### QUESTION
What drawn has 416 as the points for and 533 as the points against?
### CONTEXT
CREATE TABLE table_name_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR)
### ANSWER
SELECT drawn FROM table_name_49 WHERE points_for = "416" AND points_against = "533" | {
"answer": "SELECT drawn FROM table_name_49 WHERE points_for = \"416\" AND points_against = \"533\"",
"context": "CREATE TABLE table_name_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR)",
"question": "What drawn has 416 as the points for and 533 as the points against?"
} |
### QUESTION
Find the ids of the students who participate in Canoeing and Kayaking.
### CONTEXT
CREATE TABLE activity (actid VARCHAR, activity_name VARCHAR); CREATE TABLE participates_in (stuid VARCHAR)
### ANSWER
SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Kayaking' | {
"answer": "SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Kayaking'",
"context": "CREATE TABLE activity (actid VARCHAR, activity_name VARCHAR); CREATE TABLE participates_in (stuid VARCHAR)",
"question": "Find the ids of the students who participate in Canoeing and Kayaking."
} |
### QUESTION
What is the total number of James Bond 007: Everything or Nothing for each system?
### CONTEXT
CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR)
### ANSWER
SELECT COUNT(system) FROM table_10875694_11 WHERE title = "James Bond 007: Everything or Nothing" | {
"answer": "SELECT COUNT(system) FROM table_10875694_11 WHERE title = \"James Bond 007: Everything or Nothing\"",
"context": "CREATE TABLE table_10875694_11 (system VARCHAR, title VARCHAR)",
"question": "What is the total number of James Bond 007: Everything or Nothing for each system?"
} |
### QUESTION
Show the names of students who have a grade higher than 5 and have at least 2 friends.
### CONTEXT
CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR, grade INTEGER)
### ANSWER
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING COUNT(*) >= 2 | {
"answer": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING COUNT(*) >= 2",
"context": "CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR, grade INTEGER)",
"question": "Show the names of students who have a grade higher than 5 and have at least 2 friends."
} |
### QUESTION
What is the total average for swimsuits smaller than 9.62 in Colorado?
### CONTEXT
CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)
### ANSWER
SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado" | {
"answer": "SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = \"colorado\"",
"context": "CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)",
"question": "What is the total average for swimsuits smaller than 9.62 in Colorado?"
} |
### QUESTION
List all areas within 1000 km in the city of Lubelskie?
### CONTEXT
CREATE TABLE table_11654169_1 (area_in_1000km²__1930_ VARCHAR, voivodeship_separate_city VARCHAR)
### ANSWER
SELECT area_in_1000km²__1930_ FROM table_11654169_1 WHERE voivodeship_separate_city = "lubelskie" | {
"answer": "SELECT area_in_1000km²__1930_ FROM table_11654169_1 WHERE voivodeship_separate_city = \"lubelskie\"",
"context": "CREATE TABLE table_11654169_1 (area_in_1000km²__1930_ VARCHAR, voivodeship_separate_city VARCHAR)",
"question": "List all areas within 1000 km in the city of Lubelskie?"
} |
### QUESTION
What is the channel when the analogue terrestrial channel shows n/a, and the internet is itv.com, with a position larger than 6, and digital terrestrial channel is 6 27 (+1)?
### CONTEXT
CREATE TABLE table_name_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR, position VARCHAR, analogue_terrestrial_channel VARCHAR, internet VARCHAR)
### ANSWER
SELECT channel FROM table_name_10 WHERE analogue_terrestrial_channel = "n/a" AND internet = "itv.com" AND position > 6 AND digital_terrestrial_channel = "6 27 (+1)" | {
"answer": "SELECT channel FROM table_name_10 WHERE analogue_terrestrial_channel = \"n/a\" AND internet = \"itv.com\" AND position > 6 AND digital_terrestrial_channel = \"6 27 (+1)\"",
"context": "CREATE TABLE table_name_10 (channel VARCHAR, digital_terrestrial_channel VARCHAR, position VARCHAR, analogue_terrestrial_channel VARCHAR, internet VARCHAR)",
"question": "What is the channel when the analogue terrestrial channel shows n/a, and the internet is itv.com, with a position larger than 6, and digital terrestrial channel is 6 27 (+1)?"
} |
### QUESTION
Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?
### CONTEXT
CREATE TABLE table_name_18 (league INTEGER, fa_cup VARCHAR, club VARCHAR)
### ANSWER
SELECT MAX(league) AS Cup FROM table_name_18 WHERE fa_cup = 5 AND club = "boston united" AND league < 16 | {
"answer": "SELECT MAX(league) AS Cup FROM table_name_18 WHERE fa_cup = 5 AND club = \"boston united\" AND league < 16",
"context": "CREATE TABLE table_name_18 (league INTEGER, fa_cup VARCHAR, club VARCHAR)",
"question": "Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?"
} |
### QUESTION
What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?
### CONTEXT
CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)
### ANSWER
SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-priest of ss. xii apostoli" | {
"answer": "SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = \"cardinal-priest of ss. xii apostoli\"",
"context": "CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)",
"question": "What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?"
} |
### QUESTION
If the race time is 2:00:33, what is the average speed?
### CONTEXT
CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)
### ANSWER
SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33" | {
"answer": "SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = \"2:00:33\"",
"context": "CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)",
"question": "If the race time is 2:00:33, what is the average speed?"
} |
### QUESTION
Which models are lighter than 3500 but not built by the 'Ford Motor Company'?
### CONTEXT
CREATE TABLE CAR_MAKERS (Id VARCHAR, FullName VARCHAR); CREATE TABLE MODEL_LIST (model VARCHAR, Model VARCHAR, Maker VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, weight VARCHAR); CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR)
### ANSWER
SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName <> 'Ford Motor Company' | {
"answer": "SELECT DISTINCT T1.model FROM MODEL_LIST AS T1 JOIN CAR_NAMES AS T2 ON T1.Model = T2.Model JOIN CARS_DATA AS T3 ON T2.MakeId = T3.Id JOIN CAR_MAKERS AS T4 ON T1.Maker = T4.Id WHERE T3.weight < 3500 AND T4.FullName <> 'Ford Motor Company'",
"context": "CREATE TABLE CAR_MAKERS (Id VARCHAR, FullName VARCHAR); CREATE TABLE MODEL_LIST (model VARCHAR, Model VARCHAR, Maker VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, weight VARCHAR); CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR)",
"question": "Which models are lighter than 3500 but not built by the 'Ford Motor Company'?"
} |
### QUESTION
What year was the rider with a final position-tour of 88 and less than 11 final position-giros?
### CONTEXT
CREATE TABLE table_name_29 (year INTEGER, final_position___tour VARCHAR, final_position___giro VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_29 WHERE final_position___tour = 88 AND final_position___giro < 11 | {
"answer": "SELECT SUM(year) FROM table_name_29 WHERE final_position___tour = 88 AND final_position___giro < 11",
"context": "CREATE TABLE table_name_29 (year INTEGER, final_position___tour VARCHAR, final_position___giro VARCHAR)",
"question": "What year was the rider with a final position-tour of 88 and less than 11 final position-giros?"
} |
### QUESTION
Find the name and nationality of the swimmer who has won (i.e., has a result of "win") more than 1 time.
### CONTEXT
CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, nationality VARCHAR, id VARCHAR)
### ANSWER
SELECT t1.name, t1.nationality FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' GROUP BY t2.swimmer_id HAVING COUNT(*) > 1 | {
"answer": "SELECT t1.name, t1.nationality FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' GROUP BY t2.swimmer_id HAVING COUNT(*) > 1",
"context": "CREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, nationality VARCHAR, id VARCHAR)",
"question": "Find the name and nationality of the swimmer who has won (i.e., has a result of \"win\") more than 1 time."
} |
### QUESTION
Which Player has a Round of 7, a Pick larger than 187, a Nationality of united states, and a Draft larger than 2000?
### CONTEXT
CREATE TABLE table_name_16 (player VARCHAR, draft VARCHAR, nationality VARCHAR, round VARCHAR, pick VARCHAR)
### ANSWER
SELECT player FROM table_name_16 WHERE round = "7" AND pick > 187 AND nationality = "united states" AND draft > 2000 | {
"answer": "SELECT player FROM table_name_16 WHERE round = \"7\" AND pick > 187 AND nationality = \"united states\" AND draft > 2000",
"context": "CREATE TABLE table_name_16 (player VARCHAR, draft VARCHAR, nationality VARCHAR, round VARCHAR, pick VARCHAR)",
"question": "Which Player has a Round of 7, a Pick larger than 187, a Nationality of united states, and a Draft larger than 2000?"
} |
### QUESTION
What was the minimal amount ($) of the 1st prize in the tournaments in New Mexico?
### CONTEXT
CREATE TABLE table_11622562_1 (location VARCHAR)
### ANSWER
SELECT MIN(*) AS $__ FROM table_11622562_1 WHERE location = "New Mexico" | {
"answer": "SELECT MIN(*) AS $__ FROM table_11622562_1 WHERE location = \"New Mexico\"",
"context": "CREATE TABLE table_11622562_1 (location VARCHAR)",
"question": "What was the minimal amount ($) of the 1st prize in the tournaments in New Mexico?"
} |
### QUESTION
Find all invoice dates corresponding to customers with first name Astrid and last name Gruber.
### CONTEXT
CREATE TABLE CUSTOMER (CustomerId VARCHAR, FirstName VARCHAR); CREATE TABLE INVOICE (InvoiceDate VARCHAR, CustomerId VARCHAR)
### ANSWER
SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = "Astrid" AND LastName = "Gruber" | {
"answer": "SELECT T2.InvoiceDate FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId WHERE T1.FirstName = \"Astrid\" AND LastName = \"Gruber\"",
"context": "CREATE TABLE CUSTOMER (CustomerId VARCHAR, FirstName VARCHAR); CREATE TABLE INVOICE (InvoiceDate VARCHAR, CustomerId VARCHAR)",
"question": "Find all invoice dates corresponding to customers with first name Astrid and last name Gruber."
} |
### QUESTION
What is the number of gold for the country ranked 19?
### CONTEXT
CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR)
### ANSWER
SELECT SUM(gold) FROM table_name_19 WHERE rank = "19" | {
"answer": "SELECT SUM(gold) FROM table_name_19 WHERE rank = \"19\"",
"context": "CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR)",
"question": "What is the number of gold for the country ranked 19?"
} |
### QUESTION
how many millions of North American people saw the episode whose director was Ed Sherin?
### CONTEXT
CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = "Ed Sherin" | {
"answer": "SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = \"Ed Sherin\"",
"context": "CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)",
"question": "how many millions of North American people saw the episode whose director was Ed Sherin? "
} |
### QUESTION
What was the GP-GS for the 2009 season?
### CONTEXT
CREATE TABLE table_name_52 (gp_gs VARCHAR, season VARCHAR)
### ANSWER
SELECT gp_gs FROM table_name_52 WHERE season = "2009" | {
"answer": "SELECT gp_gs FROM table_name_52 WHERE season = \"2009\"",
"context": "CREATE TABLE table_name_52 (gp_gs VARCHAR, season VARCHAR)",
"question": "What was the GP-GS for the 2009 season?"
} |
### QUESTION
Which country and state does staff with first name as Janessa and last name as Sawayn lived?
### CONTEXT
CREATE TABLE Addresses (country VARCHAR, state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### ANSWER
SELECT T1.country, T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn" | {
"answer": "SELECT T1.country, T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\"",
"context": "CREATE TABLE Addresses (country VARCHAR, state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"question": "Which country and state does staff with first name as Janessa and last name as Sawayn lived?"
} |
### QUESTION
What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position?
### CONTEXT
CREATE TABLE table_1132568_3 (rd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)
### ANSWER
SELECT rd FROM table_1132568_3 WHERE fastest_lap = "Michael Schumacher" AND constructor = "Ferrari" AND pole_position = "Michael Schumacher" | {
"answer": "SELECT rd FROM table_1132568_3 WHERE fastest_lap = \"Michael Schumacher\" AND constructor = \"Ferrari\" AND pole_position = \"Michael Schumacher\"",
"context": "CREATE TABLE table_1132568_3 (rd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)",
"question": "What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position?"
} |
### QUESTION
Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes?
### CONTEXT
CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR)
### ANSWER
SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND adelaide = "yes" | {
"answer": "SELECT perth FROM table_name_56 WHERE gold_coast = \"yes\" AND sydney = \"yes\" AND melbourne = \"yes\" AND adelaide = \"yes\"",
"context": "CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR)",
"question": "Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes?"
} |
### QUESTION
While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast?
### CONTEXT
CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
### ANSWER
SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell" | {
"answer": "SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = \"Nicci Claspell\"",
"context": "CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR)",
"question": "While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast?"
} |
### QUESTION
Which James Bond 007: Agent Under Fire from Electronic Arts is compatible with 60 gb pal/80 gb NTSC PS3 (CECHC/CECHE)?
### CONTEXT
CREATE TABLE table_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR)
### ANSWER
SELECT compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ FROM table_10875694_11 WHERE publisher = "Electronic Arts" AND title = "James Bond 007: Agent Under Fire" | {
"answer": "SELECT compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ FROM table_10875694_11 WHERE publisher = \"Electronic Arts\" AND title = \"James Bond 007: Agent Under Fire\"",
"context": "CREATE TABLE table_10875694_11 (compatible_with_60gb_pal_80gb_ntsc_ps3__cechc_ceche_ VARCHAR, publisher VARCHAR, title VARCHAR)",
"question": "Which James Bond 007: Agent Under Fire from Electronic Arts is compatible with 60 gb pal/80 gb NTSC PS3 (CECHC/CECHE)?"
} |
### QUESTION
what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis?
### CONTEXT
CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR)
### ANSWER
SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis" | {
"answer": "SELECT competing_entities FROM table_name_37 WHERE age_groups = \"18 or younger\" AND held_every = \"one year\" AND sport = \"table tennis\"",
"context": "CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR)",
"question": "what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis?"
} |
### QUESTION
What is every missile type with a code and location of M-20 Harbor Drive?
### CONTEXT
CREATE TABLE table_22282917_26 (missile_type VARCHAR, code_ VARCHAR, _location VARCHAR)
### ANSWER
SELECT missile_type FROM table_22282917_26 WHERE code_ & _location = "M-20 Harbor Drive" | {
"answer": "SELECT missile_type FROM table_22282917_26 WHERE code_ & _location = \"M-20 Harbor Drive\"",
"context": "CREATE TABLE table_22282917_26 (missile_type VARCHAR, code_ VARCHAR, _location VARCHAR)",
"question": "What is every missile type with a code and location of M-20 Harbor Drive?"
} |
### QUESTION
For Model e64 what is the zAAPs/zIIPs?
### CONTEXT
CREATE TABLE table_name_36 (zaaps___ziips VARCHAR, model VARCHAR)
### ANSWER
SELECT zaaps___ziips FROM table_name_36 WHERE model = "e64" | {
"answer": "SELECT zaaps___ziips FROM table_name_36 WHERE model = \"e64\"",
"context": "CREATE TABLE table_name_36 (zaaps___ziips VARCHAR, model VARCHAR)",
"question": "For Model e64 what is the zAAPs/zIIPs?"
} |
### QUESTION
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.
### CONTEXT
CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)
### ANSWER
SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC | {
"answer": "SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC",
"context": "CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)",
"question": "Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks."
} |
### QUESTION
When in November were they 11-7-3 with over 21 games?
### CONTEXT
CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR)
### ANSWER
SELECT MAX(november) FROM table_name_80 WHERE record = "11-7-3" AND game > 21 | {
"answer": "SELECT MAX(november) FROM table_name_80 WHERE record = \"11-7-3\" AND game > 21",
"context": "CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR)",
"question": "When in November were they 11-7-3 with over 21 games?"
} |
### QUESTION
What was the earliest year where USL PDL played in 3rd, Southeast season?
### CONTEXT
CREATE TABLE table_2402864_1 (year INTEGER, regular_season VARCHAR, league VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_2402864_1 WHERE regular_season = "3rd, Southeast" AND league = "USL PDL" | {
"answer": "SELECT MIN(year) FROM table_2402864_1 WHERE regular_season = \"3rd, Southeast\" AND league = \"USL PDL\"",
"context": "CREATE TABLE table_2402864_1 (year INTEGER, regular_season VARCHAR, league VARCHAR)",
"question": "What was the earliest year where USL PDL played in 3rd, Southeast season?"
} |
### QUESTION
What class had a Championship Test event with a 62.516 result?
### CONTEXT
CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR)
### ANSWER
SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" | {
"answer": "SELECT class FROM table_name_66 WHERE event = \"championship test\" AND result = \"62.516\"",
"context": "CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR)",
"question": "What class had a Championship Test event with a 62.516 result?"
} |
### QUESTION
What is the Number of Households that have a Per Capita Income of $21,345?
### CONTEXT
CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR)
### ANSWER
SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345" | {
"answer": "SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = \"$21,345\"",
"context": "CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR)",
"question": "What is the Number of Households that have a Per Capita Income of $21,345?"
} |
### QUESTION
Find the names of all physicians and their primary affiliated departments' names.
### CONTEXT
CREATE TABLE department (name VARCHAR, DepartmentID VARCHAR); CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR, PrimaryAffiliation VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
### ANSWER
SELECT T1.name, T3.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T2.PrimaryAffiliation = 1 | {
"answer": "SELECT T1.name, T3.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T2.PrimaryAffiliation = 1",
"context": "CREATE TABLE department (name VARCHAR, DepartmentID VARCHAR); CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR, PrimaryAffiliation VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)",
"question": "Find the names of all physicians and their primary affiliated departments' names."
} |
### QUESTION
what is the attendance when the location is veterans stadium, the game is more than 3 and the time is 2:21?
### CONTEXT
CREATE TABLE table_name_39 (attendance INTEGER, time VARCHAR, location VARCHAR, game VARCHAR)
### ANSWER
SELECT AVG(attendance) FROM table_name_39 WHERE location = "veterans stadium" AND game > 3 AND time = "2:21" | {
"answer": "SELECT AVG(attendance) FROM table_name_39 WHERE location = \"veterans stadium\" AND game > 3 AND time = \"2:21\"",
"context": "CREATE TABLE table_name_39 (attendance INTEGER, time VARCHAR, location VARCHAR, game VARCHAR)",
"question": "what is the attendance when the location is veterans stadium, the game is more than 3 and the time is 2:21?"
} |
### QUESTION
How many episodes are directed by Jamie Payne?
### CONTEXT
CREATE TABLE table_29574579_1 (episode VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT COUNT(episode) FROM table_29574579_1 WHERE directed_by = "Jamie Payne" | {
"answer": "SELECT COUNT(episode) FROM table_29574579_1 WHERE directed_by = \"Jamie Payne\"",
"context": "CREATE TABLE table_29574579_1 (episode VARCHAR, directed_by VARCHAR)",
"question": "How many episodes are directed by Jamie Payne?"
} |
### QUESTION
Find the average ram mib size of the chip models that are never used by any phone.
### CONTEXT
CREATE TABLE chip_model (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR); CREATE TABLE phone (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR)
### ANSWER
SELECT AVG(RAM_MiB) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone) | {
"answer": "SELECT AVG(RAM_MiB) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone)",
"context": "CREATE TABLE chip_model (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR); CREATE TABLE phone (RAM_MiB INTEGER, model_name VARCHAR, chip_model VARCHAR)",
"question": "Find the average ram mib size of the chip models that are never used by any phone."
} |
### QUESTION
What race did Meo Constantini win at the circuit of monza ?
### CONTEXT
CREATE TABLE table_name_36 (name VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
### ANSWER
SELECT name FROM table_name_36 WHERE winning_driver = "meo constantini" AND circuit = "monza" | {
"answer": "SELECT name FROM table_name_36 WHERE winning_driver = \"meo constantini\" AND circuit = \"monza\"",
"context": "CREATE TABLE table_name_36 (name VARCHAR, winning_driver VARCHAR, circuit VARCHAR)",
"question": "What race did Meo Constantini win at the circuit of monza ?"
} |
### QUESTION
What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?
### CONTEXT
### ANSWER
SELECT SUM(*) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29 | {
"answer": "SELECT SUM(*) FROM table_name_51 WHERE air_date = \"june 25, 2009\" AND order > 29",
"context": "",
"question": "What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?"
} |
### QUESTION
What genre is Star Plus from India?
### CONTEXT
CREATE TABLE table_name_50 (genre VARCHAR, origin_of_programming VARCHAR, network VARCHAR)
### ANSWER
SELECT genre FROM table_name_50 WHERE origin_of_programming = "india" AND network = "star plus" | {
"answer": "SELECT genre FROM table_name_50 WHERE origin_of_programming = \"india\" AND network = \"star plus\"",
"context": "CREATE TABLE table_name_50 (genre VARCHAR, origin_of_programming VARCHAR, network VARCHAR)",
"question": "What genre is Star Plus from India?"
} |
### QUESTION
how many times were high rebounds mehmet okur , paul millsap (6)
### CONTEXT
CREATE TABLE table_17355716_10 (score VARCHAR, high_rebounds VARCHAR)
### ANSWER
SELECT COUNT(score) FROM table_17355716_10 WHERE high_rebounds = "Mehmet Okur , Paul Millsap (6)" | {
"answer": "SELECT COUNT(score) FROM table_17355716_10 WHERE high_rebounds = \"Mehmet Okur , Paul Millsap (6)\"",
"context": "CREATE TABLE table_17355716_10 (score VARCHAR, high_rebounds VARCHAR)",
"question": "how many times were high rebounds mehmet okur , paul millsap (6)"
} |
### QUESTION
What's the total number of points when the vancouver carlings have fewer than 12 losses and more than 32 games?
### CONTEXT
CREATE TABLE table_name_1 (points VARCHAR, games VARCHAR, losses VARCHAR, team_name VARCHAR)
### ANSWER
SELECT COUNT(points) FROM table_name_1 WHERE losses < 12 AND team_name = "vancouver carlings" AND games > 32 | {
"answer": "SELECT COUNT(points) FROM table_name_1 WHERE losses < 12 AND team_name = \"vancouver carlings\" AND games > 32",
"context": "CREATE TABLE table_name_1 (points VARCHAR, games VARCHAR, losses VARCHAR, team_name VARCHAR)",
"question": "What's the total number of points when the vancouver carlings have fewer than 12 losses and more than 32 games?"
} |
### QUESTION
Tell me the total number of attendance for result of l 18-6
### CONTEXT
CREATE TABLE table_name_3 (attendance VARCHAR, result VARCHAR)
### ANSWER
SELECT COUNT(attendance) FROM table_name_3 WHERE result = "l 18-6" | {
"answer": "SELECT COUNT(attendance) FROM table_name_3 WHERE result = \"l 18-6\"",
"context": "CREATE TABLE table_name_3 (attendance VARCHAR, result VARCHAR)",
"question": "Tell me the total number of attendance for result of l 18-6"
} |
### QUESTION
What is the year for the ocean?
### CONTEXT
CREATE TABLE table_name_47 (year VARCHAR, english_title VARCHAR)
### ANSWER
SELECT year FROM table_name_47 WHERE english_title = "the ocean" | {
"answer": "SELECT year FROM table_name_47 WHERE english_title = \"the ocean\"",
"context": "CREATE TABLE table_name_47 (year VARCHAR, english_title VARCHAR)",
"question": "What is the year for the ocean?"
} |
### QUESTION
What is the Sipe Sipe Municipality minimum if the language is Quechua?
### CONTEXT
CREATE TABLE table_2509113_2 (sipe_sipe_municipality INTEGER, language VARCHAR)
### ANSWER
SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = "Quechua" | {
"answer": "SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = \"Quechua\"",
"context": "CREATE TABLE table_2509113_2 (sipe_sipe_municipality INTEGER, language VARCHAR)",
"question": "What is the Sipe Sipe Municipality minimum if the language is Quechua?"
} |
### QUESTION
What is the lowest against value with less than 2 draws, 10 points, and less than 4 lost?
### CONTEXT
CREATE TABLE table_name_17 (against INTEGER, lost VARCHAR, drawn VARCHAR, points VARCHAR)
### ANSWER
SELECT MIN(against) FROM table_name_17 WHERE drawn < 2 AND points = 10 AND lost < 4 | {
"answer": "SELECT MIN(against) FROM table_name_17 WHERE drawn < 2 AND points = 10 AND lost < 4",
"context": "CREATE TABLE table_name_17 (against INTEGER, lost VARCHAR, drawn VARCHAR, points VARCHAR)",
"question": "What is the lowest against value with less than 2 draws, 10 points, and less than 4 lost?"
} |
### QUESTION
What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player?
### CONTEXT
CREATE TABLE table_name_79 (result VARCHAR, offer_team VARCHAR, player VARCHAR)
### ANSWER
SELECT result FROM table_name_79 WHERE offer_team = "new york rangers" AND player = "adam graves" | {
"answer": "SELECT result FROM table_name_79 WHERE offer_team = \"new york rangers\" AND player = \"adam graves\"",
"context": "CREATE TABLE table_name_79 (result VARCHAR, offer_team VARCHAR, player VARCHAR)",
"question": "What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player?"
} |
### QUESTION
What is the average number of 2nd place finishes for racers active in the year 2000 and more than 0 titles?
### CONTEXT
### ANSWER
SELECT AVG(_2nd_place) FROM table_name_16 WHERE years_active = "2000" AND titles > 0 | {
"answer": "SELECT AVG(_2nd_place) FROM table_name_16 WHERE years_active = \"2000\" AND titles > 0",
"context": "",
"question": "What is the average number of 2nd place finishes for racers active in the year 2000 and more than 0 titles?"
} |
### QUESTION
What year was the startup for the Project Named of taq taq ph 2?
### CONTEXT
CREATE TABLE table_name_51 (year_startup VARCHAR, project_name VARCHAR)
### ANSWER
SELECT year_startup FROM table_name_51 WHERE project_name = "taq taq ph 2" | {
"answer": "SELECT year_startup FROM table_name_51 WHERE project_name = \"taq taq ph 2\"",
"context": "CREATE TABLE table_name_51 (year_startup VARCHAR, project_name VARCHAR)",
"question": "What year was the startup for the Project Named of taq taq ph 2?"
} |
### QUESTION
What team has 0 points and a contact tired/retired, and 71 laps?
### CONTEXT
CREATE TABLE table_name_80 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR)
### ANSWER
SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = "contact" AND laps = 71 | {
"answer": "SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = \"contact\" AND laps = 71",
"context": "CREATE TABLE table_name_80 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR)",
"question": "What team has 0 points and a contact tired/retired, and 71 laps?"
} |
### QUESTION
What year is the event in athens, greece?
### CONTEXT
CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_name_19 WHERE venue = "athens, greece" | {
"answer": "SELECT MAX(year) FROM table_name_19 WHERE venue = \"athens, greece\"",
"context": "CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)",
"question": "What year is the event in athens, greece?"
} |
### QUESTION
In which week is the winner listed as Jana Novotná Arantxa Sánchez Vicario 5–7, 7–5, 6–4?
### CONTEXT
CREATE TABLE table_name_71 (week_of VARCHAR, winner VARCHAR)
### ANSWER
SELECT week_of FROM table_name_71 WHERE winner = "jana novotná arantxa sánchez vicario 5–7, 7–5, 6–4" | {
"answer": "SELECT week_of FROM table_name_71 WHERE winner = \"jana novotná arantxa sánchez vicario 5–7, 7–5, 6–4\"",
"context": "CREATE TABLE table_name_71 (week_of VARCHAR, winner VARCHAR)",
"question": "In which week is the winner listed as Jana Novotná Arantxa Sánchez Vicario 5–7, 7–5, 6–4?"
} |
### QUESTION
Which player is the NHL right, who was born in Downers Grove, Illinois?
### CONTEXT
CREATE TABLE table_name_7 (nhl_rights VARCHAR, _if_any VARCHAR, birthplace VARCHAR)
### ANSWER
SELECT nhl_rights, _if_any FROM table_name_7 WHERE birthplace = "downers grove, illinois" | {
"answer": "SELECT nhl_rights, _if_any FROM table_name_7 WHERE birthplace = \"downers grove, illinois\"",
"context": "CREATE TABLE table_name_7 (nhl_rights VARCHAR, _if_any VARCHAR, birthplace VARCHAR)",
"question": "Which player is the NHL right, who was born in Downers Grove, Illinois?"
} |
### QUESTION
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
### CONTEXT
CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)
### ANSWER
SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera" | {
"answer": "SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = \"geiner mosquera\"",
"context": "CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)",
"question": "Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?"
} |
### QUESTION
what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb
### CONTEXT
CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR)
### ANSWER
SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" | {
"answer": "SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = \"22 city, 30 hwy, 25 comb\"",
"context": "CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR)",
"question": "what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb"
} |
### QUESTION
What country had a paste publication in 2009?
### CONTEXT
CREATE TABLE table_name_9 (country VARCHAR, year VARCHAR, publication VARCHAR)
### ANSWER
SELECT country FROM table_name_9 WHERE year = 2009 AND publication = "paste" | {
"answer": "SELECT country FROM table_name_9 WHERE year = 2009 AND publication = \"paste\"",
"context": "CREATE TABLE table_name_9 (country VARCHAR, year VARCHAR, publication VARCHAR)",
"question": "What country had a paste publication in 2009?"
} |
### QUESTION
What is the average money for a to par of 15, and is from the United States?
### CONTEXT
CREATE TABLE table_name_55 (money___ INTEGER, to_par VARCHAR, country VARCHAR)
### ANSWER
SELECT AVG(money___) AS $__ FROM table_name_55 WHERE to_par = 15 AND country = "united states" | {
"answer": "SELECT AVG(money___) AS $__ FROM table_name_55 WHERE to_par = 15 AND country = \"united states\"",
"context": "CREATE TABLE table_name_55 (money___ INTEGER, to_par VARCHAR, country VARCHAR)",
"question": "What is the average money for a to par of 15, and is from the United States?"
} |
### QUESTION
What is the placement date of the order whose invoice number is 10?
### CONTEXT
CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR)
### ANSWER
SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10 | {
"answer": "SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10",
"context": "CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR)",
"question": "What is the placement date of the order whose invoice number is 10?"
} |
### QUESTION
Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
### CONTEXT
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)
### ANSWER
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)" | {
"answer": "SELECT engine FROM table_name_8 WHERE year > 2006 AND power = \"bhp (kw)\"",
"context": "CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)",
"question": "Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?"
} |
### QUESTION
What is the result for director Said Elmarouk before 2008?
### CONTEXT
CREATE TABLE table_name_2 (result VARCHAR, director VARCHAR, year VARCHAR)
### ANSWER
SELECT result FROM table_name_2 WHERE director = "said elmarouk" AND year < 2008 | {
"answer": "SELECT result FROM table_name_2 WHERE director = \"said elmarouk\" AND year < 2008",
"context": "CREATE TABLE table_name_2 (result VARCHAR, director VARCHAR, year VARCHAR)",
"question": "What is the result for director Said Elmarouk before 2008?"
} |
### QUESTION
What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?
### CONTEXT
CREATE TABLE weather (date VARCHAR, mean_temperature_f VARCHAR, mean_humidity VARCHAR, max_gust_speed_mph VARCHAR)
### ANSWER
SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3 | {
"answer": "SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3",
"context": "CREATE TABLE weather (date VARCHAR, mean_temperature_f VARCHAR, mean_humidity VARCHAR, max_gust_speed_mph VARCHAR)",
"question": "What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?"
} |
### QUESTION
what is the date when the venue is gold coast convention centre?
### CONTEXT
CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR)
### ANSWER
SELECT date FROM table_name_70 WHERE venue = "gold coast convention centre" | {
"answer": "SELECT date FROM table_name_70 WHERE venue = \"gold coast convention centre\"",
"context": "CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR)",
"question": "what is the date when the venue is gold coast convention centre?"
} |
### QUESTION
What is Left Office, when Took Office is "11 June 2001", and when Minister is "Mirko Tremaglia"?
### CONTEXT
CREATE TABLE table_name_47 (left_office VARCHAR, took_office VARCHAR, minister VARCHAR)
### ANSWER
SELECT left_office FROM table_name_47 WHERE took_office = "11 june 2001" AND minister = "mirko tremaglia" | {
"answer": "SELECT left_office FROM table_name_47 WHERE took_office = \"11 june 2001\" AND minister = \"mirko tremaglia\"",
"context": "CREATE TABLE table_name_47 (left_office VARCHAR, took_office VARCHAR, minister VARCHAR)",
"question": "What is Left Office, when Took Office is \"11 June 2001\", and when Minister is \"Mirko Tremaglia\"?"
} |
### QUESTION
What is the lowest number of participants in 2012 when there were 72 in 2010 and less than 56 in 2013?
### CONTEXT
CREATE TABLE table_name_17 (Id VARCHAR)
### ANSWER
SELECT MIN(2012) FROM table_name_17 WHERE 2010 = 72 AND 2013 < 56 | {
"answer": "SELECT MIN(2012) FROM table_name_17 WHERE 2010 = 72 AND 2013 < 56",
"context": "CREATE TABLE table_name_17 (Id VARCHAR)",
"question": "What is the lowest number of participants in 2012 when there were 72 in 2010 and less than 56 in 2013?"
} |
### QUESTION
What is the average Season when the venue was circuit de nevers magny-cours, and Drivers was more than 30?
### CONTEXT
CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR)
### ANSWER
SELECT AVG(season) FROM table_name_64 WHERE venue = "circuit de nevers magny-cours" AND drivers > 30 | {
"answer": "SELECT AVG(season) FROM table_name_64 WHERE venue = \"circuit de nevers magny-cours\" AND drivers > 30",
"context": "CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR)",
"question": "What is the average Season when the venue was circuit de nevers magny-cours, and Drivers was more than 30?"
} |
### QUESTION
When was the earliest first game with 11 played and 12 games lost?
### CONTEXT
CREATE TABLE table_name_60 (first_game INTEGER, played VARCHAR, lost VARCHAR)
### ANSWER
SELECT MIN(first_game) FROM table_name_60 WHERE played > 11 AND lost = 12 | {
"answer": "SELECT MIN(first_game) FROM table_name_60 WHERE played > 11 AND lost = 12",
"context": "CREATE TABLE table_name_60 (first_game INTEGER, played VARCHAR, lost VARCHAR)",
"question": "When was the earliest first game with 11 played and 12 games lost?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.