text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Name the number of first elected for phil crane
### CONTEXT
CREATE TABLE table_1341672_14 (first_elected VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT COUNT(first_elected) FROM table_1341672_14 WHERE incumbent = "Phil Crane" | {
"answer": "SELECT COUNT(first_elected) FROM table_1341672_14 WHERE incumbent = \"Phil Crane\"",
"context": "CREATE TABLE table_1341672_14 (first_elected VARCHAR, incumbent VARCHAR)",
"question": "Name the number of first elected for phil crane"
} |
### QUESTION
When the Venue was victoria park, what was the Away team score?
### CONTEXT
CREATE TABLE table_name_61 (away_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_61 WHERE venue = "victoria park" | {
"answer": "SELECT away_team AS score FROM table_name_61 WHERE venue = \"victoria park\"",
"context": "CREATE TABLE table_name_61 (away_team VARCHAR, venue VARCHAR)",
"question": "When the Venue was victoria park, what was the Away team score?"
} |
### QUESTION
What is the total of Poland, which has an E score greater than 7.725?
### CONTEXT
CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)
### ANSWER
SELECT COUNT(total) FROM table_name_97 WHERE nation = "poland" AND e_score > 7.725 | {
"answer": "SELECT COUNT(total) FROM table_name_97 WHERE nation = \"poland\" AND e_score > 7.725",
"context": "CREATE TABLE table_name_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR)",
"question": "What is the total of Poland, which has an E score greater than 7.725?"
} |
### QUESTION
Who is every vacator if date of successors formal installation is August 8, 1960?
### CONTEXT
CREATE TABLE table_2159571_1 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
### ANSWER
SELECT vacator FROM table_2159571_1 WHERE date_of_successors_formal_installation = "August 8, 1960" | {
"answer": "SELECT vacator FROM table_2159571_1 WHERE date_of_successors_formal_installation = \"August 8, 1960\"",
"context": "CREATE TABLE table_2159571_1 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)",
"question": "Who is every vacator if date of successors formal installation is August 8, 1960?"
} |
### QUESTION
How many are in the Green Party with a Fine Gael of less than 4 and a Fianna Fail of less than 2 in Athy?
### CONTEXT
CREATE TABLE table_name_41 (green_party INTEGER, town VARCHAR, fine_gael VARCHAR, fianna_fáil VARCHAR)
### ANSWER
SELECT SUM(green_party) FROM table_name_41 WHERE fine_gael < 4 AND fianna_fáil < 2 AND town = "athy" | {
"answer": "SELECT SUM(green_party) FROM table_name_41 WHERE fine_gael < 4 AND fianna_fáil < 2 AND town = \"athy\"",
"context": "CREATE TABLE table_name_41 (green_party INTEGER, town VARCHAR, fine_gael VARCHAR, fianna_fáil VARCHAR)",
"question": "How many are in the Green Party with a Fine Gael of less than 4 and a Fianna Fail of less than 2 in Athy?"
} |
### QUESTION
Name the winning score for pga championship
### CONTEXT
CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR)
### ANSWER
SELECT winning_score FROM table_225880_1 WHERE championship = "PGA championship" | {
"answer": "SELECT winning_score FROM table_225880_1 WHERE championship = \"PGA championship\"",
"context": "CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR)",
"question": "Name the winning score for pga championship"
} |
### QUESTION
What are all the characteristic names of product "sesame"?
### CONTEXT
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### ANSWER
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" | {
"answer": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = \"sesame\"",
"context": "CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)",
"question": "What are all the characteristic names of product \"sesame\"?"
} |
### QUESTION
Who was the Constructor at the Argentine Grand Prix?
### CONTEXT
CREATE TABLE table_name_21 (constructor VARCHAR, race VARCHAR)
### ANSWER
SELECT constructor FROM table_name_21 WHERE race = "argentine grand prix" | {
"answer": "SELECT constructor FROM table_name_21 WHERE race = \"argentine grand prix\"",
"context": "CREATE TABLE table_name_21 (constructor VARCHAR, race VARCHAR)",
"question": "Who was the Constructor at the Argentine Grand Prix?"
} |
### QUESTION
Which title aired on 18 dec 2006- 10 feb 2007?
### CONTEXT
CREATE TABLE table_name_67 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR)
### ANSWER
SELECT english_title__chinese_title_ FROM table_name_67 WHERE airing_date = "18 dec 2006- 10 feb 2007" | {
"answer": "SELECT english_title__chinese_title_ FROM table_name_67 WHERE airing_date = \"18 dec 2006- 10 feb 2007\"",
"context": "CREATE TABLE table_name_67 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR)",
"question": "Which title aired on 18 dec 2006- 10 feb 2007?"
} |
### QUESTION
What club did united states player ty harden play for?
### CONTEXT
CREATE TABLE table_name_55 (club VARCHAR, nationality VARCHAR, player VARCHAR)
### ANSWER
SELECT club FROM table_name_55 WHERE nationality = "united states" AND player = "ty harden" | {
"answer": "SELECT club FROM table_name_55 WHERE nationality = \"united states\" AND player = \"ty harden\"",
"context": "CREATE TABLE table_name_55 (club VARCHAR, nationality VARCHAR, player VARCHAR)",
"question": "What club did united states player ty harden play for?"
} |
### QUESTION
For delegate is gaines, tawanna p. tawanna gaines, please specify all the party.
### CONTEXT
CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR)
### ANSWER
SELECT party FROM table_27050336_7 WHERE delegate = "Gaines, Tawanna P. Tawanna Gaines" | {
"answer": "SELECT party FROM table_27050336_7 WHERE delegate = \"Gaines, Tawanna P. Tawanna Gaines\"",
"context": "CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR)",
"question": "For delegate is gaines, tawanna p. tawanna gaines, please specify all the party."
} |
### QUESTION
Name Event of wc milan and a Total of 23?
### CONTEXT
CREATE TABLE table_name_27 (score_points VARCHAR, event VARCHAR, total VARCHAR)
### ANSWER
SELECT score_points FROM table_name_27 WHERE event = "wc milan" AND total = "23" | {
"answer": "SELECT score_points FROM table_name_27 WHERE event = \"wc milan\" AND total = \"23\"",
"context": "CREATE TABLE table_name_27 (score_points VARCHAR, event VARCHAR, total VARCHAR)",
"question": "Name Event of wc milan and a Total of 23?"
} |
### QUESTION
what's the currency name with highest monthly inflation rate being 29,500%
### CONTEXT
CREATE TABLE table_13681_2 (currency_name VARCHAR, highest_monthly_inflation_rate VARCHAR)
### ANSWER
SELECT currency_name FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%" | {
"answer": "SELECT currency_name FROM table_13681_2 WHERE highest_monthly_inflation_rate = \"29,500%\"",
"context": "CREATE TABLE table_13681_2 (currency_name VARCHAR, highest_monthly_inflation_rate VARCHAR)",
"question": "what's the currency name with highest monthly inflation rate being 29,500%"
} |
### QUESTION
What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?
### CONTEXT
CREATE TABLE table_28742659_2 (eliminated VARCHAR, finish VARCHAR)
### ANSWER
SELECT eliminated FROM table_28742659_2 WHERE finish = "15th voted Out 9th Jury Member Day 46" | {
"answer": "SELECT eliminated FROM table_28742659_2 WHERE finish = \"15th voted Out 9th Jury Member Day 46\"",
"context": "CREATE TABLE table_28742659_2 (eliminated VARCHAR, finish VARCHAR)",
"question": "What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?"
} |
### QUESTION
How many games have the New York Islanders as an opponent before February 7?
### CONTEXT
CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR)
### ANSWER
SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 7 | {
"answer": "SELECT SUM(game) FROM table_name_63 WHERE opponent = \"new york islanders\" AND february < 7",
"context": "CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR)",
"question": "How many games have the New York Islanders as an opponent before February 7?"
} |
### QUESTION
What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861?
### CONTEXT
CREATE TABLE table_name_29 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
### ANSWER
SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = "8,861" | {
"answer": "SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = \"8,861\"",
"context": "CREATE TABLE table_name_29 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)",
"question": "What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861?"
} |
### QUESTION
What was the result for Gypsy?
### CONTEXT
CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)
### ANSWER
SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "Gypsy" | {
"answer": "SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = \"Gypsy\"",
"context": "CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)",
"question": "What was the result for Gypsy?"
} |
### QUESTION
What was the percentage of muslims during a time where there were 614 registered mosques?
### CONTEXT
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, registered_mosques VARCHAR)
### ANSWER
SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE registered_mosques = 614 | {
"answer": "SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE registered_mosques = 614",
"context": "CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, registered_mosques VARCHAR)",
"question": "What was the percentage of muslims during a time where there were 614 registered mosques?"
} |
### QUESTION
Show the enrollment and primary_conference of the oldest college.
### CONTEXT
CREATE TABLE university (enrollment VARCHAR, primary_conference VARCHAR, founded VARCHAR)
### ANSWER
SELECT enrollment, primary_conference FROM university ORDER BY founded LIMIT 1 | {
"answer": "SELECT enrollment, primary_conference FROM university ORDER BY founded LIMIT 1",
"context": "CREATE TABLE university (enrollment VARCHAR, primary_conference VARCHAR, founded VARCHAR)",
"question": "Show the enrollment and primary_conference of the oldest college."
} |
### QUESTION
What was the result F-A for round 5?
### CONTEXT
CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR)
### ANSWER
SELECT result_f___a FROM table_name_22 WHERE round = "round 5" | {
"answer": "SELECT result_f___a FROM table_name_22 WHERE round = \"round 5\"",
"context": "CREATE TABLE table_name_22 (result_f___a VARCHAR, round VARCHAR)",
"question": "What was the result F-A for round 5?"
} |
### QUESTION
What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth?
### CONTEXT
CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### ANSWER
SELECT race_name FROM table_name_16 WHERE winning_team = "mi-jack conquest racing" AND pole_position = "andreas wirth" | {
"answer": "SELECT race_name FROM table_name_16 WHERE winning_team = \"mi-jack conquest racing\" AND pole_position = \"andreas wirth\"",
"context": "CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)",
"question": "What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth?"
} |
### QUESTION
What was the result for the contestant whose background was as a business major?
### CONTEXT
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
### ANSWER
SELECT result FROM table_19810459_1 WHERE background = "Business major" | {
"answer": "SELECT result FROM table_19810459_1 WHERE background = \"Business major\"",
"context": "CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)",
"question": "What was the result for the contestant whose background was as a business major?"
} |
### QUESTION
What years did Birger Ruud win the FIS Nordic World Ski Championships?
### CONTEXT
CREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, winner VARCHAR)
### ANSWER
SELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE winner = "Birger Ruud" | {
"answer": "SELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE winner = \"Birger Ruud\"",
"context": "CREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, winner VARCHAR)",
"question": "What years did Birger Ruud win the FIS Nordic World Ski Championships?"
} |
### QUESTION
who is the champion where semi-finalist #2 is na and location is morrisville, nc
### CONTEXT
CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR)
### ANSWER
SELECT champion FROM table_11214772_1 WHERE semi_finalist__number2 = "NA" AND location = "Morrisville, NC" | {
"answer": "SELECT champion FROM table_11214772_1 WHERE semi_finalist__number2 = \"NA\" AND location = \"Morrisville, NC\"",
"context": "CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR)",
"question": " who is the champion where semi-finalist #2 is na and location is morrisville, nc"
} |
### QUESTION
How many minutes were played when there were 18 points and the opponent was Chicago Bulls?
### CONTEXT
CREATE TABLE table_name_55 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR)
### ANSWER
SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = "chicago bulls" | {
"answer": "SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = \"chicago bulls\"",
"context": "CREATE TABLE table_name_55 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR)",
"question": "How many minutes were played when there were 18 points and the opponent was Chicago Bulls?"
} |
### QUESTION
Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa.
### CONTEXT
CREATE TABLE payment (payment_date VARCHAR, staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, first_name VARCHAR); CREATE TABLE payment (payment_date VARCHAR, amount INTEGER)
### ANSWER
SELECT payment_date FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa' | {
"answer": "SELECT payment_date FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa'",
"context": "CREATE TABLE payment (payment_date VARCHAR, staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, first_name VARCHAR); CREATE TABLE payment (payment_date VARCHAR, amount INTEGER)",
"question": "Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa."
} |
### QUESTION
What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87?
### CONTEXT
CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR)
### ANSWER
SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87 | {
"answer": "SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87",
"context": "CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR)",
"question": "What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87?"
} |
### QUESTION
During what conference is North Carolina listed as the tournament winner?
### CONTEXT
CREATE TABLE table_28365816_2 (conference VARCHAR, tournament_winner VARCHAR)
### ANSWER
SELECT conference FROM table_28365816_2 WHERE tournament_winner = "North Carolina" | {
"answer": "SELECT conference FROM table_28365816_2 WHERE tournament_winner = \"North Carolina\"",
"context": "CREATE TABLE table_28365816_2 (conference VARCHAR, tournament_winner VARCHAR)",
"question": "During what conference is North Carolina listed as the tournament winner?"
} |
### QUESTION
How many transfer fees did Afonso Alves have after 2008?
### CONTEXT
CREATE TABLE table_name_13 (transfer_fee___ VARCHAR, player VARCHAR, year VARCHAR)
### ANSWER
SELECT COUNT(transfer_fee___) AS €_million_ FROM table_name_13 WHERE player = "afonso alves" AND year > 2008 | {
"answer": "SELECT COUNT(transfer_fee___) AS €_million_ FROM table_name_13 WHERE player = \"afonso alves\" AND year > 2008",
"context": "CREATE TABLE table_name_13 (transfer_fee___ VARCHAR, player VARCHAR, year VARCHAR)",
"question": "How many transfer fees did Afonso Alves have after 2008?"
} |
### QUESTION
What is every score at the location of Verizon Center and points of 68?
### CONTEXT
CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)
### ANSWER
SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = 68 | {
"answer": "SELECT score FROM table_23486853_8 WHERE location = \"Verizon Center\" AND points = 68",
"context": "CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)",
"question": "What is every score at the location of Verizon Center and points of 68?"
} |
### QUESTION
Who was the 2007 actor from Moscow for the voyage of Varenka Bakunin?
### CONTEXT
CREATE TABLE table_name_91 (actor_in_moscow VARCHAR, _2007 VARCHAR, voyage VARCHAR)
### ANSWER
SELECT actor_in_moscow, _2007 FROM table_name_91 WHERE voyage = "varenka bakunin" | {
"answer": "SELECT actor_in_moscow, _2007 FROM table_name_91 WHERE voyage = \"varenka bakunin\"",
"context": "CREATE TABLE table_name_91 (actor_in_moscow VARCHAR, _2007 VARCHAR, voyage VARCHAR)",
"question": "Who was the 2007 actor from Moscow for the voyage of Varenka Bakunin?"
} |
### QUESTION
What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name?
### CONTEXT
CREATE TABLE table_name_86 (avg_g INTEGER, effic VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(avg_g) FROM table_name_86 WHERE effic > 34.36 AND name = "wesley carroll" | {
"answer": "SELECT MIN(avg_g) FROM table_name_86 WHERE effic > 34.36 AND name = \"wesley carroll\"",
"context": "CREATE TABLE table_name_86 (avg_g INTEGER, effic VARCHAR, name VARCHAR)",
"question": "What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name?"
} |
### QUESTION
Competition of u.s championships, and a Event of all around has what average year?
### CONTEXT
CREATE TABLE table_name_61 (year INTEGER, competition VARCHAR, event VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_61 WHERE competition = "u.s championships" AND event = "all around" | {
"answer": "SELECT AVG(year) FROM table_name_61 WHERE competition = \"u.s championships\" AND event = \"all around\"",
"context": "CREATE TABLE table_name_61 (year INTEGER, competition VARCHAR, event VARCHAR)",
"question": "Competition of u.s championships, and a Event of all around has what average year?"
} |
### QUESTION
what's the country with es mulatto being 3.5%
### CONTEXT
CREATE TABLE table_1333612_1 (country VARCHAR, es_mulatto VARCHAR)
### ANSWER
SELECT country FROM table_1333612_1 WHERE es_mulatto = "3.5%" | {
"answer": "SELECT country FROM table_1333612_1 WHERE es_mulatto = \"3.5%\"",
"context": "CREATE TABLE table_1333612_1 (country VARCHAR, es_mulatto VARCHAR)",
"question": "what's the country with es mulatto being 3.5%"
} |
### QUESTION
What percent of the parliamentary election did the pensioners party receive
### CONTEXT
CREATE TABLE table_203802_2 (english_party_name VARCHAR)
### ANSWER
SELECT 2013 AS _parliamentary_election FROM table_203802_2 WHERE english_party_name = "Pensioners Party" | {
"answer": "SELECT 2013 AS _parliamentary_election FROM table_203802_2 WHERE english_party_name = \"Pensioners Party\"",
"context": "CREATE TABLE table_203802_2 (english_party_name VARCHAR)",
"question": "What percent of the parliamentary election did the pensioners party receive"
} |
### QUESTION
What is the sum of attendance when the result was l 16-13?
### CONTEXT
CREATE TABLE table_name_54 (attendance INTEGER, result VARCHAR)
### ANSWER
SELECT SUM(attendance) FROM table_name_54 WHERE result = "l 16-13" | {
"answer": "SELECT SUM(attendance) FROM table_name_54 WHERE result = \"l 16-13\"",
"context": "CREATE TABLE table_name_54 (attendance INTEGER, result VARCHAR)",
"question": "What is the sum of attendance when the result was l 16-13?"
} |
### QUESTION
What are the results for the film titled 'Joki'?
### CONTEXT
CREATE TABLE table_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR)
### ANSWER
SELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = "Joki" | {
"answer": "SELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = \"Joki\"",
"context": "CREATE TABLE table_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR)",
"question": "What are the results for the film titled 'Joki'?"
} |
### QUESTION
Name the Nationality / Opponent of rosario?
### CONTEXT
CREATE TABLE table_name_64 (competition VARCHAR, nationality___opponent VARCHAR)
### ANSWER
SELECT competition FROM table_name_64 WHERE nationality___opponent = "rosario" | {
"answer": "SELECT competition FROM table_name_64 WHERE nationality___opponent = \"rosario\"",
"context": "CREATE TABLE table_name_64 (competition VARCHAR, nationality___opponent VARCHAR)",
"question": "Name the Nationality / Opponent of rosario?"
} |
### QUESTION
What is the total revenue of all companies whose main office is at Tokyo or Taiwan?
### CONTEXT
CREATE TABLE manufacturers (revenue INTEGER, Headquarter VARCHAR)
### ANSWER
SELECT SUM(revenue) FROM manufacturers WHERE Headquarter = 'Tokyo' OR Headquarter = 'Taiwan' | {
"answer": "SELECT SUM(revenue) FROM manufacturers WHERE Headquarter = 'Tokyo' OR Headquarter = 'Taiwan'",
"context": "CREATE TABLE manufacturers (revenue INTEGER, Headquarter VARCHAR)",
"question": "What is the total revenue of all companies whose main office is at Tokyo or Taiwan?"
} |
### QUESTION
How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?
### CONTEXT
CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR)
### ANSWER
SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990 | {
"answer": "SELECT SUM(std_rank) FROM table_name_97 WHERE name = \"311 south wacker drive\" AND year > 1990",
"context": "CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR)",
"question": "How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990?"
} |
### QUESTION
Show names of companies and that of employees in descending order of number of years working for that employee.
### CONTEXT
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR, Year_working VARCHAR)
### ANSWER
SELECT T3.Name, T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID ORDER BY T1.Year_working | {
"answer": "SELECT T3.Name, T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID ORDER BY T1.Year_working",
"context": "CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR, Year_working VARCHAR)",
"question": "Show names of companies and that of employees in descending order of number of years working for that employee."
} |
### QUESTION
What is each customer's move in date, and the corresponding customer id and details?
### CONTEXT
CREATE TABLE Customer_Events (date_moved_in VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_details VARCHAR)
### ANSWER
SELECT T2.date_moved_in, T1.customer_id, T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id = T2.customer_id | {
"answer": "SELECT T2.date_moved_in, T1.customer_id, T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id = T2.customer_id",
"context": "CREATE TABLE Customer_Events (date_moved_in VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_details VARCHAR)",
"question": "What is each customer's move in date, and the corresponding customer id and details?"
} |
### QUESTION
What is the registration of the station with a retained type and a station number of c03?
### CONTEXT
CREATE TABLE table_name_27 (registrations VARCHAR, type VARCHAR, station_number VARCHAR)
### ANSWER
SELECT registrations FROM table_name_27 WHERE type = "retained" AND station_number = "c03" | {
"answer": "SELECT registrations FROM table_name_27 WHERE type = \"retained\" AND station_number = \"c03\"",
"context": "CREATE TABLE table_name_27 (registrations VARCHAR, type VARCHAR, station_number VARCHAR)",
"question": "What is the registration of the station with a retained type and a station number of c03?"
} |
### QUESTION
Tell me the command set with FDD capacity of 270kb and sides of ds with #FDD more than 1
### CONTEXT
CREATE TABLE table_name_35 (command_set VARCHAR, _number_fdd VARCHAR, fdd_capacity__each_ VARCHAR, sides VARCHAR)
### ANSWER
SELECT command_set FROM table_name_35 WHERE fdd_capacity__each_ = "270kb" AND sides = "ds" AND _number_fdd > 1 | {
"answer": "SELECT command_set FROM table_name_35 WHERE fdd_capacity__each_ = \"270kb\" AND sides = \"ds\" AND _number_fdd > 1",
"context": "CREATE TABLE table_name_35 (command_set VARCHAR, _number_fdd VARCHAR, fdd_capacity__each_ VARCHAR, sides VARCHAR)",
"question": "Tell me the command set with FDD capacity of 270kb and sides of ds with #FDD more than 1"
} |
### QUESTION
Show the average age for male and female students.
### CONTEXT
CREATE TABLE Student (sex VARCHAR, age INTEGER)
### ANSWER
SELECT AVG(age), sex FROM Student GROUP BY sex | {
"answer": "SELECT AVG(age), sex FROM Student GROUP BY sex",
"context": "CREATE TABLE Student (sex VARCHAR, age INTEGER)",
"question": "Show the average age for male and female students."
} |
### QUESTION
What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth?
### CONTEXT
CREATE TABLE table_name_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR)
### ANSWER
SELECT hypertransport_version FROM table_name_51 WHERE max_aggregate_bandwidth__bi_directional_ = "22.4 gb/s" | {
"answer": "SELECT hypertransport_version FROM table_name_51 WHERE max_aggregate_bandwidth__bi_directional_ = \"22.4 gb/s\"",
"context": "CREATE TABLE table_name_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR)",
"question": "What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth?"
} |
### QUESTION
What is the Score of the Chicago Black Hawks Home game with the Visiting Vancouver Canucks on November 17?
### CONTEXT
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
### ANSWER
SELECT score FROM table_name_30 WHERE home = "chicago black hawks" AND visitor = "vancouver canucks" AND date = "november 17" | {
"answer": "SELECT score FROM table_name_30 WHERE home = \"chicago black hawks\" AND visitor = \"vancouver canucks\" AND date = \"november 17\"",
"context": "CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)",
"question": "What is the Score of the Chicago Black Hawks Home game with the Visiting Vancouver Canucks on November 17?"
} |
### QUESTION
What's the format of the season that ended on June 25?
### CONTEXT
CREATE TABLE table_1949994_7 (format VARCHAR, end_date VARCHAR)
### ANSWER
SELECT format FROM table_1949994_7 WHERE end_date = "June 25" | {
"answer": "SELECT format FROM table_1949994_7 WHERE end_date = \"June 25\"",
"context": "CREATE TABLE table_1949994_7 (format VARCHAR, end_date VARCHAR)",
"question": "What's the format of the season that ended on June 25?"
} |
### QUESTION
A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what?
### CONTEXT
CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)
### ANSWER
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1 | {
"answer": "SELECT AVG(pick__number) FROM table_name_44 WHERE position = \"tight end\" AND college = \"oklahoma state\" AND round > 1",
"context": "CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)",
"question": "A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what?"
} |
### QUESTION
How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?
### CONTEXT
CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)
### ANSWER
SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575 | {
"answer": "SELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575",
"context": "CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)",
"question": "How many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?"
} |
### QUESTION
What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485?
### CONTEXT
CREATE TABLE table_name_98 (population INTEGER, per_capita_income VARCHAR, number_of_households VARCHAR)
### ANSWER
SELECT SUM(population) FROM table_name_98 WHERE per_capita_income = "$18,884" AND number_of_households < 14 OFFSET 485 | {
"answer": "SELECT SUM(population) FROM table_name_98 WHERE per_capita_income = \"$18,884\" AND number_of_households < 14 OFFSET 485",
"context": "CREATE TABLE table_name_98 (population INTEGER, per_capita_income VARCHAR, number_of_households VARCHAR)",
"question": "What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485?"
} |
### QUESTION
display the employee id and salary of all employees who report to Payam (first name).
### CONTEXT
CREATE TABLE employees (employee_id VARCHAR, salary VARCHAR, manager_id VARCHAR, first_name VARCHAR)
### ANSWER
SELECT employee_id, salary FROM employees WHERE manager_id = (SELECT employee_id FROM employees WHERE first_name = 'Payam') | {
"answer": "SELECT employee_id, salary FROM employees WHERE manager_id = (SELECT employee_id FROM employees WHERE first_name = 'Payam')",
"context": "CREATE TABLE employees (employee_id VARCHAR, salary VARCHAR, manager_id VARCHAR, first_name VARCHAR)",
"question": "display the employee id and salary of all employees who report to Payam (first name)."
} |
### QUESTION
What is the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgaria?
### CONTEXT
CREATE TABLE table_name_9 (tally INTEGER, venue VARCHAR)
### ANSWER
SELECT MIN(tally) FROM table_name_9 WHERE venue = "vasil levski national stadium, sofia, bulgaria" | {
"answer": "SELECT MIN(tally) FROM table_name_9 WHERE venue = \"vasil levski national stadium, sofia, bulgaria\"",
"context": "CREATE TABLE table_name_9 (tally INTEGER, venue VARCHAR)",
"question": "What is the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgaria?"
} |
### QUESTION
What are the name of the countries where there is not a single car maker?
### CONTEXT
CREATE TABLE countries (CountryName VARCHAR, countryId VARCHAR); CREATE TABLE countries (CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)
### ANSWER
SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country | {
"answer": "SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country",
"context": "CREATE TABLE countries (CountryName VARCHAR, countryId VARCHAR); CREATE TABLE countries (CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)",
"question": "What are the name of the countries where there is not a single car maker?"
} |
### QUESTION
What is the checking balance of the account whose owner’s name contains the substring ‘ee’?
### CONTEXT
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR)
### ANSWER
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%' | {
"answer": "SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%'",
"context": "CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR)",
"question": "What is the checking balance of the account whose owner’s name contains the substring ‘ee’?"
} |
### QUESTION
Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka?
### CONTEXT
CREATE TABLE table_name_83 (location VARCHAR, school VARCHAR, year_joined VARCHAR, previous_conference VARCHAR)
### ANSWER
SELECT location FROM table_name_83 WHERE year_joined = 1966 AND previous_conference = "noble county" AND school = "wawaka" | {
"answer": "SELECT location FROM table_name_83 WHERE year_joined = 1966 AND previous_conference = \"noble county\" AND school = \"wawaka\"",
"context": "CREATE TABLE table_name_83 (location VARCHAR, school VARCHAR, year_joined VARCHAR, previous_conference VARCHAR)",
"question": "Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka?"
} |
### QUESTION
Which Team has Podiums of 0, and a Position of nc†?
### CONTEXT
CREATE TABLE table_name_94 (team VARCHAR, podiums VARCHAR, position VARCHAR)
### ANSWER
SELECT team FROM table_name_94 WHERE podiums = "0" AND position = "nc†" | {
"answer": "SELECT team FROM table_name_94 WHERE podiums = \"0\" AND position = \"nc†\"",
"context": "CREATE TABLE table_name_94 (team VARCHAR, podiums VARCHAR, position VARCHAR)",
"question": "Which Team has Podiums of 0, and a Position of nc†?"
} |
### QUESTION
Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger than 4?
### CONTEXT
CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(rank) FROM table_name_49 WHERE nationality = "australia" AND name = "leisel jones" AND lane > 4 | {
"answer": "SELECT MIN(rank) FROM table_name_49 WHERE nationality = \"australia\" AND name = \"leisel jones\" AND lane > 4",
"context": "CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)",
"question": "Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger than 4?"
} |
### QUESTION
What is Fleet Number(s), when Quantity Preserved is "0", when Quantity Made is 1, and when Class is "Z"?
### CONTEXT
CREATE TABLE table_name_95 (fleet_number_s_ VARCHAR, class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)
### ANSWER
SELECT fleet_number_s_ FROM table_name_95 WHERE quantity_preserved = "0" AND quantity_made = "1" AND class = "z" | {
"answer": "SELECT fleet_number_s_ FROM table_name_95 WHERE quantity_preserved = \"0\" AND quantity_made = \"1\" AND class = \"z\"",
"context": "CREATE TABLE table_name_95 (fleet_number_s_ VARCHAR, class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)",
"question": "What is Fleet Number(s), when Quantity Preserved is \"0\", when Quantity Made is 1, and when Class is \"Z\"?"
} |
### QUESTION
Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?
### CONTEXT
CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)
### ANSWER
SELECT main_contestant FROM table_name_11 WHERE status = "eliminated" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13 | {
"answer": "SELECT main_contestant FROM table_name_11 WHERE status = \"eliminated\" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13",
"context": "CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)",
"question": "Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?"
} |
### QUESTION
What is Builder, when Country is "United Kingdom", and when Location is "Chatham, Kent"?
### CONTEXT
CREATE TABLE table_name_35 (builder VARCHAR, country VARCHAR, location VARCHAR)
### ANSWER
SELECT builder FROM table_name_35 WHERE country = "united kingdom" AND location = "chatham, kent" | {
"answer": "SELECT builder FROM table_name_35 WHERE country = \"united kingdom\" AND location = \"chatham, kent\"",
"context": "CREATE TABLE table_name_35 (builder VARCHAR, country VARCHAR, location VARCHAR)",
"question": "What is Builder, when Country is \"United Kingdom\", and when Location is \"Chatham, Kent\"?"
} |
### QUESTION
What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring?
### CONTEXT
CREATE TABLE table_name_88 (league INTEGER, fa_cup VARCHAR, name VARCHAR)
### ANSWER
SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 1 | {
"answer": "SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = \"brian deane\" AND fa_cup < 1",
"context": "CREATE TABLE table_name_88 (league INTEGER, fa_cup VARCHAR, name VARCHAR)",
"question": "What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring?"
} |
### QUESTION
How many services has each resident requested? List the resident id, details, and the count in descending order of the count.
### CONTEXT
CREATE TABLE Residents_Services (resident_id VARCHAR); CREATE TABLE Residents (resident_id VARCHAR, other_details VARCHAR)
### ANSWER
SELECT T1.resident_id, T1.other_details, COUNT(*) FROM Residents AS T1 JOIN Residents_Services AS T2 ON T1.resident_id = T2.resident_id GROUP BY T1.resident_id ORDER BY COUNT(*) DESC | {
"answer": "SELECT T1.resident_id, T1.other_details, COUNT(*) FROM Residents AS T1 JOIN Residents_Services AS T2 ON T1.resident_id = T2.resident_id GROUP BY T1.resident_id ORDER BY COUNT(*) DESC",
"context": "CREATE TABLE Residents_Services (resident_id VARCHAR); CREATE TABLE Residents (resident_id VARCHAR, other_details VARCHAR)",
"question": "How many services has each resident requested? List the resident id, details, and the count in descending order of the count."
} |
### QUESTION
What episode had the last appearances of the late wife of mac taylor?
### CONTEXT
CREATE TABLE table_11240028_3 (last_appearance VARCHAR, relationship VARCHAR)
### ANSWER
SELECT last_appearance FROM table_11240028_3 WHERE relationship = "Late wife of Mac Taylor" | {
"answer": "SELECT last_appearance FROM table_11240028_3 WHERE relationship = \"Late wife of Mac Taylor\"",
"context": "CREATE TABLE table_11240028_3 (last_appearance VARCHAR, relationship VARCHAR)",
"question": "What episode had the last appearances of the late wife of mac taylor?"
} |
### QUESTION
Find the name of product that is produced by both companies Creative Labs and Sony.
### CONTEXT
CREATE TABLE manufacturers (code VARCHAR, name VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR)
### ANSWER
SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Creative Labs' INTERSECT SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Sony' | {
"answer": "SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Creative Labs' INTERSECT SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Sony'",
"context": "CREATE TABLE manufacturers (code VARCHAR, name VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR)",
"question": "Find the name of product that is produced by both companies Creative Labs and Sony."
} |
### QUESTION
Find the id of users who are followed by Mary and Susan.
### CONTEXT
CREATE TABLE follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR)
### ANSWER
SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = "Mary" INTERSECT SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = "Susan" | {
"answer": "SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = \"Mary\" INTERSECT SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = \"Susan\"",
"context": "CREATE TABLE follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR)",
"question": "Find the id of users who are followed by Mary and Susan."
} |
### QUESTION
When the scoring rank was 117, what was the best finish?
### CONTEXT
CREATE TABLE table_10021158_3 (best_finish VARCHAR, scoring_rank VARCHAR)
### ANSWER
SELECT best_finish FROM table_10021158_3 WHERE scoring_rank = "117" | {
"answer": "SELECT best_finish FROM table_10021158_3 WHERE scoring_rank = \"117\"",
"context": "CREATE TABLE table_10021158_3 (best_finish VARCHAR, scoring_rank VARCHAR)",
"question": "When the scoring rank was 117, what was the best finish?"
} |
### QUESTION
what is the part number(s) when l2 cache is 512 kb, release date is june 2001 and sSpec number is sl5lv, sl5pu, sl6bw, sl6jm?
### CONTEXT
CREATE TABLE table_name_71 (part_number_s_ VARCHAR, sspec_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)
### ANSWER
SELECT part_number_s_ FROM table_name_71 WHERE l2_cache = "512 kb" AND release_date = "june 2001" AND sspec_number = "sl5lv, sl5pu, sl6bw, sl6jm" | {
"answer": "SELECT part_number_s_ FROM table_name_71 WHERE l2_cache = \"512 kb\" AND release_date = \"june 2001\" AND sspec_number = \"sl5lv, sl5pu, sl6bw, sl6jm\"",
"context": "CREATE TABLE table_name_71 (part_number_s_ VARCHAR, sspec_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR)",
"question": "what is the part number(s) when l2 cache is 512 kb, release date is june 2001 and sSpec number is sl5lv, sl5pu, sl6bw, sl6jm?"
} |
### QUESTION
What report has a score of 0-0 with Sydney FC?
### CONTEXT
CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR)
### ANSWER
SELECT report FROM table_name_49 WHERE score = "0-0" AND away_team = "sydney fc" | {
"answer": "SELECT report FROM table_name_49 WHERE score = \"0-0\" AND away_team = \"sydney fc\"",
"context": "CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR)",
"question": "What report has a score of 0-0 with Sydney FC?"
} |
### QUESTION
Which of the R. Epp, has J Thiessen of Tjoatj?
### CONTEXT
CREATE TABLE table_name_90 (r_epp VARCHAR, j_thiessen VARCHAR)
### ANSWER
SELECT r_epp FROM table_name_90 WHERE j_thiessen = "tjoatj" | {
"answer": "SELECT r_epp FROM table_name_90 WHERE j_thiessen = \"tjoatj\"",
"context": "CREATE TABLE table_name_90 (r_epp VARCHAR, j_thiessen VARCHAR)",
"question": "Which of the R. Epp, has J Thiessen of Tjoatj?"
} |
### QUESTION
WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME?
### CONTEXT
CREATE TABLE table_15778392_1 (theme VARCHAR, week__number VARCHAR)
### ANSWER
SELECT theme FROM table_15778392_1 WHERE week__number = "Top 8" | {
"answer": "SELECT theme FROM table_15778392_1 WHERE week__number = \"Top 8\"",
"context": "CREATE TABLE table_15778392_1 (theme VARCHAR, week__number VARCHAR)",
"question": "WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME?"
} |
### QUESTION
What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)"
### CONTEXT
CREATE TABLE table_name_23 (english_translation VARCHAR, lyricist_s_ VARCHAR, original_album VARCHAR)
### ANSWER
SELECT english_translation FROM table_name_23 WHERE lyricist_s_ = "giorgos moukidis" AND original_album = "ena (new edition)" | {
"answer": "SELECT english_translation FROM table_name_23 WHERE lyricist_s_ = \"giorgos moukidis\" AND original_album = \"ena (new edition)\"",
"context": "CREATE TABLE table_name_23 (english_translation VARCHAR, lyricist_s_ VARCHAR, original_album VARCHAR)",
"question": "What is English Translation, when Lyricist(s) is \"Giorgos Moukidis\", and when Original Album is \"Ena (New Edition)\""
} |
### QUESTION
How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?
### CONTEXT
CREATE TABLE table_name_31 (attendance VARCHAR, away_team VARCHAR, home_team VARCHAR)
### ANSWER
SELECT attendance FROM table_name_31 WHERE away_team = "dynamo kyiv" AND home_team = "torpedo zaporizhia" | {
"answer": "SELECT attendance FROM table_name_31 WHERE away_team = \"dynamo kyiv\" AND home_team = \"torpedo zaporizhia\"",
"context": "CREATE TABLE table_name_31 (attendance VARCHAR, away_team VARCHAR, home_team VARCHAR)",
"question": "How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?"
} |
### QUESTION
What is the runner-up record where winner record is Ireland 59 points?
### CONTEXT
CREATE TABLE table_28601467_1 (runner_up VARCHAR, winner VARCHAR)
### ANSWER
SELECT runner_up FROM table_28601467_1 WHERE winner = "Ireland 59 points" | {
"answer": "SELECT runner_up FROM table_28601467_1 WHERE winner = \"Ireland 59 points\"",
"context": "CREATE TABLE table_28601467_1 (runner_up VARCHAR, winner VARCHAR)",
"question": "What is the runner-up record where winner record is Ireland 59 points?"
} |
### QUESTION
Find the first names and offices of all instructors who have taught some course and also find the course description.
### CONTEXT
CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
### ANSWER
SELECT T2.emp_fname, T4.prof_office, T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num | {
"answer": "SELECT T2.emp_fname, T4.prof_office, T3.crs_description FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num",
"context": "CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR, crs_code VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)",
"question": "Find the first names and offices of all instructors who have taught some course and also find the course description."
} |
### QUESTION
What mountains classification corresponds to Mark Cavendish and the Garmin-Chipotle-H30?
### CONTEXT
CREATE TABLE table_name_80 (mountains_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_name_80 WHERE general_classification = "mark cavendish" AND team_classification = "garmin-chipotle-h30" | {
"answer": "SELECT mountains_classification FROM table_name_80 WHERE general_classification = \"mark cavendish\" AND team_classification = \"garmin-chipotle-h30\"",
"context": "CREATE TABLE table_name_80 (mountains_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)",
"question": "What mountains classification corresponds to Mark Cavendish and the Garmin-Chipotle-H30?"
} |
### QUESTION
Who has friends that are older than the average age? Print their friends and their ages as well
### CONTEXT
CREATE TABLE person (age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (age INTEGER, name VARCHAR)
### ANSWER
SELECT DISTINCT T2.name, T2.friend, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.age > (SELECT AVG(age) FROM person) | {
"answer": "SELECT DISTINCT T2.name, T2.friend, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.age > (SELECT AVG(age) FROM person)",
"context": "CREATE TABLE person (age INTEGER); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (age INTEGER, name VARCHAR)",
"question": "Who has friends that are older than the average age? Print their friends and their ages as well"
} |
### QUESTION
At what location did the event that used electric traction and system name ATM (1880–1911) GETA (1911–1944) occur?
### CONTEXT
CREATE TABLE table_name_5 (location VARCHAR, name_of_system VARCHAR, traction_type VARCHAR)
### ANSWER
SELECT location FROM table_name_5 WHERE name_of_system = "atm (1880–1911) geta (1911–1944)" AND traction_type = "electric" | {
"answer": "SELECT location FROM table_name_5 WHERE name_of_system = \"atm (1880–1911) geta (1911–1944)\" AND traction_type = \"electric\"",
"context": "CREATE TABLE table_name_5 (location VARCHAR, name_of_system VARCHAR, traction_type VARCHAR)",
"question": "At what location did the event that used electric traction and system name ATM (1880–1911) GETA (1911–1944) occur?"
} |
### QUESTION
What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name?
### CONTEXT
CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR)
### ANSWER
SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你" | {
"answer": "SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = \"情歌没有告诉你\"",
"context": "CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR)",
"question": "What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name?"
} |
### QUESTION
What is the Year of the game with Result of 4–3 and Champions of Daegu Tongyang Orions?
### CONTEXT
CREATE TABLE table_name_86 (year VARCHAR, result VARCHAR, champions VARCHAR)
### ANSWER
SELECT year FROM table_name_86 WHERE result = "4–3" AND champions = "daegu tongyang orions" | {
"answer": "SELECT year FROM table_name_86 WHERE result = \"4–3\" AND champions = \"daegu tongyang orions\"",
"context": "CREATE TABLE table_name_86 (year VARCHAR, result VARCHAR, champions VARCHAR)",
"question": "What is the Year of the game with Result of 4–3 and Champions of Daegu Tongyang Orions?"
} |
### QUESTION
What was the score when the Shingo Kunieda Satoshi Saida were the opponents?
### CONTEXT
CREATE TABLE table_name_84 (score_in_final VARCHAR, opponents_in_final VARCHAR)
### ANSWER
SELECT score_in_final FROM table_name_84 WHERE opponents_in_final = "shingo kunieda satoshi saida" | {
"answer": "SELECT score_in_final FROM table_name_84 WHERE opponents_in_final = \"shingo kunieda satoshi saida\"",
"context": "CREATE TABLE table_name_84 (score_in_final VARCHAR, opponents_in_final VARCHAR)",
"question": "What was the score when the Shingo Kunieda Satoshi Saida were the opponents?"
} |
### QUESTION
What country has the order number 711871-711880?
### CONTEXT
CREATE TABLE table_2351952_1 (country VARCHAR, order_number VARCHAR)
### ANSWER
SELECT country FROM table_2351952_1 WHERE order_number = "711871-711880" | {
"answer": "SELECT country FROM table_2351952_1 WHERE order_number = \"711871-711880\"",
"context": "CREATE TABLE table_2351952_1 (country VARCHAR, order_number VARCHAR)",
"question": "What country has the order number 711871-711880?"
} |
### QUESTION
How many table points are listed for the deficit is +194?
### CONTEXT
CREATE TABLE table_18505065_1 (table_points VARCHAR, difference VARCHAR)
### ANSWER
SELECT COUNT(table_points) FROM table_18505065_1 WHERE difference = "+194" | {
"answer": "SELECT COUNT(table_points) FROM table_18505065_1 WHERE difference = \"+194\"",
"context": "CREATE TABLE table_18505065_1 (table_points VARCHAR, difference VARCHAR)",
"question": " How many table points are listed for the deficit is +194? "
} |
### QUESTION
Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?
### CONTEXT
CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)
### ANSWER
SELECT rider FROM table_name_64 WHERE laps < 22 AND grid > 19 AND time = "retirement" AND bike = "kawasaki zx-6r" | {
"answer": "SELECT rider FROM table_name_64 WHERE laps < 22 AND grid > 19 AND time = \"retirement\" AND bike = \"kawasaki zx-6r\"",
"context": "CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)",
"question": "Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?"
} |
### QUESTION
List the name of the stadium where both the player 'Walter Samuel' and the player 'Thiago Motta' got injured.
### CONTEXT
CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR, player VARCHAR)
### ANSWER
SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.player = 'Walter Samuel' INTERSECT SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.player = 'Thiago Motta' | {
"answer": "SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.player = 'Walter Samuel' INTERSECT SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.player = 'Thiago Motta'",
"context": "CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR, player VARCHAR)",
"question": "List the name of the stadium where both the player 'Walter Samuel' and the player 'Thiago Motta' got injured."
} |
### QUESTION
Which player had a draft before 1975 and before round 6?
### CONTEXT
CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)
### ANSWER
SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6 | {
"answer": "SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6",
"context": "CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)",
"question": "Which player had a draft before 1975 and before round 6?"
} |
### QUESTION
How many votes went to other candidates in the county that gave 1.9% votes to them, and 160,390 total votes to Bush?
### CONTEXT
CREATE TABLE table_name_12 (others_number INTEGER, others_percentage VARCHAR, bush_number VARCHAR)
### ANSWER
SELECT MIN(others_number) FROM table_name_12 WHERE others_percentage = "1.9%" AND bush_number < 160 OFFSET 390 | {
"answer": "SELECT MIN(others_number) FROM table_name_12 WHERE others_percentage = \"1.9%\" AND bush_number < 160 OFFSET 390",
"context": "CREATE TABLE table_name_12 (others_number INTEGER, others_percentage VARCHAR, bush_number VARCHAR)",
"question": "How many votes went to other candidates in the county that gave 1.9% votes to them, and 160,390 total votes to Bush?"
} |
### QUESTION
What is the Enrollment for the Coyotes Founded in 1891?
### CONTEXT
CREATE TABLE table_name_34 (enrollment VARCHAR, founded VARCHAR, team_nickname VARCHAR)
### ANSWER
SELECT COUNT(enrollment) FROM table_name_34 WHERE founded = 1891 AND team_nickname = "coyotes" | {
"answer": "SELECT COUNT(enrollment) FROM table_name_34 WHERE founded = 1891 AND team_nickname = \"coyotes\"",
"context": "CREATE TABLE table_name_34 (enrollment VARCHAR, founded VARCHAR, team_nickname VARCHAR)",
"question": "What is the Enrollment for the Coyotes Founded in 1891?"
} |
### QUESTION
Which date has 3 as the goal?
### CONTEXT
CREATE TABLE table_name_55 (date VARCHAR, goal VARCHAR)
### ANSWER
SELECT date FROM table_name_55 WHERE goal = 3 | {
"answer": "SELECT date FROM table_name_55 WHERE goal = 3",
"context": "CREATE TABLE table_name_55 (date VARCHAR, goal VARCHAR)",
"question": "Which date has 3 as the goal?"
} |
### QUESTION
What nation had more than 3 bronze, 0 gold, and a total of 9?
### CONTEXT
CREATE TABLE table_name_38 (nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)
### ANSWER
SELECT nation FROM table_name_38 WHERE bronze > 3 AND gold = 0 AND total = 9 | {
"answer": "SELECT nation FROM table_name_38 WHERE bronze > 3 AND gold = 0 AND total = 9",
"context": "CREATE TABLE table_name_38 (nation VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)",
"question": "What nation had more than 3 bronze, 0 gold, and a total of 9?"
} |
### QUESTION
What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?
### CONTEXT
CREATE TABLE table_name_55 (date VARCHAR, matches VARCHAR, round VARCHAR)
### ANSWER
SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper" | {
"answer": "SELECT date FROM table_name_55 WHERE matches < 32 AND round = \"fifth round proper\"",
"context": "CREATE TABLE table_name_55 (date VARCHAR, matches VARCHAR, round VARCHAR)",
"question": "What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?"
} |
### QUESTION
On what surface was the match played with a score of 2–6, 6–3, 6–4?
### CONTEXT
CREATE TABLE table_name_32 (surface VARCHAR, score VARCHAR)
### ANSWER
SELECT surface FROM table_name_32 WHERE score = "2–6, 6–3, 6–4" | {
"answer": "SELECT surface FROM table_name_32 WHERE score = \"2–6, 6–3, 6–4\"",
"context": "CREATE TABLE table_name_32 (surface VARCHAR, score VARCHAR)",
"question": "On what surface was the match played with a score of 2–6, 6–3, 6–4?"
} |
### QUESTION
What is the record when they play the canucks and have under 98 points?
### CONTEXT
CREATE TABLE table_name_61 (record VARCHAR, points VARCHAR, opponent VARCHAR)
### ANSWER
SELECT record FROM table_name_61 WHERE points < 98 AND opponent = "canucks" | {
"answer": "SELECT record FROM table_name_61 WHERE points < 98 AND opponent = \"canucks\"",
"context": "CREATE TABLE table_name_61 (record VARCHAR, points VARCHAR, opponent VARCHAR)",
"question": "What is the record when they play the canucks and have under 98 points?"
} |
### QUESTION
What country has Tematico Content, and a package with sky TV and the Lei television service?
### CONTEXT
CREATE TABLE table_name_91 (country VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)
### ANSWER
SELECT country FROM table_name_91 WHERE content = "tematico" AND package_option = "sky tv" AND television_service = "lei" | {
"answer": "SELECT country FROM table_name_91 WHERE content = \"tematico\" AND package_option = \"sky tv\" AND television_service = \"lei\"",
"context": "CREATE TABLE table_name_91 (country VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)",
"question": "What country has Tematico Content, and a package with sky TV and the Lei television service?"
} |
### QUESTION
What was the result of the home game against Derby County?
### CONTEXT
CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR)
### ANSWER
SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county" | {
"answer": "SELECT win_draw_lose FROM table_name_71 WHERE venue = \"home\" AND team = \"derby county\"",
"context": "CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR)",
"question": "What was the result of the home game against Derby County?"
} |
### QUESTION
What is the average win percentage of a season with a GB of 5?
### CONTEXT
CREATE TABLE table_name_76 (win__percentage INTEGER, gb_ VARCHAR, d_ VARCHAR)
### ANSWER
SELECT AVG(win__percentage) FROM table_name_76 WHERE gb_[d_] = "5" | {
"answer": "SELECT AVG(win__percentage) FROM table_name_76 WHERE gb_[d_] = \"5\"",
"context": "CREATE TABLE table_name_76 (win__percentage INTEGER, gb_ VARCHAR, d_ VARCHAR)",
"question": "What is the average win percentage of a season with a GB of 5?"
} |
### QUESTION
Find the names and phone numbers of customers living in California state.
### CONTEXT
CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)
### ANSWER
SELECT t1.customer_name, t1.customer_phone FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.state_province_county = 'California' | {
"answer": "SELECT t1.customer_name, t1.customer_phone FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.state_province_county = 'California'",
"context": "CREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)",
"question": "Find the names and phone numbers of customers living in California state."
} |
### QUESTION
In which season did Jimmy Eriksson win the championship for Team Lotus?
### CONTEXT
CREATE TABLE table_name_40 (season VARCHAR, team VARCHAR, champion VARCHAR)
### ANSWER
SELECT season FROM table_name_40 WHERE team = "lotus" AND champion = "jimmy eriksson" | {
"answer": "SELECT season FROM table_name_40 WHERE team = \"lotus\" AND champion = \"jimmy eriksson\"",
"context": "CREATE TABLE table_name_40 (season VARCHAR, team VARCHAR, champion VARCHAR)",
"question": "In which season did Jimmy Eriksson win the championship for Team Lotus?"
} |
### QUESTION
Which player plays for the Winnipeg Blue Bombers?
### CONTEXT
CREATE TABLE table_21321804_3 (player VARCHAR, cfl_team VARCHAR)
### ANSWER
SELECT player FROM table_21321804_3 WHERE cfl_team = "Winnipeg Blue Bombers" | {
"answer": "SELECT player FROM table_21321804_3 WHERE cfl_team = \"Winnipeg Blue Bombers\"",
"context": "CREATE TABLE table_21321804_3 (player VARCHAR, cfl_team VARCHAR)",
"question": "Which player plays for the Winnipeg Blue Bombers? "
} |
### QUESTION
What is the name of the performance zhu xiaoming performed?
### CONTEXT
CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
### ANSWER
SELECT act FROM table_28180840_15 WHERE name_name_of_act = "Zhu Xiaoming" | {
"answer": "SELECT act FROM table_28180840_15 WHERE name_name_of_act = \"Zhu Xiaoming\"",
"context": "CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)",
"question": "What is the name of the performance zhu xiaoming performed?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.