text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
When mount gauttier is the peak what is the highest prominence in meters?
### CONTEXT
CREATE TABLE table_18946749_1 (prominence__m_ INTEGER, peak VARCHAR)
### ANSWER
SELECT MAX(prominence__m_) FROM table_18946749_1 WHERE peak = "Mount Gauttier" | {
"answer": "SELECT MAX(prominence__m_) FROM table_18946749_1 WHERE peak = \"Mount Gauttier\"",
"context": "CREATE TABLE table_18946749_1 (prominence__m_ INTEGER, peak VARCHAR)",
"question": "When mount gauttier is the peak what is the highest prominence in meters?"
} |
### QUESTION
What year was clair engle first elected?
### CONTEXT
CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT first_elected FROM table_1342218_6 WHERE incumbent = "Clair Engle" | {
"answer": "SELECT first_elected FROM table_1342218_6 WHERE incumbent = \"Clair Engle\"",
"context": "CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR)",
"question": "What year was clair engle first elected?"
} |
### QUESTION
What is the listed Tonnage that has U-boats destroyed (KuK) of 2 and Ships sunk (Pola) of (not recorded)?
### CONTEXT
CREATE TABLE table_name_54 (tonnage VARCHAR, u_boats_destroyed__kuk_ VARCHAR, ships_sunk__pola_ VARCHAR)
### ANSWER
SELECT tonnage FROM table_name_54 WHERE u_boats_destroyed__kuk_ = "2" AND ships_sunk__pola_ = "(not recorded)" | {
"answer": "SELECT tonnage FROM table_name_54 WHERE u_boats_destroyed__kuk_ = \"2\" AND ships_sunk__pola_ = \"(not recorded)\"",
"context": "CREATE TABLE table_name_54 (tonnage VARCHAR, u_boats_destroyed__kuk_ VARCHAR, ships_sunk__pola_ VARCHAR)",
"question": "What is the listed Tonnage that has U-boats destroyed (KuK) of 2 and Ships sunk (Pola) of (not recorded)?"
} |
### QUESTION
What year has an issue price over 15.95, and a special notes from edmonton oilers gift set?
### CONTEXT
CREATE TABLE table_name_10 (year VARCHAR, issue_price VARCHAR, special_notes VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_10 WHERE issue_price > 15.95 AND special_notes = "from edmonton oilers gift set" | {
"answer": "SELECT COUNT(year) FROM table_name_10 WHERE issue_price > 15.95 AND special_notes = \"from edmonton oilers gift set\"",
"context": "CREATE TABLE table_name_10 (year VARCHAR, issue_price VARCHAR, special_notes VARCHAR)",
"question": "What year has an issue price over 15.95, and a special notes from edmonton oilers gift set?"
} |
### QUESTION
Tell me the total number of picks for position of m of williams college
### CONTEXT
CREATE TABLE table_name_9 (pick__number VARCHAR, position VARCHAR, affiliation VARCHAR)
### ANSWER
SELECT COUNT(pick__number) FROM table_name_9 WHERE position = "m" AND affiliation = "williams college" | {
"answer": "SELECT COUNT(pick__number) FROM table_name_9 WHERE position = \"m\" AND affiliation = \"williams college\"",
"context": "CREATE TABLE table_name_9 (pick__number VARCHAR, position VARCHAR, affiliation VARCHAR)",
"question": "Tell me the total number of picks for position of m of williams college"
} |
### QUESTION
Which cornerback has the lowest overall and a pick number smaller than 16?
### CONTEXT
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16 | {
"answer": "SELECT MIN(overall) FROM table_name_30 WHERE position = \"cornerback\" AND pick__number < 16",
"context": "CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)",
"question": "Which cornerback has the lowest overall and a pick number smaller than 16?"
} |
### QUESTION
Who were the runners-up in the tournament on May 26, 1996?
### CONTEXT
CREATE TABLE table_name_93 (runner_s__up VARCHAR, date VARCHAR)
### ANSWER
SELECT runner_s__up FROM table_name_93 WHERE date = "may 26, 1996" | {
"answer": "SELECT runner_s__up FROM table_name_93 WHERE date = \"may 26, 1996\"",
"context": "CREATE TABLE table_name_93 (runner_s__up VARCHAR, date VARCHAR)",
"question": "Who were the runners-up in the tournament on May 26, 1996?"
} |
### QUESTION
What's the acting segment of 林佩琪 lin peiqi's events that are eliminated?
### CONTEXT
CREATE TABLE table_name_36 (acting_segment VARCHAR, status VARCHAR, name VARCHAR)
### ANSWER
SELECT acting_segment FROM table_name_36 WHERE status = "eliminated" AND name = "林佩琪 lin peiqi" | {
"answer": "SELECT acting_segment FROM table_name_36 WHERE status = \"eliminated\" AND name = \"林佩琪 lin peiqi\"",
"context": "CREATE TABLE table_name_36 (acting_segment VARCHAR, status VARCHAR, name VARCHAR)",
"question": "What's the acting segment of 林佩琪 lin peiqi's events that are eliminated?"
} |
### QUESTION
Which Facility ID has a City of license of springfield, ma, and a ERP / Power W smaller than 230?
### CONTEXT
CREATE TABLE table_name_15 (facility_id INTEGER, city_of_license VARCHAR, erp___power_w VARCHAR)
### ANSWER
SELECT MAX(facility_id) FROM table_name_15 WHERE city_of_license = "springfield, ma" AND erp___power_w < 230 | {
"answer": "SELECT MAX(facility_id) FROM table_name_15 WHERE city_of_license = \"springfield, ma\" AND erp___power_w < 230",
"context": "CREATE TABLE table_name_15 (facility_id INTEGER, city_of_license VARCHAR, erp___power_w VARCHAR)",
"question": "Which Facility ID has a City of license of springfield, ma, and a ERP / Power W smaller than 230?"
} |
### QUESTION
What is the largest metropolitan area of the Central-West?
### CONTEXT
CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)
### ANSWER
SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west" | {
"answer": "SELECT largest_metropolitan_area FROM table_name_99 WHERE name = \"central-west\"",
"context": "CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)",
"question": "What is the largest metropolitan area of the Central-West?"
} |
### QUESTION
What is the earnings per share when the net profit is 16.2 million dollars?
### CONTEXT
CREATE TABLE table_18077713_1 (earnings_per_share__¢_ VARCHAR, net_profit__us_$m_ VARCHAR)
### ANSWER
SELECT earnings_per_share__¢_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "16.2" | {
"answer": "SELECT earnings_per_share__¢_ FROM table_18077713_1 WHERE net_profit__us_$m_ = \"16.2\"",
"context": "CREATE TABLE table_18077713_1 (earnings_per_share__¢_ VARCHAR, net_profit__us_$m_ VARCHAR)",
"question": "What is the earnings per share when the net profit is 16.2 million dollars?"
} |
### QUESTION
Which place is Andy Bean from the United States?
### CONTEXT
CREATE TABLE table_name_50 (place VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT place FROM table_name_50 WHERE country = "united states" AND player = "andy bean" | {
"answer": "SELECT place FROM table_name_50 WHERE country = \"united states\" AND player = \"andy bean\"",
"context": "CREATE TABLE table_name_50 (place VARCHAR, country VARCHAR, player VARCHAR)",
"question": "Which place is Andy Bean from the United States?"
} |
### QUESTION
How many years was the pageant miss globe international and delegate was karen loren medrano agustin?
### CONTEXT
CREATE TABLE table_1825751_14 (year VARCHAR, pageant VARCHAR, delegate VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_1825751_14 WHERE pageant = "Miss Globe International" AND delegate = "Karen Loren Medrano Agustin" | {
"answer": "SELECT COUNT(year) FROM table_1825751_14 WHERE pageant = \"Miss Globe International\" AND delegate = \"Karen Loren Medrano Agustin\"",
"context": "CREATE TABLE table_1825751_14 (year VARCHAR, pageant VARCHAR, delegate VARCHAR)",
"question": "How many years was the pageant miss globe international and delegate was karen loren medrano agustin?"
} |
### QUESTION
what would be final four mvp maximum when first team is 1
### CONTEXT
CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR)
### ANSWER
SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1 | {
"answer": "SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1",
"context": "CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR)",
"question": "what would be final four mvp maximum when first team is 1"
} |
### QUESTION
Find the names of states that have some college students playing in the mid position but not in the goalie position.
### CONTEXT
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
### ANSWER
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' | {
"answer": "SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie'",
"context": "CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)",
"question": "Find the names of states that have some college students playing in the mid position but not in the goalie position."
} |
### QUESTION
What is the name of the player from Malaysia, Kuala Lumpur in Index f8?
### CONTEXT
CREATE TABLE table_name_67 (name VARCHAR, country VARCHAR, index VARCHAR)
### ANSWER
SELECT name FROM table_name_67 WHERE country = "malaysia, kuala lumpur" AND index = "f8" | {
"answer": "SELECT name FROM table_name_67 WHERE country = \"malaysia, kuala lumpur\" AND index = \"f8\"",
"context": "CREATE TABLE table_name_67 (name VARCHAR, country VARCHAR, index VARCHAR)",
"question": "What is the name of the player from Malaysia, Kuala Lumpur in Index f8?"
} |
### QUESTION
Who is the executive director of the Lemery, Batangas extension?
### CONTEXT
CREATE TABLE table_name_84 (executive_director VARCHAR, type VARCHAR, location VARCHAR)
### ANSWER
SELECT executive_director FROM table_name_84 WHERE type = "extension" AND location = "lemery, batangas" | {
"answer": "SELECT executive_director FROM table_name_84 WHERE type = \"extension\" AND location = \"lemery, batangas\"",
"context": "CREATE TABLE table_name_84 (executive_director VARCHAR, type VARCHAR, location VARCHAR)",
"question": "Who is the executive director of the Lemery, Batangas extension?"
} |
### QUESTION
Name the into service for dh2
### CONTEXT
CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
### ANSWER
SELECT into_service FROM table_29002641_1 WHERE number = "DH2" | {
"answer": "SELECT into_service FROM table_29002641_1 WHERE number = \"DH2\"",
"context": "CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)",
"question": "Name the into service for dh2"
} |
### QUESTION
What is the Other b when the FA Cup shows 3 (17)?
### CONTEXT
CREATE TABLE table_name_96 (other_b VARCHAR, fa_cup VARCHAR)
### ANSWER
SELECT other_b FROM table_name_96 WHERE fa_cup = "3 (17)" | {
"answer": "SELECT other_b FROM table_name_96 WHERE fa_cup = \"3 (17)\"",
"context": "CREATE TABLE table_name_96 (other_b VARCHAR, fa_cup VARCHAR)",
"question": "What is the Other b when the FA Cup shows 3 (17)?"
} |
### QUESTION
How many lap two's did marco andretti do?
### CONTEXT
CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR)
### ANSWER
SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti" | {
"answer": "SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = \"Marco Andretti\"",
"context": "CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR)",
"question": "How many lap two's did marco andretti do?"
} |
### QUESTION
What date was the opponent VFL Sindelfingen?
### CONTEXT
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)
### ANSWER
SELECT date FROM table_name_98 WHERE opponent = "vfl sindelfingen" | {
"answer": "SELECT date FROM table_name_98 WHERE opponent = \"vfl sindelfingen\"",
"context": "CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)",
"question": "What date was the opponent VFL Sindelfingen?"
} |
### QUESTION
What is the name of the customer that made the order with the largest quantity?
### CONTEXT
CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
### ANSWER
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items) | {
"answer": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items)",
"context": "CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)",
"question": "What is the name of the customer that made the order with the largest quantity?"
} |
### QUESTION
WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG?
### CONTEXT
CREATE TABLE table_name_3 (date_of_appointment VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR)
### ANSWER
SELECT date_of_appointment FROM table_name_3 WHERE position_in_table = "pre-season" AND replaced_by = "thomas thomasberg" | {
"answer": "SELECT date_of_appointment FROM table_name_3 WHERE position_in_table = \"pre-season\" AND replaced_by = \"thomas thomasberg\"",
"context": "CREATE TABLE table_name_3 (date_of_appointment VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR)",
"question": "WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG?"
} |
### QUESTION
On September 10 during Strikeforce: Heavyweight Grand Prix Semifinals, what was the PPV buyrate?
### CONTEXT
CREATE TABLE table_name_77 (ppv_buyrate VARCHAR, date VARCHAR, event VARCHAR)
### ANSWER
SELECT ppv_buyrate FROM table_name_77 WHERE date = "september 10" AND event = "strikeforce: heavyweight grand prix semifinals" | {
"answer": "SELECT ppv_buyrate FROM table_name_77 WHERE date = \"september 10\" AND event = \"strikeforce: heavyweight grand prix semifinals\"",
"context": "CREATE TABLE table_name_77 (ppv_buyrate VARCHAR, date VARCHAR, event VARCHAR)",
"question": "On September 10 during Strikeforce: Heavyweight Grand Prix Semifinals, what was the PPV buyrate?"
} |
### QUESTION
what is 2011 when the rank is less than 8 and the water park is ocean world?
### CONTEXT
CREATE TABLE table_name_58 (rank VARCHAR, water_park VARCHAR)
### ANSWER
SELECT SUM(2011) FROM table_name_58 WHERE rank < 8 AND water_park = "ocean world" | {
"answer": "SELECT SUM(2011) FROM table_name_58 WHERE rank < 8 AND water_park = \"ocean world\"",
"context": "CREATE TABLE table_name_58 (rank VARCHAR, water_park VARCHAR)",
"question": "what is 2011 when the rank is less than 8 and the water park is ocean world?"
} |
### QUESTION
What is Date, when Week is 11?
### CONTEXT
CREATE TABLE table_name_45 (date VARCHAR, week VARCHAR)
### ANSWER
SELECT date FROM table_name_45 WHERE week = 11 | {
"answer": "SELECT date FROM table_name_45 WHERE week = 11",
"context": "CREATE TABLE table_name_45 (date VARCHAR, week VARCHAR)",
"question": "What is Date, when Week is 11?"
} |
### QUESTION
What is the venue of the match with a 14:30 time and sun source as the away team?
### CONTEXT
CREATE TABLE table_name_67 (venue VARCHAR, time VARCHAR, away_team VARCHAR)
### ANSWER
SELECT venue FROM table_name_67 WHERE time = "14:30" AND away_team = "sun source" | {
"answer": "SELECT venue FROM table_name_67 WHERE time = \"14:30\" AND away_team = \"sun source\"",
"context": "CREATE TABLE table_name_67 (venue VARCHAR, time VARCHAR, away_team VARCHAR)",
"question": "What is the venue of the match with a 14:30 time and sun source as the away team?"
} |
### QUESTION
state the winnings of yates racing front row motorsports where poles were 0
### CONTEXT
CREATE TABLE table_2012187_1 (winnings VARCHAR, poles VARCHAR, team_s_ VARCHAR)
### ANSWER
SELECT winnings FROM table_2012187_1 WHERE poles = 0 AND team_s_ = "Yates Racing Front Row Motorsports" | {
"answer": "SELECT winnings FROM table_2012187_1 WHERE poles = 0 AND team_s_ = \"Yates Racing Front Row Motorsports\"",
"context": "CREATE TABLE table_2012187_1 (winnings VARCHAR, poles VARCHAR, team_s_ VARCHAR)",
"question": "state the winnings of yates racing front row motorsports where poles were 0"
} |
### QUESTION
What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 227?
### CONTEXT
CREATE TABLE table_name_91 (date VARCHAR, catalog VARCHAR, country VARCHAR, format VARCHAR)
### ANSWER
SELECT date FROM table_name_91 WHERE country = "uk" AND format = "cd" AND catalog = "edcd 227" | {
"answer": "SELECT date FROM table_name_91 WHERE country = \"uk\" AND format = \"cd\" AND catalog = \"edcd 227\"",
"context": "CREATE TABLE table_name_91 (date VARCHAR, catalog VARCHAR, country VARCHAR, format VARCHAR)",
"question": "What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 227?"
} |
### QUESTION
when the number of spectator are 5.28 millions, which is the smallest number of the episode in series?
### CONTEXT
CREATE TABLE table_23117208_3 (no_in_series INTEGER, viewers__millions_ VARCHAR)
### ANSWER
SELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = "5.28" | {
"answer": "SELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = \"5.28\"",
"context": "CREATE TABLE table_23117208_3 (no_in_series INTEGER, viewers__millions_ VARCHAR)",
"question": "when the number of spectator are 5.28 millions, which is the smallest number of the episode in series? "
} |
### QUESTION
What the episode count for Ben 10: Alien Force Volume 8 on DVD?
### CONTEXT
CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR)
### ANSWER
SELECT episode_count FROM table_name_90 WHERE dvd_title = "ben 10: alien force volume 8" | {
"answer": "SELECT episode_count FROM table_name_90 WHERE dvd_title = \"ben 10: alien force volume 8\"",
"context": "CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR)",
"question": "What the episode count for Ben 10: Alien Force Volume 8 on DVD?"
} |
### QUESTION
Name the year model for 4-cyl straight engine dohc 16v and 1.5 crdi
### CONTEXT
CREATE TABLE table_1444201_1 (year_model VARCHAR, engine VARCHAR, model VARCHAR)
### ANSWER
SELECT year_model FROM table_1444201_1 WHERE engine = "4-cyl Straight engine DOHC 16V" AND model = "1.5 CRDi" | {
"answer": "SELECT year_model FROM table_1444201_1 WHERE engine = \"4-cyl Straight engine DOHC 16V\" AND model = \"1.5 CRDi\"",
"context": "CREATE TABLE table_1444201_1 (year_model VARCHAR, engine VARCHAR, model VARCHAR)",
"question": "Name the year model for 4-cyl straight engine dohc 16v and 1.5 crdi"
} |
### QUESTION
Find the name of account that has the lowest total checking and saving balance.
### CONTEXT
CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
### ANSWER
SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance LIMIT 1 | {
"answer": "SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance LIMIT 1",
"context": "CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)",
"question": "Find the name of account that has the lowest total checking and saving balance."
} |
### QUESTION
Show publishers with a book published in 1989 and a book in 1990.
### CONTEXT
CREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR)
### ANSWER
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990 | {
"answer": "SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990",
"context": "CREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR)",
"question": "Show publishers with a book published in 1989 and a book in 1990."
} |
### QUESTION
What was the date of the game against Norway with a 1:1 result?
### CONTEXT
CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR)
### ANSWER
SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "1:1" | {
"answer": "SELECT date FROM table_name_31 WHERE opponent = \"norway\" AND results¹ = \"1:1\"",
"context": "CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR)",
"question": "What was the date of the game against Norway with a 1:1 result?"
} |
### QUESTION
What is the Mayor of Riva del Garda in 2010?
### CONTEXT
CREATE TABLE table_name_37 (mayor VARCHAR, election VARCHAR, municipality VARCHAR)
### ANSWER
SELECT mayor FROM table_name_37 WHERE election = 2010 AND municipality = "riva del garda" | {
"answer": "SELECT mayor FROM table_name_37 WHERE election = 2010 AND municipality = \"riva del garda\"",
"context": "CREATE TABLE table_name_37 (mayor VARCHAR, election VARCHAR, municipality VARCHAR)",
"question": "What is the Mayor of Riva del Garda in 2010?"
} |
### QUESTION
Who was the opponent at the game that had a loss of Harden (9-6)?
### CONTEXT
CREATE TABLE table_name_27 (opponent VARCHAR, loss VARCHAR)
### ANSWER
SELECT opponent FROM table_name_27 WHERE loss = "harden (9-6)" | {
"answer": "SELECT opponent FROM table_name_27 WHERE loss = \"harden (9-6)\"",
"context": "CREATE TABLE table_name_27 (opponent VARCHAR, loss VARCHAR)",
"question": "Who was the opponent at the game that had a loss of Harden (9-6)?"
} |
### QUESTION
Who's the winner in stage 1a, where the leader in the young rider classification is Francesco Casagrande?
### CONTEXT
CREATE TABLE table_12261714_2 (winner VARCHAR, young_rider_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT winner FROM table_12261714_2 WHERE young_rider_classification = "Francesco Casagrande" AND stage = "1a" | {
"answer": "SELECT winner FROM table_12261714_2 WHERE young_rider_classification = \"Francesco Casagrande\" AND stage = \"1a\"",
"context": "CREATE TABLE table_12261714_2 (winner VARCHAR, young_rider_classification VARCHAR, stage VARCHAR)",
"question": "Who's the winner in stage 1a, where the leader in the young rider classification is Francesco Casagrande?"
} |
### QUESTION
What is the 1st leg with Team 2 Lyon?
### CONTEXT
CREATE TABLE table_name_98 (team_2 VARCHAR)
### ANSWER
SELECT 1 AS st_leg FROM table_name_98 WHERE team_2 = "lyon" | {
"answer": "SELECT 1 AS st_leg FROM table_name_98 WHERE team_2 = \"lyon\"",
"context": "CREATE TABLE table_name_98 (team_2 VARCHAR)",
"question": "What is the 1st leg with Team 2 Lyon?"
} |
### QUESTION
What is the lowest total that has draws less than 2 and wins less than 1, losses bigger than 1 with a goal difference of 1:2
### CONTEXT
CREATE TABLE table_name_89 (total INTEGER, losses VARCHAR, goal_difference VARCHAR, draws VARCHAR, wins VARCHAR)
### ANSWER
SELECT MIN(total) FROM table_name_89 WHERE draws < 2 AND wins < 1 AND goal_difference = "1:2" AND losses > 1 | {
"answer": "SELECT MIN(total) FROM table_name_89 WHERE draws < 2 AND wins < 1 AND goal_difference = \"1:2\" AND losses > 1",
"context": "CREATE TABLE table_name_89 (total INTEGER, losses VARCHAR, goal_difference VARCHAR, draws VARCHAR, wins VARCHAR)",
"question": "What is the lowest total that has draws less than 2 and wins less than 1, losses bigger than 1 with a goal difference of 1:2"
} |
### QUESTION
What is the biggest administrative panel with a nominated by the Taoiseach greater than 3 and an argricultural panel of 5, plust a cultural and educational panel larger than 2?
### CONTEXT
CREATE TABLE table_name_37 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)
### ANSWER
SELECT MAX(administrative_panel) FROM table_name_37 WHERE nominated_by_the_taoiseach > 3 AND agricultural_panel = 5 AND cultural_and_educational_panel > 2 | {
"answer": "SELECT MAX(administrative_panel) FROM table_name_37 WHERE nominated_by_the_taoiseach > 3 AND agricultural_panel = 5 AND cultural_and_educational_panel > 2",
"context": "CREATE TABLE table_name_37 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)",
"question": "What is the biggest administrative panel with a nominated by the Taoiseach greater than 3 and an argricultural panel of 5, plust a cultural and educational panel larger than 2?"
} |
### QUESTION
What Vehicle Flight # has Pilot Peterson and Velocity (km/h) of 649?
### CONTEXT
CREATE TABLE table_name_31 (vehicle_flight__number VARCHAR, pilot VARCHAR, velocity__km_h_ VARCHAR)
### ANSWER
SELECT vehicle_flight__number FROM table_name_31 WHERE pilot = "peterson" AND velocity__km_h_ = 649 | {
"answer": "SELECT vehicle_flight__number FROM table_name_31 WHERE pilot = \"peterson\" AND velocity__km_h_ = 649",
"context": "CREATE TABLE table_name_31 (vehicle_flight__number VARCHAR, pilot VARCHAR, velocity__km_h_ VARCHAR)",
"question": "What Vehicle Flight # has Pilot Peterson and Velocity (km/h) of 649?"
} |
### QUESTION
Which Venue has a Result of 5-1, and a Score of 1-0?
### CONTEXT
CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR)
### ANSWER
SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "1-0" | {
"answer": "SELECT venue FROM table_name_72 WHERE result = \"5-1\" AND score = \"1-0\"",
"context": "CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR)",
"question": "Which Venue has a Result of 5-1, and a Score of 1-0?"
} |
### QUESTION
When was the first HC climb before 2013 with more than 3 times visited, more than 4 HC climbs, and a height of 1669?
### CONTEXT
CREATE TABLE table_name_23 (first_time_as_hc_climb VARCHAR, height__m_ VARCHAR, most_recent VARCHAR, no_of_times_visited VARCHAR, no_of_hc_climbs VARCHAR)
### ANSWER
SELECT first_time_as_hc_climb FROM table_name_23 WHERE no_of_times_visited > 3 AND no_of_hc_climbs = 4 AND most_recent < 2013 AND height__m_ = "1669" | {
"answer": "SELECT first_time_as_hc_climb FROM table_name_23 WHERE no_of_times_visited > 3 AND no_of_hc_climbs = 4 AND most_recent < 2013 AND height__m_ = \"1669\"",
"context": "CREATE TABLE table_name_23 (first_time_as_hc_climb VARCHAR, height__m_ VARCHAR, most_recent VARCHAR, no_of_times_visited VARCHAR, no_of_hc_climbs VARCHAR)",
"question": "When was the first HC climb before 2013 with more than 3 times visited, more than 4 HC climbs, and a height of 1669?"
} |
### QUESTION
What's the mountains classification when the points classification is Alessandro Petacchi and the general classification is Danilo Di Luca?
### CONTEXT
CREATE TABLE table_name_26 (mountains_classification VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_name_26 WHERE points_classification = "alessandro petacchi" AND general_classification = "danilo di luca" | {
"answer": "SELECT mountains_classification FROM table_name_26 WHERE points_classification = \"alessandro petacchi\" AND general_classification = \"danilo di luca\"",
"context": "CREATE TABLE table_name_26 (mountains_classification VARCHAR, points_classification VARCHAR, general_classification VARCHAR)",
"question": "What's the mountains classification when the points classification is Alessandro Petacchi and the general classification is Danilo Di Luca?"
} |
### QUESTION
When 68-292-68-292 is the ignition timing how many graphicals is it?
### CONTEXT
CREATE TABLE table_22915134_2 (graphical VARCHAR, ignition_timing VARCHAR)
### ANSWER
SELECT COUNT(graphical) FROM table_22915134_2 WHERE ignition_timing = "68-292-68-292" | {
"answer": "SELECT COUNT(graphical) FROM table_22915134_2 WHERE ignition_timing = \"68-292-68-292\"",
"context": "CREATE TABLE table_22915134_2 (graphical VARCHAR, ignition_timing VARCHAR)",
"question": "When 68-292-68-292 is the ignition timing how many graphicals is it?"
} |
### QUESTION
Which Played has a Lost larger than 2, and a Team of américa?
### CONTEXT
CREATE TABLE table_name_4 (played VARCHAR, lost VARCHAR, team VARCHAR)
### ANSWER
SELECT played FROM table_name_4 WHERE lost > 2 AND team = "américa" | {
"answer": "SELECT played FROM table_name_4 WHERE lost > 2 AND team = \"américa\"",
"context": "CREATE TABLE table_name_4 (played VARCHAR, lost VARCHAR, team VARCHAR)",
"question": "Which Played has a Lost larger than 2, and a Team of américa?"
} |
### QUESTION
Who is the Opponent on January 16?
### CONTEXT
CREATE TABLE table_name_45 (opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT opponent FROM table_name_45 WHERE date = "january 16" | {
"answer": "SELECT opponent FROM table_name_45 WHERE date = \"january 16\"",
"context": "CREATE TABLE table_name_45 (opponent VARCHAR, date VARCHAR)",
"question": "Who is the Opponent on January 16?"
} |
### QUESTION
Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.
### CONTEXT
CREATE TABLE addresses (address_content VARCHAR, city VARCHAR, state_province_county VARCHAR)
### ANSWER
SELECT address_content FROM addresses WHERE city = "East Julianaside" AND state_province_county = "Texas" UNION SELECT address_content FROM addresses WHERE city = "Gleasonmouth" AND state_province_county = "Arizona" | {
"answer": "SELECT address_content FROM addresses WHERE city = \"East Julianaside\" AND state_province_county = \"Texas\" UNION SELECT address_content FROM addresses WHERE city = \"Gleasonmouth\" AND state_province_county = \"Arizona\"",
"context": "CREATE TABLE addresses (address_content VARCHAR, city VARCHAR, state_province_county VARCHAR)",
"question": "Find all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona."
} |
### QUESTION
Who is the semi-final second television commentator with graham norton as the final television commentator and scott mills as the spokesperson before 2013?
### CONTEXT
CREATE TABLE table_name_51 (semi_final_second_television_commentator VARCHAR, year_s_ VARCHAR, final_television_commentator VARCHAR, spokesperson VARCHAR)
### ANSWER
SELECT semi_final_second_television_commentator FROM table_name_51 WHERE final_television_commentator = "graham norton" AND spokesperson = "scott mills" AND year_s_ < 2013 | {
"answer": "SELECT semi_final_second_television_commentator FROM table_name_51 WHERE final_television_commentator = \"graham norton\" AND spokesperson = \"scott mills\" AND year_s_ < 2013",
"context": "CREATE TABLE table_name_51 (semi_final_second_television_commentator VARCHAR, year_s_ VARCHAR, final_television_commentator VARCHAR, spokesperson VARCHAR)",
"question": "Who is the semi-final second television commentator with graham norton as the final television commentator and scott mills as the spokesperson before 2013?"
} |
### QUESTION
How many different finales had the English title "Beyond the Realm of Conscience"?
### CONTEXT
CREATE TABLE table_19210674_1 (finale VARCHAR, english_title VARCHAR)
### ANSWER
SELECT COUNT(finale) FROM table_19210674_1 WHERE english_title = "Beyond the Realm of Conscience" | {
"answer": "SELECT COUNT(finale) FROM table_19210674_1 WHERE english_title = \"Beyond the Realm of Conscience\"",
"context": "CREATE TABLE table_19210674_1 (finale VARCHAR, english_title VARCHAR)",
"question": "How many different finales had the English title \"Beyond the Realm of Conscience\"?"
} |
### QUESTION
What is Claude Harmon's Place?
### CONTEXT
CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR)
### ANSWER
SELECT place FROM table_name_37 WHERE player = "claude harmon" | {
"answer": "SELECT place FROM table_name_37 WHERE player = \"claude harmon\"",
"context": "CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR)",
"question": "What is Claude Harmon's Place?"
} |
### QUESTION
Find the name of instructor who is the advisor of the student who has the highest number of total credits.
### CONTEXT
CREATE TABLE student (id VARCHAR, tot_cred VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)
### ANSWER
SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC LIMIT 1 | {
"answer": "SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC LIMIT 1",
"context": "CREATE TABLE student (id VARCHAR, tot_cred VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)",
"question": "Find the name of instructor who is the advisor of the student who has the highest number of total credits."
} |
### QUESTION
What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?
### CONTEXT
CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, unit__kwh__time_range VARCHAR)
### ANSWER
SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE unit__kwh__time_range = "I-2: Peak (18:30-22:30)" | {
"answer": "SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE unit__kwh__time_range = \"I-2: Peak (18:30-22:30)\"",
"context": "CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, unit__kwh__time_range VARCHAR)",
"question": "What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?"
} |
### QUESTION
Which teams classification winners had a general classification winner of Allan Davis?
### CONTEXT
CREATE TABLE table_28092844_16 (teams_classification VARCHAR, general_classification_żółta_koszulka VARCHAR)
### ANSWER
SELECT teams_classification FROM table_28092844_16 WHERE general_classification_żółta_koszulka = "Allan Davis" | {
"answer": "SELECT teams_classification FROM table_28092844_16 WHERE general_classification_żółta_koszulka = \"Allan Davis\"",
"context": "CREATE TABLE table_28092844_16 (teams_classification VARCHAR, general_classification_żółta_koszulka VARCHAR)",
"question": "Which teams classification winners had a general classification winner of Allan Davis?"
} |
### QUESTION
Which league cup apps has FA as the cup apps of 5?
### CONTEXT
CREATE TABLE table_name_83 (league_cup_apps VARCHAR, fa_cup_apps VARCHAR)
### ANSWER
SELECT league_cup_apps FROM table_name_83 WHERE fa_cup_apps = "5" | {
"answer": "SELECT league_cup_apps FROM table_name_83 WHERE fa_cup_apps = \"5\"",
"context": "CREATE TABLE table_name_83 (league_cup_apps VARCHAR, fa_cup_apps VARCHAR)",
"question": "Which league cup apps has FA as the cup apps of 5?"
} |
### QUESTION
List the names of all winners who played in both 2013 and 2016.
### CONTEXT
CREATE TABLE matches (winner_name VARCHAR, YEAR VARCHAR)
### ANSWER
SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016 | {
"answer": "SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016",
"context": "CREATE TABLE matches (winner_name VARCHAR, YEAR VARCHAR)",
"question": "List the names of all winners who played in both 2013 and 2016."
} |
### QUESTION
What is the country of player chi-chi rodríguez, who has an e to par?
### CONTEXT
CREATE TABLE table_name_2 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### ANSWER
SELECT country FROM table_name_2 WHERE to_par = "e" AND player = "chi-chi rodríguez" | {
"answer": "SELECT country FROM table_name_2 WHERE to_par = \"e\" AND player = \"chi-chi rodríguez\"",
"context": "CREATE TABLE table_name_2 (country VARCHAR, to_par VARCHAR, player VARCHAR)",
"question": "What is the country of player chi-chi rodríguez, who has an e to par?"
} |
### QUESTION
Find names of all students who took some course and got A or C.
### CONTEXT
CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR)
### ANSWER
SELECT T1.stu_fname, T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE T2.enroll_grade = 'C' OR T2.enroll_grade = 'A' | {
"answer": "SELECT T1.stu_fname, T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE T2.enroll_grade = 'C' OR T2.enroll_grade = 'A'",
"context": "CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR)",
"question": "Find names of all students who took some course and got A or C."
} |
### QUESTION
What rider is on an aprilia that went under 18 laps with a grid total of 17?
### CONTEXT
CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)
### ANSWER
SELECT rider FROM table_name_14 WHERE manufacturer = "aprilia" AND laps < 18 AND grid = 17 | {
"answer": "SELECT rider FROM table_name_14 WHERE manufacturer = \"aprilia\" AND laps < 18 AND grid = 17",
"context": "CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)",
"question": "What rider is on an aprilia that went under 18 laps with a grid total of 17?"
} |
### QUESTION
Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?
### CONTEXT
CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR)
### ANSWER
SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations" | {
"answer": "SELECT award_ceremony FROM table_name_87 WHERE nominee = \"sarah travis\" AND category = \"best orchestrations\"",
"context": "CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR)",
"question": "Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?"
} |
### QUESTION
WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?
### CONTEXT
CREATE TABLE table_name_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)
### ANSWER
SELECT project_management FROM table_name_9 WHERE blogs = "no" AND xml_forms_management_and_workflow = "no" AND enterprise_search = "no" AND social_software = "no" | {
"answer": "SELECT project_management FROM table_name_9 WHERE blogs = \"no\" AND xml_forms_management_and_workflow = \"no\" AND enterprise_search = \"no\" AND social_software = \"no\"",
"context": "CREATE TABLE table_name_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)",
"question": "WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?"
} |
### QUESTION
Name the average number of seasons for Prva HNL of 17
### CONTEXT
CREATE TABLE table_name_65 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR)
### ANSWER
SELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 17 | {
"answer": "SELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 17",
"context": "CREATE TABLE table_name_65 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR)",
"question": "Name the average number of seasons for Prva HNL of 17"
} |
### QUESTION
What was the F/Laps when the Wins were 0 and the Position was 4th?
### CONTEXT
CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)
### ANSWER
SELECT f_laps FROM table_name_97 WHERE wins = "0" AND position = "4th" | {
"answer": "SELECT f_laps FROM table_name_97 WHERE wins = \"0\" AND position = \"4th\"",
"context": "CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)",
"question": "What was the F/Laps when the Wins were 0 and the Position was 4th?"
} |
### QUESTION
How many years did he have an average finish of 29.2?
### CONTEXT
CREATE TABLE table_1637041_2 (winnings VARCHAR, avg_finish VARCHAR)
### ANSWER
SELECT COUNT(winnings) FROM table_1637041_2 WHERE avg_finish = "29.2" | {
"answer": "SELECT COUNT(winnings) FROM table_1637041_2 WHERE avg_finish = \"29.2\"",
"context": "CREATE TABLE table_1637041_2 (winnings VARCHAR, avg_finish VARCHAR)",
"question": "How many years did he have an average finish of 29.2?"
} |
### QUESTION
What is Score, when Player is "Bob Murphy"?
### CONTEXT
CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR)
### ANSWER
SELECT score FROM table_name_9 WHERE player = "bob murphy" | {
"answer": "SELECT score FROM table_name_9 WHERE player = \"bob murphy\"",
"context": "CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR)",
"question": "What is Score, when Player is \"Bob Murphy\"?"
} |
### QUESTION
How many companies operates airlines in each airport?
### CONTEXT
CREATE TABLE airport (id VARCHAR); CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR)
### ANSWER
SELECT T3.id, COUNT(*) FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id JOIN airport AS T3 ON T2.airport_id = T3.id GROUP BY T3.id | {
"answer": "SELECT T3.id, COUNT(*) FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id JOIN airport AS T3 ON T2.airport_id = T3.id GROUP BY T3.id",
"context": "CREATE TABLE airport (id VARCHAR); CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR)",
"question": "How many companies operates airlines in each airport?"
} |
### QUESTION
What was the average attendance on October 30, 1938?
### CONTEXT
CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)
### ANSWER
SELECT AVG(attendance) FROM table_name_33 WHERE date = "october 30, 1938" | {
"answer": "SELECT AVG(attendance) FROM table_name_33 WHERE date = \"october 30, 1938\"",
"context": "CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)",
"question": "What was the average attendance on October 30, 1938?"
} |
### QUESTION
Tell me the sum of the grid with alfa romeo and toulo de graffenried
### CONTEXT
CREATE TABLE table_name_86 (grid INTEGER, constructor VARCHAR, driver VARCHAR)
### ANSWER
SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried" | {
"answer": "SELECT SUM(grid) FROM table_name_86 WHERE constructor = \"alfa romeo\" AND driver = \"toulo de graffenried\"",
"context": "CREATE TABLE table_name_86 (grid INTEGER, constructor VARCHAR, driver VARCHAR)",
"question": "Tell me the sum of the grid with alfa romeo and toulo de graffenried"
} |
### QUESTION
Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date.
### CONTEXT
CREATE TABLE Claims (Date_Claim_Made VARCHAR, Amount_Settled INTEGER)
### ANSWER
SELECT Date_Claim_Made FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims) | {
"answer": "SELECT Date_Claim_Made FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims)",
"context": "CREATE TABLE Claims (Date_Claim_Made VARCHAR, Amount_Settled INTEGER)",
"question": "Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date."
} |
### QUESTION
List all the names of schools with an endowment amount smaller than or equal to 10.
### 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 GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10 | {
"answer": "SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10",
"context": "CREATE TABLE school (school_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER)",
"question": "List all the names of schools with an endowment amount smaller than or equal to 10."
} |
### QUESTION
Find the types of documents with more than 4 documents.
### CONTEXT
CREATE TABLE documents (document_type_code VARCHAR)
### ANSWER
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4 | {
"answer": "SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4",
"context": "CREATE TABLE documents (document_type_code VARCHAR)",
"question": "Find the types of documents with more than 4 documents."
} |
### QUESTION
What DVD season/name for region 2 was released August 22, 2010?
### CONTEXT
CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR)
### ANSWER
SELECT dvd_name FROM table_1067134_1 WHERE region_2 = "August 22, 2010" | {
"answer": "SELECT dvd_name FROM table_1067134_1 WHERE region_2 = \"August 22, 2010\"",
"context": "CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR)",
"question": "What DVD season/name for region 2 was released August 22, 2010?"
} |
### QUESTION
Name the lowest first elected for chester w. taylor
### CONTEXT
CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR)
### ANSWER
SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = "Chester W. Taylor" | {
"answer": "SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = \"Chester W. Taylor\"",
"context": "CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR)",
"question": "Name the lowest first elected for chester w. taylor"
} |
### QUESTION
What is the number week with a result of w 40–62?
### CONTEXT
CREATE TABLE table_name_35 (week INTEGER, result VARCHAR)
### ANSWER
SELECT SUM(week) FROM table_name_35 WHERE result = "w 40–62" | {
"answer": "SELECT SUM(week) FROM table_name_35 WHERE result = \"w 40–62\"",
"context": "CREATE TABLE table_name_35 (week INTEGER, result VARCHAR)",
"question": "What is the number week with a result of w 40–62?"
} |
### QUESTION
What city of license has a Frequency under 107.7, and a call sign of w247aq?
### CONTEXT
CREATE TABLE table_name_52 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
### ANSWER
SELECT city_of_license FROM table_name_52 WHERE frequency_mhz < 107.7 AND call_sign = "w247aq" | {
"answer": "SELECT city_of_license FROM table_name_52 WHERE frequency_mhz < 107.7 AND call_sign = \"w247aq\"",
"context": "CREATE TABLE table_name_52 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)",
"question": "What city of license has a Frequency under 107.7, and a call sign of w247aq?"
} |
### QUESTION
Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?
### CONTEXT
CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)
### ANSWER
SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = "ontario hockey league" AND nationality = "united states" AND team_from = "brampton battalion" | {
"answer": "SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = \"ontario hockey league\" AND nationality = \"united states\" AND team_from = \"brampton battalion\"",
"context": "CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)",
"question": "Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?"
} |
### QUESTION
Who was the team swash when the team guest captain was gail porter?
### CONTEXT
CREATE TABLE table_25816476_2 (team_swash VARCHAR, team_guest_captain VARCHAR)
### ANSWER
SELECT team_swash FROM table_25816476_2 WHERE team_guest_captain = "Gail Porter" | {
"answer": "SELECT team_swash FROM table_25816476_2 WHERE team_guest_captain = \"Gail Porter\"",
"context": "CREATE TABLE table_25816476_2 (team_swash VARCHAR, team_guest_captain VARCHAR)",
"question": "Who was the team swash when the team guest captain was gail porter?"
} |
### QUESTION
Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby?
### CONTEXT
CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby" | {
"answer": "SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = \"regan darby\"",
"context": "CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR)",
"question": "Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby?"
} |
### QUESTION
When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there?
### CONTEXT
CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)
### ANSWER
SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = "Sault Ste. Marie Greyhounds (OHA)" | {
"answer": "SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = \"Sault Ste. Marie Greyhounds (OHA)\"",
"context": "CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)",
"question": "When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there?"
} |
### QUESTION
How many times has the student Linda Smith visited Subway?
### CONTEXT
CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Student (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)
### ANSWER
SELECT COUNT(*) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" AND Restaurant.ResName = "Subway" | {
"answer": "SELECT COUNT(*) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID JOIN Restaurant ON Visits_Restaurant.ResID = Restaurant.ResID WHERE Student.Fname = \"Linda\" AND Student.Lname = \"Smith\" AND Restaurant.ResName = \"Subway\"",
"context": "CREATE TABLE Visits_Restaurant (Id VARCHAR); CREATE TABLE Student (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR)",
"question": "How many times has the student Linda Smith visited Subway?"
} |
### QUESTION
What are the school colors for the college whose main campus is overland park?
### CONTEXT
CREATE TABLE table_name_66 (school_colors VARCHAR, main_campus_location VARCHAR)
### ANSWER
SELECT school_colors FROM table_name_66 WHERE main_campus_location = "overland park" | {
"answer": "SELECT school_colors FROM table_name_66 WHERE main_campus_location = \"overland park\"",
"context": "CREATE TABLE table_name_66 (school_colors VARCHAR, main_campus_location VARCHAR)",
"question": "What are the school colors for the college whose main campus is overland park?"
} |
### QUESTION
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?
### CONTEXT
CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)
### ANSWER
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628 | {
"answer": "SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = \"buenos aires\" AND rating > 628",
"context": "CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)",
"question": "Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?"
} |
### QUESTION
What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against?
### CONTEXT
CREATE TABLE table_name_24 (losses INTEGER, wins VARCHAR, against VARCHAR, wimmera_fl VARCHAR)
### ANSWER
SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = "horsham saints" AND wins > 13 | {
"answer": "SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = \"horsham saints\" AND wins > 13",
"context": "CREATE TABLE table_name_24 (losses INTEGER, wins VARCHAR, against VARCHAR, wimmera_fl VARCHAR)",
"question": "What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against?"
} |
### QUESTION
What is the storm name and max speed which affected the greatest number of regions?
### CONTEXT
CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)
### ANSWER
SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)",
"question": "What is the storm name and max speed which affected the greatest number of regions?"
} |
### QUESTION
which Authority has a coed school with a decile greater than 4, with a 150 roll?
### CONTEXT
CREATE TABLE table_name_49 (authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR)
### ANSWER
SELECT authority FROM table_name_49 WHERE gender = "coed" AND decile > 4 AND roll = "150" | {
"answer": "SELECT authority FROM table_name_49 WHERE gender = \"coed\" AND decile > 4 AND roll = \"150\"",
"context": "CREATE TABLE table_name_49 (authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR)",
"question": "which Authority has a coed school with a decile greater than 4, with a 150 roll?"
} |
### QUESTION
If the special weapon is glass egg, what is the close ranged weapon?
### CONTEXT
CREATE TABLE table_27704991_1 (close_ranged_weapons VARCHAR, special_weapon VARCHAR)
### ANSWER
SELECT close_ranged_weapons FROM table_27704991_1 WHERE special_weapon = "Glass egg" | {
"answer": "SELECT close_ranged_weapons FROM table_27704991_1 WHERE special_weapon = \"Glass egg\"",
"context": "CREATE TABLE table_27704991_1 (close_ranged_weapons VARCHAR, special_weapon VARCHAR)",
"question": "If the special weapon is glass egg, what is the close ranged weapon?"
} |
### QUESTION
What is the total rank of the airport that has 79,290 passengers?
### CONTEXT
CREATE TABLE table_name_63 (rank VARCHAR, passengers VARCHAR)
### ANSWER
SELECT COUNT(rank) FROM table_name_63 WHERE passengers = 79 OFFSET 290 | {
"answer": "SELECT COUNT(rank) FROM table_name_63 WHERE passengers = 79 OFFSET 290",
"context": "CREATE TABLE table_name_63 (rank VARCHAR, passengers VARCHAR)",
"question": "What is the total rank of the airport that has 79,290 passengers?"
} |
### QUESTION
Which Scottish Cup has a League smaller than 561, Years of 1989–1995 1997–2001, and Europe smaller than 11?
### CONTEXT
CREATE TABLE table_name_22 (scottish_cup VARCHAR, europe VARCHAR, league VARCHAR, years VARCHAR)
### ANSWER
SELECT COUNT(scottish_cup) FROM table_name_22 WHERE league < 561 AND years = "1989–1995 1997–2001" AND europe < 11 | {
"answer": "SELECT COUNT(scottish_cup) FROM table_name_22 WHERE league < 561 AND years = \"1989–1995 1997–2001\" AND europe < 11",
"context": "CREATE TABLE table_name_22 (scottish_cup VARCHAR, europe VARCHAR, league VARCHAR, years VARCHAR)",
"question": "Which Scottish Cup has a League smaller than 561, Years of 1989–1995 1997–2001, and Europe smaller than 11?"
} |
### QUESTION
What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin?
### CONTEXT
CREATE TABLE table_name_15 (first_class_team VARCHAR, bowling_style VARCHAR)
### ANSWER
SELECT first_class_team FROM table_name_15 WHERE bowling_style = "left arm orthodox spin" | {
"answer": "SELECT first_class_team FROM table_name_15 WHERE bowling_style = \"left arm orthodox spin\"",
"context": "CREATE TABLE table_name_15 (first_class_team VARCHAR, bowling_style VARCHAR)",
"question": "What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin?"
} |
### QUESTION
What was round of 64 of the singles event when the result of round 16 was did not advance and the athlete was Iveta Benešová?
### CONTEXT
CREATE TABLE table_17289604_38 (round_of_64 VARCHAR, athlete VARCHAR, event VARCHAR, round_of_16 VARCHAR)
### ANSWER
SELECT round_of_64 FROM table_17289604_38 WHERE event = "Singles" AND round_of_16 = "Did not advance" AND athlete = "Iveta Benešová" | {
"answer": "SELECT round_of_64 FROM table_17289604_38 WHERE event = \"Singles\" AND round_of_16 = \"Did not advance\" AND athlete = \"Iveta Benešová\"",
"context": "CREATE TABLE table_17289604_38 (round_of_64 VARCHAR, athlete VARCHAR, event VARCHAR, round_of_16 VARCHAR)",
"question": "What was round of 64 of the singles event when the result of round 16 was did not advance and the athlete was Iveta Benešová?"
} |
### QUESTION
Who is the women's doubles when the mixed doubles are sudket prapakamol saralee thungthongkam?
### CONTEXT
CREATE TABLE table_27753492_2 (womens_doubles VARCHAR, mixed_doubles VARCHAR)
### ANSWER
SELECT womens_doubles FROM table_27753492_2 WHERE mixed_doubles = "Sudket Prapakamol Saralee Thungthongkam" | {
"answer": "SELECT womens_doubles FROM table_27753492_2 WHERE mixed_doubles = \"Sudket Prapakamol Saralee Thungthongkam\"",
"context": "CREATE TABLE table_27753492_2 (womens_doubles VARCHAR, mixed_doubles VARCHAR)",
"question": "Who is the women's doubles when the mixed doubles are sudket prapakamol saralee thungthongkam?"
} |
### QUESTION
If the home is Atlético Tucumán, what is the name of the first leg?
### CONTEXT
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)
### ANSWER
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Atlético Tucumán" | {
"answer": "SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = \"Atlético Tucumán\"",
"context": "CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)",
"question": "If the home is Atlético Tucumán, what is the name of the first leg?"
} |
### QUESTION
Who was the winner when Katsuyuki Hiranaka had the fastest lap?
### CONTEXT
CREATE TABLE table_name_89 (winner VARCHAR, fastest_lap VARCHAR)
### ANSWER
SELECT winner FROM table_name_89 WHERE fastest_lap = "katsuyuki hiranaka" | {
"answer": "SELECT winner FROM table_name_89 WHERE fastest_lap = \"katsuyuki hiranaka\"",
"context": "CREATE TABLE table_name_89 (winner VARCHAR, fastest_lap VARCHAR)",
"question": "Who was the winner when Katsuyuki Hiranaka had the fastest lap?"
} |
### QUESTION
When the stamp duty reserve tax is 3,669 what is the percentage over gdp?
### CONTEXT
CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR)
### ANSWER
SELECT over_gdp__in__percentage_ FROM table_1618358_1 WHERE stamp_duty_reserve_tax = "3,669" | {
"answer": "SELECT over_gdp__in__percentage_ FROM table_1618358_1 WHERE stamp_duty_reserve_tax = \"3,669\"",
"context": "CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR)",
"question": "When the stamp duty reserve tax is 3,669 what is the percentage over gdp?"
} |
### QUESTION
What is the bore of the boat howitzers with a 12-pdr heavy designation?
### CONTEXT
CREATE TABLE table_name_8 (bore VARCHAR, designation VARCHAR)
### ANSWER
SELECT bore FROM table_name_8 WHERE designation = "12-pdr heavy" | {
"answer": "SELECT bore FROM table_name_8 WHERE designation = \"12-pdr heavy\"",
"context": "CREATE TABLE table_name_8 (bore VARCHAR, designation VARCHAR)",
"question": "What is the bore of the boat howitzers with a 12-pdr heavy designation?"
} |
### QUESTION
What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards?
### CONTEXT
CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR)
### ANSWER
SELECT position FROM table_name_50 WHERE nationality = "united states" AND jersey_number_s_ = "12" AND player = "tom black category:articles with hcards" | {
"answer": "SELECT position FROM table_name_50 WHERE nationality = \"united states\" AND jersey_number_s_ = \"12\" AND player = \"tom black category:articles with hcards\"",
"context": "CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR, nationality VARCHAR, jersey_number_s_ VARCHAR)",
"question": "What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards?"
} |
### QUESTION
Which Name has a Bullett of 10.57 (.416) and a Base of 14.96 (.589)?
### CONTEXT
CREATE TABLE table_name_86 (name VARCHAR, bullet VARCHAR, base VARCHAR)
### ANSWER
SELECT name FROM table_name_86 WHERE bullet = "10.57 (.416)" AND base = "14.96 (.589)" | {
"answer": "SELECT name FROM table_name_86 WHERE bullet = \"10.57 (.416)\" AND base = \"14.96 (.589)\"",
"context": "CREATE TABLE table_name_86 (name VARCHAR, bullet VARCHAR, base VARCHAR)",
"question": "Which Name has a Bullett of 10.57 (.416) and a Base of 14.96 (.589)?"
} |
### QUESTION
What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?
### CONTEXT
CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)
### ANSWER
SELECT medal FROM table_name_71 WHERE sport = "boxing" AND games = "1970 edinburgh" AND name = "james odwori" | {
"answer": "SELECT medal FROM table_name_71 WHERE sport = \"boxing\" AND games = \"1970 edinburgh\" AND name = \"james odwori\"",
"context": "CREATE TABLE table_name_71 (medal VARCHAR, name VARCHAR, sport VARCHAR, games VARCHAR)",
"question": "What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games?"
} |
### QUESTION
What is the largest goal number when the transfer fee was £0.8m?
### CONTEXT
CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR)
### ANSWER
SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = "£0.8m" | {
"answer": "SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = \"£0.8m\"",
"context": "CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR)",
"question": "What is the largest goal number when the transfer fee was £0.8m?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.