text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What is the description and code of the type of service that is performed the most often?
### CONTEXT
CREATE TABLE Services (Service_Type_Code VARCHAR); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR)
### ANSWER
SELECT T1.Service_Type_Description, T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT T1.Service_Type_Description, T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE Services (Service_Type_Code VARCHAR); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR)",
"question": "What is the description and code of the type of service that is performed the most often?"
}
|
### QUESTION
Name the number of year for 6–3, 6–2 hard surface
### CONTEXT
CREATE TABLE table_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = "6–3, 6–2" AND surface = "Hard"
|
{
"answer": "SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = \"6–3, 6–2\" AND surface = \"Hard\"",
"context": "CREATE TABLE table_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR)",
"question": "Name the number of year for 6–3, 6–2 hard surface"
}
|
### QUESTION
Which province has the partido Socialista del Pueblo Extremeño party?
### CONTEXT
CREATE TABLE table_name_31 (province VARCHAR, party VARCHAR)
### ANSWER
SELECT province FROM table_name_31 WHERE party = "partido socialista del pueblo extremeño"
|
{
"answer": "SELECT province FROM table_name_31 WHERE party = \"partido socialista del pueblo extremeño\"",
"context": "CREATE TABLE table_name_31 (province VARCHAR, party VARCHAR)",
"question": "Which province has the partido Socialista del Pueblo Extremeño party?"
}
|
### QUESTION
How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002?
### CONTEXT
CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR)
### ANSWER
SELECT attendance FROM table_name_56 WHERE kickoff_time = "cbs 1:00pm" AND week < 8 AND date = "september 15, 2002"
|
{
"answer": "SELECT attendance FROM table_name_56 WHERE kickoff_time = \"cbs 1:00pm\" AND week < 8 AND date = \"september 15, 2002\"",
"context": "CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR, kickoff_time VARCHAR, week VARCHAR)",
"question": "How many people attended the game with a kickoff time of cbs 1:00pm, in a week earlier than 8, on September 15, 2002?"
}
|
### QUESTION
Who was home at Princes Park?
### CONTEXT
CREATE TABLE table_name_55 (home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT home_team AS score FROM table_name_55 WHERE venue = "princes park"
|
{
"answer": "SELECT home_team AS score FROM table_name_55 WHERE venue = \"princes park\"",
"context": "CREATE TABLE table_name_55 (home_team VARCHAR, venue VARCHAR)",
"question": "Who was home at Princes Park?"
}
|
### QUESTION
Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens?
### CONTEXT
CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR, points VARCHAR)
### ANSWER
SELECT date FROM table_name_40 WHERE location = "scotiabank place" AND points < 20 AND game > 16 AND opponent = "montreal canadiens"
|
{
"answer": "SELECT date FROM table_name_40 WHERE location = \"scotiabank place\" AND points < 20 AND game > 16 AND opponent = \"montreal canadiens\"",
"context": "CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR, points VARCHAR)",
"question": "Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens?"
}
|
### QUESTION
List all losses with average goals of 1.21.
### CONTEXT
CREATE TABLE table_17366952_1 (lost VARCHAR, goal_average_1 VARCHAR)
### ANSWER
SELECT lost FROM table_17366952_1 WHERE goal_average_1 = "1.21"
|
{
"answer": "SELECT lost FROM table_17366952_1 WHERE goal_average_1 = \"1.21\"",
"context": "CREATE TABLE table_17366952_1 (lost VARCHAR, goal_average_1 VARCHAR)",
"question": "List all losses with average goals of 1.21."
}
|
### QUESTION
What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?
### CONTEXT
CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR)
### ANSWER
SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = "finland" AND all_around > 18.9
|
{
"answer": "SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = \"finland\" AND all_around > 18.9",
"context": "CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR)",
"question": "What is the sum of the final for finland, who placed greater than 2 and had an all around larger than 18.9?"
}
|
### QUESTION
What are all the school years where class AAAA is in Gregory-Portland?
### CONTEXT
CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)
### ANSWER
SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland
|
{
"answer": "SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland",
"context": "CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)",
"question": "What are all the school years where class AAAA is in Gregory-Portland? "
}
|
### QUESTION
What is the record of the game with Mason as the decision and Nashville as the home team?
### CONTEXT
CREATE TABLE table_name_45 (record VARCHAR, decision VARCHAR, home VARCHAR)
### ANSWER
SELECT record FROM table_name_45 WHERE decision = "mason" AND home = "nashville"
|
{
"answer": "SELECT record FROM table_name_45 WHERE decision = \"mason\" AND home = \"nashville\"",
"context": "CREATE TABLE table_name_45 (record VARCHAR, decision VARCHAR, home VARCHAR)",
"question": "What is the record of the game with Mason as the decision and Nashville as the home team?"
}
|
### QUESTION
Find the number of characteristics that the product "flax" has.
### CONTEXT
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "flax"
|
{
"answer": "SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = \"flax\"",
"context": "CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)",
"question": "Find the number of characteristics that the product \"flax\" has."
}
|
### QUESTION
Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4%
### CONTEXT
CREATE TABLE table_19753079_35 (party VARCHAR, candidates VARCHAR)
### ANSWER
SELECT party FROM table_19753079_35 WHERE candidates = "Yvette Clarke (D) 90.6% Hugh Carr (R) 9.4%"
|
{
"answer": "SELECT party FROM table_19753079_35 WHERE candidates = \"Yvette Clarke (D) 90.6% Hugh Carr (R) 9.4%\"",
"context": "CREATE TABLE table_19753079_35 (party VARCHAR, candidates VARCHAR)",
"question": "Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4%"
}
|
### QUESTION
Name the mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2
### CONTEXT
CREATE TABLE table_name_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_name_82 WHERE young_rider_classification = "francesco casagrande" AND intergiro_classification = "not awarded" AND stage = "2"
|
{
"answer": "SELECT mountains_classification FROM table_name_82 WHERE young_rider_classification = \"francesco casagrande\" AND intergiro_classification = \"not awarded\" AND stage = \"2\"",
"context": "CREATE TABLE table_name_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR)",
"question": "Name the mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2"
}
|
### QUESTION
with name meridian condominiums what is number of floors?
### CONTEXT
CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)
### ANSWER
SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums"
|
{
"answer": "SELECT AVG(floors) FROM table_name_19 WHERE name = \"meridian condominiums\"",
"context": "CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)",
"question": "with name meridian condominiums what is number of floors?"
}
|
### QUESTION
What was the date of the game with a result of won 4-2?
### CONTEXT
CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR)
### ANSWER
SELECT date FROM table_name_15 WHERE result = "won 4-2"
|
{
"answer": "SELECT date FROM table_name_15 WHERE result = \"won 4-2\"",
"context": "CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR)",
"question": "What was the date of the game with a result of won 4-2?"
}
|
### QUESTION
How many earnings have Wins larger than 3?
### CONTEXT
CREATE TABLE table_name_70 (earnings___ INTEGER, wins INTEGER)
### ANSWER
SELECT SUM(earnings___) AS $__ FROM table_name_70 WHERE wins > 3
|
{
"answer": "SELECT SUM(earnings___) AS $__ FROM table_name_70 WHERE wins > 3",
"context": "CREATE TABLE table_name_70 (earnings___ INTEGER, wins INTEGER)",
"question": "How many earnings have Wins larger than 3?"
}
|
### QUESTION
What is the Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs?
### CONTEXT
CREATE TABLE table_name_31 (rank VARCHAR, venue VARCHAR, margin VARCHAR)
### ANSWER
SELECT rank FROM table_name_31 WHERE venue = "bellerive oval , hobart" AND margin = "115 runs"
|
{
"answer": "SELECT rank FROM table_name_31 WHERE venue = \"bellerive oval , hobart\" AND margin = \"115 runs\"",
"context": "CREATE TABLE table_name_31 (rank VARCHAR, venue VARCHAR, margin VARCHAR)",
"question": "What is the Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs?"
}
|
### QUESTION
Name the german voice actor for rafael torres
### CONTEXT
CREATE TABLE table_14960574_6 (german_voice_actor VARCHAR, spanish_voice_actor VARCHAR)
### ANSWER
SELECT german_voice_actor FROM table_14960574_6 WHERE spanish_voice_actor = "Rafael Torres"
|
{
"answer": "SELECT german_voice_actor FROM table_14960574_6 WHERE spanish_voice_actor = \"Rafael Torres\"",
"context": "CREATE TABLE table_14960574_6 (german_voice_actor VARCHAR, spanish_voice_actor VARCHAR)",
"question": "Name the german voice actor for rafael torres"
}
|
### QUESTION
Name the average In/de-creased by which has a Governorate of al anbar governorate, and Seats 2005 smaller than 9?
### CONTEXT
CREATE TABLE table_name_66 (in_de_creased_by INTEGER, governorate VARCHAR, seats_2005 VARCHAR)
### ANSWER
SELECT AVG(in_de_creased_by) FROM table_name_66 WHERE governorate = "al anbar governorate" AND seats_2005 < 9
|
{
"answer": "SELECT AVG(in_de_creased_by) FROM table_name_66 WHERE governorate = \"al anbar governorate\" AND seats_2005 < 9",
"context": "CREATE TABLE table_name_66 (in_de_creased_by INTEGER, governorate VARCHAR, seats_2005 VARCHAR)",
"question": "Name the average In/de-creased by which has a Governorate of al anbar governorate, and Seats 2005 smaller than 9?"
}
|
### QUESTION
Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?
### CONTEXT
CREATE TABLE table_name_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR)
### ANSWER
SELECT MAX(week) FROM table_name_17 WHERE points_for > 19 AND opponent = "philadelphia eagles" AND points_against > 7
|
{
"answer": "SELECT MAX(week) FROM table_name_17 WHERE points_for > 19 AND opponent = \"philadelphia eagles\" AND points_against > 7",
"context": "CREATE TABLE table_name_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR)",
"question": "Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?"
}
|
### QUESTION
Name the award won for category of choice tv villain in years after 2008
### CONTEXT
CREATE TABLE table_name_94 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)
### ANSWER
SELECT award FROM table_name_94 WHERE result = "won" AND category = "choice tv villain" AND year > 2008
|
{
"answer": "SELECT award FROM table_name_94 WHERE result = \"won\" AND category = \"choice tv villain\" AND year > 2008",
"context": "CREATE TABLE table_name_94 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)",
"question": "Name the award won for category of choice tv villain in years after 2008"
}
|
### QUESTION
What is the average total for countries with under 3 golds and 0 silvers?
### CONTEXT
CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR, silver VARCHAR)
### ANSWER
SELECT AVG(total) FROM table_name_83 WHERE gold < 3 AND silver < 0
|
{
"answer": "SELECT AVG(total) FROM table_name_83 WHERE gold < 3 AND silver < 0",
"context": "CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR, silver VARCHAR)",
"question": "What is the average total for countries with under 3 golds and 0 silvers?"
}
|
### QUESTION
What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?
### CONTEXT
CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)
### ANSWER
SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305
|
{
"answer": "SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305",
"context": "CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)",
"question": "What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?"
}
|
### QUESTION
How many provinces have evening gown score of 8.49
### CONTEXT
CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR)
### ANSWER
SELECT COUNT(province) FROM table_15081939_4 WHERE evening_gown = "8.49"
|
{
"answer": "SELECT COUNT(province) FROM table_15081939_4 WHERE evening_gown = \"8.49\"",
"context": "CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR)",
"question": "How many provinces have evening gown score of 8.49"
}
|
### QUESTION
What are the names of the workshop groups that have bookings with status code "stop"?
### CONTEXT
CREATE TABLE Bookings (Workshop_Group_ID VARCHAR, Status_Code VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR, Workshop_Group_ID VARCHAR)
### ANSWER
SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = "stop"
|
{
"answer": "SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = \"stop\"",
"context": "CREATE TABLE Bookings (Workshop_Group_ID VARCHAR, Status_Code VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR, Workshop_Group_ID VARCHAR)",
"question": "What are the names of the workshop groups that have bookings with status code \"stop\"?"
}
|
### QUESTION
What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont Là", and when Place is less than 2?
### CONTEXT
CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)
### ANSWER
SELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = "ils sont là" AND place < 2
|
{
"answer": "SELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = \"ils sont là\" AND place < 2",
"context": "CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)",
"question": "What is the total number of Draw(s), when Televotes is greater than 1761, when Song is \"Ils Sont Là\", and when Place is less than 2?"
}
|
### QUESTION
What is every part number with model number core i5-670?
### CONTEXT
CREATE TABLE table_23028629_2 (part_number_s_ VARCHAR, model_number VARCHAR)
### ANSWER
SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = "Core i5-670"
|
{
"answer": "SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = \"Core i5-670\"",
"context": "CREATE TABLE table_23028629_2 (part_number_s_ VARCHAR, model_number VARCHAR)",
"question": "What is every part number with model number core i5-670?"
}
|
### QUESTION
How many general elections that have won smaller than 23 with candidates larger than 108?
### CONTEXT
CREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)
### ANSWER
SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108
|
{
"answer": "SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108",
"context": "CREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)",
"question": "How many general elections that have won smaller than 23 with candidates larger than 108?"
}
|
### QUESTION
Which Number of electorates (2009) has a District of sheopur, and a Constituency number of 1?
### CONTEXT
CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, district VARCHAR, constituency_number VARCHAR)
### ANSWER
SELECT COUNT(number_of_electorates__2009_) FROM table_name_94 WHERE district = "sheopur" AND constituency_number = "1"
|
{
"answer": "SELECT COUNT(number_of_electorates__2009_) FROM table_name_94 WHERE district = \"sheopur\" AND constituency_number = \"1\"",
"context": "CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, district VARCHAR, constituency_number VARCHAR)",
"question": "Which Number of electorates (2009) has a District of sheopur, and a Constituency number of 1?"
}
|
### QUESTION
What is the highest number of points of the game in Conseco fieldhouse 7,134?
### CONTEXT
CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134"
|
{
"answer": "SELECT high_points FROM table_name_79 WHERE location_attendance = \"conseco fieldhouse 7,134\"",
"context": "CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)",
"question": "What is the highest number of points of the game in Conseco fieldhouse 7,134?"
}
|
### QUESTION
Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16?
### CONTEXT
CREATE TABLE table_name_99 (wins VARCHAR, races VARCHAR, team VARCHAR, poles VARCHAR)
### ANSWER
SELECT wins FROM table_name_99 WHERE team = "scuderia toro rosso" AND poles = "0" AND races = "16"
|
{
"answer": "SELECT wins FROM table_name_99 WHERE team = \"scuderia toro rosso\" AND poles = \"0\" AND races = \"16\"",
"context": "CREATE TABLE table_name_99 (wins VARCHAR, races VARCHAR, team VARCHAR, poles VARCHAR)",
"question": "Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16?"
}
|
### QUESTION
What was the winning score when the margin of victory was a playoff for the Tournament of safeco classic?
### CONTEXT
CREATE TABLE table_name_4 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
### ANSWER
SELECT winning_score FROM table_name_4 WHERE margin_of_victory = "playoff" AND tournament = "safeco classic"
|
{
"answer": "SELECT winning_score FROM table_name_4 WHERE margin_of_victory = \"playoff\" AND tournament = \"safeco classic\"",
"context": "CREATE TABLE table_name_4 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)",
"question": "What was the winning score when the margin of victory was a playoff for the Tournament of safeco classic?"
}
|
### QUESTION
What losses consist of the team of japan?
### CONTEXT
CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR)
### ANSWER
SELECT losses FROM table_name_13 WHERE team = "japan"
|
{
"answer": "SELECT losses FROM table_name_13 WHERE team = \"japan\"",
"context": "CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR)",
"question": "What losses consist of the team of japan?"
}
|
### QUESTION
Who was the host that garnered ratings of 9.6/26?
### CONTEXT
CREATE TABLE table_name_30 (host VARCHAR, ratings VARCHAR)
### ANSWER
SELECT host FROM table_name_30 WHERE ratings = "9.6/26"
|
{
"answer": "SELECT host FROM table_name_30 WHERE ratings = \"9.6/26\"",
"context": "CREATE TABLE table_name_30 (host VARCHAR, ratings VARCHAR)",
"question": "Who was the host that garnered ratings of 9.6/26?"
}
|
### QUESTION
What is the to par for the score 73-71=144?
### CONTEXT
CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR)
### ANSWER
SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144
|
{
"answer": "SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144",
"context": "CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR)",
"question": "What is the to par for the score 73-71=144?"
}
|
### QUESTION
When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)?
### CONTEXT
CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR)
### ANSWER
SELECT MAX(first_elected) FROM table_name_37 WHERE counties_represented = "baltimore county, howard" AND committee = "environmental matters (vice-chair)"
|
{
"answer": "SELECT MAX(first_elected) FROM table_name_37 WHERE counties_represented = \"baltimore county, howard\" AND committee = \"environmental matters (vice-chair)\"",
"context": "CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR)",
"question": "When Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)?"
}
|
### QUESTION
What is Josh Hamilton's hometown?
### CONTEXT
CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR)
### ANSWER
SELECT hometown FROM table_11677100_5 WHERE player = "Josh Hamilton"
|
{
"answer": "SELECT hometown FROM table_11677100_5 WHERE player = \"Josh Hamilton\"",
"context": "CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR)",
"question": "What is Josh Hamilton's hometown?"
}
|
### QUESTION
What is Category, when Result is "Nominated", when Award is "Drama Desk Award", and when Nominee is "Nathan Lane"?
### CONTEXT
CREATE TABLE table_name_95 (category VARCHAR, nominee VARCHAR, result VARCHAR, award VARCHAR)
### ANSWER
SELECT category FROM table_name_95 WHERE result = "nominated" AND award = "drama desk award" AND nominee = "nathan lane"
|
{
"answer": "SELECT category FROM table_name_95 WHERE result = \"nominated\" AND award = \"drama desk award\" AND nominee = \"nathan lane\"",
"context": "CREATE TABLE table_name_95 (category VARCHAR, nominee VARCHAR, result VARCHAR, award VARCHAR)",
"question": "What is Category, when Result is \"Nominated\", when Award is \"Drama Desk Award\", and when Nominee is \"Nathan Lane\"?"
}
|
### QUESTION
List the first name of all the professionals along with the description of the treatment they have done.
### CONTEXT
CREATE TABLE Treatments (professional_id VARCHAR, treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR); CREATE TABLE professionals (first_name VARCHAR, professional_id VARCHAR)
### ANSWER
SELECT DISTINCT T1.first_name, T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code
|
{
"answer": "SELECT DISTINCT T1.first_name, T3.treatment_type_description FROM professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id JOIN Treatment_types AS T3 ON T2.treatment_type_code = T3.treatment_type_code",
"context": "CREATE TABLE Treatments (professional_id VARCHAR, treatment_type_code VARCHAR); CREATE TABLE Treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR); CREATE TABLE professionals (first_name VARCHAR, professional_id VARCHAR)",
"question": "List the first name of all the professionals along with the description of the treatment they have done."
}
|
### QUESTION
How many different product types are there?
### CONTEXT
CREATE TABLE products_for_hire (product_type_code VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT product_type_code) FROM products_for_hire
|
{
"answer": "SELECT COUNT(DISTINCT product_type_code) FROM products_for_hire",
"context": "CREATE TABLE products_for_hire (product_type_code VARCHAR)",
"question": "How many different product types are there?"
}
|
### QUESTION
What horses does r. a. Scott own?
### CONTEXT
CREATE TABLE table_19624708_1 (horse VARCHAR, owner VARCHAR)
### ANSWER
SELECT horse FROM table_19624708_1 WHERE owner = "R. A. Scott"
|
{
"answer": "SELECT horse FROM table_19624708_1 WHERE owner = \"R. A. Scott\"",
"context": "CREATE TABLE table_19624708_1 (horse VARCHAR, owner VARCHAR)",
"question": "What horses does r. a. Scott own?"
}
|
### QUESTION
What is the total of the team with a T score greater than 8 and an E score less than 8.4?
### CONTEXT
CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)
### ANSWER
SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4
|
{
"answer": "SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4",
"context": "CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)",
"question": "What is the total of the team with a T score greater than 8 and an E score less than 8.4?"
}
|
### QUESTION
What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"?
### CONTEXT
CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR)
### ANSWER
SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18
|
{
"answer": "SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18",
"context": "CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR)",
"question": "What is the average Rebounds, when Minutes Played is \"113\", and when Games Played is greater than \"18\"?"
}
|
### QUESTION
Find the names of schools that have more than one donator with donation amount above 8.5.
### CONTEXT
CREATE TABLE school (School_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER)
### ANSWER
SELECT T2.School_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.amount > 8.5 GROUP BY T1.school_id HAVING COUNT(*) > 1
|
{
"answer": "SELECT T2.School_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.amount > 8.5 GROUP BY T1.school_id HAVING COUNT(*) > 1",
"context": "CREATE TABLE school (School_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER)",
"question": "Find the names of schools that have more than one donator with donation amount above 8.5."
}
|
### QUESTION
What is Administration of Oaths, when Rights of Audience is Yes, and when Reserved Instruments is Yes?
### CONTEXT
CREATE TABLE table_name_43 (administration_of_oaths VARCHAR, rights_of_audience VARCHAR, reserved_instruments VARCHAR)
### ANSWER
SELECT administration_of_oaths FROM table_name_43 WHERE rights_of_audience = "yes" AND reserved_instruments = "yes"
|
{
"answer": "SELECT administration_of_oaths FROM table_name_43 WHERE rights_of_audience = \"yes\" AND reserved_instruments = \"yes\"",
"context": "CREATE TABLE table_name_43 (administration_of_oaths VARCHAR, rights_of_audience VARCHAR, reserved_instruments VARCHAR)",
"question": "What is Administration of Oaths, when Rights of Audience is Yes, and when Reserved Instruments is Yes?"
}
|
### QUESTION
What was the final score at texas stadium on September 17?
### CONTEXT
CREATE TABLE table_name_43 (final_score VARCHAR, stadium VARCHAR, date VARCHAR)
### ANSWER
SELECT final_score FROM table_name_43 WHERE stadium = "texas stadium" AND date = "september 17"
|
{
"answer": "SELECT final_score FROM table_name_43 WHERE stadium = \"texas stadium\" AND date = \"september 17\"",
"context": "CREATE TABLE table_name_43 (final_score VARCHAR, stadium VARCHAR, date VARCHAR)",
"question": "What was the final score at texas stadium on September 17?"
}
|
### QUESTION
What is the best top-10 result when events are fewer than 39, top-5 is 1 and more than 5 cuts are made?
### CONTEXT
CREATE TABLE table_name_89 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)
### ANSWER
SELECT MAX(top_10) FROM table_name_89 WHERE events < 39 AND top_5 = 1 AND cuts_made > 5
|
{
"answer": "SELECT MAX(top_10) FROM table_name_89 WHERE events < 39 AND top_5 = 1 AND cuts_made > 5",
"context": "CREATE TABLE table_name_89 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)",
"question": "What is the best top-10 result when events are fewer than 39, top-5 is 1 and more than 5 cuts are made?"
}
|
### QUESTION
What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?
### CONTEXT
CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Fault_Log (recorded_by_staff_id VARCHAR)
### ANSWER
SELECT T1.staff_name, T1.staff_id FROM Staff AS T1 JOIN Fault_Log AS T2 ON T1.staff_id = T2.recorded_by_staff_id EXCEPT SELECT T3.staff_name, T3.staff_id FROM Staff AS T3 JOIN Engineer_Visits AS T4 ON T3.staff_id = T4.contact_staff_id
|
{
"answer": "SELECT T1.staff_name, T1.staff_id FROM Staff AS T1 JOIN Fault_Log AS T2 ON T1.staff_id = T2.recorded_by_staff_id EXCEPT SELECT T3.staff_name, T3.staff_id FROM Staff AS T3 JOIN Engineer_Visits AS T4 ON T3.staff_id = T4.contact_staff_id",
"context": "CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Fault_Log (recorded_by_staff_id VARCHAR)",
"question": "What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?"
}
|
### QUESTION
Which Label has a Country of canada, and a Format of cd/digital download?
### CONTEXT
CREATE TABLE table_name_53 (label VARCHAR, country VARCHAR, format VARCHAR)
### ANSWER
SELECT label FROM table_name_53 WHERE country = "canada" AND format = "cd/digital download"
|
{
"answer": "SELECT label FROM table_name_53 WHERE country = \"canada\" AND format = \"cd/digital download\"",
"context": "CREATE TABLE table_name_53 (label VARCHAR, country VARCHAR, format VARCHAR)",
"question": "Which Label has a Country of canada, and a Format of cd/digital download?"
}
|
### QUESTION
What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181?
### CONTEXT
CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR)
### ANSWER
SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181
|
{
"answer": "SELECT MIN(rank) FROM table_name_66 WHERE name = \"area of permanent crops\" AND out_of < 181",
"context": "CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR)",
"question": "What is the lowest Rank for the Name, \"area of permanent crops\", Out of a number smaller than 181?"
}
|
### QUESTION
Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4?
### CONTEXT
CREATE TABLE table_name_44 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
### ANSWER
SELECT MAX(bronze) FROM table_name_44 WHERE rank > 1 AND nation = "dominican republic" AND total > 4
|
{
"answer": "SELECT MAX(bronze) FROM table_name_44 WHERE rank > 1 AND nation = \"dominican republic\" AND total > 4",
"context": "CREATE TABLE table_name_44 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)",
"question": "Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4?"
}
|
### QUESTION
What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733?
### CONTEXT
CREATE TABLE table_name_84 (preliminary INTEGER, interview VARCHAR, average VARCHAR)
### ANSWER
SELECT SUM(preliminary) FROM table_name_84 WHERE interview = 9.654 AND average < 9.733
|
{
"answer": "SELECT SUM(preliminary) FROM table_name_84 WHERE interview = 9.654 AND average < 9.733",
"context": "CREATE TABLE table_name_84 (preliminary INTEGER, interview VARCHAR, average VARCHAR)",
"question": "What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733?"
}
|
### QUESTION
What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen?
### CONTEXT
CREATE TABLE table_name_78 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)
### ANSWER
SELECT outgoing_manager FROM table_name_78 WHERE manner_of_departure = "end of tenure as caretaker" AND replaced_by = "jesper hansen"
|
{
"answer": "SELECT outgoing_manager FROM table_name_78 WHERE manner_of_departure = \"end of tenure as caretaker\" AND replaced_by = \"jesper hansen\"",
"context": "CREATE TABLE table_name_78 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)",
"question": "What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen?"
}
|
### QUESTION
How many points drew 2 with a losing bonus of 5?
### CONTEXT
CREATE TABLE table_name_12 (points_for VARCHAR, drawn VARCHAR, losing_bonus VARCHAR)
### ANSWER
SELECT points_for FROM table_name_12 WHERE drawn = "2" AND losing_bonus = "5"
|
{
"answer": "SELECT points_for FROM table_name_12 WHERE drawn = \"2\" AND losing_bonus = \"5\"",
"context": "CREATE TABLE table_name_12 (points_for VARCHAR, drawn VARCHAR, losing_bonus VARCHAR)",
"question": "How many points drew 2 with a losing bonus of 5?"
}
|
### QUESTION
Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2?
### CONTEXT
CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR)
### ANSWER
SELECT partner FROM table_name_94 WHERE outcome = "winner" AND year < 1993 AND score = "6–4, 6–2"
|
{
"answer": "SELECT partner FROM table_name_94 WHERE outcome = \"winner\" AND year < 1993 AND score = \"6–4, 6–2\"",
"context": "CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR)",
"question": "Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2?"
}
|
### QUESTION
What was the date of the Arden Street Oval game?
### CONTEXT
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
### ANSWER
SELECT date FROM table_name_59 WHERE venue = "arden street oval"
|
{
"answer": "SELECT date FROM table_name_59 WHERE venue = \"arden street oval\"",
"context": "CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)",
"question": "What was the date of the Arden Street Oval game?"
}
|
### QUESTION
What is the average round of the s position player from the college of Mississippi and has an overall less than 214?
### CONTEXT
CREATE TABLE table_name_79 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
### ANSWER
SELECT AVG(round) FROM table_name_79 WHERE position = "s" AND college = "mississippi" AND overall < 214
|
{
"answer": "SELECT AVG(round) FROM table_name_79 WHERE position = \"s\" AND college = \"mississippi\" AND overall < 214",
"context": "CREATE TABLE table_name_79 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)",
"question": "What is the average round of the s position player from the college of Mississippi and has an overall less than 214?"
}
|
### QUESTION
what is the maximum first elected with district being alabama 5
### CONTEXT
CREATE TABLE table_1342270_3 (first_elected INTEGER, district VARCHAR)
### ANSWER
SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 5"
|
{
"answer": "SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = \"Alabama 5\"",
"context": "CREATE TABLE table_1342270_3 (first_elected INTEGER, district VARCHAR)",
"question": "what is the maximum first elected with district being alabama 5"
}
|
### QUESTION
Name the points for thierry tassin category:articles with hcards
### CONTEXT
CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR)
### ANSWER
SELECT points FROM table_19001175_1 WHERE name = "Thierry Tassin Category:Articles with hCards"
|
{
"answer": "SELECT points FROM table_19001175_1 WHERE name = \"Thierry Tassin Category:Articles with hCards\"",
"context": "CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR)",
"question": "Name the points for thierry tassin category:articles with hcards"
}
|
### QUESTION
What methos did Keith Wisniewski use in the ufc fight night: teixeira vs. bader?
### CONTEXT
CREATE TABLE table_name_99 (method VARCHAR, event VARCHAR)
### ANSWER
SELECT method FROM table_name_99 WHERE event = "ufc fight night: teixeira vs. bader"
|
{
"answer": "SELECT method FROM table_name_99 WHERE event = \"ufc fight night: teixeira vs. bader\"",
"context": "CREATE TABLE table_name_99 (method VARCHAR, event VARCHAR)",
"question": "What methos did Keith Wisniewski use in the ufc fight night: teixeira vs. bader?"
}
|
### QUESTION
What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51?
### CONTEXT
CREATE TABLE table_name_1 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, losses VARCHAR)
### ANSWER
SELECT MAX(draws) FROM table_name_1 WHERE goals_against > 33 AND losses = 13 AND goals_for < 51
|
{
"answer": "SELECT MAX(draws) FROM table_name_1 WHERE goals_against > 33 AND losses = 13 AND goals_for < 51",
"context": "CREATE TABLE table_name_1 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, losses VARCHAR)",
"question": "What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51?"
}
|
### QUESTION
Name the leading scorer for 12 january 2008
### CONTEXT
CREATE TABLE table_name_40 (leading_scorer VARCHAR, date VARCHAR)
### ANSWER
SELECT leading_scorer FROM table_name_40 WHERE date = "12 january 2008"
|
{
"answer": "SELECT leading_scorer FROM table_name_40 WHERE date = \"12 january 2008\"",
"context": "CREATE TABLE table_name_40 (leading_scorer VARCHAR, date VARCHAR)",
"question": "Name the leading scorer for 12 january 2008"
}
|
### QUESTION
Who is the winner in the week listed as 26 June 2 weeks, when the runner-up is Arantxa Sánchez Vicario?
### CONTEXT
CREATE TABLE table_name_71 (winner VARCHAR, week_of VARCHAR, runner_up VARCHAR)
### ANSWER
SELECT winner FROM table_name_71 WHERE week_of = "26 june 2 weeks" AND runner_up = "arantxa sánchez vicario"
|
{
"answer": "SELECT winner FROM table_name_71 WHERE week_of = \"26 june 2 weeks\" AND runner_up = \"arantxa sánchez vicario\"",
"context": "CREATE TABLE table_name_71 (winner VARCHAR, week_of VARCHAR, runner_up VARCHAR)",
"question": "Who is the winner in the week listed as 26 June 2 weeks, when the runner-up is Arantxa Sánchez Vicario?"
}
|
### QUESTION
Show the id, name of each editor and the number of journal committees they are on.
### CONTEXT
CREATE TABLE editor (editor_id VARCHAR, Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal_committee (Editor_ID VARCHAR)
### ANSWER
SELECT T1.editor_id, T1.Name, COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID = T2.Editor_ID GROUP BY T1.editor_id
|
{
"answer": "SELECT T1.editor_id, T1.Name, COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID = T2.Editor_ID GROUP BY T1.editor_id",
"context": "CREATE TABLE editor (editor_id VARCHAR, Name VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal_committee (Editor_ID VARCHAR)",
"question": "Show the id, name of each editor and the number of journal committees they are on."
}
|
### QUESTION
what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?
### CONTEXT
CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)
### ANSWER
SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar"
|
{
"answer": "SELECT AVG(capacity) FROM table_name_88 WHERE home_city = \"zagreb\" AND manager = \"zlatko kranjčar\"",
"context": "CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR)",
"question": "what is the capacity when the home city is zagreb and the manager is zlatko kranjčar?"
}
|
### QUESTION
Name the record for prudential center - 12,880
### CONTEXT
CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT record FROM table_27539272_4 WHERE location_attendance = "Prudential Center - 12,880"
|
{
"answer": "SELECT record FROM table_27539272_4 WHERE location_attendance = \"Prudential Center - 12,880\"",
"context": "CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR)",
"question": "Name the record for prudential center - 12,880"
}
|
### QUESTION
What is the area of the parish with a population larger than 1,172 and a census ranking of 1,871 of 5,008?
### CONTEXT
CREATE TABLE table_name_16 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)
### ANSWER
SELECT COUNT(area_km_2) FROM table_name_16 WHERE census_ranking = "1,871 of 5,008" AND population > 1 OFFSET 172
|
{
"answer": "SELECT COUNT(area_km_2) FROM table_name_16 WHERE census_ranking = \"1,871 of 5,008\" AND population > 1 OFFSET 172",
"context": "CREATE TABLE table_name_16 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)",
"question": "What is the area of the parish with a population larger than 1,172 and a census ranking of 1,871 of 5,008?"
}
|
### QUESTION
What is the general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?
### CONTEXT
CREATE TABLE table_name_94 (general_classification VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)
### ANSWER
SELECT general_classification FROM table_name_94 WHERE mountains_classification = "christophe moreau" AND team_classification = "team csc"
|
{
"answer": "SELECT general_classification FROM table_name_94 WHERE mountains_classification = \"christophe moreau\" AND team_classification = \"team csc\"",
"context": "CREATE TABLE table_name_94 (general_classification VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)",
"question": "What is the general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?"
}
|
### QUESTION
What is the win-loss when 2008 has a value of Q1 at Australian Open?
### CONTEXT
CREATE TABLE table_name_65 (career_win_loss VARCHAR, tournament VARCHAR)
### ANSWER
SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open"
|
{
"answer": "SELECT career_win_loss FROM table_name_65 WHERE 2008 = \"q1\" AND tournament = \"australian open\"",
"context": "CREATE TABLE table_name_65 (career_win_loss VARCHAR, tournament VARCHAR)",
"question": "What is the win-loss when 2008 has a value of Q1 at Australian Open?"
}
|
### QUESTION
What construction completed on 08/10/2007?
### CONTEXT
CREATE TABLE table_name_46 (listed VARCHAR, construction_completed VARCHAR)
### ANSWER
SELECT listed FROM table_name_46 WHERE construction_completed = "08/10/2007"
|
{
"answer": "SELECT listed FROM table_name_46 WHERE construction_completed = \"08/10/2007\"",
"context": "CREATE TABLE table_name_46 (listed VARCHAR, construction_completed VARCHAR)",
"question": "What construction completed on 08/10/2007?"
}
|
### QUESTION
What was the game result on November 16, 1969?
### CONTEXT
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)
### ANSWER
SELECT result FROM table_name_83 WHERE date = "november 16, 1969"
|
{
"answer": "SELECT result FROM table_name_83 WHERE date = \"november 16, 1969\"",
"context": "CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)",
"question": "What was the game result on November 16, 1969?"
}
|
### QUESTION
who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani?
### CONTEXT
CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
### ANSWER
SELECT constructor FROM table_name_66 WHERE grid > 23 AND driver = "piercarlo ghinzani"
|
{
"answer": "SELECT constructor FROM table_name_66 WHERE grid > 23 AND driver = \"piercarlo ghinzani\"",
"context": "CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)",
"question": "who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani?"
}
|
### QUESTION
What is the Area of the Allardville Parish with a Population smaller than 2,151?
### CONTEXT
CREATE TABLE table_name_10 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
### ANSWER
SELECT SUM(area_km_2) FROM table_name_10 WHERE official_name = "allardville" AND population < 2 OFFSET 151
|
{
"answer": "SELECT SUM(area_km_2) FROM table_name_10 WHERE official_name = \"allardville\" AND population < 2 OFFSET 151",
"context": "CREATE TABLE table_name_10 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)",
"question": "What is the Area of the Allardville Parish with a Population smaller than 2,151?"
}
|
### QUESTION
Which captain has Gintare Karpaviciute as an alternate?
### CONTEXT
CREATE TABLE table_name_33 (captain VARCHAR, alternate__1_ VARCHAR)
### ANSWER
SELECT captain FROM table_name_33 WHERE alternate__1_ = "gintare karpaviciute"
|
{
"answer": "SELECT captain FROM table_name_33 WHERE alternate__1_ = \"gintare karpaviciute\"",
"context": "CREATE TABLE table_name_33 (captain VARCHAR, alternate__1_ VARCHAR)",
"question": "Which captain has Gintare Karpaviciute as an alternate?"
}
|
### QUESTION
What is the Race 1 result of Round 2?
### CONTEXT
CREATE TABLE table_name_25 (race_1 VARCHAR, round VARCHAR)
### ANSWER
SELECT race_1 FROM table_name_25 WHERE round = "round 2"
|
{
"answer": "SELECT race_1 FROM table_name_25 WHERE round = \"round 2\"",
"context": "CREATE TABLE table_name_25 (race_1 VARCHAR, round VARCHAR)",
"question": "What is the Race 1 result of Round 2?"
}
|
### QUESTION
What are the last names of the author of the paper titled "Binders Unbound"?
### CONTEXT
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
### ANSWER
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title = "Binders Unbound"
|
{
"answer": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title = \"Binders Unbound\"",
"context": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)",
"question": "What are the last names of the author of the paper titled \"Binders Unbound\"?"
}
|
### QUESTION
What club is R. H. C. Human who has a right arm medium pace bowling style a member of?
### CONTEXT
CREATE TABLE table_name_41 (club VARCHAR, bowling_style VARCHAR, name VARCHAR)
### ANSWER
SELECT club FROM table_name_41 WHERE bowling_style = "right arm medium pace" AND name = "r. h. c. human"
|
{
"answer": "SELECT club FROM table_name_41 WHERE bowling_style = \"right arm medium pace\" AND name = \"r. h. c. human\"",
"context": "CREATE TABLE table_name_41 (club VARCHAR, bowling_style VARCHAR, name VARCHAR)",
"question": "What club is R. H. C. Human who has a right arm medium pace bowling style a member of?"
}
|
### QUESTION
What was the winning team with the 8,132 final attendance?
### CONTEXT
CREATE TABLE table_name_20 (winningteam VARCHAR, cup_final_attendance VARCHAR)
### ANSWER
SELECT winningteam FROM table_name_20 WHERE cup_final_attendance = "8,132"
|
{
"answer": "SELECT winningteam FROM table_name_20 WHERE cup_final_attendance = \"8,132\"",
"context": "CREATE TABLE table_name_20 (winningteam VARCHAR, cup_final_attendance VARCHAR)",
"question": "What was the winning team with the 8,132 final attendance?"
}
|
### QUESTION
What is the Game number on March 30?
### CONTEXT
CREATE TABLE table_name_33 (game VARCHAR, date VARCHAR)
### ANSWER
SELECT game FROM table_name_33 WHERE date = "march 30"
|
{
"answer": "SELECT game FROM table_name_33 WHERE date = \"march 30\"",
"context": "CREATE TABLE table_name_33 (game VARCHAR, date VARCHAR)",
"question": "What is the Game number on March 30?"
}
|
### QUESTION
Return the name and number of reservations made for each of the rooms.
### CONTEXT
CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)
### ANSWER
SELECT T2.roomName, COUNT(*), T1.Room FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room
|
{
"answer": "SELECT T2.roomName, COUNT(*), T1.Room FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room",
"context": "CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR)",
"question": "Return the name and number of reservations made for each of the rooms."
}
|
### QUESTION
What shows for 1992 when 1988 is A, at the Australian Open?
### CONTEXT
CREATE TABLE table_name_43 (tournament VARCHAR)
### ANSWER
SELECT 1992 FROM table_name_43 WHERE 1988 = "a" AND tournament = "australian open"
|
{
"answer": "SELECT 1992 FROM table_name_43 WHERE 1988 = \"a\" AND tournament = \"australian open\"",
"context": "CREATE TABLE table_name_43 (tournament VARCHAR)",
"question": "What shows for 1992 when 1988 is A, at the Australian Open?"
}
|
### QUESTION
When birkenhead is the city/town and merseyside is the county and england is the country how many ranks are there?
### CONTEXT
CREATE TABLE table_23248420_1 (rank VARCHAR, city_town VARCHAR, country VARCHAR, county VARCHAR)
### ANSWER
SELECT COUNT(rank) FROM table_23248420_1 WHERE country = "England" AND county = "Merseyside" AND city_town = "Birkenhead"
|
{
"answer": "SELECT COUNT(rank) FROM table_23248420_1 WHERE country = \"England\" AND county = \"Merseyside\" AND city_town = \"Birkenhead\"",
"context": "CREATE TABLE table_23248420_1 (rank VARCHAR, city_town VARCHAR, country VARCHAR, county VARCHAR)",
"question": "When birkenhead is the city/town and merseyside is the county and england is the country how many ranks are there?"
}
|
### QUESTION
Name the high assists for american airlines center 19,585
### CONTEXT
CREATE TABLE table_22871239_8 (high_assists VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT high_assists FROM table_22871239_8 WHERE location_attendance = "American Airlines Center 19,585"
|
{
"answer": "SELECT high_assists FROM table_22871239_8 WHERE location_attendance = \"American Airlines Center 19,585\"",
"context": "CREATE TABLE table_22871239_8 (high_assists VARCHAR, location_attendance VARCHAR)",
"question": "Name the high assists for american airlines center 19,585"
}
|
### QUESTION
What's the most wins of Tatong?
### CONTEXT
CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR)
### ANSWER
SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = "tatong"
|
{
"answer": "SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = \"tatong\"",
"context": "CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR)",
"question": "What's the most wins of Tatong?"
}
|
### QUESTION
When thomas löfkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications?
### CONTEXT
CREATE TABLE table_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)
### ANSWER
SELECT general_classification FROM table_18733814_2 WHERE points_classification = "Alessandro Petacchi" AND young_rider_classification = "Thomas Löfkvist"
|
{
"answer": "SELECT general_classification FROM table_18733814_2 WHERE points_classification = \"Alessandro Petacchi\" AND young_rider_classification = \"Thomas Löfkvist\"",
"context": "CREATE TABLE table_18733814_2 (general_classification VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)",
"question": "When thomas löfkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications? "
}
|
### QUESTION
Name the number of coverage for 106.7 energy fm
### CONTEXT
CREATE TABLE table_27914076_1 (coverage VARCHAR, branding VARCHAR)
### ANSWER
SELECT COUNT(coverage) FROM table_27914076_1 WHERE branding = "106.7 Energy FM"
|
{
"answer": "SELECT COUNT(coverage) FROM table_27914076_1 WHERE branding = \"106.7 Energy FM\"",
"context": "CREATE TABLE table_27914076_1 (coverage VARCHAR, branding VARCHAR)",
"question": "Name the number of coverage for 106.7 energy fm"
}
|
### QUESTION
Show the names of artworks in ascending order of the year they are nominated in.
### CONTEXT
CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_ID VARCHAR, Year VARCHAR)
### ANSWER
SELECT T2.Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID ORDER BY T3.Year
|
{
"answer": "SELECT T2.Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID ORDER BY T3.Year",
"context": "CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_ID VARCHAR, Year VARCHAR)",
"question": "Show the names of artworks in ascending order of the year they are nominated in."
}
|
### QUESTION
How many times was Scott Oelslager a representative?
### CONTEXT
CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR)
### ANSWER
SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = "Scott Oelslager"
|
{
"answer": "SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = \"Scott Oelslager\"",
"context": "CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR)",
"question": "How many times was Scott Oelslager a representative?"
}
|
### QUESTION
What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is "1973"?
### CONTEXT
CREATE TABLE table_name_97 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR, start VARCHAR)
### ANSWER
SELECT manufacturer FROM table_name_97 WHERE finish > 29 AND start < 23 AND year = 1973
|
{
"answer": "SELECT manufacturer FROM table_name_97 WHERE finish > 29 AND start < 23 AND year = 1973",
"context": "CREATE TABLE table_name_97 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR, start VARCHAR)",
"question": "What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is \"1973\"?"
}
|
### QUESTION
IN EVENTS 1995 STOH, WHO WAS THE THIRD WITH SKIP SANDRA PETERSON AND SECOND JOAN MCCUSKER?
### CONTEXT
CREATE TABLE table_name_52 (third VARCHAR, events VARCHAR, skip VARCHAR, second VARCHAR)
### ANSWER
SELECT third FROM table_name_52 WHERE skip = "sandra peterson" AND second = "joan mccusker" AND events = "1995 stoh"
|
{
"answer": "SELECT third FROM table_name_52 WHERE skip = \"sandra peterson\" AND second = \"joan mccusker\" AND events = \"1995 stoh\"",
"context": "CREATE TABLE table_name_52 (third VARCHAR, events VARCHAR, skip VARCHAR, second VARCHAR)",
"question": "IN EVENTS 1995 STOH, WHO WAS THE THIRD WITH SKIP SANDRA PETERSON AND SECOND JOAN MCCUSKER?"
}
|
### QUESTION
Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'.
### CONTEXT
CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR)
### ANSWER
SELECT T1.account_id, T1.date_account_opened, T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan'
|
{
"answer": "SELECT T1.account_id, T1.date_account_opened, T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan'",
"context": "CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR)",
"question": "Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'."
}
|
### QUESTION
What position does Cody Ceci play?
### CONTEXT
CREATE TABLE table_11803648_21 (position VARCHAR, player VARCHAR)
### ANSWER
SELECT position FROM table_11803648_21 WHERE player = "Cody Ceci"
|
{
"answer": "SELECT position FROM table_11803648_21 WHERE player = \"Cody Ceci\"",
"context": "CREATE TABLE table_11803648_21 (position VARCHAR, player VARCHAR)",
"question": "What position does Cody Ceci play?"
}
|
### QUESTION
how many times is the fleet series (quantity) is 468-473 (6)?
### CONTEXT
CREATE TABLE table_10007452_3 (order_year VARCHAR, fleet_series__quantity_ VARCHAR)
### ANSWER
SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = "468-473 (6)"
|
{
"answer": "SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = \"468-473 (6)\"",
"context": "CREATE TABLE table_10007452_3 (order_year VARCHAR, fleet_series__quantity_ VARCHAR)",
"question": "how many times is the fleet series (quantity) is 468-473 (6)?"
}
|
### QUESTION
What team has rank 3?
### CONTEXT
CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR)
### ANSWER
SELECT team FROM table_name_73 WHERE rank = 3
|
{
"answer": "SELECT team FROM table_name_73 WHERE rank = 3",
"context": "CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR)",
"question": "What team has rank 3?"
}
|
### QUESTION
What is the lowest Wins, when Losses is less than 10, when Goal Difference is less than 46, when Goals is less than 63, and when Played is less than 30?
### CONTEXT
CREATE TABLE table_name_50 (wins INTEGER, played VARCHAR, goals_for VARCHAR, losses VARCHAR, goal_difference VARCHAR)
### ANSWER
SELECT MIN(wins) FROM table_name_50 WHERE losses < 10 AND goal_difference < 46 AND goals_for < 63 AND played < 30
|
{
"answer": "SELECT MIN(wins) FROM table_name_50 WHERE losses < 10 AND goal_difference < 46 AND goals_for < 63 AND played < 30",
"context": "CREATE TABLE table_name_50 (wins INTEGER, played VARCHAR, goals_for VARCHAR, losses VARCHAR, goal_difference VARCHAR)",
"question": "What is the lowest Wins, when Losses is less than 10, when Goal Difference is less than 46, when Goals is less than 63, and when Played is less than 30?"
}
|
### QUESTION
Who is the Japanese voice actor of the Battle of the Planets of Keyop?
### CONTEXT
CREATE TABLE table_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR)
### ANSWER
SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = "keyop"
|
{
"answer": "SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = \"keyop\"",
"context": "CREATE TABLE table_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR)",
"question": "Who is the Japanese voice actor of the Battle of the Planets of Keyop?"
}
|
### QUESTION
How many entries for number in series when director is Bryan Cranston?
### CONTEXT
CREATE TABLE table_26736040_1 (no_in_series VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by = "Bryan Cranston"
|
{
"answer": "SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by = \"Bryan Cranston\"",
"context": "CREATE TABLE table_26736040_1 (no_in_series VARCHAR, directed_by VARCHAR)",
"question": "How many entries for number in series when director is Bryan Cranston?"
}
|
### QUESTION
Which competition was on August 11, 1996?
### CONTEXT
CREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR)
### ANSWER
SELECT competition FROM table_name_42 WHERE date = "august 11, 1996"
|
{
"answer": "SELECT competition FROM table_name_42 WHERE date = \"august 11, 1996\"",
"context": "CREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR)",
"question": "Which competition was on August 11, 1996?"
}
|
### QUESTION
what is the date of vacancy when the team is firpo and replaced by is oscar benitez?
### CONTEXT
CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_name_2 WHERE team = "firpo" AND replaced_by = "oscar benitez"
|
{
"answer": "SELECT date_of_vacancy FROM table_name_2 WHERE team = \"firpo\" AND replaced_by = \"oscar benitez\"",
"context": "CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR)",
"question": "what is the date of vacancy when the team is firpo and replaced by is oscar benitez?"
}
|
### QUESTION
List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.
### CONTEXT
CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)
### ANSWER
SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = "DDR3-1333" AND frequency = "2.66-2.8GHz"
|
{
"answer": "SELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = \"DDR3-1333\" AND frequency = \"2.66-2.8GHz\"",
"context": "CREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)",
"question": "List the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz."
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.