text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Which opponent was present on April 14?
### CONTEXT
CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT opponent FROM table_name_17 WHERE date = "april 14" | {
"answer": "SELECT opponent FROM table_name_17 WHERE date = \"april 14\"",
"context": "CREATE TABLE table_name_17 (opponent VARCHAR, date VARCHAR)",
"question": "Which opponent was present on April 14?"
} |
### QUESTION
Show the average share count of transactions for different investors.
### CONTEXT
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER)
### ANSWER
SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id | {
"answer": "SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id",
"context": "CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER)",
"question": "Show the average share count of transactions for different investors."
} |
### QUESTION
What name was proposed on 12/30/1982 in rockingham county with a CERCLIS ID of nhd062004569?
### CONTEXT
CREATE TABLE table_name_87 (name VARCHAR, cerclis_id VARCHAR, proposed VARCHAR, county VARCHAR)
### ANSWER
SELECT name FROM table_name_87 WHERE proposed = "12/30/1982" AND county = "rockingham" AND cerclis_id = "nhd062004569" | {
"answer": "SELECT name FROM table_name_87 WHERE proposed = \"12/30/1982\" AND county = \"rockingham\" AND cerclis_id = \"nhd062004569\"",
"context": "CREATE TABLE table_name_87 (name VARCHAR, cerclis_id VARCHAR, proposed VARCHAR, county VARCHAR)",
"question": "What name was proposed on 12/30/1982 in rockingham county with a CERCLIS ID of nhd062004569?"
} |
### QUESTION
What is the Pinyin transcription for "Alas for the Days Gone By"?
### CONTEXT
CREATE TABLE table_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR)
### ANSWER
SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = "Alas for the Days Gone By" | {
"answer": "SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = \"Alas for the Days Gone By\"",
"context": "CREATE TABLE table_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR)",
"question": "What is the Pinyin transcription for \"Alas for the Days Gone By\"?"
} |
### QUESTION
Who was the winner after 2011?
### CONTEXT
CREATE TABLE table_name_81 (winner VARCHAR, year INTEGER)
### ANSWER
SELECT winner FROM table_name_81 WHERE year > 2011 | {
"answer": "SELECT winner FROM table_name_81 WHERE year > 2011",
"context": "CREATE TABLE table_name_81 (winner VARCHAR, year INTEGER)",
"question": "Who was the winner after 2011?"
} |
### QUESTION
How many teams placed 4th in the regular season?
### CONTEXT
CREATE TABLE table_12002388_1 (division VARCHAR, reg_season VARCHAR)
### ANSWER
SELECT COUNT(division) FROM table_12002388_1 WHERE reg_season = "4th" | {
"answer": "SELECT COUNT(division) FROM table_12002388_1 WHERE reg_season = \"4th\"",
"context": "CREATE TABLE table_12002388_1 (division VARCHAR, reg_season VARCHAR)",
"question": "How many teams placed 4th in the regular season?"
} |
### QUESTION
What was the result in 2000?
### CONTEXT
CREATE TABLE table_name_23 (results VARCHAR, year VARCHAR)
### ANSWER
SELECT results FROM table_name_23 WHERE year = 2000 | {
"answer": "SELECT results FROM table_name_23 WHERE year = 2000",
"context": "CREATE TABLE table_name_23 (results VARCHAR, year VARCHAR)",
"question": "What was the result in 2000?"
} |
### QUESTION
Show the names of people, and dates and venues of debates they are on the affirmative side.
### CONTEXT
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Date VARCHAR, Venue VARCHAR, Debate_ID VARCHAR); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR)
### ANSWER
SELECT T3.Name, T2.Date, T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID | {
"answer": "SELECT T3.Name, T2.Date, T2.Venue FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID",
"context": "CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE debate (Date VARCHAR, Venue VARCHAR, Debate_ID VARCHAR); CREATE TABLE debate_people (Debate_ID VARCHAR, Affirmative VARCHAR)",
"question": "Show the names of people, and dates and venues of debates they are on the affirmative side."
} |
### QUESTION
What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?
### CONTEXT
CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR)
### ANSWER
SELECT AVG(fips_code) FROM table_name_70 WHERE area = "114.76 sq mi (297.23 sq km)" AND population__2010_ < 166 OFFSET 327 | {
"answer": "SELECT AVG(fips_code) FROM table_name_70 WHERE area = \"114.76 sq mi (297.23 sq km)\" AND population__2010_ < 166 OFFSET 327",
"context": "CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR)",
"question": "What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?"
} |
### QUESTION
Who scored 74-70-67=211 and placed t5?
### CONTEXT
CREATE TABLE table_name_6 (player VARCHAR, place VARCHAR, score VARCHAR)
### ANSWER
SELECT player FROM table_name_6 WHERE place = "t5" AND score = 74 - 70 - 67 = 211 | {
"answer": "SELECT player FROM table_name_6 WHERE place = \"t5\" AND score = 74 - 70 - 67 = 211",
"context": "CREATE TABLE table_name_6 (player VARCHAR, place VARCHAR, score VARCHAR)",
"question": "Who scored 74-70-67=211 and placed t5?"
} |
### QUESTION
how many high assists with record being 15-11
### CONTEXT
CREATE TABLE table_13762472_4 (high_assists VARCHAR, record VARCHAR)
### ANSWER
SELECT COUNT(high_assists) FROM table_13762472_4 WHERE record = "15-11" | {
"answer": "SELECT COUNT(high_assists) FROM table_13762472_4 WHERE record = \"15-11\"",
"context": "CREATE TABLE table_13762472_4 (high_assists VARCHAR, record VARCHAR)",
"question": " how many high assists with record being 15-11"
} |
### QUESTION
What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5?
### CONTEXT
CREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR)
### ANSWER
SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND natural_growth < 2.5 | {
"answer": "SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = \"na\" AND natural_growth < 2.5",
"context": "CREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR)",
"question": "What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5?"
} |
### QUESTION
What is Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?
### CONTEXT
CREATE TABLE table_name_43 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)
### ANSWER
SELECT package_option FROM table_name_43 WHERE hdtv = "no" AND language = "italian" AND television_service = "cartello promozionale sky hd" | {
"answer": "SELECT package_option FROM table_name_43 WHERE hdtv = \"no\" AND language = \"italian\" AND television_service = \"cartello promozionale sky hd\"",
"context": "CREATE TABLE table_name_43 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)",
"question": "What is Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?"
} |
### QUESTION
What is the average population when deaths are 3 557 and crude death date is less than 11.9?
### CONTEXT
CREATE TABLE table_name_40 (average_population__x_1000_ INTEGER, deaths VARCHAR, crude_death_rate__per_1000_ VARCHAR)
### ANSWER
SELECT AVG(average_population__x_1000_) FROM table_name_40 WHERE deaths = "3 557" AND crude_death_rate__per_1000_ < 11.9 | {
"answer": "SELECT AVG(average_population__x_1000_) FROM table_name_40 WHERE deaths = \"3 557\" AND crude_death_rate__per_1000_ < 11.9",
"context": "CREATE TABLE table_name_40 (average_population__x_1000_ INTEGER, deaths VARCHAR, crude_death_rate__per_1000_ VARCHAR)",
"question": "What is the average population when deaths are 3 557 and crude death date is less than 11.9?"
} |
### QUESTION
Name the attribute for mutation and domcharacterdatamodified
### CONTEXT
CREATE TABLE table_name_81 (attribute VARCHAR, category VARCHAR, type VARCHAR)
### ANSWER
SELECT attribute FROM table_name_81 WHERE category = "mutation" AND type = "domcharacterdatamodified" | {
"answer": "SELECT attribute FROM table_name_81 WHERE category = \"mutation\" AND type = \"domcharacterdatamodified\"",
"context": "CREATE TABLE table_name_81 (attribute VARCHAR, category VARCHAR, type VARCHAR)",
"question": "Name the attribute for mutation and domcharacterdatamodified"
} |
### QUESTION
What's the name of the competition where the nationality is Brazil and the voting percentage is n/a?
### CONTEXT
CREATE TABLE table_24765815_2 (competition VARCHAR, vote_percentage VARCHAR, nationality VARCHAR)
### ANSWER
SELECT competition FROM table_24765815_2 WHERE vote_percentage = "N/A" AND nationality = "Brazil" | {
"answer": "SELECT competition FROM table_24765815_2 WHERE vote_percentage = \"N/A\" AND nationality = \"Brazil\"",
"context": "CREATE TABLE table_24765815_2 (competition VARCHAR, vote_percentage VARCHAR, nationality VARCHAR)",
"question": "What's the name of the competition where the nationality is Brazil and the voting percentage is n/a?"
} |
### QUESTION
If the establishment is 49319, what is the sales, receipts or shipments maximum amount?
### CONTEXT
CREATE TABLE table_23802822_1 (_receipts VARCHAR, _or_shipments__$1 VARCHAR, sales INTEGER, establishments VARCHAR)
### ANSWER
SELECT MAX(sales), _receipts, _or_shipments__$1, 000 AS _ FROM table_23802822_1 WHERE establishments = 49319 | {
"answer": "SELECT MAX(sales), _receipts, _or_shipments__$1, 000 AS _ FROM table_23802822_1 WHERE establishments = 49319",
"context": "CREATE TABLE table_23802822_1 (_receipts VARCHAR, _or_shipments__$1 VARCHAR, sales INTEGER, establishments VARCHAR)",
"question": "If the establishment is 49319, what is the sales, receipts or shipments maximum amount?"
} |
### QUESTION
Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1?
### CONTEXT
CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
### ANSWER
SELECT nation FROM table_name_10 WHERE gold = 0 AND rank > 14 AND total = 1 AND silver < 1 | {
"answer": "SELECT nation FROM table_name_10 WHERE gold = 0 AND rank > 14 AND total = 1 AND silver < 1",
"context": "CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)",
"question": "Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1?"
} |
### QUESTION
Find the last name of the individuals that have been contact individuals of an organization.
### CONTEXT
CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR)
### ANSWER
SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id | {
"answer": "SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id",
"context": "CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organization_contact_individuals (individual_id VARCHAR)",
"question": "Find the last name of the individuals that have been contact individuals of an organization."
} |
### QUESTION
What is the name and id of the department with the most number of degrees ?
### CONTEXT
CREATE TABLE degree_programs (department_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR)
### ANSWER
SELECT t2.department_name, t1.department_id FROM degree_programs AS t1 JOIN departments AS t2 ON t1.department_id = t2.department_id GROUP BY t1.department_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t2.department_name, t1.department_id FROM degree_programs AS t1 JOIN departments AS t2 ON t1.department_id = t2.department_id GROUP BY t1.department_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE degree_programs (department_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR)",
"question": "What is the name and id of the department with the most number of degrees ?"
} |
### QUESTION
What is the median household income for Woodside?
### CONTEXT
CREATE TABLE table_1447085_1 (median_house__hold_income VARCHAR, place VARCHAR)
### ANSWER
SELECT median_house__hold_income FROM table_1447085_1 WHERE place = "Woodside" | {
"answer": "SELECT median_house__hold_income FROM table_1447085_1 WHERE place = \"Woodside\"",
"context": "CREATE TABLE table_1447085_1 (median_house__hold_income VARCHAR, place VARCHAR)",
"question": "What is the median household income for Woodside?"
} |
### QUESTION
What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77?
### CONTEXT
CREATE TABLE table_name_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR)
### ANSWER
SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 77 | {
"answer": "SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 77",
"context": "CREATE TABLE table_name_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR)",
"question": "What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77?"
} |
### QUESTION
What is the acquis chapter open/closed dates with a membership application in 2009-04-28?
### CONTEXT
CREATE TABLE table_name_44 (acquis_chapters_open_closed VARCHAR, membership_application VARCHAR)
### ANSWER
SELECT acquis_chapters_open_closed FROM table_name_44 WHERE membership_application = "2009-04-28" | {
"answer": "SELECT acquis_chapters_open_closed FROM table_name_44 WHERE membership_application = \"2009-04-28\"",
"context": "CREATE TABLE table_name_44 (acquis_chapters_open_closed VARCHAR, membership_application VARCHAR)",
"question": "What is the acquis chapter open/closed dates with a membership application in 2009-04-28?"
} |
### QUESTION
How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?
### CONTEXT
CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR)
### ANSWER
SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = "Polidori ( ITA ) W 6-1, 3-6, 6-3" | {
"answer": "SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = \"Polidori ( ITA ) W 6-1, 3-6, 6-3\"",
"context": "CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR)",
"question": "How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?"
} |
### QUESTION
How many wins for bruce fleisher with over 31 events?
### CONTEXT
CREATE TABLE table_name_16 (wins INTEGER, player VARCHAR, events VARCHAR)
### ANSWER
SELECT AVG(wins) FROM table_name_16 WHERE player = "bruce fleisher" AND events > 31 | {
"answer": "SELECT AVG(wins) FROM table_name_16 WHERE player = \"bruce fleisher\" AND events > 31",
"context": "CREATE TABLE table_name_16 (wins INTEGER, player VARCHAR, events VARCHAR)",
"question": "How many wins for bruce fleisher with over 31 events?"
} |
### QUESTION
On what date did the person leave office who died on October 23, 1887 and who served 2 years?
### CONTEXT
CREATE TABLE table_name_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR)
### ANSWER
SELECT left_office FROM table_name_58 WHERE years_in_office = "2" AND death = "october 23, 1887" | {
"answer": "SELECT left_office FROM table_name_58 WHERE years_in_office = \"2\" AND death = \"october 23, 1887\"",
"context": "CREATE TABLE table_name_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR)",
"question": "On what date did the person leave office who died on October 23, 1887 and who served 2 years?"
} |
### QUESTION
What is the title of the episode with the original air date of 28 September 1969?
### CONTEXT
CREATE TABLE table_1439096_1 (title VARCHAR, original_air_date__atv_ VARCHAR)
### ANSWER
SELECT title FROM table_1439096_1 WHERE original_air_date__atv_ = "28 September 1969" | {
"answer": "SELECT title FROM table_1439096_1 WHERE original_air_date__atv_ = \"28 September 1969\"",
"context": "CREATE TABLE table_1439096_1 (title VARCHAR, original_air_date__atv_ VARCHAR)",
"question": "What is the title of the episode with the original air date of 28 September 1969?"
} |
### QUESTION
How many votes did Jeannemarie Devolites Davis get in 1995-Special?
### CONTEXT
CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR)
### ANSWER
SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special" | {
"answer": "SELECT votes FROM table_name_90 WHERE opponent = \"jeannemarie devolites davis\" AND year = \"1995-special\"",
"context": "CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR)",
"question": "How many votes did Jeannemarie Devolites Davis get in 1995-Special?"
} |
### QUESTION
What is the most laps for Ayrton Senna?
### CONTEXT
CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR)
### ANSWER
SELECT MAX(laps) FROM table_name_6 WHERE driver = "ayrton senna" | {
"answer": "SELECT MAX(laps) FROM table_name_6 WHERE driver = \"ayrton senna\"",
"context": "CREATE TABLE table_name_6 (laps INTEGER, driver VARCHAR)",
"question": "What is the most laps for Ayrton Senna?"
} |
### QUESTION
Which Barrel twist has a Stock of canadian 3rd generation and a Hand guards of short ribbed?
### CONTEXT
CREATE TABLE table_name_33 (barrel_twist VARCHAR, stock VARCHAR, hand_guards VARCHAR)
### ANSWER
SELECT barrel_twist FROM table_name_33 WHERE stock = "canadian 3rd generation" AND hand_guards = "short ribbed" | {
"answer": "SELECT barrel_twist FROM table_name_33 WHERE stock = \"canadian 3rd generation\" AND hand_guards = \"short ribbed\"",
"context": "CREATE TABLE table_name_33 (barrel_twist VARCHAR, stock VARCHAR, hand_guards VARCHAR)",
"question": "Which Barrel twist has a Stock of canadian 3rd generation and a Hand guards of short ribbed?"
} |
### QUESTION
What is Player, when To Par is greater than 6, and when Year(s) Won is "1962 , 1967"?
### CONTEXT
CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
### ANSWER
SELECT player FROM table_name_41 WHERE to_par > 6 AND year_s__won = "1962 , 1967" | {
"answer": "SELECT player FROM table_name_41 WHERE to_par > 6 AND year_s__won = \"1962 , 1967\"",
"context": "CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)",
"question": "What is Player, when To Par is greater than 6, and when Year(s) Won is \"1962 , 1967\"?"
} |
### QUESTION
Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?
### CONTEXT
CREATE TABLE TV_Channel (series_name VARCHAR, country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT T1.series_name, T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name, T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones' | {
"answer": "SELECT T1.series_name, T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name, T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones'",
"context": "CREATE TABLE TV_Channel (series_name VARCHAR, country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, directed_by VARCHAR)",
"question": "Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?"
} |
### QUESTION
During what race did Mike Hawthorn have the Fastest Lap and Peter Collins win?
### CONTEXT
CREATE TABLE table_name_51 (race VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT race FROM table_name_51 WHERE fastest_lap = "mike hawthorn" AND winning_driver = "peter collins" | {
"answer": "SELECT race FROM table_name_51 WHERE fastest_lap = \"mike hawthorn\" AND winning_driver = \"peter collins\"",
"context": "CREATE TABLE table_name_51 (race VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)",
"question": "During what race did Mike Hawthorn have the Fastest Lap and Peter Collins win?"
} |
### QUESTION
Who is the Driver on Bob Keselowski's team?
### CONTEXT
CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR)
### ANSWER
SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski" | {
"answer": "SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = \"bob keselowski\"",
"context": "CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR)",
"question": "Who is the Driver on Bob Keselowski's team?"
} |
### QUESTION
Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?
### CONTEXT
CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)
### ANSWER
SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110 | {
"answer": "SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110",
"context": "CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)",
"question": "Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?"
} |
### QUESTION
Which 3 players won the most player awards? List their full name and id.
### CONTEXT
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE player_award (player_id VARCHAR)
### ANSWER
SELECT T1.name_first, T1.name_last, T1.player_id FROM player AS T1 JOIN player_award AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 3 | {
"answer": "SELECT T1.name_first, T1.name_last, T1.player_id FROM player AS T1 JOIN player_award AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 3",
"context": "CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE player_award (player_id VARCHAR)",
"question": "Which 3 players won the most player awards? List their full name and id."
} |
### QUESTION
When was republican incumbent Joseph McKenna first elected?
### CONTEXT
CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna" | {
"answer": "SELECT first_elected FROM table_name_28 WHERE party = \"republican\" AND incumbent = \"joseph mckenna\"",
"context": "CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR)",
"question": "When was republican incumbent Joseph McKenna first elected?"
} |
### QUESTION
What is the total number of assists when Edmundo Rodriguez is playing the position of striker, less than 4 goals were scored, and the minutes were less than 473?
### CONTEXT
CREATE TABLE table_name_21 (assists VARCHAR, minutes VARCHAR, player VARCHAR, position VARCHAR, goals VARCHAR)
### ANSWER
SELECT COUNT(assists) FROM table_name_21 WHERE position = "striker" AND goals < 4 AND player = "edmundo rodriguez" AND minutes < 473 | {
"answer": "SELECT COUNT(assists) FROM table_name_21 WHERE position = \"striker\" AND goals < 4 AND player = \"edmundo rodriguez\" AND minutes < 473",
"context": "CREATE TABLE table_name_21 (assists VARCHAR, minutes VARCHAR, player VARCHAR, position VARCHAR, goals VARCHAR)",
"question": "What is the total number of assists when Edmundo Rodriguez is playing the position of striker, less than 4 goals were scored, and the minutes were less than 473?"
} |
### QUESTION
what player matched up with 9
### CONTEXT
CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR)
### ANSWER
SELECT player FROM table_name_78 WHERE matches = "9" | {
"answer": "SELECT player FROM table_name_78 WHERE matches = \"9\"",
"context": "CREATE TABLE table_name_78 (player VARCHAR, matches VARCHAR)",
"question": "what player matched up with 9"
} |
### QUESTION
WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE?
### CONTEXT
CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR, player VARCHAR)
### ANSWER
SELECT place FROM table_name_30 WHERE score > 65 AND player = "rocco mediate" | {
"answer": "SELECT place FROM table_name_30 WHERE score > 65 AND player = \"rocco mediate\"",
"context": "CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR, player VARCHAR)",
"question": "WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE?"
} |
### QUESTION
what's the result with candidates being charles edward bennett (d) unopposed
### CONTEXT
CREATE TABLE table_1342013_9 (result VARCHAR, candidates VARCHAR)
### ANSWER
SELECT result FROM table_1342013_9 WHERE candidates = "Charles Edward Bennett (D) Unopposed" | {
"answer": "SELECT result FROM table_1342013_9 WHERE candidates = \"Charles Edward Bennett (D) Unopposed\"",
"context": "CREATE TABLE table_1342013_9 (result VARCHAR, candidates VARCHAR)",
"question": "what's the result with candidates being charles edward bennett (d) unopposed"
} |
### QUESTION
Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx?
### CONTEXT
CREATE TABLE table_name_33 (player VARCHAR, pick VARCHAR, new_wnba_team VARCHAR)
### ANSWER
SELECT player FROM table_name_33 WHERE pick < 6 AND new_wnba_team = "minnesota lynx" | {
"answer": "SELECT player FROM table_name_33 WHERE pick < 6 AND new_wnba_team = \"minnesota lynx\"",
"context": "CREATE TABLE table_name_33 (player VARCHAR, pick VARCHAR, new_wnba_team VARCHAR)",
"question": "Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx?"
} |
### QUESTION
What is the number of guests for the Viking Ingvar, built earlier than 1990?
### CONTEXT
CREATE TABLE table_name_46 (guests INTEGER, ship_name VARCHAR, year_built VARCHAR)
### ANSWER
SELECT AVG(guests) FROM table_name_46 WHERE ship_name = "viking ingvar" AND year_built < 1990 | {
"answer": "SELECT AVG(guests) FROM table_name_46 WHERE ship_name = \"viking ingvar\" AND year_built < 1990",
"context": "CREATE TABLE table_name_46 (guests INTEGER, ship_name VARCHAR, year_built VARCHAR)",
"question": "What is the number of guests for the Viking Ingvar, built earlier than 1990?"
} |
### QUESTION
What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him?
### CONTEXT
CREATE TABLE table_name_21 (consider VARCHAR, candidate VARCHAR, poll_source VARCHAR, oppose VARCHAR)
### ANSWER
SELECT consider FROM table_name_21 WHERE poll_source = "newsweek poll" AND oppose = "32%" AND candidate = "rudy giuliani" | {
"answer": "SELECT consider FROM table_name_21 WHERE poll_source = \"newsweek poll\" AND oppose = \"32%\" AND candidate = \"rudy giuliani\"",
"context": "CREATE TABLE table_name_21 (consider VARCHAR, candidate VARCHAR, poll_source VARCHAR, oppose VARCHAR)",
"question": "What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him?"
} |
### QUESTION
Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled?
### CONTEXT
CREATE TABLE table_name_11 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR, perth VARCHAR)
### ANSWER
SELECT melbourne FROM table_name_11 WHERE gold_coast = "yes" AND perth = "cancelled" AND adelaide = "cancelled" | {
"answer": "SELECT melbourne FROM table_name_11 WHERE gold_coast = \"yes\" AND perth = \"cancelled\" AND adelaide = \"cancelled\"",
"context": "CREATE TABLE table_name_11 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR, perth VARCHAR)",
"question": "Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled?"
} |
### QUESTION
what is the old English name of Saturday?
### CONTEXT
CREATE TABLE table_2624098_1 (old_english_day_name VARCHAR, modern_english_day_name VARCHAR)
### ANSWER
SELECT old_english_day_name FROM table_2624098_1 WHERE modern_english_day_name = "Saturday" | {
"answer": "SELECT old_english_day_name FROM table_2624098_1 WHERE modern_english_day_name = \"Saturday\"",
"context": "CREATE TABLE table_2624098_1 (old_english_day_name VARCHAR, modern_english_day_name VARCHAR)",
"question": "what is the old English name of Saturday? "
} |
### QUESTION
what is the pick # when the nhl team is montreal canadiens and the college/junior/club team is trois-rivières draveurs (qmjhl)?
### CONTEXT
CREATE TABLE table_2679061_2 (pick__number INTEGER, nhl_team VARCHAR, college_junior_club_team VARCHAR)
### ANSWER
SELECT MIN(pick__number) FROM table_2679061_2 WHERE nhl_team = "Montreal Canadiens" AND college_junior_club_team = "Trois-Rivières Draveurs (QMJHL)" | {
"answer": "SELECT MIN(pick__number) FROM table_2679061_2 WHERE nhl_team = \"Montreal Canadiens\" AND college_junior_club_team = \"Trois-Rivières Draveurs (QMJHL)\"",
"context": "CREATE TABLE table_2679061_2 (pick__number INTEGER, nhl_team VARCHAR, college_junior_club_team VARCHAR)",
"question": "what is the pick # when the nhl team is montreal canadiens and the college/junior/club team is trois-rivières draveurs (qmjhl)?"
} |
### QUESTION
How many distinct delegates are from counties with population larger than 50000?
### CONTEXT
CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_id VARCHAR, Population INTEGER)
### ANSWER
SELECT COUNT(DISTINCT T2.Delegate) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T1.Population > 50000 | {
"answer": "SELECT COUNT(DISTINCT T2.Delegate) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T1.Population > 50000",
"context": "CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_id VARCHAR, Population INTEGER)",
"question": "How many distinct delegates are from counties with population larger than 50000?"
} |
### QUESTION
In the 2005 season, how many races did the 15th place team complete?
### CONTEXT
CREATE TABLE table_name_98 (races INTEGER, final_placing VARCHAR, season VARCHAR)
### ANSWER
SELECT AVG(races) FROM table_name_98 WHERE final_placing = "15th" AND season = "2005" | {
"answer": "SELECT AVG(races) FROM table_name_98 WHERE final_placing = \"15th\" AND season = \"2005\"",
"context": "CREATE TABLE table_name_98 (races INTEGER, final_placing VARCHAR, season VARCHAR)",
"question": "In the 2005 season, how many races did the 15th place team complete?"
} |
### QUESTION
Which 2008 has an Airport of julius nyerere international airport?
### CONTEXT
CREATE TABLE table_name_74 (airport VARCHAR)
### ANSWER
SELECT AVG(2008) FROM table_name_74 WHERE airport = "julius nyerere international airport" | {
"answer": "SELECT AVG(2008) FROM table_name_74 WHERE airport = \"julius nyerere international airport\"",
"context": "CREATE TABLE table_name_74 (airport VARCHAR)",
"question": "Which 2008 has an Airport of julius nyerere international airport?"
} |
### QUESTION
Which model has a sensor sized 48x36 mm, pixels of 6726 x 5040, and a 33 mp resolution?
### CONTEXT
CREATE TABLE table_name_87 (model VARCHAR, resolution VARCHAR, sensor_size VARCHAR, active_pixels VARCHAR)
### ANSWER
SELECT model FROM table_name_87 WHERE sensor_size = "48x36 mm" AND active_pixels = "6726 x 5040" AND resolution = "33 mp" | {
"answer": "SELECT model FROM table_name_87 WHERE sensor_size = \"48x36 mm\" AND active_pixels = \"6726 x 5040\" AND resolution = \"33 mp\"",
"context": "CREATE TABLE table_name_87 (model VARCHAR, resolution VARCHAR, sensor_size VARCHAR, active_pixels VARCHAR)",
"question": "Which model has a sensor sized 48x36 mm, pixels of 6726 x 5040, and a 33 mp resolution?"
} |
### QUESTION
What series number garnered 20.64 million viewers?
### CONTEXT
CREATE TABLE table_18217750_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)
### ANSWER
SELECT series__number FROM table_18217750_1 WHERE us_viewers__millions_ = "20.64" | {
"answer": "SELECT series__number FROM table_18217750_1 WHERE us_viewers__millions_ = \"20.64\"",
"context": "CREATE TABLE table_18217750_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR)",
"question": "What series number garnered 20.64 million viewers?"
} |
### QUESTION
Where was the tournament where Finland received the bronze and the United States received the silver?
### CONTEXT
CREATE TABLE table_name_22 (venue VARCHAR, bronze VARCHAR, silver VARCHAR)
### ANSWER
SELECT venue FROM table_name_22 WHERE bronze = "finland" AND silver = "united states" | {
"answer": "SELECT venue FROM table_name_22 WHERE bronze = \"finland\" AND silver = \"united states\"",
"context": "CREATE TABLE table_name_22 (venue VARCHAR, bronze VARCHAR, silver VARCHAR)",
"question": "Where was the tournament where Finland received the bronze and the United States received the silver?"
} |
### QUESTION
What is the score for Lucas Glover of the United States?
### CONTEXT
CREATE TABLE table_name_31 (score VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT score FROM table_name_31 WHERE country = "united states" AND player = "lucas glover" | {
"answer": "SELECT score FROM table_name_31 WHERE country = \"united states\" AND player = \"lucas glover\"",
"context": "CREATE TABLE table_name_31 (score VARCHAR, country VARCHAR, player VARCHAR)",
"question": "What is the score for Lucas Glover of the United States?"
} |
### QUESTION
How much Avg/G has a Long of 51, and a Loss of 333, and a Gain larger than 2013?
### CONTEXT
CREATE TABLE table_name_51 (avg_g VARCHAR, gain VARCHAR, long VARCHAR, loss VARCHAR)
### ANSWER
SELECT COUNT(avg_g) FROM table_name_51 WHERE long = 51 AND loss = 333 AND gain > 2013 | {
"answer": "SELECT COUNT(avg_g) FROM table_name_51 WHERE long = 51 AND loss = 333 AND gain > 2013",
"context": "CREATE TABLE table_name_51 (avg_g VARCHAR, gain VARCHAR, long VARCHAR, loss VARCHAR)",
"question": "How much Avg/G has a Long of 51, and a Loss of 333, and a Gain larger than 2013?"
} |
### QUESTION
Name the total number of total with silver of 6, bronze more than 5 and gold less than 4
### CONTEXT
CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
### ANSWER
SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4 | {
"answer": "SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4",
"context": "CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)",
"question": "Name the total number of total with silver of 6, bronze more than 5 and gold less than 4"
} |
### QUESTION
what's the 54 holes where winning score is −19 (67-66-67-69=269)
### CONTEXT
CREATE TABLE table_11570261_1 (winning_score VARCHAR)
### ANSWER
SELECT 54 AS _holes FROM table_11570261_1 WHERE winning_score = −19(67 - 66 - 67 - 69 = 269) | {
"answer": "SELECT 54 AS _holes FROM table_11570261_1 WHERE winning_score = −19(67 - 66 - 67 - 69 = 269)",
"context": "CREATE TABLE table_11570261_1 (winning_score VARCHAR)",
"question": " what's the 54 holes where winning score is −19 (67-66-67-69=269)"
} |
### QUESTION
What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?
### CONTEXT
CREATE TABLE table_name_37 (goals_for INTEGER, playoffs VARCHAR, games VARCHAR)
### ANSWER
SELECT AVG(goals_for) FROM table_name_37 WHERE playoffs = "lost in round 2" AND games < 81 | {
"answer": "SELECT AVG(goals_for) FROM table_name_37 WHERE playoffs = \"lost in round 2\" AND games < 81",
"context": "CREATE TABLE table_name_37 (goals_for INTEGER, playoffs VARCHAR, games VARCHAR)",
"question": "What is the average Goals, when Playoffs is Lost in Round 2, and when Games is less than 81?"
} |
### QUESTION
What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder?
### CONTEXT
CREATE TABLE table_name_86 (release_date VARCHAR, title VARCHAR, category VARCHAR, developer VARCHAR)
### ANSWER
SELECT release_date FROM table_name_86 WHERE category = "utilities" AND developer = "microsoft" AND title = "chord finder" | {
"answer": "SELECT release_date FROM table_name_86 WHERE category = \"utilities\" AND developer = \"microsoft\" AND title = \"chord finder\"",
"context": "CREATE TABLE table_name_86 (release_date VARCHAR, title VARCHAR, category VARCHAR, developer VARCHAR)",
"question": "What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder?"
} |
### QUESTION
What is the average goal difference of club cultural leonesa, which has more than 27 points and less than 9 losses?
### CONTEXT
CREATE TABLE table_name_63 (goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR)
### ANSWER
SELECT AVG(goal_difference) FROM table_name_63 WHERE points > 27 AND losses < 9 AND club = "cultural leonesa" | {
"answer": "SELECT AVG(goal_difference) FROM table_name_63 WHERE points > 27 AND losses < 9 AND club = \"cultural leonesa\"",
"context": "CREATE TABLE table_name_63 (goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR)",
"question": "What is the average goal difference of club cultural leonesa, which has more than 27 points and less than 9 losses?"
} |
### QUESTION
How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999?
### CONTEXT
CREATE TABLE table_name_28 (years_played INTEGER, singles_win_loss VARCHAR, first_year_played VARCHAR)
### ANSWER
SELECT SUM(years_played) FROM table_name_28 WHERE singles_win_loss = "4-9" AND first_year_played < 1999 | {
"answer": "SELECT SUM(years_played) FROM table_name_28 WHERE singles_win_loss = \"4-9\" AND first_year_played < 1999",
"context": "CREATE TABLE table_name_28 (years_played INTEGER, singles_win_loss VARCHAR, first_year_played VARCHAR)",
"question": "How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999?"
} |
### QUESTION
Who is the writer of Wallace & Gromit: A Close Shave, a short film from before 2008?
### CONTEXT
CREATE TABLE table_name_15 (writer VARCHAR, title VARCHAR, year VARCHAR, notes VARCHAR)
### ANSWER
SELECT writer FROM table_name_15 WHERE year < 2008 AND notes = "short film" AND title = "wallace & gromit: a close shave" | {
"answer": "SELECT writer FROM table_name_15 WHERE year < 2008 AND notes = \"short film\" AND title = \"wallace & gromit: a close shave\"",
"context": "CREATE TABLE table_name_15 (writer VARCHAR, title VARCHAR, year VARCHAR, notes VARCHAR)",
"question": "Who is the writer of Wallace & Gromit: A Close Shave, a short film from before 2008?"
} |
### QUESTION
What is the average value of Bush# when the value for Others# is greater than 57, and the value for Bush% is 49.2%?
### CONTEXT
CREATE TABLE table_name_70 (bush_number INTEGER, others_number VARCHAR, bush_percentage VARCHAR)
### ANSWER
SELECT AVG(bush_number) FROM table_name_70 WHERE others_number > 57 AND bush_percentage = "49.2%" | {
"answer": "SELECT AVG(bush_number) FROM table_name_70 WHERE others_number > 57 AND bush_percentage = \"49.2%\"",
"context": "CREATE TABLE table_name_70 (bush_number INTEGER, others_number VARCHAR, bush_percentage VARCHAR)",
"question": "What is the average value of Bush# when the value for Others# is greater than 57, and the value for Bush% is 49.2%?"
} |
### QUESTION
WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR?
### CONTEXT
CREATE TABLE table_11677100_11 (hometown VARCHAR, position VARCHAR)
### ANSWER
SELECT hometown FROM table_11677100_11 WHERE position = "Catcher" | {
"answer": "SELECT hometown FROM table_11677100_11 WHERE position = \"Catcher\"",
"context": "CREATE TABLE table_11677100_11 (hometown VARCHAR, position VARCHAR)",
"question": "WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR?"
} |
### QUESTION
With the Royal Navy as Combatants B, what was the result?
### CONTEXT
CREATE TABLE table_26977890_1 (result VARCHAR, combatants_b VARCHAR)
### ANSWER
SELECT result FROM table_26977890_1 WHERE combatants_b = "Royal Navy" | {
"answer": "SELECT result FROM table_26977890_1 WHERE combatants_b = \"Royal Navy\"",
"context": "CREATE TABLE table_26977890_1 (result VARCHAR, combatants_b VARCHAR)",
"question": "With the Royal Navy as Combatants B, what was the result?"
} |
### QUESTION
How many viewers for the episode with the weekly rank for living of 4?
### CONTEXT
CREATE TABLE table_name_25 (viewers VARCHAR, weekly_rank_for_living VARCHAR)
### ANSWER
SELECT viewers FROM table_name_25 WHERE weekly_rank_for_living = "4" | {
"answer": "SELECT viewers FROM table_name_25 WHERE weekly_rank_for_living = \"4\"",
"context": "CREATE TABLE table_name_25 (viewers VARCHAR, weekly_rank_for_living VARCHAR)",
"question": "How many viewers for the episode with the weekly rank for living of 4?"
} |
### QUESTION
Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number?
### CONTEXT
CREATE TABLE table_name_88 (works_number VARCHAR, type VARCHAR, builder VARCHAR)
### ANSWER
SELECT works_number FROM table_name_88 WHERE type = "0-4-4 forney locomotive" AND builder = "h. k. porter, inc" | {
"answer": "SELECT works_number FROM table_name_88 WHERE type = \"0-4-4 forney locomotive\" AND builder = \"h. k. porter, inc\"",
"context": "CREATE TABLE table_name_88 (works_number VARCHAR, type VARCHAR, builder VARCHAR)",
"question": "Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number?"
} |
### QUESTION
What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)?
### CONTEXT
CREATE TABLE table_name_39 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR)
### ANSWER
SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)" | {
"answer": "SELECT rochester FROM table_name_39 WHERE syracuse = \"cardiff dark gray shale\" AND albany = \"(mt. marion fm.)\"",
"context": "CREATE TABLE table_name_39 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR)",
"question": "What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)?"
} |
### QUESTION
Give me a list of cities whose temperature in Mar is lower than that in July and which have also served as host cities?
### CONTEXT
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Jul VARCHAR)
### ANSWER
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Jul INTERSECT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city | {
"answer": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Jul INTERSECT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city",
"context": "CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Jul VARCHAR)",
"question": "Give me a list of cities whose temperature in Mar is lower than that in July and which have also served as host cities?"
} |
### QUESTION
what's the county name for the republican river bridge listed on 1992-06-29?
### CONTEXT
CREATE TABLE table_name_36 (county VARCHAR, listed VARCHAR, name VARCHAR)
### ANSWER
SELECT county FROM table_name_36 WHERE listed = "1992-06-29" AND name = "republican river bridge" | {
"answer": "SELECT county FROM table_name_36 WHERE listed = \"1992-06-29\" AND name = \"republican river bridge\"",
"context": "CREATE TABLE table_name_36 (county VARCHAR, listed VARCHAR, name VARCHAR)",
"question": "what's the county name for the republican river bridge listed on 1992-06-29?"
} |
### QUESTION
How many attended the game that was a Loss of k. gross (1-1)?
### CONTEXT
CREATE TABLE table_name_68 (attendance INTEGER, loss VARCHAR)
### ANSWER
SELECT MAX(attendance) FROM table_name_68 WHERE loss = "k. gross (1-1)" | {
"answer": "SELECT MAX(attendance) FROM table_name_68 WHERE loss = \"k. gross (1-1)\"",
"context": "CREATE TABLE table_name_68 (attendance INTEGER, loss VARCHAR)",
"question": "How many attended the game that was a Loss of k. gross (1-1)?"
} |
### QUESTION
How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin?
### CONTEXT
CREATE TABLE Lessons (lesson_time INTEGER, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### ANSWER
SELECT SUM(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Rylan" AND T2.last_name = "Goodwin" | {
"answer": "SELECT SUM(T1.lesson_time) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = \"Rylan\" AND T2.last_name = \"Goodwin\"",
"context": "CREATE TABLE Lessons (lesson_time INTEGER, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"question": "How long is the total lesson time took by customer with first name as Rylan and last name as Goodwin?"
} |
### QUESTION
Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524?
### CONTEXT
CREATE TABLE table_name_12 (Id VARCHAR)
### ANSWER
SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524 | {
"answer": "SELECT MIN(1992) FROM table_name_12 WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524",
"context": "CREATE TABLE table_name_12 (Id VARCHAR)",
"question": "Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524?"
} |
### QUESTION
Name the years in orlando that the player from concord hs was in
### CONTEXT
CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = "Concord HS" | {
"answer": "SELECT years_in_orlando FROM table_15621965_10 WHERE school_club_team = \"Concord HS\"",
"context": "CREATE TABLE table_15621965_10 (years_in_orlando VARCHAR, school_club_team VARCHAR)",
"question": "Name the years in orlando that the player from concord hs was in"
} |
### QUESTION
Show the average amount of transactions for different lots, ordered by average amount of transactions.
### CONTEXT
CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)
### ANSWER
SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_id ORDER BY AVG(amount_of_transaction) | {
"answer": "SELECT T2.lot_id, AVG(amount_of_transaction) FROM TRANSACTIONS AS T1 JOIN Transactions_Lots AS T2 ON T1.transaction_id = T2.transaction_id GROUP BY T2.lot_id ORDER BY AVG(amount_of_transaction)",
"context": "CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR)",
"question": "Show the average amount of transactions for different lots, ordered by average amount of transactions."
} |
### QUESTION
For which Category was Outstanding Main Title Design a Recipient and nominee?
### CONTEXT
CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR)
### ANSWER
SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design" | {
"answer": "SELECT category FROM table_name_71 WHERE recipients_and_nominees = \"outstanding main title design\"",
"context": "CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR)",
"question": "For which Category was Outstanding Main Title Design a Recipient and nominee?"
} |
### QUESTION
Name the average concacaf for merconorte larger than 0 and player of jared borgetti
### CONTEXT
CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)
### ANSWER
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0 | {
"answer": "SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = \"jared borgetti\" AND superliga > 0",
"context": "CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)",
"question": "Name the average concacaf for merconorte larger than 0 and player of jared borgetti"
} |
### QUESTION
How many exhibitions have a attendance more than 100 or have a ticket price below 10?
### CONTEXT
CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, ticket_price VARCHAR)
### ANSWER
SELECT COUNT(*) FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 100 OR T2.ticket_price < 10 | {
"answer": "SELECT COUNT(*) FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 100 OR T2.ticket_price < 10",
"context": "CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, ticket_price VARCHAR)",
"question": "How many exhibitions have a attendance more than 100 or have a ticket price below 10?"
} |
### QUESTION
What is the frequency of the model with part number lf80537gf0411m?
### CONTEXT
CREATE TABLE table_11602313_4 (frequency VARCHAR, part_number_s_ VARCHAR)
### ANSWER
SELECT frequency FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M" | {
"answer": "SELECT frequency FROM table_11602313_4 WHERE part_number_s_ = \"LF80537GF0411M\"",
"context": "CREATE TABLE table_11602313_4 (frequency VARCHAR, part_number_s_ VARCHAR)",
"question": "What is the frequency of the model with part number lf80537gf0411m?"
} |
### QUESTION
How many touchdowns were made where field goals were less than 0?
### CONTEXT
CREATE TABLE table_name_81 (touchdowns INTEGER, field_goals INTEGER)
### ANSWER
SELECT SUM(touchdowns) FROM table_name_81 WHERE field_goals < 0 | {
"answer": "SELECT SUM(touchdowns) FROM table_name_81 WHERE field_goals < 0",
"context": "CREATE TABLE table_name_81 (touchdowns INTEGER, field_goals INTEGER)",
"question": "How many touchdowns were made where field goals were less than 0?"
} |
### QUESTION
What was the attendance on 31 January 2009 when the opponent was Airdrie United?
### CONTEXT
CREATE TABLE table_name_33 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT AVG(attendance) FROM table_name_33 WHERE opponent = "airdrie united" AND date = "31 january 2009" | {
"answer": "SELECT AVG(attendance) FROM table_name_33 WHERE opponent = \"airdrie united\" AND date = \"31 january 2009\"",
"context": "CREATE TABLE table_name_33 (attendance INTEGER, opponent VARCHAR, date VARCHAR)",
"question": "What was the attendance on 31 January 2009 when the opponent was Airdrie United?"
} |
### QUESTION
Show storm name with at least two regions and 10 cities affected.
### CONTEXT
CREATE TABLE affected_region (storm_id VARCHAR, number_city_affected INTEGER); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)
### ANSWER
SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING SUM(T2.number_city_affected) >= 10 | {
"answer": "SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING SUM(T2.number_city_affected) >= 10",
"context": "CREATE TABLE affected_region (storm_id VARCHAR, number_city_affected INTEGER); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)",
"question": "Show storm name with at least two regions and 10 cities affected."
} |
### QUESTION
what is the week when the result is w 14-13 and the attendance is higher than 53,295?
### CONTEXT
CREATE TABLE table_name_51 (week INTEGER, result VARCHAR, attendance VARCHAR)
### ANSWER
SELECT AVG(week) FROM table_name_51 WHERE result = "w 14-13" AND attendance > 53 OFFSET 295 | {
"answer": "SELECT AVG(week) FROM table_name_51 WHERE result = \"w 14-13\" AND attendance > 53 OFFSET 295",
"context": "CREATE TABLE table_name_51 (week INTEGER, result VARCHAR, attendance VARCHAR)",
"question": "what is the week when the result is w 14-13 and the attendance is higher than 53,295?"
} |
### QUESTION
What is the Current Club of the PG/SG player with a Height of less than 1.9500000000000002?
### CONTEXT
CREATE TABLE table_name_87 (current_club VARCHAR, height VARCHAR, position VARCHAR)
### ANSWER
SELECT current_club FROM table_name_87 WHERE height < 1.9500000000000002 AND position = "pg/sg" | {
"answer": "SELECT current_club FROM table_name_87 WHERE height < 1.9500000000000002 AND position = \"pg/sg\"",
"context": "CREATE TABLE table_name_87 (current_club VARCHAR, height VARCHAR, position VARCHAR)",
"question": "What is the Current Club of the PG/SG player with a Height of less than 1.9500000000000002?"
} |
### QUESTION
How many values for points have Sophia Witherspoon as the player?
### CONTEXT
CREATE TABLE table_25352324_5 (points VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(points) FROM table_25352324_5 WHERE player = "Sophia Witherspoon" | {
"answer": "SELECT COUNT(points) FROM table_25352324_5 WHERE player = \"Sophia Witherspoon\"",
"context": "CREATE TABLE table_25352324_5 (points VARCHAR, player VARCHAR)",
"question": "How many values for points have Sophia Witherspoon as the player?"
} |
### QUESTION
Which episode has boy george and lee mack on dave's team?
### CONTEXT
CREATE TABLE table_23292220_4 (episode VARCHAR, daves_team VARCHAR)
### ANSWER
SELECT episode FROM table_23292220_4 WHERE daves_team = "Boy George and Lee Mack" | {
"answer": "SELECT episode FROM table_23292220_4 WHERE daves_team = \"Boy George and Lee Mack\"",
"context": "CREATE TABLE table_23292220_4 (episode VARCHAR, daves_team VARCHAR)",
"question": "Which episode has boy george and lee mack on dave's team?"
} |
### QUESTION
which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )?
### CONTEXT
CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR)
### ANSWER
SELECT category FROM table_name_40 WHERE result = "nominated" AND lost_to = "jennifer westfeldt ( kissing jessica stein )" | {
"answer": "SELECT category FROM table_name_40 WHERE result = \"nominated\" AND lost_to = \"jennifer westfeldt ( kissing jessica stein )\"",
"context": "CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR)",
"question": "which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )?"
} |
### QUESTION
what's the total number of south australia with victoria value of 2173
### CONTEXT
CREATE TABLE table_1057262_2 (south_australia VARCHAR, victoria VARCHAR)
### ANSWER
SELECT COUNT(south_australia) FROM table_1057262_2 WHERE victoria = 2173 | {
"answer": "SELECT COUNT(south_australia) FROM table_1057262_2 WHERE victoria = 2173",
"context": "CREATE TABLE table_1057262_2 (south_australia VARCHAR, victoria VARCHAR)",
"question": "what's the total number of south australia with victoria value of 2173"
} |
### QUESTION
What Entrepreneurs requested £60,000?
### CONTEXT
CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR)
### ANSWER
SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000" | {
"answer": "SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = \"60,000\"",
"context": "CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR)",
"question": "What Entrepreneurs requested £60,000?"
} |
### QUESTION
What is the sambalpuri saree with a samaleswari temple as sambalpuri language?
### CONTEXT
CREATE TABLE table_name_22 (sambalpuri_saree VARCHAR, sambalpuri_language VARCHAR)
### ANSWER
SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = "samaleswari temple" | {
"answer": "SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = \"samaleswari temple\"",
"context": "CREATE TABLE table_name_22 (sambalpuri_saree VARCHAR, sambalpuri_language VARCHAR)",
"question": "What is the sambalpuri saree with a samaleswari temple as sambalpuri language?"
} |
### QUESTION
What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13?
### CONTEXT
CREATE TABLE table_name_67 (location VARCHAR, league_division VARCHAR, position_in_2012_13 VARCHAR)
### ANSWER
SELECT location FROM table_name_67 WHERE league_division = "second division" AND position_in_2012_13 = "4th, third division (promoted)" | {
"answer": "SELECT location FROM table_name_67 WHERE league_division = \"second division\" AND position_in_2012_13 = \"4th, third division (promoted)\"",
"context": "CREATE TABLE table_name_67 (location VARCHAR, league_division VARCHAR, position_in_2012_13 VARCHAR)",
"question": "What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13?"
} |
### QUESTION
Find the name, checking balance and saving balance of all accounts in the bank.
### CONTEXT
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
### ANSWER
SELECT T2.balance, T3.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid | {
"answer": "SELECT T2.balance, T3.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid",
"context": "CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)",
"question": "Find the name, checking balance and saving balance of all accounts in the bank."
} |
### QUESTION
What is Points, when Tries For is "correct as of 00:00 11 June 2008"?
### CONTEXT
CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR)
### ANSWER
SELECT points FROM table_name_90 WHERE tries_for = "correct as of 00:00 11 june 2008" | {
"answer": "SELECT points FROM table_name_90 WHERE tries_for = \"correct as of 00:00 11 june 2008\"",
"context": "CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR)",
"question": "What is Points, when Tries For is \"correct as of 00:00 11 June 2008\"?"
} |
### QUESTION
Name the min total pts for team dennis conner
### CONTEXT
CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)
### ANSWER
SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = "Team Dennis Conner" | {
"answer": "SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = \"Team Dennis Conner\"",
"context": "CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)",
"question": "Name the min total pts for team dennis conner"
} |
### QUESTION
What is the maximum point for climbers whose country is United Kingdom?
### CONTEXT
CREATE TABLE climber (Points INTEGER, Country VARCHAR)
### ANSWER
SELECT MAX(Points) FROM climber WHERE Country = "United Kingdom" | {
"answer": "SELECT MAX(Points) FROM climber WHERE Country = \"United Kingdom\"",
"context": "CREATE TABLE climber (Points INTEGER, Country VARCHAR)",
"question": "What is the maximum point for climbers whose country is United Kingdom?"
} |
### QUESTION
what is the sum of the member when the saros is more than 127, gamma is less than 1.1508 and the magnitude is 0.742?
### CONTEXT
CREATE TABLE table_name_11 (member INTEGER, magnitude VARCHAR, saros VARCHAR, gamma VARCHAR)
### ANSWER
SELECT SUM(member) FROM table_name_11 WHERE saros > 127 AND gamma < 1.1508 AND magnitude = 0.742 | {
"answer": "SELECT SUM(member) FROM table_name_11 WHERE saros > 127 AND gamma < 1.1508 AND magnitude = 0.742",
"context": "CREATE TABLE table_name_11 (member INTEGER, magnitude VARCHAR, saros VARCHAR, gamma VARCHAR)",
"question": "what is the sum of the member when the saros is more than 127, gamma is less than 1.1508 and the magnitude is 0.742?"
} |
### QUESTION
Return the distinct name of customers whose order status is Pending, in the order of customer id.
### CONTEXT
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
### ANSWER
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending" ORDER BY T2.customer_id | {
"answer": "SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = \"Pending\" ORDER BY T2.customer_id",
"context": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)",
"question": "Return the distinct name of customers whose order status is Pending, in the order of customer id."
} |
### QUESTION
Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region?
### CONTEXT
CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR)
### ANSWER
SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_name = "tiobraid árann (contae thiobraid árann)" | {
"answer": "SELECT region FROM table_name_8 WHERE most_populous_city_town = \"clonmel\" AND irish_name = \"tiobraid árann (contae thiobraid árann)\"",
"context": "CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR)",
"question": "Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region?"
} |
### QUESTION
How many Points against that have a Team of harlequins and Tries against smaller than 8?
### CONTEXT
CREATE TABLE table_name_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR)
### ANSWER
SELECT SUM(points_against) FROM table_name_37 WHERE team = "harlequins" AND tries_against < 8 | {
"answer": "SELECT SUM(points_against) FROM table_name_37 WHERE team = \"harlequins\" AND tries_against < 8",
"context": "CREATE TABLE table_name_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR)",
"question": "How many Points against that have a Team of harlequins and Tries against smaller than 8?"
} |
### QUESTION
What is the address content of the customer named "Maudie Kertzmann"?
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE addresses (address_content VARCHAR, address_id VARCHAR)
### ANSWER
SELECT t3.address_content FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t1.customer_name = "Maudie Kertzmann" | {
"answer": "SELECT t3.address_content FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t1.customer_name = \"Maudie Kertzmann\"",
"context": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE addresses (address_content VARCHAR, address_id VARCHAR)",
"question": "What is the address content of the customer named \"Maudie Kertzmann\"?"
} |
Subsets and Splits