text
stringlengths
146
1.06k
source
dict
### QUESTION what is the date when saros is more than 124, the type is total, the magnitude is more than 1.0535 and the time (greatest) is 20:55:28? ### CONTEXT CREATE TABLE table_name_21 (date VARCHAR, time__greatest_ VARCHAR, magnitude VARCHAR, saros VARCHAR, type VARCHAR) ### ANSWER SELECT date FROM table_name_21 WHERE saros > 124 AND type = "total" AND magnitude > 1.0535 AND time__greatest_ = "20:55:28"
{ "answer": "SELECT date FROM table_name_21 WHERE saros > 124 AND type = \"total\" AND magnitude > 1.0535 AND time__greatest_ = \"20:55:28\"", "context": "CREATE TABLE table_name_21 (date VARCHAR, time__greatest_ VARCHAR, magnitude VARCHAR, saros VARCHAR, type VARCHAR)", "question": "what is the date when saros is more than 124, the type is total, the magnitude is more than 1.0535 and the time (greatest) is 20:55:28?" }
### QUESTION How many total smartphones were shipped during the quarter 2012 Q1? ### CONTEXT CREATE TABLE table_14260687_3 (total VARCHAR, quarter VARCHAR) ### ANSWER SELECT COUNT(total) FROM table_14260687_3 WHERE quarter = "2012 Q1"
{ "answer": "SELECT COUNT(total) FROM table_14260687_3 WHERE quarter = \"2012 Q1\"", "context": "CREATE TABLE table_14260687_3 (total VARCHAR, quarter VARCHAR)", "question": "How many total smartphones were shipped during the quarter 2012 Q1?" }
### QUESTION What is the away score with a record of 7-4, win% of 0.637, and 2010 season? ### CONTEXT CREATE TABLE table_name_22 (away VARCHAR, season VARCHAR, record VARCHAR, win__percentage VARCHAR) ### ANSWER SELECT away FROM table_name_22 WHERE record = "7-4" AND win__percentage = 0.637 AND season = "2010"
{ "answer": "SELECT away FROM table_name_22 WHERE record = \"7-4\" AND win__percentage = 0.637 AND season = \"2010\"", "context": "CREATE TABLE table_name_22 (away VARCHAR, season VARCHAR, record VARCHAR, win__percentage VARCHAR)", "question": "What is the away score with a record of 7-4, win% of 0.637, and 2010 season?" }
### QUESTION what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480? ### CONTEXT CREATE TABLE table_name_14 (type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR) ### ANSWER SELECT type FROM table_name_14 WHERE rank < 70 AND province = "british columbia" AND capacity___mw__ > 2 OFFSET 480
{ "answer": "SELECT type FROM table_name_14 WHERE rank < 70 AND province = \"british columbia\" AND capacity___mw__ > 2 OFFSET 480", "context": "CREATE TABLE table_name_14 (type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR)", "question": "what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480?" }
### QUESTION Find the average ranking for each player and their first name. ### CONTEXT CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR) ### ANSWER SELECT AVG(ranking), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name
{ "answer": "SELECT AVG(ranking), T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name", "context": "CREATE TABLE players (first_name VARCHAR, player_id VARCHAR); CREATE TABLE rankings (player_id VARCHAR)", "question": "Find the average ranking for each player and their first name." }
### QUESTION What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002? ### CONTEXT CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR) ### ANSWER SELECT MIN(division) FROM table_name_91 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND year = "2002"
{ "answer": "SELECT MIN(division) FROM table_name_91 WHERE playoffs = \"did not qualify\" AND open_cup = \"did not qualify\" AND year = \"2002\"", "context": "CREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR)", "question": "What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002?" }
### QUESTION what is the current version of the name mupen64plus with gpl v2 license? ### CONTEXT CREATE TABLE table_name_97 (current_version VARCHAR, license VARCHAR, name VARCHAR) ### ANSWER SELECT current_version FROM table_name_97 WHERE license = "gpl v2" AND name = "mupen64plus"
{ "answer": "SELECT current_version FROM table_name_97 WHERE license = \"gpl v2\" AND name = \"mupen64plus\"", "context": "CREATE TABLE table_name_97 (current_version VARCHAR, license VARCHAR, name VARCHAR)", "question": "what is the current version of the name mupen64plus with gpl v2 license?" }
### QUESTION How many mens doubles took place in 1970/1971? ### CONTEXT CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR) ### ANSWER SELECT COUNT(mens_doubles) FROM table_12266757_1 WHERE season = "1970/1971"
{ "answer": "SELECT COUNT(mens_doubles) FROM table_12266757_1 WHERE season = \"1970/1971\"", "context": "CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR)", "question": "How many mens doubles took place in 1970/1971?" }
### QUESTION If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm? ### CONTEXT CREATE TABLE table_11497980_1 (torque_nm VARCHAR, gcm__kg__technical_capacity VARCHAR, engine_make_capacity VARCHAR) ### ANSWER SELECT torque_nm AS @rpm FROM table_11497980_1 WHERE gcm__kg__technical_capacity = "23000" AND engine_make_capacity = "MWM 6.10 TCA-EURO III (Turbo Intercooler)"
{ "answer": "SELECT torque_nm AS @rpm FROM table_11497980_1 WHERE gcm__kg__technical_capacity = \"23000\" AND engine_make_capacity = \"MWM 6.10 TCA-EURO III (Turbo Intercooler)\"", "context": "CREATE TABLE table_11497980_1 (torque_nm VARCHAR, gcm__kg__technical_capacity VARCHAR, engine_make_capacity VARCHAR)", "question": "If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm?" }
### QUESTION What's the report of the race won by Michael Andretti, with Nigel Mansell driving the fastest lap? ### CONTEXT CREATE TABLE table_19908651_3 (report VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) ### ANSWER SELECT report FROM table_19908651_3 WHERE winning_driver = "Michael Andretti" AND fastest_lap = "Nigel Mansell"
{ "answer": "SELECT report FROM table_19908651_3 WHERE winning_driver = \"Michael Andretti\" AND fastest_lap = \"Nigel Mansell\"", "context": "CREATE TABLE table_19908651_3 (report VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)", "question": "What's the report of the race won by Michael Andretti, with Nigel Mansell driving the fastest lap?" }
### QUESTION What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson? ### CONTEXT CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR) ### ANSWER SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown"
{ "answer": "SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = \"pierre tchernia\" AND spokesperson = \"unknown\"", "context": "CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR)", "question": "What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson?" }
### QUESTION What is the status when livery is blue? ### CONTEXT CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR) ### ANSWER SELECT status FROM table_1090916_2 WHERE livery = "Blue"
{ "answer": "SELECT status FROM table_1090916_2 WHERE livery = \"Blue\"", "context": "CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR)", "question": "What is the status when livery is blue?" }
### QUESTION Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot. ### CONTEXT CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR, Rank VARCHAR); CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR) ### ANSWER SELECT T3.Pilot_name, T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID ORDER BY T3.Rank
{ "answer": "SELECT T3.Pilot_name, T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID ORDER BY T3.Rank", "context": "CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR, Rank VARCHAR); CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR)", "question": "Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot." }
### QUESTION Name the total number of results for octubre ### CONTEXT CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR) ### ANSWER SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = "Octubre"
{ "answer": "SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = \"Octubre\"", "context": "CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR)", "question": "Name the total number of results for octubre" }
### QUESTION What's the black with 24 moves in the dortmund tournament? ### CONTEXT CREATE TABLE table_name_56 (black VARCHAR, moves VARCHAR, tournament VARCHAR) ### ANSWER SELECT black FROM table_name_56 WHERE moves = 24 AND tournament = "dortmund"
{ "answer": "SELECT black FROM table_name_56 WHERE moves = 24 AND tournament = \"dortmund\"", "context": "CREATE TABLE table_name_56 (black VARCHAR, moves VARCHAR, tournament VARCHAR)", "question": "What's the black with 24 moves in the dortmund tournament?" }
### QUESTION What are the names of perpetrators in country "China" or "Japan"? ### CONTEXT CREATE TABLE perpetrator (People_ID VARCHAR, Country VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) ### ANSWER SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country = "China" OR T2.Country = "Japan"
{ "answer": "SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country = \"China\" OR T2.Country = \"Japan\"", "context": "CREATE TABLE perpetrator (People_ID VARCHAR, Country VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)", "question": "What are the names of perpetrators in country \"China\" or \"Japan\"?" }
### QUESTION What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333? ### CONTEXT CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR) ### ANSWER SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.822 AND interview > 8.744 AND evening_gown > 9.333
{ "answer": "SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.822 AND interview > 8.744 AND evening_gown > 9.333", "context": "CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR)", "question": "What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333?" }
### QUESTION How many podiums had a race higher than 14 in 1996 and a Flap lower than 9? ### CONTEXT CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR) ### ANSWER SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9
{ "answer": "SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = \"1996\" AND flap < 9", "context": "CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)", "question": "How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?" }
### QUESTION What is the total amount of freight produced of u28c? ### CONTEXT CREATE TABLE table_name_49 (total_produced VARCHAR, service VARCHAR, builder’s_model VARCHAR) ### ANSWER SELECT total_produced FROM table_name_49 WHERE service = "freight" AND builder’s_model = "u28c"
{ "answer": "SELECT total_produced FROM table_name_49 WHERE service = \"freight\" AND builder’s_model = \"u28c\"", "context": "CREATE TABLE table_name_49 (total_produced VARCHAR, service VARCHAR, builder’s_model VARCHAR)", "question": "What is the total amount of freight produced of u28c?" }
### QUESTION find the id of tv channels that do not play any cartoon directed by Ben Jones. ### CONTEXT CREATE TABLE TV_Channel (id VARCHAR, channel VARCHAR, directed_by VARCHAR); CREATE TABLE cartoon (id VARCHAR, channel VARCHAR, directed_by VARCHAR) ### ANSWER SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'
{ "answer": "SELECT id FROM TV_Channel EXCEPT SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones'", "context": "CREATE TABLE TV_Channel (id VARCHAR, channel VARCHAR, directed_by VARCHAR); CREATE TABLE cartoon (id VARCHAR, channel VARCHAR, directed_by VARCHAR)", "question": "find the id of tv channels that do not play any cartoon directed by Ben Jones." }
### QUESTION WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS? ### CONTEXT CREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR) ### ANSWER SELECT position FROM table_name_44 WHERE team = "boston red sox" AND player = "corey jenkins"
{ "answer": "SELECT position FROM table_name_44 WHERE team = \"boston red sox\" AND player = \"corey jenkins\"", "context": "CREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR)", "question": "WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?" }
### QUESTION What was Jeff Sluman's To par when his total was smaller than 284? ### CONTEXT CREATE TABLE table_name_61 (to_par VARCHAR, total VARCHAR, player VARCHAR) ### ANSWER SELECT to_par FROM table_name_61 WHERE total < 284 AND player = "jeff sluman"
{ "answer": "SELECT to_par FROM table_name_61 WHERE total < 284 AND player = \"jeff sluman\"", "context": "CREATE TABLE table_name_61 (to_par VARCHAR, total VARCHAR, player VARCHAR)", "question": "What was Jeff Sluman's To par when his total was smaller than 284?" }
### QUESTION What is the low attendance rate against buffalo bills? ### CONTEXT CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR) ### ANSWER SELECT MIN(attendance) FROM table_name_98 WHERE opponent = "buffalo bills"
{ "answer": "SELECT MIN(attendance) FROM table_name_98 WHERE opponent = \"buffalo bills\"", "context": "CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)", "question": "What is the low attendance rate against buffalo bills?" }
### QUESTION Which year has the most degrees conferred? ### CONTEXT CREATE TABLE degrees (YEAR VARCHAR, degrees INTEGER) ### ANSWER SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY SUM(degrees) DESC LIMIT 1
{ "answer": "SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY SUM(degrees) DESC LIMIT 1", "context": "CREATE TABLE degrees (YEAR VARCHAR, degrees INTEGER)", "question": "Which year has the most degrees conferred?" }
### QUESTION Who was the away team when Melbourne was the home team? ### CONTEXT CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR) ### ANSWER SELECT away_team FROM table_name_35 WHERE home_team = "melbourne"
{ "answer": "SELECT away_team FROM table_name_35 WHERE home_team = \"melbourne\"", "context": "CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR)", "question": "Who was the away team when Melbourne was the home team?" }
### QUESTION Name the total number of roll for state authority and stanley avenue school with decile more than 5 ### CONTEXT CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND decile > 5
{ "answer": "SELECT COUNT(roll) FROM table_name_31 WHERE authority = \"state\" AND name = \"stanley avenue school\" AND decile > 5", "context": "CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR)", "question": "Name the total number of roll for state authority and stanley avenue school with decile more than 5" }
### QUESTION Find the names of accounts whose checking balance is above the average checking balance, but savings balance is below the average savings balance. ### CONTEXT CREATE TABLE checking (custid VARCHAR, balance INTEGER); CREATE TABLE savings (custid VARCHAR, balance INTEGER); CREATE TABLE savings (balance INTEGER); CREATE TABLE checking (balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) ### ANSWER SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM checking) INTERSECT SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT AVG(balance) FROM savings)
{ "answer": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM checking) INTERSECT SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT AVG(balance) FROM savings)", "context": "CREATE TABLE checking (custid VARCHAR, balance INTEGER); CREATE TABLE savings (custid VARCHAR, balance INTEGER); CREATE TABLE savings (balance INTEGER); CREATE TABLE checking (balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)", "question": "Find the names of accounts whose checking balance is above the average checking balance, but savings balance is below the average savings balance." }
### QUESTION Show the names of singers and the total sales of their songs. ### CONTEXT CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Sales INTEGER, Singer_ID VARCHAR) ### ANSWER SELECT T1.Name, SUM(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name
{ "answer": "SELECT T1.Name, SUM(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name", "context": "CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Sales INTEGER, Singer_ID VARCHAR)", "question": "Show the names of singers and the total sales of their songs." }
### QUESTION What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3? ### CONTEXT CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) ### ANSWER SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = "bürger für groß-rohrheim" AND _percentage_2006 < 21.3
{ "answer": "SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = \"bürger für groß-rohrheim\" AND _percentage_2006 < 21.3", "context": "CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)", "question": "What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3?" }
### QUESTION WHAT IS THE TEAM FOR DECEMBER 30? ### CONTEXT CREATE TABLE table_name_86 (team VARCHAR, date VARCHAR) ### ANSWER SELECT team FROM table_name_86 WHERE date = "december 30"
{ "answer": "SELECT team FROM table_name_86 WHERE date = \"december 30\"", "context": "CREATE TABLE table_name_86 (team VARCHAR, date VARCHAR)", "question": "WHAT IS THE TEAM FOR DECEMBER 30?" }
### QUESTION How many players hometown was Cincinnati, Ohio? ### CONTEXT CREATE TABLE table_11677691_4 (player VARCHAR, hometown VARCHAR) ### ANSWER SELECT COUNT(player) FROM table_11677691_4 WHERE hometown = "Cincinnati, Ohio"
{ "answer": "SELECT COUNT(player) FROM table_11677691_4 WHERE hometown = \"Cincinnati, Ohio\"", "context": "CREATE TABLE table_11677691_4 (player VARCHAR, hometown VARCHAR)", "question": "How many players hometown was Cincinnati, Ohio?" }
### QUESTION List the employees who have not showed up in any circulation history of documents. List the employee's name. ### CONTEXT CREATE TABLE Circulation_History (employee_name VARCHAR); CREATE TABLE Employees (employee_name VARCHAR) ### ANSWER SELECT employee_name FROM Employees EXCEPT SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id
{ "answer": "SELECT employee_name FROM Employees EXCEPT SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id", "context": "CREATE TABLE Circulation_History (employee_name VARCHAR); CREATE TABLE Employees (employee_name VARCHAR)", "question": "List the employees who have not showed up in any circulation history of documents. List the employee's name." }
### QUESTION How many County Kerry have 53% Irish speakers? ### CONTEXT CREATE TABLE table_101196_1 (english_name VARCHAR, irish_speakers VARCHAR, county VARCHAR) ### ANSWER SELECT COUNT(english_name) FROM table_101196_1 WHERE irish_speakers = "53%" AND county = "county Kerry"
{ "answer": "SELECT COUNT(english_name) FROM table_101196_1 WHERE irish_speakers = \"53%\" AND county = \"county Kerry\"", "context": "CREATE TABLE table_101196_1 (english_name VARCHAR, irish_speakers VARCHAR, county VARCHAR)", "question": "How many County Kerry have 53% Irish speakers?" }
### QUESTION What was the date of the match with a winning score of –7 (67-72-69-69=277)? ### CONTEXT CREATE TABLE table_name_10 (date VARCHAR, winning_score VARCHAR) ### ANSWER SELECT date FROM table_name_10 WHERE winning_score = –7(67 - 72 - 69 - 69 = 277)
{ "answer": "SELECT date FROM table_name_10 WHERE winning_score = –7(67 - 72 - 69 - 69 = 277)", "context": "CREATE TABLE table_name_10 (date VARCHAR, winning_score VARCHAR)", "question": "What was the date of the match with a winning score of –7 (67-72-69-69=277)?" }
### QUESTION Find the day in which the difference between the max temperature and min temperature was the smallest. Also report the difference. ### CONTEXT CREATE TABLE weather (date VARCHAR, max_temperature_f VARCHAR, min_temperature_f VARCHAR) ### ANSWER SELECT date, max_temperature_f - min_temperature_f FROM weather ORDER BY max_temperature_f - min_temperature_f LIMIT 1
{ "answer": "SELECT date, max_temperature_f - min_temperature_f FROM weather ORDER BY max_temperature_f - min_temperature_f LIMIT 1", "context": "CREATE TABLE weather (date VARCHAR, max_temperature_f VARCHAR, min_temperature_f VARCHAR)", "question": "Find the day in which the difference between the max temperature and min temperature was the smallest. Also report the difference." }
### QUESTION How many friends does Dan have? ### CONTEXT CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR) ### ANSWER SELECT COUNT(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Dan'
{ "answer": "SELECT COUNT(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Dan'", "context": "CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR)", "question": "How many friends does Dan have?" }
### QUESTION What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards? ### CONTEXT CREATE TABLE table_name_8 (league VARCHAR, play_offs VARCHAR, name VARCHAR) ### ANSWER SELECT COUNT(league) AS Cup FROM table_name_8 WHERE play_offs > 2 AND name = "mitch cook category:articles with hcards"
{ "answer": "SELECT COUNT(league) AS Cup FROM table_name_8 WHERE play_offs > 2 AND name = \"mitch cook category:articles with hcards\"", "context": "CREATE TABLE table_name_8 (league VARCHAR, play_offs VARCHAR, name VARCHAR)", "question": "What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?" }
### QUESTION On what date do others have 5% with an SZDSZ of 5%? ### CONTEXT CREATE TABLE table_name_14 (date VARCHAR, others VARCHAR, szdsz VARCHAR) ### ANSWER SELECT date FROM table_name_14 WHERE others = "5%" AND szdsz = "5%"
{ "answer": "SELECT date FROM table_name_14 WHERE others = \"5%\" AND szdsz = \"5%\"", "context": "CREATE TABLE table_name_14 (date VARCHAR, others VARCHAR, szdsz VARCHAR)", "question": "On what date do others have 5% with an SZDSZ of 5%?" }
### QUESTION What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue? ### CONTEXT CREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR) ### ANSWER SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu"
{ "answer": "SELECT date FROM table_name_56 WHERE competition = \"2012 afc challenge cup\" AND venue = \"dasarath rangasala stadium, kathmandu\"", "context": "CREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR)", "question": "What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue?" }
### QUESTION What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004? ### CONTEXT CREATE TABLE table_name_31 (tournament VARCHAR) ### ANSWER SELECT tournament FROM table_name_31 WHERE 2008 = "a" AND 2005 = "q1" AND 2004 = "1r"
{ "answer": "SELECT tournament FROM table_name_31 WHERE 2008 = \"a\" AND 2005 = \"q1\" AND 2004 = \"1r\"", "context": "CREATE TABLE table_name_31 (tournament VARCHAR)", "question": "What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004?" }
### QUESTION What is the casting temperature for the alloy with hardness 21? ### CONTEXT CREATE TABLE table_name_98 (casting_at__°c_ VARCHAR, hardness VARCHAR) ### ANSWER SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = "21"
{ "answer": "SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = \"21\"", "context": "CREATE TABLE table_name_98 (casting_at__°c_ VARCHAR, hardness VARCHAR)", "question": "What is the casting temperature for the alloy with hardness 21?" }
### QUESTION What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)? ### CONTEXT CREATE TABLE table_171748_3 (change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR) ### ANSWER SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = "89.6%"
{ "answer": "SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = \"89.6%\"", "context": "CREATE TABLE table_171748_3 (change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR)", "question": "What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?" }
### QUESTION what is the earliest year when the result is won and the role/episode is fox mulder? ### CONTEXT CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR) ### ANSWER SELECT MIN(year) FROM table_name_21 WHERE result = "won" AND role_episode = "fox mulder"
{ "answer": "SELECT MIN(year) FROM table_name_21 WHERE result = \"won\" AND role_episode = \"fox mulder\"", "context": "CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR)", "question": "what is the earliest year when the result is won and the role/episode is fox mulder?" }
### QUESTION who is the driver with the engine era 1.5 l6 s and the chassis is era b? ### CONTEXT CREATE TABLE table_name_17 (driver VARCHAR, engine VARCHAR, chassis VARCHAR) ### ANSWER SELECT driver FROM table_name_17 WHERE engine = "era 1.5 l6 s" AND chassis = "era b"
{ "answer": "SELECT driver FROM table_name_17 WHERE engine = \"era 1.5 l6 s\" AND chassis = \"era b\"", "context": "CREATE TABLE table_name_17 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)", "question": "who is the driver with the engine era 1.5 l6 s and the chassis is era b?" }
### QUESTION Which Geelong DFL has 8 losses and more than 4 wins? ### CONTEXT CREATE TABLE table_name_87 (geelong_dfl VARCHAR, wins VARCHAR, losses VARCHAR) ### ANSWER SELECT geelong_dfl FROM table_name_87 WHERE wins > 4 AND losses = 8
{ "answer": "SELECT geelong_dfl FROM table_name_87 WHERE wins > 4 AND losses = 8", "context": "CREATE TABLE table_name_87 (geelong_dfl VARCHAR, wins VARCHAR, losses VARCHAR)", "question": "Which Geelong DFL has 8 losses and more than 4 wins?" }
### QUESTION What campus had more than 400 total enrollment but more than 200 full time enrollment in year 1956? ### CONTEXT CREATE TABLE enrollments (campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR) ### ANSWER SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200
{ "answer": "SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200", "context": "CREATE TABLE enrollments (campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR)", "question": "What campus had more than 400 total enrollment but more than 200 full time enrollment in year 1956?" }
### QUESTION How many current account balances are associated with GDP at constant prices growth rates of 4.6? ### CONTEXT CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR) ### ANSWER SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = "4.6"
{ "answer": "SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = \"4.6\"", "context": "CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR)", "question": "How many current account balances are associated with GDP at constant prices growth rates of 4.6?" }
### QUESTION How many people were in attendance in a week over 4 on December 6, 1981? ### CONTEXT CREATE TABLE table_name_76 (attendance VARCHAR, week VARCHAR, date VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_76 WHERE week > 4 AND date = "december 6, 1981"
{ "answer": "SELECT COUNT(attendance) FROM table_name_76 WHERE week > 4 AND date = \"december 6, 1981\"", "context": "CREATE TABLE table_name_76 (attendance VARCHAR, week VARCHAR, date VARCHAR)", "question": "How many people were in attendance in a week over 4 on December 6, 1981?" }
### QUESTION Who are the finals opponents for the match with partner Ricardo Hocevar? ### CONTEXT CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, partnering VARCHAR) ### ANSWER SELECT opponents_in_the_final FROM table_name_44 WHERE partnering = "ricardo hocevar"
{ "answer": "SELECT opponents_in_the_final FROM table_name_44 WHERE partnering = \"ricardo hocevar\"", "context": "CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, partnering VARCHAR)", "question": "Who are the finals opponents for the match with partner Ricardo Hocevar?" }
### QUESTION What is the most recent year where the final score is 4–6, 3–6, 6–4, 5–7? ### CONTEXT CREATE TABLE table_22839669_1 (year INTEGER, score_in_the_final VARCHAR) ### ANSWER SELECT MAX(year) FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 6–4, 5–7"
{ "answer": "SELECT MAX(year) FROM table_22839669_1 WHERE score_in_the_final = \"4–6, 3–6, 6–4, 5–7\"", "context": "CREATE TABLE table_22839669_1 (year INTEGER, score_in_the_final VARCHAR)", "question": "What is the most recent year where the final score is 4–6, 3–6, 6–4, 5–7?" }
### QUESTION What is every code and location where the launch site condition and owner is obliterated? ### CONTEXT CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR) ### ANSWER SELECT code_ & _location FROM table_22282917_26 WHERE launch_site_condition_owner = "Obliterated"
{ "answer": "SELECT code_ & _location FROM table_22282917_26 WHERE launch_site_condition_owner = \"Obliterated\"", "context": "CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR)", "question": "What is every code and location where the launch site condition and owner is obliterated?" }
### QUESTION Find the id and city of the student address with the highest average monthly rental. ### CONTEXT CREATE TABLE Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR) ### ANSWER SELECT T2.address_id, T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
{ "answer": "SELECT T2.address_id, T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1", "context": "CREATE TABLE Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)", "question": "Find the id and city of the student address with the highest average monthly rental." }
### QUESTION What is the average year that has a final Tour position of 54 and a final Vuelta position over 55? ### CONTEXT CREATE TABLE table_name_67 (year INTEGER, final_position___tour VARCHAR, final_position___vuelta VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_67 WHERE final_position___tour = 54 AND final_position___vuelta > 55
{ "answer": "SELECT AVG(year) FROM table_name_67 WHERE final_position___tour = 54 AND final_position___vuelta > 55", "context": "CREATE TABLE table_name_67 (year INTEGER, final_position___tour VARCHAR, final_position___vuelta VARCHAR)", "question": "What is the average year that has a final Tour position of 54 and a final Vuelta position over 55?" }
### QUESTION who is the champion when the year is earlier than 2012, the runner-up (average in final) is steve beaton (97.16)? ### CONTEXT CREATE TABLE table_name_25 (champion VARCHAR, year VARCHAR, runner_up__average_in_final_ VARCHAR) ### ANSWER SELECT champion FROM table_name_25 WHERE year < 2012 AND runner_up__average_in_final_ = "steve beaton (97.16)"
{ "answer": "SELECT champion FROM table_name_25 WHERE year < 2012 AND runner_up__average_in_final_ = \"steve beaton (97.16)\"", "context": "CREATE TABLE table_name_25 (champion VARCHAR, year VARCHAR, runner_up__average_in_final_ VARCHAR)", "question": "who is the champion when the year is earlier than 2012, the runner-up (average in final) is steve beaton (97.16)?" }
### QUESTION What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4? ### CONTEXT CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR) ### ANSWER SELECT total FROM table_name_99 WHERE joint_music_award = "1" AND rthk = "4" AND usca = "4"
{ "answer": "SELECT total FROM table_name_99 WHERE joint_music_award = \"1\" AND rthk = \"4\" AND usca = \"4\"", "context": "CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR)", "question": "What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?" }
### QUESTION What is the highest championship that has 1 as the league cup, and 17 as the total? ### CONTEXT CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR) ### ANSWER SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = "17"
{ "answer": "SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = \"17\"", "context": "CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR)", "question": "What is the highest championship that has 1 as the league cup, and 17 as the total?" }
### QUESTION What episode number of the season was written by Tom Garrigus and had 2.31 million u.s. viewers? ### CONTEXT CREATE TABLE table_28019988_5 (season__number INTEGER, us_viewers__million_ VARCHAR, written_by VARCHAR) ### ANSWER SELECT MAX(season__number) FROM table_28019988_5 WHERE us_viewers__million_ = "2.31" AND written_by = "Tom Garrigus"
{ "answer": "SELECT MAX(season__number) FROM table_28019988_5 WHERE us_viewers__million_ = \"2.31\" AND written_by = \"Tom Garrigus\"", "context": "CREATE TABLE table_28019988_5 (season__number INTEGER, us_viewers__million_ VARCHAR, written_by VARCHAR)", "question": "What episode number of the season was written by Tom Garrigus and had 2.31 million u.s. viewers?" }
### QUESTION What is the ramsan-810 transfer delay? ### CONTEXT CREATE TABLE table_27615520_1 (latency__microseconds_ VARCHAR, product_name VARCHAR) ### ANSWER SELECT COUNT(latency__microseconds_) FROM table_27615520_1 WHERE product_name = "RamSan-810"
{ "answer": "SELECT COUNT(latency__microseconds_) FROM table_27615520_1 WHERE product_name = \"RamSan-810\"", "context": "CREATE TABLE table_27615520_1 (latency__microseconds_ VARCHAR, product_name VARCHAR)", "question": "What is the ramsan-810 transfer delay?" }
### QUESTION Name the total number of points for beta team march 1975 and chassis of march 751 ### CONTEXT CREATE TABLE table_name_86 (points VARCHAR, chassis VARCHAR, entrant VARCHAR, year VARCHAR) ### ANSWER SELECT COUNT(points) FROM table_name_86 WHERE entrant = "beta team march" AND year = 1975 AND chassis = "march 751"
{ "answer": "SELECT COUNT(points) FROM table_name_86 WHERE entrant = \"beta team march\" AND year = 1975 AND chassis = \"march 751\"", "context": "CREATE TABLE table_name_86 (points VARCHAR, chassis VARCHAR, entrant VARCHAR, year VARCHAR)", "question": "Name the total number of points for beta team march 1975 and chassis of march 751" }
### QUESTION Find the first names of professors who are teaching more than one class. ### CONTEXT CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR) ### ANSWER SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num GROUP BY T1.prof_num HAVING COUNT(*) > 1
{ "answer": "SELECT T2.emp_fname FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num GROUP BY T1.prof_num HAVING COUNT(*) > 1", "context": "CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR)", "question": "Find the first names of professors who are teaching more than one class." }
### QUESTION What competition did he compete in before 2007 in gothenburg, sweden? ### CONTEXT CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR) ### ANSWER SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"
{ "answer": "SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = \"gothenburg, sweden\"", "context": "CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)", "question": "What competition did he compete in before 2007 in gothenburg, sweden?" }
### QUESTION What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)? ### CONTEXT CREATE TABLE table_173103_1 (max_pressure VARCHAR, muzzle_energy VARCHAR) ### ANSWER SELECT max_pressure FROM table_173103_1 WHERE muzzle_energy = "201ft•lbf (273 J)"
{ "answer": "SELECT max_pressure FROM table_173103_1 WHERE muzzle_energy = \"201ft•lbf (273 J)\"", "context": "CREATE TABLE table_173103_1 (max_pressure VARCHAR, muzzle_energy VARCHAR)", "question": "What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)?" }
### QUESTION What is the ratio of Republicans to Democrats in South Carolina? ### CONTEXT CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR) ### ANSWER SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina"
{ "answer": "SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = \"south carolina\"", "context": "CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR)", "question": "What is the ratio of Republicans to Democrats in South Carolina?" }
### QUESTION Which college did Dean Kirkland go to ### CONTEXT CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) ### ANSWER SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland"
{ "answer": "SELECT college FROM table_15353123_1 WHERE player = \"Dean Kirkland\"", "context": "CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR)", "question": "Which college did Dean Kirkland go to" }
### QUESTION What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"? ### CONTEXT CREATE TABLE table_name_73 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR) ### ANSWER SELECT original_title FROM table_name_73 WHERE director = "ting shan-si" AND film_title_used_in_nomination = "the 800 heroes"
{ "answer": "SELECT original_title FROM table_name_73 WHERE director = \"ting shan-si\" AND film_title_used_in_nomination = \"the 800 heroes\"", "context": "CREATE TABLE table_name_73 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)", "question": "What is the Original Title, when Director is \"Ting Shan-Si\", and when Film Title Used In Nomination is \"The 800 Heroes\"?" }
### QUESTION How many teams were at the 2007 details tournament where there a top goalscorer was not awarded? ### CONTEXT CREATE TABLE table_name_66 (number_of_teams VARCHAR, top_goalscorer_s_ VARCHAR, year VARCHAR) ### ANSWER SELECT number_of_teams FROM table_name_66 WHERE top_goalscorer_s_ = "not awarded" AND year = "2007 details"
{ "answer": "SELECT number_of_teams FROM table_name_66 WHERE top_goalscorer_s_ = \"not awarded\" AND year = \"2007 details\"", "context": "CREATE TABLE table_name_66 (number_of_teams VARCHAR, top_goalscorer_s_ VARCHAR, year VARCHAR)", "question": "How many teams were at the 2007 details tournament where there a top goalscorer was not awarded?" }
### QUESTION What is the evening gown number when the average is more than 8.984 in Louisiana and the preliminary is more than 8.597? ### CONTEXT CREATE TABLE table_name_60 (evening_gown VARCHAR, preliminary VARCHAR, average VARCHAR, country VARCHAR) ### ANSWER SELECT COUNT(evening_gown) FROM table_name_60 WHERE average > 8.984 AND country = "louisiana" AND preliminary > 8.597
{ "answer": "SELECT COUNT(evening_gown) FROM table_name_60 WHERE average > 8.984 AND country = \"louisiana\" AND preliminary > 8.597", "context": "CREATE TABLE table_name_60 (evening_gown VARCHAR, preliminary VARCHAR, average VARCHAR, country VARCHAR)", "question": "What is the evening gown number when the average is more than 8.984 in Louisiana and the preliminary is more than 8.597?" }
### QUESTION What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev? ### CONTEXT CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) ### ANSWER SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev"
{ "answer": "SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = \"51/60\" AND co_contestant__yaar_vs_pyaar_ = \"tina sachdev\"", "context": "CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)", "question": "What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev?" }
### QUESTION I want the tuner for hybrid video recorder and Digital of dvb-t (zl10353), and a Model of hvr-900 ### CONTEXT CREATE TABLE table_name_32 (tuner VARCHAR, model VARCHAR, type VARCHAR, digital VARCHAR) ### ANSWER SELECT tuner FROM table_name_32 WHERE type = "hybrid video recorder" AND digital = "dvb-t (zl10353)" AND model = "hvr-900"
{ "answer": "SELECT tuner FROM table_name_32 WHERE type = \"hybrid video recorder\" AND digital = \"dvb-t (zl10353)\" AND model = \"hvr-900\"", "context": "CREATE TABLE table_name_32 (tuner VARCHAR, model VARCHAR, type VARCHAR, digital VARCHAR)", "question": "I want the tuner for hybrid video recorder and Digital of dvb-t (zl10353), and a Model of hvr-900" }
### QUESTION Which Third/Vice skip has a Second of éric sylvain? ### CONTEXT CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR) ### ANSWER SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain"
{ "answer": "SELECT third_vice_skip FROM table_name_13 WHERE second = \"éric sylvain\"", "context": "CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)", "question": "Which Third/Vice skip has a Second of éric sylvain?" }
### QUESTION Show the names of customers who use Credit Card payment method and have more than 2 orders. ### CONTEXT CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR, payment_method_code VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR) ### ANSWER SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.payment_method_code = 'Credit Card' GROUP BY T1.customer_id HAVING COUNT(*) > 2
{ "answer": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.payment_method_code = 'Credit Card' GROUP BY T1.customer_id HAVING COUNT(*) > 2", "context": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR, payment_method_code VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)", "question": "Show the names of customers who use Credit Card payment method and have more than 2 orders." }
### QUESTION If the player is Maake Kemoeatu, what is the int maximum? ### CONTEXT CREATE TABLE table_25773915_11 (int INTEGER, player VARCHAR) ### ANSWER SELECT MAX(int) FROM table_25773915_11 WHERE player = "Maake Kemoeatu"
{ "answer": "SELECT MAX(int) FROM table_25773915_11 WHERE player = \"Maake Kemoeatu\"", "context": "CREATE TABLE table_25773915_11 (int INTEGER, player VARCHAR)", "question": "If the player is Maake Kemoeatu, what is the int maximum?" }
### QUESTION Which player had 252 appearances ### CONTEXT CREATE TABLE table_24565004_7 (name VARCHAR, appearances¹ VARCHAR) ### ANSWER SELECT name FROM table_24565004_7 WHERE appearances¹ = 252
{ "answer": "SELECT name FROM table_24565004_7 WHERE appearances¹ = 252", "context": "CREATE TABLE table_24565004_7 (name VARCHAR, appearances¹ VARCHAR)", "question": "Which player had 252 appearances" }
### QUESTION What is the data limit for a T-Mobile internet basic plan? ### CONTEXT CREATE TABLE table_name_18 (data_limit__gb VARCHAR, company VARCHAR, plan_name VARCHAR) ### ANSWER SELECT data_limit__gb FROM table_name_18 WHERE company = "t-mobile" AND plan_name = "internet basic"
{ "answer": "SELECT data_limit__gb FROM table_name_18 WHERE company = \"t-mobile\" AND plan_name = \"internet basic\"", "context": "CREATE TABLE table_name_18 (data_limit__gb VARCHAR, company VARCHAR, plan_name VARCHAR)", "question": "What is the data limit for a T-Mobile internet basic plan?" }
### QUESTION which year was the original title გაღმა ნაპირი ### CONTEXT CREATE TABLE table_18069789_1 (year_ VARCHAR, e_ VARCHAR, original_title VARCHAR) ### ANSWER SELECT year_[e_] AS __ceremony_ FROM table_18069789_1 WHERE original_title = "გაღმა ნაპირი"
{ "answer": "SELECT year_[e_] AS __ceremony_ FROM table_18069789_1 WHERE original_title = \"გაღმა ნაპირი\"", "context": "CREATE TABLE table_18069789_1 (year_ VARCHAR, e_ VARCHAR, original_title VARCHAR)", "question": "which year was the original title გაღმა ნაპირი" }
### QUESTION Name the high rebounds for record 10-19 ### CONTEXT CREATE TABLE table_23274514_5 (high_rebounds VARCHAR, record VARCHAR) ### ANSWER SELECT high_rebounds FROM table_23274514_5 WHERE record = "10-19"
{ "answer": "SELECT high_rebounds FROM table_23274514_5 WHERE record = \"10-19\"", "context": "CREATE TABLE table_23274514_5 (high_rebounds VARCHAR, record VARCHAR)", "question": "Name the high rebounds for record 10-19" }
### QUESTION Which customer is associated with the latest policy? ### CONTEXT CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (start_date INTEGER); CREATE TABLE policies (customer_id VARCHAR, start_date INTEGER) ### ANSWER SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.start_date = (SELECT MAX(start_date) FROM policies)
{ "answer": "SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.start_date = (SELECT MAX(start_date) FROM policies)", "context": "CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (start_date INTEGER); CREATE TABLE policies (customer_id VARCHAR, start_date INTEGER)", "question": "Which customer is associated with the latest policy?" }
### QUESTION Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross? ### CONTEXT CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR) ### ANSWER SELECT local_authority FROM table_name_46 WHERE zone_2007 = "outside zones" AND zone_2008 = "outside zones" AND zone_2010 = "outside zones" AND station = "waltham cross"
{ "answer": "SELECT local_authority FROM table_name_46 WHERE zone_2007 = \"outside zones\" AND zone_2008 = \"outside zones\" AND zone_2010 = \"outside zones\" AND station = \"waltham cross\"", "context": "CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR)", "question": "Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross?" }
### QUESTION Show the years, book titles, and publishers for all books, in descending order by year. ### CONTEXT CREATE TABLE book_club (YEAR VARCHAR, book_title VARCHAR, publisher VARCHAR) ### ANSWER SELECT YEAR, book_title, publisher FROM book_club ORDER BY YEAR DESC
{ "answer": "SELECT YEAR, book_title, publisher FROM book_club ORDER BY YEAR DESC", "context": "CREATE TABLE book_club (YEAR VARCHAR, book_title VARCHAR, publisher VARCHAR)", "question": "Show the years, book titles, and publishers for all books, in descending order by year." }
### QUESTION What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4? ### CONTEXT CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, gdp__nominal___billions_usd_ VARCHAR) ### ANSWER SELECT population__millions, _2011_ FROM table_2155836_1 WHERE gdp__nominal___billions_usd_ = "4"
{ "answer": "SELECT population__millions, _2011_ FROM table_2155836_1 WHERE gdp__nominal___billions_usd_ = \"4\"", "context": "CREATE TABLE table_2155836_1 (population__millions VARCHAR, _2011_ VARCHAR, gdp__nominal___billions_usd_ VARCHAR)", "question": "What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4? " }
### QUESTION What date did the Green-Communists receive 5.7%? ### CONTEXT CREATE TABLE table_1881642_1 (date_released VARCHAR, green_communist VARCHAR) ### ANSWER SELECT date_released FROM table_1881642_1 WHERE green_communist = "5.7%"
{ "answer": "SELECT date_released FROM table_1881642_1 WHERE green_communist = \"5.7%\"", "context": "CREATE TABLE table_1881642_1 (date_released VARCHAR, green_communist VARCHAR)", "question": "What date did the Green-Communists receive 5.7%?" }
### QUESTION What date is the zürich, switzerland tournament? ### CONTEXT CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR) ### ANSWER SELECT date FROM table_name_36 WHERE tournament = "zürich, switzerland"
{ "answer": "SELECT date FROM table_name_36 WHERE tournament = \"zürich, switzerland\"", "context": "CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR)", "question": "What date is the zürich, switzerland tournament?" }
### QUESTION What is the points classification when the Intergiro classification is Sven Krauß, and the mountains classification is koldo gil, Trofeo Super Team is Liquigas-Bianchi, and stage is 9? ### CONTEXT CREATE TABLE table_name_19 (points_classification VARCHAR, stage VARCHAR, trofeo_super_team VARCHAR, intergiro_classification VARCHAR, mountains_classification VARCHAR) ### ANSWER SELECT points_classification FROM table_name_19 WHERE intergiro_classification = "sven krauß" AND mountains_classification = "koldo gil" AND trofeo_super_team = "liquigas-bianchi" AND stage = "9"
{ "answer": "SELECT points_classification FROM table_name_19 WHERE intergiro_classification = \"sven krauß\" AND mountains_classification = \"koldo gil\" AND trofeo_super_team = \"liquigas-bianchi\" AND stage = \"9\"", "context": "CREATE TABLE table_name_19 (points_classification VARCHAR, stage VARCHAR, trofeo_super_team VARCHAR, intergiro_classification VARCHAR, mountains_classification VARCHAR)", "question": "What is the points classification when the Intergiro classification is Sven Krauß, and the mountains classification is koldo gil, Trofeo Super Team is Liquigas-Bianchi, and stage is 9?" }
### QUESTION what is the average wins when percent is more than 0.4 and teams is chargers~? ### CONTEXT CREATE TABLE table_name_53 (wins INTEGER, percent VARCHAR, teams VARCHAR) ### ANSWER SELECT AVG(wins) FROM table_name_53 WHERE percent > 0.4 AND teams = "chargers~"
{ "answer": "SELECT AVG(wins) FROM table_name_53 WHERE percent > 0.4 AND teams = \"chargers~\"", "context": "CREATE TABLE table_name_53 (wins INTEGER, percent VARCHAR, teams VARCHAR)", "question": "what is the average wins when percent is more than 0.4 and teams is chargers~?" }
### QUESTION What is the English title for Ansikte Mot Ansikte? ### CONTEXT CREATE TABLE table_name_90 (english_title VARCHAR, original_title VARCHAR) ### ANSWER SELECT english_title FROM table_name_90 WHERE original_title = "ansikte mot ansikte"
{ "answer": "SELECT english_title FROM table_name_90 WHERE original_title = \"ansikte mot ansikte\"", "context": "CREATE TABLE table_name_90 (english_title VARCHAR, original_title VARCHAR)", "question": "What is the English title for Ansikte Mot Ansikte?" }
### QUESTION What is the date the high points was lamarcus aldridge (36)? ### CONTEXT CREATE TABLE table_27734769_8 (date VARCHAR, high_points VARCHAR) ### ANSWER SELECT date FROM table_27734769_8 WHERE high_points = "LaMarcus Aldridge (36)"
{ "answer": "SELECT date FROM table_27734769_8 WHERE high_points = \"LaMarcus Aldridge (36)\"", "context": "CREATE TABLE table_27734769_8 (date VARCHAR, high_points VARCHAR)", "question": "What is the date the high points was lamarcus aldridge (36)?" }
### QUESTION What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition? ### CONTEXT CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_93 WHERE beer_name = "maggs magnificent mild" AND prize = "gold medal" AND category = "mild and porter" AND competition = "siba south east region beer competition"
{ "answer": "SELECT AVG(year) FROM table_name_93 WHERE beer_name = \"maggs magnificent mild\" AND prize = \"gold medal\" AND category = \"mild and porter\" AND competition = \"siba south east region beer competition\"", "context": "CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR)", "question": "What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition?" }
### QUESTION What is the first and last name of the student participating in the most activities? ### CONTEXT CREATE TABLE Student (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Participates_in (StuID VARCHAR) ### ANSWER SELECT T1.fname, T1.lname FROM Student AS T1 JOIN Participates_in AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.fname, T1.lname FROM Student AS T1 JOIN Participates_in AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Student (fname VARCHAR, lname VARCHAR, StuID VARCHAR); CREATE TABLE Participates_in (StuID VARCHAR)", "question": "What is the first and last name of the student participating in the most activities?" }
### QUESTION When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)? ### CONTEXT CREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR) ### ANSWER SELECT SUM(solidat__) AS °c_ FROM table_name_46 WHERE sn_sb___percentage_ = "13/17" AND liquidat__°c_ > 283
{ "answer": "SELECT SUM(solidat__) AS °c_ FROM table_name_46 WHERE sn_sb___percentage_ = \"13/17\" AND liquidat__°c_ > 283", "context": "CREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR)", "question": "When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?" }
### QUESTION What is the number of ties when Altrincham is the home team? ### CONTEXT CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR) ### ANSWER SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham"
{ "answer": "SELECT tie_no FROM table_name_88 WHERE home_team = \"altrincham\"", "context": "CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR)", "question": "What is the number of ties when Altrincham is the home team?" }
### QUESTION What is the Proto-Austronesian word for the Proto-Polynesian word *tui? ### CONTEXT CREATE TABLE table_name_53 (proto_austronesian VARCHAR, proto_polynesian VARCHAR) ### ANSWER SELECT proto_austronesian FROM table_name_53 WHERE proto_polynesian = "*tui"
{ "answer": "SELECT proto_austronesian FROM table_name_53 WHERE proto_polynesian = \"*tui\"", "context": "CREATE TABLE table_name_53 (proto_austronesian VARCHAR, proto_polynesian VARCHAR)", "question": "What is the Proto-Austronesian word for the Proto-Polynesian word *tui?" }
### QUESTION What is the average sales of the journals that have an editor whose work type is 'Photo'? ### CONTEXT CREATE TABLE journal_committee (journal_ID VARCHAR, work_type VARCHAR); CREATE TABLE journal (sales INTEGER, journal_ID VARCHAR) ### ANSWER SELECT AVG(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID WHERE T2.work_type = 'Photo'
{ "answer": "SELECT AVG(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID WHERE T2.work_type = 'Photo'", "context": "CREATE TABLE journal_committee (journal_ID VARCHAR, work_type VARCHAR); CREATE TABLE journal (sales INTEGER, journal_ID VARCHAR)", "question": "What is the average sales of the journals that have an editor whose work type is 'Photo'?" }
### QUESTION Name the total number of start when finish is less than 4 ### CONTEXT CREATE TABLE table_name_21 (start VARCHAR, finish INTEGER) ### ANSWER SELECT COUNT(start) FROM table_name_21 WHERE finish < 4
{ "answer": "SELECT COUNT(start) FROM table_name_21 WHERE finish < 4", "context": "CREATE TABLE table_name_21 (start VARCHAR, finish INTEGER)", "question": "Name the total number of start when finish is less than 4" }
### QUESTION What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers? ### CONTEXT CREATE TABLE table_name_28 (current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR) ### ANSWER SELECT current_club FROM table_name_28 WHERE first_team_appearances = "ongoing" AND position = "midfielder" AND player = "samir carruthers"
{ "answer": "SELECT current_club FROM table_name_28 WHERE first_team_appearances = \"ongoing\" AND position = \"midfielder\" AND player = \"samir carruthers\"", "context": "CREATE TABLE table_name_28 (current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR)", "question": "What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers?" }
### QUESTION Who won the race at Magny-Cours ### CONTEXT CREATE TABLE table_15187794_1 (race_winner VARCHAR, circuit VARCHAR) ### ANSWER SELECT race_winner FROM table_15187794_1 WHERE circuit = "Magny-Cours"
{ "answer": "SELECT race_winner FROM table_15187794_1 WHERE circuit = \"Magny-Cours\"", "context": "CREATE TABLE table_15187794_1 (race_winner VARCHAR, circuit VARCHAR)", "question": "Who won the race at Magny-Cours" }
### QUESTION Which Elevator has a Title of bishop of palestrina? ### CONTEXT CREATE TABLE table_name_29 (elevator VARCHAR, title VARCHAR) ### ANSWER SELECT elevator FROM table_name_29 WHERE title = "bishop of palestrina"
{ "answer": "SELECT elevator FROM table_name_29 WHERE title = \"bishop of palestrina\"", "context": "CREATE TABLE table_name_29 (elevator VARCHAR, title VARCHAR)", "question": "Which Elevator has a Title of bishop of palestrina?" }
### QUESTION What year had Best Actor in a Musical as a category? ### CONTEXT CREATE TABLE table_name_15 (year INTEGER, category VARCHAR) ### ANSWER SELECT SUM(year) FROM table_name_15 WHERE category = "best actor in a musical"
{ "answer": "SELECT SUM(year) FROM table_name_15 WHERE category = \"best actor in a musical\"", "context": "CREATE TABLE table_name_15 (year INTEGER, category VARCHAR)", "question": "What year had Best Actor in a Musical as a category?" }
### QUESTION Which episode has segment D on custom motorcycle tanks? ### CONTEXT CREATE TABLE table_15187735_20 (episode INTEGER, segment_d VARCHAR) ### ANSWER SELECT MIN(episode) FROM table_15187735_20 WHERE segment_d = "Custom Motorcycle Tanks"
{ "answer": "SELECT MIN(episode) FROM table_15187735_20 WHERE segment_d = \"Custom Motorcycle Tanks\"", "context": "CREATE TABLE table_15187735_20 (episode INTEGER, segment_d VARCHAR)", "question": "Which episode has segment D on custom motorcycle tanks?" }
### QUESTION Name the number of location attendance for 36-29 record ### CONTEXT CREATE TABLE table_27902171_8 (location_attendance VARCHAR, record VARCHAR) ### ANSWER SELECT COUNT(location_attendance) FROM table_27902171_8 WHERE record = "36-29"
{ "answer": "SELECT COUNT(location_attendance) FROM table_27902171_8 WHERE record = \"36-29\"", "context": "CREATE TABLE table_27902171_8 (location_attendance VARCHAR, record VARCHAR)", "question": "Name the number of location attendance for 36-29 record" }
### QUESTION Find the distinct last names of all the students who have president votes and whose advisor is 8741. ### CONTEXT CREATE TABLE STUDENT (LName VARCHAR, PRESIDENT_Vote VARCHAR, Advisor VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Id VARCHAR) ### ANSWER SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = PRESIDENT_Vote INTERSECT SELECT DISTINCT LName FROM STUDENT WHERE Advisor = "8741"
{ "answer": "SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = PRESIDENT_Vote INTERSECT SELECT DISTINCT LName FROM STUDENT WHERE Advisor = \"8741\"", "context": "CREATE TABLE STUDENT (LName VARCHAR, PRESIDENT_Vote VARCHAR, Advisor VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Id VARCHAR)", "question": "Find the distinct last names of all the students who have president votes and whose advisor is 8741." }