text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?
### CONTEXT
CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR)
### ANSWER
SELECT operator FROM table_name_89 WHERE peak = "90" AND year_startup = "2010" AND project_name = "aosp expansion 1 (jackpine ph 1a)" | {
"answer": "SELECT operator FROM table_name_89 WHERE peak = \"90\" AND year_startup = \"2010\" AND project_name = \"aosp expansion 1 (jackpine ph 1a)\"",
"context": "CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR)",
"question": "What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?"
} |
### QUESTION
what is the average genes when the reference is 2009 and the strain is rku-1?
### CONTEXT
CREATE TABLE table_name_84 (genes INTEGER, reference VARCHAR, strain VARCHAR)
### ANSWER
SELECT AVG(genes) FROM table_name_84 WHERE reference = "2009" AND strain = "rku-1" | {
"answer": "SELECT AVG(genes) FROM table_name_84 WHERE reference = \"2009\" AND strain = \"rku-1\"",
"context": "CREATE TABLE table_name_84 (genes INTEGER, reference VARCHAR, strain VARCHAR)",
"question": "what is the average genes when the reference is 2009 and the strain is rku-1?"
} |
### QUESTION
What is the game number where josh smith (4) had the high assists?
### CONTEXT
CREATE TABLE table_27734577_13 (game INTEGER, high_assists VARCHAR)
### ANSWER
SELECT MIN(game) FROM table_27734577_13 WHERE high_assists = "Josh Smith (4)" | {
"answer": "SELECT MIN(game) FROM table_27734577_13 WHERE high_assists = \"Josh Smith (4)\"",
"context": "CREATE TABLE table_27734577_13 (game INTEGER, high_assists VARCHAR)",
"question": "What is the game number where josh smith (4) had the high assists?"
} |
### QUESTION
What is the Statue, when Venue is "Stadio Flaminio , Rome"?
### CONTEXT
CREATE TABLE table_name_63 (status VARCHAR, venue VARCHAR)
### ANSWER
SELECT status FROM table_name_63 WHERE venue = "stadio flaminio , rome" | {
"answer": "SELECT status FROM table_name_63 WHERE venue = \"stadio flaminio , rome\"",
"context": "CREATE TABLE table_name_63 (status VARCHAR, venue VARCHAR)",
"question": "What is the Statue, when Venue is \"Stadio Flaminio , Rome\"?"
} |
### QUESTION
Which Particle has a Rest mass MeV/c 2 of 1192.642(24)?
### CONTEXT
CREATE TABLE table_name_61 (particle VARCHAR, rest_mass_mev___c_2 VARCHAR)
### ANSWER
SELECT particle FROM table_name_61 WHERE rest_mass_mev___c_2 = "1192.642(24)" | {
"answer": "SELECT particle FROM table_name_61 WHERE rest_mass_mev___c_2 = \"1192.642(24)\"",
"context": "CREATE TABLE table_name_61 (particle VARCHAR, rest_mass_mev___c_2 VARCHAR)",
"question": "Which Particle has a Rest mass MeV/c 2 of 1192.642(24)?"
} |
### QUESTION
What was the match number for Start Gniezno?
### CONTEXT
CREATE TABLE table_name_13 (match VARCHAR, team VARCHAR)
### ANSWER
SELECT match FROM table_name_13 WHERE team = "start gniezno" | {
"answer": "SELECT match FROM table_name_13 WHERE team = \"start gniezno\"",
"context": "CREATE TABLE table_name_13 (match VARCHAR, team VARCHAR)",
"question": "What was the match number for Start Gniezno?"
} |
### QUESTION
What is the code for Saint-Damien in Matawinie with a type p?
### CONTEXT
CREATE TABLE table_name_35 (code INTEGER, name VARCHAR, regional_county_municipality VARCHAR, type VARCHAR)
### ANSWER
SELECT AVG(code) FROM table_name_35 WHERE regional_county_municipality = "matawinie" AND type = "p" AND name = "saint-damien" | {
"answer": "SELECT AVG(code) FROM table_name_35 WHERE regional_county_municipality = \"matawinie\" AND type = \"p\" AND name = \"saint-damien\"",
"context": "CREATE TABLE table_name_35 (code INTEGER, name VARCHAR, regional_county_municipality VARCHAR, type VARCHAR)",
"question": "What is the code for Saint-Damien in Matawinie with a type p?"
} |
### QUESTION
What is the phone number of the customer who has filed the most recent complaint?
### CONTEXT
CREATE TABLE customers (phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR, date_complaint_raised VARCHAR)
### ANSWER
SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id ORDER BY t2.date_complaint_raised DESC LIMIT 1 | {
"answer": "SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id ORDER BY t2.date_complaint_raised DESC LIMIT 1",
"context": "CREATE TABLE customers (phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR, date_complaint_raised VARCHAR)",
"question": "What is the phone number of the customer who has filed the most recent complaint?"
} |
### QUESTION
Name the try bonus of points against at 430
### CONTEXT
CREATE TABLE table_12792876_4 (try_bonus VARCHAR, points_against VARCHAR)
### ANSWER
SELECT try_bonus FROM table_12792876_4 WHERE points_against = "430" | {
"answer": "SELECT try_bonus FROM table_12792876_4 WHERE points_against = \"430\"",
"context": "CREATE TABLE table_12792876_4 (try_bonus VARCHAR, points_against VARCHAR)",
"question": "Name the try bonus of points against at 430"
} |
### QUESTION
How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4?
### CONTEXT
CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)
### ANSWER
SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology" | {
"answer": "SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = \"qingdao suncare nutritional technology\"",
"context": "CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)",
"question": "How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4?"
} |
### QUESTION
When the venue is away and the opponents are the bracknell bees, what is the competition?
### CONTEXT
CREATE TABLE table_name_88 (competition VARCHAR, venue VARCHAR, opponent VARCHAR)
### ANSWER
SELECT competition FROM table_name_88 WHERE venue = "away" AND opponent = "bracknell bees" | {
"answer": "SELECT competition FROM table_name_88 WHERE venue = \"away\" AND opponent = \"bracknell bees\"",
"context": "CREATE TABLE table_name_88 (competition VARCHAR, venue VARCHAR, opponent VARCHAR)",
"question": "When the venue is away and the opponents are the bracknell bees, what is the competition?"
} |
### QUESTION
What is the average Round for wide receiver r. jay soward and Overall smaller than 29?
### CONTEXT
CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR)
### ANSWER
SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29 | {
"answer": "SELECT AVG(round) FROM table_name_16 WHERE position = \"wide receiver\" AND name = \"r. jay soward\" AND overall < 29",
"context": "CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR)",
"question": "What is the average Round for wide receiver r. jay soward and Overall smaller than 29?"
} |
### QUESTION
Find the number of employees hired in each shop; show the shop name as well.
### CONTEXT
CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)
### ANSWER
SELECT COUNT(*), t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name | {
"answer": "SELECT COUNT(*), t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name",
"context": "CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)",
"question": "Find the number of employees hired in each shop; show the shop name as well."
} |
### QUESTION
What is department name and office for the professor whose last name is Heffington?
### CONTEXT
CREATE TABLE employee (emp_num VARCHAR, emp_lname VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR)
### ANSWER
SELECT T3.dept_name, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T1.emp_lname = 'Heffington' | {
"answer": "SELECT T3.dept_name, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T1.emp_lname = 'Heffington'",
"context": "CREATE TABLE employee (emp_num VARCHAR, emp_lname VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR)",
"question": "What is department name and office for the professor whose last name is Heffington?"
} |
### QUESTION
What capital has an S.Number under 7, and a Name of janapada of Punia?
### CONTEXT
CREATE TABLE table_name_89 (capital VARCHAR, sno VARCHAR, name_of_janapada VARCHAR)
### ANSWER
SELECT capital FROM table_name_89 WHERE sno < 7 AND name_of_janapada = "punia" | {
"answer": "SELECT capital FROM table_name_89 WHERE sno < 7 AND name_of_janapada = \"punia\"",
"context": "CREATE TABLE table_name_89 (capital VARCHAR, sno VARCHAR, name_of_janapada VARCHAR)",
"question": "What capital has an S.Number under 7, and a Name of janapada of Punia?"
} |
### QUESTION
What year did the United States win with a total of 278?
### CONTEXT
CREATE TABLE table_name_4 (year_s__won VARCHAR, country VARCHAR, total VARCHAR)
### ANSWER
SELECT year_s__won FROM table_name_4 WHERE country = "united states" AND total = 278 | {
"answer": "SELECT year_s__won FROM table_name_4 WHERE country = \"united states\" AND total = 278",
"context": "CREATE TABLE table_name_4 (year_s__won VARCHAR, country VARCHAR, total VARCHAR)",
"question": "What year did the United States win with a total of 278?"
} |
### QUESTION
Which professionals have done at least two types of treatments? List the professional id and cell phone.
### CONTEXT
CREATE TABLE Professionals (professional_id VARCHAR, cell_number VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)
### ANSWER
SELECT T1.professional_id, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 2 | {
"answer": "SELECT T1.professional_id, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 2",
"context": "CREATE TABLE Professionals (professional_id VARCHAR, cell_number VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)",
"question": "Which professionals have done at least two types of treatments? List the professional id and cell phone."
} |
### QUESTION
Show names of technicians who are assigned to repair machines with value point more than 70.
### CONTEXT
CREATE TABLE machine (machine_id VARCHAR, value_points INTEGER); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)
### ANSWER
SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID WHERE T2.value_points > 70 | {
"answer": "SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID WHERE T2.value_points > 70",
"context": "CREATE TABLE machine (machine_id VARCHAR, value_points INTEGER); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)",
"question": "Show names of technicians who are assigned to repair machines with value point more than 70."
} |
### QUESTION
NAME THE OVERALL FOR THE OMAHA (USHL) CLUB TEAM
### CONTEXT
CREATE TABLE table_11803648_17 (overall INTEGER, club_team VARCHAR)
### ANSWER
SELECT MIN(overall) FROM table_11803648_17 WHERE club_team = "Omaha (USHL)" | {
"answer": "SELECT MIN(overall) FROM table_11803648_17 WHERE club_team = \"Omaha (USHL)\"",
"context": "CREATE TABLE table_11803648_17 (overall INTEGER, club_team VARCHAR)",
"question": "NAME THE OVERALL FOR THE OMAHA (USHL) CLUB TEAM"
} |
### QUESTION
Which races have points greater than 123, fernando alonso as the driver and a percentage of possible points of 74.44%?
### CONTEXT
CREATE TABLE table_name_77 (races VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, driver VARCHAR)
### ANSWER
SELECT races FROM table_name_77 WHERE points > 123 AND driver = "fernando alonso" AND percentage_of_possible_points = "74.44%" | {
"answer": "SELECT races FROM table_name_77 WHERE points > 123 AND driver = \"fernando alonso\" AND percentage_of_possible_points = \"74.44%\"",
"context": "CREATE TABLE table_name_77 (races VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, driver VARCHAR)",
"question": "Which races have points greater than 123, fernando alonso as the driver and a percentage of possible points of 74.44%?"
} |
### QUESTION
Can you tell me the Matches that has the Rank of 1?
### CONTEXT
CREATE TABLE table_name_89 (matches VARCHAR, rank VARCHAR)
### ANSWER
SELECT matches FROM table_name_89 WHERE rank = 1 | {
"answer": "SELECT matches FROM table_name_89 WHERE rank = 1",
"context": "CREATE TABLE table_name_89 (matches VARCHAR, rank VARCHAR)",
"question": "Can you tell me the Matches that has the Rank of 1?"
} |
### QUESTION
Which HQ is associated with a number of employees of 100?
### CONTEXT
CREATE TABLE table_name_23 (headquarters VARCHAR, employees__world_ VARCHAR)
### ANSWER
SELECT headquarters FROM table_name_23 WHERE employees__world_ = 100 | {
"answer": "SELECT headquarters FROM table_name_23 WHERE employees__world_ = 100",
"context": "CREATE TABLE table_name_23 (headquarters VARCHAR, employees__world_ VARCHAR)",
"question": "Which HQ is associated with a number of employees of 100?"
} |
### QUESTION
What location did the team win before 1998 in the europe/africa zone, group i, round robin?
### CONTEXT
CREATE TABLE table_name_96 (location VARCHAR, year VARCHAR, competition VARCHAR, result VARCHAR)
### ANSWER
SELECT location FROM table_name_96 WHERE competition = "europe/africa zone, group i, round robin" AND result = "win" AND year < 1998 | {
"answer": "SELECT location FROM table_name_96 WHERE competition = \"europe/africa zone, group i, round robin\" AND result = \"win\" AND year < 1998",
"context": "CREATE TABLE table_name_96 (location VARCHAR, year VARCHAR, competition VARCHAR, result VARCHAR)",
"question": "What location did the team win before 1998 in the europe/africa zone, group i, round robin?"
} |
### QUESTION
What are the lowest top-5 with a top-25 larger than 4, 29 cuts and a top-10 larger than 18?
### CONTEXT
CREATE TABLE table_name_62 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)
### ANSWER
SELECT MIN(top_5) FROM table_name_62 WHERE top_25 > 4 AND cuts_made = 29 AND top_10 > 18 | {
"answer": "SELECT MIN(top_5) FROM table_name_62 WHERE top_25 > 4 AND cuts_made = 29 AND top_10 > 18",
"context": "CREATE TABLE table_name_62 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)",
"question": "What are the lowest top-5 with a top-25 larger than 4, 29 cuts and a top-10 larger than 18?"
} |
### QUESTION
What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527?
### CONTEXT
CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR)
### ANSWER
SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 3527 | {
"answer": "SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 3527",
"context": "CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR)",
"question": "What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527?"
} |
### QUESTION
What is the number for the international with 669 domestic earlier than 2005?
### CONTEXT
CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR)
### ANSWER
SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 AND year < 2005 | {
"answer": "SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 AND year < 2005",
"context": "CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR)",
"question": "What is the number for the international with 669 domestic earlier than 2005?"
} |
### QUESTION
What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City?
### CONTEXT
CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
### ANSWER
SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city" | {
"answer": "SELECT transfer_window FROM table_name_30 WHERE transfer_fee = \"free\" AND moving_to = \"norwich city\"",
"context": "CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)",
"question": "What is the Transfer window, when the Transfer fee is \"free\", and when the item \"Moving to\" is Norwich City?"
} |
### QUESTION
Show the locations of parties and the names of the party hosts in ascending order of the age of the host.
### CONTEXT
CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR, Age VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR)
### ANSWER
SELECT T3.Location, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID ORDER BY T2.Age | {
"answer": "SELECT T3.Location, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID ORDER BY T2.Age",
"context": "CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR, Age VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR)",
"question": "Show the locations of parties and the names of the party hosts in ascending order of the age of the host."
} |
### QUESTION
What is the score of the game with Falkirk as the runner-up?
### CONTEXT
CREATE TABLE table_name_48 (score VARCHAR, runner_up VARCHAR)
### ANSWER
SELECT score FROM table_name_48 WHERE runner_up = "falkirk" | {
"answer": "SELECT score FROM table_name_48 WHERE runner_up = \"falkirk\"",
"context": "CREATE TABLE table_name_48 (score VARCHAR, runner_up VARCHAR)",
"question": "What is the score of the game with Falkirk as the runner-up?"
} |
### QUESTION
What is Tournament, when Moves is "37", and when Result is "½–½"?
### CONTEXT
CREATE TABLE table_name_50 (tournament VARCHAR, moves VARCHAR, result VARCHAR)
### ANSWER
SELECT tournament FROM table_name_50 WHERE moves = 37 AND result = "½–½" | {
"answer": "SELECT tournament FROM table_name_50 WHERE moves = 37 AND result = \"½–½\"",
"context": "CREATE TABLE table_name_50 (tournament VARCHAR, moves VARCHAR, result VARCHAR)",
"question": "What is Tournament, when Moves is \"37\", and when Result is \"½–½\"?"
} |
### QUESTION
what was the engine used before 1996 with 5 points?
### CONTEXT
CREATE TABLE table_name_68 (engine VARCHAR, year VARCHAR, points VARCHAR)
### ANSWER
SELECT engine FROM table_name_68 WHERE year < 1996 AND points = 5 | {
"answer": "SELECT engine FROM table_name_68 WHERE year < 1996 AND points = 5",
"context": "CREATE TABLE table_name_68 (engine VARCHAR, year VARCHAR, points VARCHAR)",
"question": "what was the engine used before 1996 with 5 points?"
} |
### QUESTION
In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5?
### CONTEXT
CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR)
### ANSWER
SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = "united states" AND wins < 24 AND player = "george archer" AND rank > 5 | {
"answer": "SELECT COUNT(earnings__) AS $__ FROM table_name_28 WHERE country = \"united states\" AND wins < 24 AND player = \"george archer\" AND rank > 5",
"context": "CREATE TABLE table_name_28 (earnings__ VARCHAR, rank VARCHAR, player VARCHAR, country VARCHAR, wins VARCHAR)",
"question": "In total, how much did the United States player George Archer earn with Wins lower than 24 and a rank that was higher than 5?"
} |
### QUESTION
On July 25 what is the lowest attendance with the Brewers as the opponent?
### CONTEXT
CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
### ANSWER
SELECT MIN(attendance) FROM table_name_26 WHERE opponent = "brewers" AND date = "july 25" | {
"answer": "SELECT MIN(attendance) FROM table_name_26 WHERE opponent = \"brewers\" AND date = \"july 25\"",
"context": "CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR)",
"question": "On July 25 what is the lowest attendance with the Brewers as the opponent?"
} |
### QUESTION
What was the highest attendance when the opponent was the Indians and the record was 13-4?
### CONTEXT
CREATE TABLE table_name_99 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
### ANSWER
SELECT MAX(attendance) FROM table_name_99 WHERE opponent = "indians" AND record = "13-4" | {
"answer": "SELECT MAX(attendance) FROM table_name_99 WHERE opponent = \"indians\" AND record = \"13-4\"",
"context": "CREATE TABLE table_name_99 (attendance INTEGER, opponent VARCHAR, record VARCHAR)",
"question": "What was the highest attendance when the opponent was the Indians and the record was 13-4?"
} |
### QUESTION
What is the Fatalities when the tail number was unknown and in Kabul>
### CONTEXT
CREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR)
### ANSWER
SELECT fatalities FROM table_name_53 WHERE tail_number = "unknown" AND location = "kabul" | {
"answer": "SELECT fatalities FROM table_name_53 WHERE tail_number = \"unknown\" AND location = \"kabul\"",
"context": "CREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR)",
"question": "What is the Fatalities when the tail number was unknown and in Kabul>"
} |
### QUESTION
What is the area where population in 2010 is 38062?
### CONTEXT
CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR)
### ANSWER
SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062 | {
"answer": "SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062",
"context": "CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR)",
"question": "What is the area where population in 2010 is 38062?"
} |
### QUESTION
What is the nationality of the player who played for the Peterborough Petes (OHL)?
### CONTEXT
CREATE TABLE table_name_6 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
### ANSWER
SELECT nationality FROM table_name_6 WHERE college_junior_club_team__league_ = "peterborough petes (ohl)" | {
"answer": "SELECT nationality FROM table_name_6 WHERE college_junior_club_team__league_ = \"peterborough petes (ohl)\"",
"context": "CREATE TABLE table_name_6 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)",
"question": "What is the nationality of the player who played for the Peterborough Petes (OHL)?"
} |
### QUESTION
What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?
### CONTEXT
CREATE TABLE enzyme (id VARCHAR, name VARCHAR); CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (interaction_type VARCHAR, medicine_id VARCHAR, enzyme_id VARCHAR)
### ANSWER
SELECT T1.interaction_type FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id = T2.id JOIN enzyme AS T3 ON T1.enzyme_id = T3.id WHERE T3.name = 'ALA synthase' AND T2.name = 'Aripiprazole' | {
"answer": "SELECT T1.interaction_type FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id = T2.id JOIN enzyme AS T3 ON T1.enzyme_id = T3.id WHERE T3.name = 'ALA synthase' AND T2.name = 'Aripiprazole'",
"context": "CREATE TABLE enzyme (id VARCHAR, name VARCHAR); CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (interaction_type VARCHAR, medicine_id VARCHAR, enzyme_id VARCHAR)",
"question": "What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?"
} |
### QUESTION
What years runner-up is Birmingham city, with over 1 runners-up?
### CONTEXT
CREATE TABLE table_name_91 (years_runner_up VARCHAR, runners_up VARCHAR, club VARCHAR)
### ANSWER
SELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = "birmingham city" | {
"answer": "SELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = \"birmingham city\"",
"context": "CREATE TABLE table_name_91 (years_runner_up VARCHAR, runners_up VARCHAR, club VARCHAR)",
"question": "What years runner-up is Birmingham city, with over 1 runners-up?"
} |
### QUESTION
Show all company names and headquarters in the descending order of market value.
### CONTEXT
CREATE TABLE company (company VARCHAR, headquarters VARCHAR, market_value VARCHAR)
### ANSWER
SELECT company, headquarters FROM company ORDER BY market_value DESC | {
"answer": "SELECT company, headquarters FROM company ORDER BY market_value DESC",
"context": "CREATE TABLE company (company VARCHAR, headquarters VARCHAR, market_value VARCHAR)",
"question": "Show all company names and headquarters in the descending order of market value."
} |
### QUESTION
Name for me the tatsuhito takaiwa for Ryusuke Taguchi of taguchi (14:31)
### CONTEXT
CREATE TABLE table_name_50 (tatsuhito_takaiwa VARCHAR, ryusuke_taguchi VARCHAR)
### ANSWER
SELECT tatsuhito_takaiwa FROM table_name_50 WHERE ryusuke_taguchi = "taguchi (14:31)" | {
"answer": "SELECT tatsuhito_takaiwa FROM table_name_50 WHERE ryusuke_taguchi = \"taguchi (14:31)\"",
"context": "CREATE TABLE table_name_50 (tatsuhito_takaiwa VARCHAR, ryusuke_taguchi VARCHAR)",
"question": "Name for me the tatsuhito takaiwa for Ryusuke Taguchi of taguchi (14:31)"
} |
### QUESTION
What's the clock speed of the model that costs $910?
### CONTEXT
CREATE TABLE table_12740151_8 (clock_speed VARCHAR, price___usd__ VARCHAR)
### ANSWER
SELECT clock_speed FROM table_12740151_8 WHERE price___usd__ = "$910" | {
"answer": "SELECT clock_speed FROM table_12740151_8 WHERE price___usd__ = \"$910\"",
"context": "CREATE TABLE table_12740151_8 (clock_speed VARCHAR, price___usd__ VARCHAR)",
"question": "What's the clock speed of the model that costs $910?"
} |
### QUESTION
What is the score of the Home team of geelong?
### CONTEXT
CREATE TABLE table_name_74 (home_team VARCHAR)
### ANSWER
SELECT home_team AS score FROM table_name_74 WHERE home_team = "geelong" | {
"answer": "SELECT home_team AS score FROM table_name_74 WHERE home_team = \"geelong\"",
"context": "CREATE TABLE table_name_74 (home_team VARCHAR)",
"question": "What is the score of the Home team of geelong?"
} |
### QUESTION
Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentzen
### CONTEXT
CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
### ANSWER
SELECT constructor FROM table_name_57 WHERE grid > 4 AND driver = "heinz-harald frentzen" | {
"answer": "SELECT constructor FROM table_name_57 WHERE grid > 4 AND driver = \"heinz-harald frentzen\"",
"context": "CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)",
"question": "Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentzen"
} |
### QUESTION
Which Baltimore group is of the retroviridae family?
### CONTEXT
CREATE TABLE table_name_62 (baltimore_group VARCHAR, family VARCHAR)
### ANSWER
SELECT baltimore_group FROM table_name_62 WHERE family = "retroviridae" | {
"answer": "SELECT baltimore_group FROM table_name_62 WHERE family = \"retroviridae\"",
"context": "CREATE TABLE table_name_62 (baltimore_group VARCHAR, family VARCHAR)",
"question": "Which Baltimore group is of the retroviridae family?"
} |
### QUESTION
Show the citizenship shared by singers with birth year before 1945 and after 1955.
### CONTEXT
CREATE TABLE singer (Citizenship VARCHAR, Birth_Year INTEGER)
### ANSWER
SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955 | {
"answer": "SELECT Citizenship FROM singer WHERE Birth_Year < 1945 INTERSECT SELECT Citizenship FROM singer WHERE Birth_Year > 1955",
"context": "CREATE TABLE singer (Citizenship VARCHAR, Birth_Year INTEGER)",
"question": "Show the citizenship shared by singers with birth year before 1945 and after 1955."
} |
### QUESTION
Name the high points for pepsi center 18,611
### CONTEXT
CREATE TABLE table_17355408_5 (high_points VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT high_points FROM table_17355408_5 WHERE location_attendance = "Pepsi Center 18,611" | {
"answer": "SELECT high_points FROM table_17355408_5 WHERE location_attendance = \"Pepsi Center 18,611\"",
"context": "CREATE TABLE table_17355408_5 (high_points VARCHAR, location_attendance VARCHAR)",
"question": "Name the high points for pepsi center 18,611"
} |
### QUESTION
WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance?
### CONTEXT
CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR, category VARCHAR)
### ANSWER
SELECT result FROM table_name_79 WHERE year = 2003 AND category = "best urban/alternative performance" | {
"answer": "SELECT result FROM table_name_79 WHERE year = 2003 AND category = \"best urban/alternative performance\"",
"context": "CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR, category VARCHAR)",
"question": "WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance?"
} |
### QUESTION
who won the kansas state game on 11/26/1988
### CONTEXT
CREATE TABLE table_15740666_6 (kansas_state_vs VARCHAR, last_meeting VARCHAR)
### ANSWER
SELECT kansas_state_vs FROM table_15740666_6 WHERE last_meeting = "11/26/1988" | {
"answer": "SELECT kansas_state_vs FROM table_15740666_6 WHERE last_meeting = \"11/26/1988\"",
"context": "CREATE TABLE table_15740666_6 (kansas_state_vs VARCHAR, last_meeting VARCHAR)",
"question": "who won the kansas state game on 11/26/1988"
} |
### QUESTION
If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?
### CONTEXT
CREATE TABLE table_25182437_1 (end_date_of__final__term VARCHAR, prime_minister VARCHAR)
### ANSWER
SELECT end_date_of__final__term FROM table_25182437_1 WHERE prime_minister = "Palmer, Geoffrey Geoffrey Palmer" | {
"answer": "SELECT end_date_of__final__term FROM table_25182437_1 WHERE prime_minister = \"Palmer, Geoffrey Geoffrey Palmer\"",
"context": "CREATE TABLE table_25182437_1 (end_date_of__final__term VARCHAR, prime_minister VARCHAR)",
"question": "If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?"
} |
### QUESTION
Who is the color commentator when brian engblom is ice level reporters?
### CONTEXT
CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR)
### ANSWER
SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom" | {
"answer": "SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = \"Brian Engblom\"",
"context": "CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR)",
"question": "Who is the color commentator when brian engblom is ice level reporters?"
} |
### QUESTION
What is the location of the Sea Pines Heritage Classic tournament?
### CONTEXT
CREATE TABLE table_name_68 (location VARCHAR, tournament VARCHAR)
### ANSWER
SELECT location FROM table_name_68 WHERE tournament = "sea pines heritage classic" | {
"answer": "SELECT location FROM table_name_68 WHERE tournament = \"sea pines heritage classic\"",
"context": "CREATE TABLE table_name_68 (location VARCHAR, tournament VARCHAR)",
"question": "What is the location of the Sea Pines Heritage Classic tournament?"
} |
### QUESTION
Which Season has a Mole of frederique van der wal?
### CONTEXT
CREATE TABLE table_name_77 (season INTEGER, mole VARCHAR)
### ANSWER
SELECT MAX(season) FROM table_name_77 WHERE mole = "frederique van der wal" | {
"answer": "SELECT MAX(season) FROM table_name_77 WHERE mole = \"frederique van der wal\"",
"context": "CREATE TABLE table_name_77 (season INTEGER, mole VARCHAR)",
"question": "Which Season has a Mole of frederique van der wal?"
} |
### QUESTION
what is the game when the opponent is @ chicago stags?
### CONTEXT
CREATE TABLE table_name_87 (game INTEGER, opponent VARCHAR)
### ANSWER
SELECT SUM(game) FROM table_name_87 WHERE opponent = "@ chicago stags" | {
"answer": "SELECT SUM(game) FROM table_name_87 WHERE opponent = \"@ chicago stags\"",
"context": "CREATE TABLE table_name_87 (game INTEGER, opponent VARCHAR)",
"question": "what is the game when the opponent is @ chicago stags?"
} |
### QUESTION
What is Southern Illinois University Edwardsville's affiliation?
### CONTEXT
CREATE TABLE table_name_48 (affiliation VARCHAR, institution VARCHAR)
### ANSWER
SELECT affiliation FROM table_name_48 WHERE institution = "southern illinois university edwardsville" | {
"answer": "SELECT affiliation FROM table_name_48 WHERE institution = \"southern illinois university edwardsville\"",
"context": "CREATE TABLE table_name_48 (affiliation VARCHAR, institution VARCHAR)",
"question": "What is Southern Illinois University Edwardsville's affiliation?"
} |
### QUESTION
What is the location of game 7?
### CONTEXT
CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR)
### ANSWER
SELECT location FROM table_name_1 WHERE game = 7 | {
"answer": "SELECT location FROM table_name_1 WHERE game = 7",
"context": "CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR)",
"question": "What is the location of game 7?"
} |
### QUESTION
What is the record when the decision was valiquette on November 23?
### CONTEXT
CREATE TABLE table_name_46 (record VARCHAR, decision VARCHAR, november VARCHAR)
### ANSWER
SELECT record FROM table_name_46 WHERE decision = "valiquette" AND november = 23 | {
"answer": "SELECT record FROM table_name_46 WHERE decision = \"valiquette\" AND november = 23",
"context": "CREATE TABLE table_name_46 (record VARCHAR, decision VARCHAR, november VARCHAR)",
"question": "What is the record when the decision was valiquette on November 23?"
} |
### QUESTION
What is the sum of points values that are associated with 0 losses and more than 8 games?
### CONTEXT
CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR)
### ANSWER
SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8 | {
"answer": "SELECT SUM(points) FROM table_name_67 WHERE lost = 0 AND games > 8",
"context": "CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, games VARCHAR)",
"question": "What is the sum of points values that are associated with 0 losses and more than 8 games?"
} |
### QUESTION
What is the lowest figure for her age when the year of marriage is before 1853, the number of children is less than 8, and the bride was Eliza Maria Partridge?
### CONTEXT
CREATE TABLE table_name_60 (her_age INTEGER, name VARCHAR, year_of_marriage VARCHAR, _number_of_children VARCHAR)
### ANSWER
SELECT MIN(her_age) FROM table_name_60 WHERE year_of_marriage < 1853 AND _number_of_children < 8 AND name = "eliza maria partridge" | {
"answer": "SELECT MIN(her_age) FROM table_name_60 WHERE year_of_marriage < 1853 AND _number_of_children < 8 AND name = \"eliza maria partridge\"",
"context": "CREATE TABLE table_name_60 (her_age INTEGER, name VARCHAR, year_of_marriage VARCHAR, _number_of_children VARCHAR)",
"question": "What is the lowest figure for her age when the year of marriage is before 1853, the number of children is less than 8, and the bride was Eliza Maria Partridge?"
} |
### QUESTION
What's the name of the county where 54.6% voted for Bush?
### CONTEXT
CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)
### ANSWER
SELECT county FROM table_1304443_2 WHERE bush_percentage = "54.6%" | {
"answer": "SELECT county FROM table_1304443_2 WHERE bush_percentage = \"54.6%\"",
"context": "CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)",
"question": "What's the name of the county where 54.6% voted for Bush?"
} |
### QUESTION
Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams?
### CONTEXT
CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)
### ANSWER
SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = "1.7mm" AND weight = "3.50grams" | {
"answer": "SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = \"1.7mm\" AND weight = \"3.50grams\"",
"context": "CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)",
"question": "Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams?"
} |
### QUESTION
Which malaysian team classification had mohd nur rizuan zainal as points classification?
### CONTEXT
CREATE TABLE table_22464308_2 (malaysian_team_classification VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT malaysian_team_classification FROM table_22464308_2 WHERE points_classification = "Mohd Nur Rizuan Zainal" | {
"answer": "SELECT malaysian_team_classification FROM table_22464308_2 WHERE points_classification = \"Mohd Nur Rizuan Zainal\"",
"context": "CREATE TABLE table_22464308_2 (malaysian_team_classification VARCHAR, points_classification VARCHAR)",
"question": "Which malaysian team classification had mohd nur rizuan zainal as points classification?"
} |
### QUESTION
Show the names of conductors that have conducted more than one orchestras.
### CONTEXT
CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)
### ANSWER
SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1 | {
"answer": "SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1",
"context": "CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)",
"question": "Show the names of conductors that have conducted more than one orchestras."
} |
### QUESTION
Name the total number for % popular vote for # of seats won for 83
### CONTEXT
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
### ANSWER
SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83 | {
"answer": "SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83",
"context": "CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)",
"question": "Name the total number for % popular vote for # of seats won for 83"
} |
### QUESTION
What is the number of series with production code 503?
### CONTEXT
CREATE TABLE table_11630008_7 (series__number VARCHAR, production_code VARCHAR)
### ANSWER
SELECT COUNT(series__number) FROM table_11630008_7 WHERE production_code = 503 | {
"answer": "SELECT COUNT(series__number) FROM table_11630008_7 WHERE production_code = 503",
"context": "CREATE TABLE table_11630008_7 (series__number VARCHAR, production_code VARCHAR)",
"question": "What is the number of series with production code 503?"
} |
### QUESTION
What is the Date that has MARTIN of 7–9% and no Undecided?
### CONTEXT
CREATE TABLE table_name_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR)
### ANSWER
SELECT date FROM table_name_93 WHERE undecided = "–" AND martin = "7–9%" | {
"answer": "SELECT date FROM table_name_93 WHERE undecided = \"–\" AND martin = \"7–9%\"",
"context": "CREATE TABLE table_name_93 (date VARCHAR, undecided VARCHAR, martin VARCHAR)",
"question": "What is the Date that has MARTIN of 7–9% and no Undecided?"
} |
### QUESTION
What location and it's attendance was the game against the cavaliers?
### CONTEXT
CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR)
### ANSWER
SELECT location_attendance FROM table_23248910_6 WHERE team = "Cavaliers" | {
"answer": "SELECT location_attendance FROM table_23248910_6 WHERE team = \"Cavaliers\"",
"context": "CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR)",
"question": "What location and it's attendance was the game against the cavaliers?"
} |
### QUESTION
Find the name and salary of the instructors who are advisors of any student from History department?
### CONTEXT
CREATE TABLE instructor (name VARCHAR, salary VARCHAR, id VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR)
### ANSWER
SELECT T2.name, T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'History' | {
"answer": "SELECT T2.name, T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'History'",
"context": "CREATE TABLE instructor (name VARCHAR, salary VARCHAR, id VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR)",
"question": "Find the name and salary of the instructors who are advisors of any student from History department?"
} |
### QUESTION
What are the details of the lots which are not used in any transactions?
### CONTEXT
CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR)
### ANSWER
SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.lot_id | {
"answer": "SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.lot_id",
"context": "CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR)",
"question": "What are the details of the lots which are not used in any transactions?"
} |
### QUESTION
Which Player has a To par of 12, and a Country of fiji?
### CONTEXT
CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR)
### ANSWER
SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji" | {
"answer": "SELECT player FROM table_name_21 WHERE to_par = 12 AND country = \"fiji\"",
"context": "CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR)",
"question": "Which Player has a To par of 12, and a Country of fiji?"
} |
### QUESTION
Show names of teachers and the number of courses they teach.
### CONTEXT
CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)
### ANSWER
SELECT T2.Name, COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name | {
"answer": "SELECT T2.Name, COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name",
"context": "CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)",
"question": "Show names of teachers and the number of courses they teach."
} |
### QUESTION
Which Locomotive Entered Service in November 1984 and has an Operator of Southern Shorthaul Railroad?
### CONTEXT
CREATE TABLE table_name_59 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR)
### ANSWER
SELECT locomotive FROM table_name_59 WHERE operator = "southern shorthaul railroad" AND entered_service = "november 1984" | {
"answer": "SELECT locomotive FROM table_name_59 WHERE operator = \"southern shorthaul railroad\" AND entered_service = \"november 1984\"",
"context": "CREATE TABLE table_name_59 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR)",
"question": "Which Locomotive Entered Service in November 1984 and has an Operator of Southern Shorthaul Railroad?"
} |
### QUESTION
What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points?
### CONTEXT
CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR)
### ANSWER
SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st" | {
"answer": "SELECT class FROM table_name_2 WHERE points < 206 AND chassis = \"audi r8\" AND entrant = \"adt champion racing\" AND rank = \"1st\"",
"context": "CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR)",
"question": "What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points?"
} |
### QUESTION
Find the name of captains whose rank are either Midshipman or Lieutenant.
### CONTEXT
CREATE TABLE captain (name VARCHAR, rank VARCHAR)
### ANSWER
SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant' | {
"answer": "SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant'",
"context": "CREATE TABLE captain (name VARCHAR, rank VARCHAR)",
"question": "Find the name of captains whose rank are either Midshipman or Lieutenant."
} |
### QUESTION
What is the Original air date for the episode with a Production code of 07-00-107?
### CONTEXT
CREATE TABLE table_name_85 (original_air_date VARCHAR, production_code VARCHAR)
### ANSWER
SELECT original_air_date FROM table_name_85 WHERE production_code = "07-00-107" | {
"answer": "SELECT original_air_date FROM table_name_85 WHERE production_code = \"07-00-107\"",
"context": "CREATE TABLE table_name_85 (original_air_date VARCHAR, production_code VARCHAR)",
"question": "What is the Original air date for the episode with a Production code of 07-00-107?"
} |
### QUESTION
What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
### CONTEXT
CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR)
### ANSWER
SELECT province FROM table_27592654_2 WHERE election_date = "5 Cannot handle non-empty timestamp argument! 1861" | {
"answer": "SELECT province FROM table_27592654_2 WHERE election_date = \"5 Cannot handle non-empty timestamp argument! 1861\"",
"context": "CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR)",
"question": "What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?"
} |
### QUESTION
How many teams were listed as runner up in 2005 and there the first semi finalist was Western Carolina?
### CONTEXT
CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR, year VARCHAR)
### ANSWER
SELECT COUNT(runner_up) FROM table_11214772_2 WHERE semi_finalist__number1 = "Western Carolina" AND year = 2005 | {
"answer": "SELECT COUNT(runner_up) FROM table_11214772_2 WHERE semi_finalist__number1 = \"Western Carolina\" AND year = 2005",
"context": "CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR, year VARCHAR)",
"question": "How many teams were listed as runner up in 2005 and there the first semi finalist was Western Carolina?"
} |
### QUESTION
When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there?
### CONTEXT
CREATE TABLE table_23285849_11 (high_rebounds VARCHAR, high_points VARCHAR)
### ANSWER
SELECT COUNT(high_rebounds) FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (42)" | {
"answer": "SELECT COUNT(high_rebounds) FROM table_23285849_11 WHERE high_points = \"Carmelo Anthony (42)\"",
"context": "CREATE TABLE table_23285849_11 (high_rebounds VARCHAR, high_points VARCHAR)",
"question": "When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there?"
} |
### QUESTION
What is the total PL G of player pennant, who has less than 7 CL G, less than 7 CL apps, and a FA YC of 0?
### CONTEXT
CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR)
### ANSWER
SELECT COUNT(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 AND fa_yc = 0 AND player = "pennant" | {
"answer": "SELECT COUNT(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 AND fa_yc = 0 AND player = \"pennant\"",
"context": "CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR)",
"question": "What is the total PL G of player pennant, who has less than 7 CL G, less than 7 CL apps, and a FA YC of 0?"
} |
### QUESTION
Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?
### CONTEXT
CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)
### ANSWER
SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot" | {
"answer": "SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = \"0–1 ot\"",
"context": "CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)",
"question": "Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?"
} |
### QUESTION
What is the most silver medals a team with 3 total medals and less than 1 bronze has?
### CONTEXT
CREATE TABLE table_name_13 (silver INTEGER, total VARCHAR, bronze VARCHAR)
### ANSWER
SELECT MAX(silver) FROM table_name_13 WHERE total = 3 AND bronze < 1 | {
"answer": "SELECT MAX(silver) FROM table_name_13 WHERE total = 3 AND bronze < 1",
"context": "CREATE TABLE table_name_13 (silver INTEGER, total VARCHAR, bronze VARCHAR)",
"question": "What is the most silver medals a team with 3 total medals and less than 1 bronze has?"
} |
### QUESTION
What is the earliest year with an entry from Rotary Watches Stanley BRM and a BRM P207 with more than 0 points?
### CONTEXT
CREATE TABLE table_name_99 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_99 WHERE entrant = "rotary watches stanley brm" AND chassis = "brm p207" AND points > 0 | {
"answer": "SELECT MIN(year) FROM table_name_99 WHERE entrant = \"rotary watches stanley brm\" AND chassis = \"brm p207\" AND points > 0",
"context": "CREATE TABLE table_name_99 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)",
"question": "What is the earliest year with an entry from Rotary Watches Stanley BRM and a BRM P207 with more than 0 points?"
} |
### QUESTION
Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to.
### CONTEXT
CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR)
### ANSWER
SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name LIKE '%Smith%' | {
"answer": "SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name LIKE '%Smith%'",
"context": "CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR)",
"question": "Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to."
} |
### QUESTION
How many episodes were directed by Arlene Sanford?
### CONTEXT
CREATE TABLE table_26429658_1 (written_by VARCHAR, directed_by VARCHAR)
### ANSWER
SELECT COUNT(written_by) FROM table_26429658_1 WHERE directed_by = "Arlene Sanford" | {
"answer": "SELECT COUNT(written_by) FROM table_26429658_1 WHERE directed_by = \"Arlene Sanford\"",
"context": "CREATE TABLE table_26429658_1 (written_by VARCHAR, directed_by VARCHAR)",
"question": "How many episodes were directed by Arlene Sanford?"
} |
### QUESTION
What Call sign has a City of license of higgston, ga?
### CONTEXT
CREATE TABLE table_name_95 (call_sign VARCHAR, city_of_license VARCHAR)
### ANSWER
SELECT call_sign FROM table_name_95 WHERE city_of_license = "higgston, ga" | {
"answer": "SELECT call_sign FROM table_name_95 WHERE city_of_license = \"higgston, ga\"",
"context": "CREATE TABLE table_name_95 (call_sign VARCHAR, city_of_license VARCHAR)",
"question": "What Call sign has a City of license of higgston, ga?"
} |
### QUESTION
What was the result on 8 October 1961?
### CONTEXT
CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
### ANSWER
SELECT result FROM table_name_26 WHERE date = "8 october 1961" | {
"answer": "SELECT result FROM table_name_26 WHERE date = \"8 october 1961\"",
"context": "CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)",
"question": "What was the result on 8 October 1961?"
} |
### QUESTION
Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?
### CONTEXT
CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR)
### ANSWER
SELECT senior_status FROM table_name_18 WHERE chief_judge = "—" AND reason_for_termination = "death" AND active_service = "1967–1983" | {
"answer": "SELECT senior_status FROM table_name_18 WHERE chief_judge = \"—\" AND reason_for_termination = \"death\" AND active_service = \"1967–1983\"",
"context": "CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR)",
"question": "Which Senior status has a Chief Judge of —, a Reason for termination of death, and Active service of 1967–1983?"
} |
### QUESTION
How many years have a conventional plan of 7%?
### CONTEXT
CREATE TABLE table_name_24 (year INTEGER, conventional_plans VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_24 WHERE conventional_plans = "7%" | {
"answer": "SELECT SUM(year) FROM table_name_24 WHERE conventional_plans = \"7%\"",
"context": "CREATE TABLE table_name_24 (year INTEGER, conventional_plans VARCHAR)",
"question": "How many years have a conventional plan of 7%?"
} |
### QUESTION
What is the Sr. number of Banikhet Dalhouse Khajiar?
### CONTEXT
CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)
### ANSWER
SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar" | {
"answer": "SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = \"Banikhet Dalhouse Khajiar\"",
"context": "CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)",
"question": "What is the Sr. number of Banikhet Dalhouse Khajiar?"
} |
### QUESTION
What years did New Zealand win?
### CONTEXT
CREATE TABLE table_name_30 (year_s__won VARCHAR, country VARCHAR)
### ANSWER
SELECT year_s__won FROM table_name_30 WHERE country = "new zealand" | {
"answer": "SELECT year_s__won FROM table_name_30 WHERE country = \"new zealand\"",
"context": "CREATE TABLE table_name_30 (year_s__won VARCHAR, country VARCHAR)",
"question": "What years did New Zealand win?"
} |
### QUESTION
What is the least amount of points when there were less than 4 losses and less than 16 against?
### CONTEXT
CREATE TABLE table_name_43 (points INTEGER, lost VARCHAR, against VARCHAR)
### ANSWER
SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 16 | {
"answer": "SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 16",
"context": "CREATE TABLE table_name_43 (points INTEGER, lost VARCHAR, against VARCHAR)",
"question": "What is the least amount of points when there were less than 4 losses and less than 16 against?"
} |
### QUESTION
Name the total number of main contestants for safe position for tina parekh
### CONTEXT
CREATE TABLE table_18278508_4 (main_contestant VARCHAR, position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
### ANSWER
SELECT COUNT(main_contestant) FROM table_18278508_4 WHERE position = "Safe" AND co_contestant__yaar_vs_pyaar_ = "Tina Parekh" | {
"answer": "SELECT COUNT(main_contestant) FROM table_18278508_4 WHERE position = \"Safe\" AND co_contestant__yaar_vs_pyaar_ = \"Tina Parekh\"",
"context": "CREATE TABLE table_18278508_4 (main_contestant VARCHAR, position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)",
"question": "Name the total number of main contestants for safe position for tina parekh"
} |
### QUESTION
Which stadium has FC Seoul?
### CONTEXT
CREATE TABLE table_name_65 (stadium VARCHAR, club VARCHAR)
### ANSWER
SELECT stadium FROM table_name_65 WHERE club = "fc seoul" | {
"answer": "SELECT stadium FROM table_name_65 WHERE club = \"fc seoul\"",
"context": "CREATE TABLE table_name_65 (stadium VARCHAR, club VARCHAR)",
"question": "Which stadium has FC Seoul?"
} |
### QUESTION
What are the descriptions and names of the courses that have student enrollment bigger than 2?
### CONTEXT
CREATE TABLE Student_Course_Enrolment (course_id VARCHAR); CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR, course_id VARCHAR)
### ANSWER
SELECT T1.course_description, T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name HAVING COUNT(*) > 2 | {
"answer": "SELECT T1.course_description, T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name HAVING COUNT(*) > 2",
"context": "CREATE TABLE Student_Course_Enrolment (course_id VARCHAR); CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR, course_id VARCHAR)",
"question": "What are the descriptions and names of the courses that have student enrollment bigger than 2?"
} |
### QUESTION
Show the hometowns shared by people older than 23 and younger than 20.
### CONTEXT
CREATE TABLE people (Hometown VARCHAR, Age INTEGER)
### ANSWER
SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 20 | {
"answer": "SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 20",
"context": "CREATE TABLE people (Hometown VARCHAR, Age INTEGER)",
"question": "Show the hometowns shared by people older than 23 and younger than 20."
} |
### QUESTION
Which surface was played during Curitiba tournament?
### CONTEXT
CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)
### ANSWER
SELECT surface FROM table_name_46 WHERE tournament = "curitiba" | {
"answer": "SELECT surface FROM table_name_46 WHERE tournament = \"curitiba\"",
"context": "CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)",
"question": "Which surface was played during Curitiba tournament?"
} |
### QUESTION
What district featured an election between james a. byrne (d) 59.3% joseph r. burns (r) 40.7%?
### CONTEXT
CREATE TABLE table_1341884_40 (district VARCHAR, candidates VARCHAR)
### ANSWER
SELECT district FROM table_1341884_40 WHERE candidates = "James A. Byrne (D) 59.3% Joseph R. Burns (R) 40.7%" | {
"answer": "SELECT district FROM table_1341884_40 WHERE candidates = \"James A. Byrne (D) 59.3% Joseph R. Burns (R) 40.7%\"",
"context": "CREATE TABLE table_1341884_40 (district VARCHAR, candidates VARCHAR)",
"question": "What district featured an election between james a. byrne (d) 59.3% joseph r. burns (r) 40.7%?"
} |
### QUESTION
What is the highest attendance for the match against west ham united at the venue of a?
### CONTEXT
CREATE TABLE table_name_42 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)
### ANSWER
SELECT MAX(attendance) FROM table_name_42 WHERE venue = "a" AND opponent = "west ham united" | {
"answer": "SELECT MAX(attendance) FROM table_name_42 WHERE venue = \"a\" AND opponent = \"west ham united\"",
"context": "CREATE TABLE table_name_42 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)",
"question": "What is the highest attendance for the match against west ham united at the venue of a?"
} |
### QUESTION
What is the game named derartu tulu category:articles with hcards?
### CONTEXT
CREATE TABLE table_name_15 (games VARCHAR, name VARCHAR)
### ANSWER
SELECT games FROM table_name_15 WHERE name = "derartu tulu category:articles with hcards" | {
"answer": "SELECT games FROM table_name_15 WHERE name = \"derartu tulu category:articles with hcards\"",
"context": "CREATE TABLE table_name_15 (games VARCHAR, name VARCHAR)",
"question": "What is the game named derartu tulu category:articles with hcards?"
} |
### QUESTION
Find the full name of employee who supported the most number of customers.
### CONTEXT
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
### ANSWER
SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.support_rep_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.support_rep_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)",
"question": "Find the full name of employee who supported the most number of customers."
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.