text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What competition had a Rank-Qualifying of 1st and a ball apparatus?
### CONTEXT
CREATE TABLE table_name_94 (competition_description VARCHAR, rank_qualifying VARCHAR, apparatus VARCHAR)
### ANSWER
SELECT competition_description FROM table_name_94 WHERE rank_qualifying = "1st" AND apparatus = "ball" | {
"answer": "SELECT competition_description FROM table_name_94 WHERE rank_qualifying = \"1st\" AND apparatus = \"ball\"",
"context": "CREATE TABLE table_name_94 (competition_description VARCHAR, rank_qualifying VARCHAR, apparatus VARCHAR)",
"question": "What competition had a Rank-Qualifying of 1st and a ball apparatus?"
} |
### QUESTION
List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name.
### CONTEXT
CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)
### ANSWER
SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name | {
"answer": "SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name",
"context": "CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)",
"question": "List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name."
} |
### QUESTION
What year was the class 253 larger than 18 built?
### CONTEXT
CREATE TABLE table_name_10 (year_built VARCHAR, class VARCHAR, number VARCHAR)
### ANSWER
SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18 | {
"answer": "SELECT year_built FROM table_name_10 WHERE class = \"class 253\" AND number > 18",
"context": "CREATE TABLE table_name_10 (year_built VARCHAR, class VARCHAR, number VARCHAR)",
"question": "What year was the class 253 larger than 18 built?"
} |
### QUESTION
I want to know the total number of national university of ireland with agricultural panel of 0 and labour panel more than 0
### CONTEXT
CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR)
### ANSWER
SELECT COUNT(national_university_of_ireland) FROM table_name_34 WHERE agricultural_panel = 0 AND labour_panel > 0 | {
"answer": "SELECT COUNT(national_university_of_ireland) FROM table_name_34 WHERE agricultural_panel = 0 AND labour_panel > 0",
"context": "CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR)",
"question": "I want to know the total number of national university of ireland with agricultural panel of 0 and labour panel more than 0"
} |
### QUESTION
Which is the email of the party that has used the services the most number of times?
### CONTEXT
CREATE TABLE parties (party_email VARCHAR, party_id VARCHAR); CREATE TABLE party_services (customer_id VARCHAR)
### ANSWER
SELECT t1.party_email FROM parties AS t1 JOIN party_services AS t2 ON t1.party_id = t2.customer_id GROUP BY t1.party_email ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT t1.party_email FROM parties AS t1 JOIN party_services AS t2 ON t1.party_id = t2.customer_id GROUP BY t1.party_email ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE parties (party_email VARCHAR, party_id VARCHAR); CREATE TABLE party_services (customer_id VARCHAR)",
"question": "Which is the email of the party that has used the services the most number of times?"
} |
### QUESTION
What is the product description of the product booked with an amount of 102.76?
### CONTEXT
CREATE TABLE products_for_hire (product_description VARCHAR, product_id VARCHAR); CREATE TABLE products_booked (product_id VARCHAR, booked_amount VARCHAR)
### ANSWER
SELECT T2.product_description FROM products_booked AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.booked_amount = 102.76 | {
"answer": "SELECT T2.product_description FROM products_booked AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.booked_amount = 102.76",
"context": "CREATE TABLE products_for_hire (product_description VARCHAR, product_id VARCHAR); CREATE TABLE products_booked (product_id VARCHAR, booked_amount VARCHAR)",
"question": "What is the product description of the product booked with an amount of 102.76?"
} |
### QUESTION
What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions?
### CONTEXT
CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)
### ANSWER
SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.8 | {
"answer": "SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = \"italy\" AND population_in_millions < 58.8",
"context": "CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)",
"question": "What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions?"
} |
### QUESTION
Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?
### CONTEXT
CREATE TABLE table_name_3 (year VARCHAR, runner_up VARCHAR, winners VARCHAR)
### ANSWER
SELECT year FROM table_name_3 WHERE runner_up = "utc" AND winners = "saint-gaudens bears" | {
"answer": "SELECT year FROM table_name_3 WHERE runner_up = \"utc\" AND winners = \"saint-gaudens bears\"",
"context": "CREATE TABLE table_name_3 (year VARCHAR, runner_up VARCHAR, winners VARCHAR)",
"question": "Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?"
} |
### QUESTION
Show each author and the number of workshops they submitted to.
### CONTEXT
CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR); CREATE TABLE acceptance (workshop_id VARCHAR, Submission_ID VARCHAR)
### ANSWER
SELECT T2.Author, COUNT(DISTINCT T1.workshop_id) FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID GROUP BY T2.Author | {
"answer": "SELECT T2.Author, COUNT(DISTINCT T1.workshop_id) FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID GROUP BY T2.Author",
"context": "CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR); CREATE TABLE acceptance (workshop_id VARCHAR, Submission_ID VARCHAR)",
"question": "Show each author and the number of workshops they submitted to."
} |
### QUESTION
what is the total viewers where the date of first broadcast is 28 january 2010 and the episode number is 1?
### CONTEXT
CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR)
### ANSWER
SELECT MIN(total_viewers) FROM table_12995531_3 WHERE date_of_first_broadcast = "28 January 2010" AND episode_number = 1 | {
"answer": "SELECT MIN(total_viewers) FROM table_12995531_3 WHERE date_of_first_broadcast = \"28 January 2010\" AND episode_number = 1",
"context": "CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR)",
"question": "what is the total viewers where the date of first broadcast is 28 january 2010 and the episode number is 1?"
} |
### QUESTION
What is the voltage of the Pentiumiii866 microprocessor with a socket 370?
### CONTEXT
CREATE TABLE table_name_8 (voltage VARCHAR, socket VARCHAR, model_number VARCHAR)
### ANSWER
SELECT voltage FROM table_name_8 WHERE socket = "socket 370" AND model_number = "pentiumiii866" | {
"answer": "SELECT voltage FROM table_name_8 WHERE socket = \"socket 370\" AND model_number = \"pentiumiii866\"",
"context": "CREATE TABLE table_name_8 (voltage VARCHAR, socket VARCHAR, model_number VARCHAR)",
"question": "What is the voltage of the Pentiumiii866 microprocessor with a socket 370?"
} |
### QUESTION
What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta?
### CONTEXT
CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, outcome VARCHAR, score VARCHAR)
### ANSWER
SELECT date FROM table_name_42 WHERE outcome = "runner-up" AND score = "6–4, 6–2" AND opponents = "gisela dulko flavia pennetta" | {
"answer": "SELECT date FROM table_name_42 WHERE outcome = \"runner-up\" AND score = \"6–4, 6–2\" AND opponents = \"gisela dulko flavia pennetta\"",
"context": "CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, outcome VARCHAR, score VARCHAR)",
"question": "What date has an outcome of runner-up, and a Score of 6–4, 6–2, and a Opponents of gisela dulko flavia pennetta?"
} |
### QUESTION
What is listed as the highest Rank that has a Gold that's larger than 0, and Participants that's smaller than 10?
### CONTEXT
CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, participants VARCHAR)
### ANSWER
SELECT MAX(rank) FROM table_name_6 WHERE gold > 0 AND participants < 10 | {
"answer": "SELECT MAX(rank) FROM table_name_6 WHERE gold > 0 AND participants < 10",
"context": "CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, participants VARCHAR)",
"question": "What is listed as the highest Rank that has a Gold that's larger than 0, and Participants that's smaller than 10?"
} |
### QUESTION
What is the medal named fatuma roba category:articles with hcards for?
### CONTEXT
CREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR)
### ANSWER
SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards" | {
"answer": "SELECT medal FROM table_name_73 WHERE name = \"fatuma roba category:articles with hcards\"",
"context": "CREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR)",
"question": "What is the medal named fatuma roba category:articles with hcards for?"
} |
### QUESTION
How many settlements were made on the claim with the most recent claim settlement date? List the number and the claim id.
### CONTEXT
CREATE TABLE Settlements (claim_id VARCHAR); CREATE TABLE Claims (claim_id VARCHAR, Date_Claim_Settled VARCHAR)
### ANSWER
SELECT COUNT(*), T1.claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id ORDER BY T1.Date_Claim_Settled DESC LIMIT 1 | {
"answer": "SELECT COUNT(*), T1.claim_id FROM Claims AS T1 JOIN Settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id ORDER BY T1.Date_Claim_Settled DESC LIMIT 1",
"context": "CREATE TABLE Settlements (claim_id VARCHAR); CREATE TABLE Claims (claim_id VARCHAR, Date_Claim_Settled VARCHAR)",
"question": "How many settlements were made on the claim with the most recent claim settlement date? List the number and the claim id."
} |
### QUESTION
What is the average attendance for the New York Jets?
### CONTEXT
CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)
### ANSWER
SELECT AVG(attendance) FROM table_name_98 WHERE opponent = "new york jets" | {
"answer": "SELECT AVG(attendance) FROM table_name_98 WHERE opponent = \"new york jets\"",
"context": "CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)",
"question": "What is the average attendance for the New York Jets?"
} |
### QUESTION
When was Mushfiqur Rahim's test career?
### CONTEXT
CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR)
### ANSWER
SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim" | {
"answer": "SELECT test_career FROM table_name_98 WHERE player = \"mushfiqur rahim\"",
"context": "CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR)",
"question": "When was Mushfiqur Rahim's test career?"
} |
### QUESTION
What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460?
### CONTEXT
CREATE TABLE table_name_60 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)
### ANSWER
SELECT COUNT(area_km_2) FROM table_name_60 WHERE census_ranking = "3,129 of 5,008" AND population < 460 | {
"answer": "SELECT COUNT(area_km_2) FROM table_name_60 WHERE census_ranking = \"3,129 of 5,008\" AND population < 460",
"context": "CREATE TABLE table_name_60 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)",
"question": "What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460?"
} |
### QUESTION
What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980?
### CONTEXT
CREATE TABLE table_name_62 (weight__kg_ INTEGER, birthdate VARCHAR, jersey__number VARCHAR, position VARCHAR)
### ANSWER
SELECT MIN(weight__kg_) FROM table_name_62 WHERE jersey__number > 22 AND position = "f" AND birthdate = "march 19, 1980" | {
"answer": "SELECT MIN(weight__kg_) FROM table_name_62 WHERE jersey__number > 22 AND position = \"f\" AND birthdate = \"march 19, 1980\"",
"context": "CREATE TABLE table_name_62 (weight__kg_ INTEGER, birthdate VARCHAR, jersey__number VARCHAR, position VARCHAR)",
"question": "What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980?"
} |
### QUESTION
Name the 2012 for us open
### CONTEXT
CREATE TABLE table_name_55 (tournament VARCHAR)
### ANSWER
SELECT 2012 FROM table_name_55 WHERE tournament = "us open" | {
"answer": "SELECT 2012 FROM table_name_55 WHERE tournament = \"us open\"",
"context": "CREATE TABLE table_name_55 (tournament VARCHAR)",
"question": "Name the 2012 for us open"
} |
### QUESTION
What's the total L/100km extra urban fueled by diesel, when the mpg-UK combines is more than 19.2, mpg-US is less than 50 and the L/100m combined is less than 5.7?
### CONTEXT
CREATE TABLE table_name_52 (l_100km_extra_urban VARCHAR, mpg_us_combined VARCHAR, fuel_type VARCHAR, mpg_uk_combined VARCHAR, l_100km_combined VARCHAR)
### ANSWER
SELECT COUNT(l_100km_extra_urban) FROM table_name_52 WHERE mpg_uk_combined > 19.2 AND l_100km_combined < 5.7 AND fuel_type = "diesel" AND mpg_us_combined < 50 | {
"answer": "SELECT COUNT(l_100km_extra_urban) FROM table_name_52 WHERE mpg_uk_combined > 19.2 AND l_100km_combined < 5.7 AND fuel_type = \"diesel\" AND mpg_us_combined < 50",
"context": "CREATE TABLE table_name_52 (l_100km_extra_urban VARCHAR, mpg_us_combined VARCHAR, fuel_type VARCHAR, mpg_uk_combined VARCHAR, l_100km_combined VARCHAR)",
"question": "What's the total L/100km extra urban fueled by diesel, when the mpg-UK combines is more than 19.2, mpg-US is less than 50 and the L/100m combined is less than 5.7?"
} |
### QUESTION
What was the score at Spartan Stadium when San Jose was the Home team?
### CONTEXT
CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT score FROM table_name_18 WHERE home_team = "san jose" AND venue = "spartan stadium" | {
"answer": "SELECT score FROM table_name_18 WHERE home_team = \"san jose\" AND venue = \"spartan stadium\"",
"context": "CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR, venue VARCHAR)",
"question": "What was the score at Spartan Stadium when San Jose was the Home team?"
} |
### QUESTION
Who did the high rebounds in the game where Larry Hughes (21) did the high ponts?
### CONTEXT
CREATE TABLE table_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR)
### ANSWER
SELECT high_rebounds FROM table_23248869_6 WHERE high_points = "Larry Hughes (21)" | {
"answer": "SELECT high_rebounds FROM table_23248869_6 WHERE high_points = \"Larry Hughes (21)\"",
"context": "CREATE TABLE table_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR)",
"question": "Who did the high rebounds in the game where Larry Hughes (21) did the high ponts?"
} |
### QUESTION
What is Position, when Year is less than 2000, and when Player is "Radek Dvorak Category:Articles with hCards"?
### CONTEXT
CREATE TABLE table_name_81 (position VARCHAR, year VARCHAR, player VARCHAR)
### ANSWER
SELECT position FROM table_name_81 WHERE year < 2000 AND player = "radek dvorak category:articles with hcards" | {
"answer": "SELECT position FROM table_name_81 WHERE year < 2000 AND player = \"radek dvorak category:articles with hcards\"",
"context": "CREATE TABLE table_name_81 (position VARCHAR, year VARCHAR, player VARCHAR)",
"question": "What is Position, when Year is less than 2000, and when Player is \"Radek Dvorak Category:Articles with hCards\"?"
} |
### QUESTION
Which member is from the state of SA and the grey electorate?
### CONTEXT
CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR)
### ANSWER
SELECT member FROM table_name_74 WHERE state = "sa" AND electorate = "grey" | {
"answer": "SELECT member FROM table_name_74 WHERE state = \"sa\" AND electorate = \"grey\"",
"context": "CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR)",
"question": "Which member is from the state of SA and the grey electorate?"
} |
### QUESTION
what is the tournament when the performance in 2012 is 3r and 2011 is qf?
### CONTEXT
CREATE TABLE table_name_77 (tournament VARCHAR)
### ANSWER
SELECT tournament FROM table_name_77 WHERE 2012 = "3r" AND 2011 = "qf" | {
"answer": "SELECT tournament FROM table_name_77 WHERE 2012 = \"3r\" AND 2011 = \"qf\"",
"context": "CREATE TABLE table_name_77 (tournament VARCHAR)",
"question": "what is the tournament when the performance in 2012 is 3r and 2011 is qf?"
} |
### QUESTION
Show the names of journalists that have reported more than one event.
### CONTEXT
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Event_ID VARCHAR)
### ANSWER
SELECT T3.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID GROUP BY T3.Name HAVING COUNT(*) > 1 | {
"answer": "SELECT T3.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID GROUP BY T3.Name HAVING COUNT(*) > 1",
"context": "CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Event_ID VARCHAR)",
"question": "Show the names of journalists that have reported more than one event."
} |
### QUESTION
For each user, find their name and the number of reviews written by them.
### CONTEXT
CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR)
### ANSWER
SELECT T1.name, COUNT(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id | {
"answer": "SELECT T1.name, COUNT(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id",
"context": "CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR)",
"question": "For each user, find their name and the number of reviews written by them."
} |
### QUESTION
Name the number of players for field goals being 25 and blocks is 6
### CONTEXT
CREATE TABLE table_23184448_4 (player VARCHAR, field_goals VARCHAR, blocks VARCHAR)
### ANSWER
SELECT COUNT(player) FROM table_23184448_4 WHERE field_goals = 25 AND blocks = 6 | {
"answer": "SELECT COUNT(player) FROM table_23184448_4 WHERE field_goals = 25 AND blocks = 6",
"context": "CREATE TABLE table_23184448_4 (player VARCHAR, field_goals VARCHAR, blocks VARCHAR)",
"question": "Name the number of players for field goals being 25 and blocks is 6"
} |
### QUESTION
What year joined had an enrollment less than 438 and an AA as the IHSAA Class?
### CONTEXT
CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
### ANSWER
SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = "aa" | {
"answer": "SELECT year_joined FROM table_name_63 WHERE enrollment < 438 AND ihsaa_class = \"aa\"",
"context": "CREATE TABLE table_name_63 (year_joined VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)",
"question": "What year joined had an enrollment less than 438 and an AA as the IHSAA Class?"
} |
### QUESTION
What was the overall draft pick of the player who was a db and attended college in iowa?
### CONTEXT
CREATE TABLE table_name_82 (overall VARCHAR, college VARCHAR, position VARCHAR)
### ANSWER
SELECT overall FROM table_name_82 WHERE college = "iowa" AND position = "db" | {
"answer": "SELECT overall FROM table_name_82 WHERE college = \"iowa\" AND position = \"db\"",
"context": "CREATE TABLE table_name_82 (overall VARCHAR, college VARCHAR, position VARCHAR)",
"question": "What was the overall draft pick of the player who was a db and attended college in iowa?"
} |
### QUESTION
What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576?
### CONTEXT
CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR)
### ANSWER
SELECT MAX(kneel) FROM table_name_59 WHERE stand < 187 AND prone = 197 AND qual > 576 | {
"answer": "SELECT MAX(kneel) FROM table_name_59 WHERE stand < 187 AND prone = 197 AND qual > 576",
"context": "CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR)",
"question": "What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576?"
} |
### QUESTION
Find the countries that have never participated in any competition with Friendly type.
### CONTEXT
CREATE TABLE competition (country VARCHAR, competition_type VARCHAR)
### ANSWER
SELECT country FROM competition EXCEPT SELECT country FROM competition WHERE competition_type = 'Friendly' | {
"answer": "SELECT country FROM competition EXCEPT SELECT country FROM competition WHERE competition_type = 'Friendly'",
"context": "CREATE TABLE competition (country VARCHAR, competition_type VARCHAR)",
"question": "Find the countries that have never participated in any competition with Friendly type."
} |
### QUESTION
The episode with the no. 54, directed by Charles Haid, is written by who?
### CONTEXT
CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)
### ANSWER
SELECT written_by FROM table_26561509_1 WHERE directed_by = "Charles Haid" AND no = 54 | {
"answer": "SELECT written_by FROM table_26561509_1 WHERE directed_by = \"Charles Haid\" AND no = 54",
"context": "CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)",
"question": "The episode with the no. 54, directed by Charles Haid, is written by who?"
} |
### QUESTION
What score won $36,090?
### CONTEXT
CREATE TABLE table_name_65 (score VARCHAR, money___$__ VARCHAR)
### ANSWER
SELECT score FROM table_name_65 WHERE money___$__ = "36,090" | {
"answer": "SELECT score FROM table_name_65 WHERE money___$__ = \"36,090\"",
"context": "CREATE TABLE table_name_65 (score VARCHAR, money___$__ VARCHAR)",
"question": "What score won $36,090?"
} |
### QUESTION
What date did Sigurd Rushfeldt score less than 2 points in the UEFA Euro 2004 qualifying competition?
### CONTEXT
CREATE TABLE table_name_24 (date VARCHAR, scored VARCHAR, competition VARCHAR)
### ANSWER
SELECT date FROM table_name_24 WHERE scored < 2 AND competition = "uefa euro 2004 qualifying" | {
"answer": "SELECT date FROM table_name_24 WHERE scored < 2 AND competition = \"uefa euro 2004 qualifying\"",
"context": "CREATE TABLE table_name_24 (date VARCHAR, scored VARCHAR, competition VARCHAR)",
"question": "What date did Sigurd Rushfeldt score less than 2 points in the UEFA Euro 2004 qualifying competition?"
} |
### QUESTION
Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?
### CONTEXT
CREATE TABLE table_name_54 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)
### ANSWER
SELECT type FROM table_name_54 WHERE incorporated_in = "netherlands" AND principal_activities = "airline" AND company = "transavia.com" | {
"answer": "SELECT type FROM table_name_54 WHERE incorporated_in = \"netherlands\" AND principal_activities = \"airline\" AND company = \"transavia.com\"",
"context": "CREATE TABLE table_name_54 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)",
"question": "Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?"
} |
### QUESTION
What is the highest K 2 O, when Na 2 O is greater than 1.87, when Fe 2 O 3 is greater than 0.07, when Objects is Ritual Disk, and when Al 2 O 3 is less than 0.62?
### CONTEXT
CREATE TABLE table_name_40 (k_2_o INTEGER, al_2_o_3 VARCHAR, objects VARCHAR, na_2_o VARCHAR, fe_2_o_3 VARCHAR)
### ANSWER
SELECT MAX(k_2_o) FROM table_name_40 WHERE na_2_o > 1.87 AND fe_2_o_3 > 0.07 AND objects = "ritual disk" AND al_2_o_3 < 0.62 | {
"answer": "SELECT MAX(k_2_o) FROM table_name_40 WHERE na_2_o > 1.87 AND fe_2_o_3 > 0.07 AND objects = \"ritual disk\" AND al_2_o_3 < 0.62",
"context": "CREATE TABLE table_name_40 (k_2_o INTEGER, al_2_o_3 VARCHAR, objects VARCHAR, na_2_o VARCHAR, fe_2_o_3 VARCHAR)",
"question": "What is the highest K 2 O, when Na 2 O is greater than 1.87, when Fe 2 O 3 is greater than 0.07, when Objects is Ritual Disk, and when Al 2 O 3 is less than 0.62?"
} |
### QUESTION
Who was the winner in philadelphia municipal stadium in 1939?
### CONTEXT
CREATE TABLE table_name_31 (winner VARCHAR, location VARCHAR, year VARCHAR)
### ANSWER
SELECT winner FROM table_name_31 WHERE location = "philadelphia municipal stadium" AND year = 1939 | {
"answer": "SELECT winner FROM table_name_31 WHERE location = \"philadelphia municipal stadium\" AND year = 1939",
"context": "CREATE TABLE table_name_31 (winner VARCHAR, location VARCHAR, year VARCHAR)",
"question": "Who was the winner in philadelphia municipal stadium in 1939?"
} |
### QUESTION
What is the sum of share with a rating larger than 1.2, a 3 rank timeslot, and 6.07 million viewers?
### CONTEXT
CREATE TABLE table_name_42 (share INTEGER, viewers__millions_ VARCHAR, rating VARCHAR, rank__timeslot_ VARCHAR)
### ANSWER
SELECT SUM(share) FROM table_name_42 WHERE rating > 1.2 AND rank__timeslot_ = 3 AND viewers__millions_ = 6.07 | {
"answer": "SELECT SUM(share) FROM table_name_42 WHERE rating > 1.2 AND rank__timeslot_ = 3 AND viewers__millions_ = 6.07",
"context": "CREATE TABLE table_name_42 (share INTEGER, viewers__millions_ VARCHAR, rating VARCHAR, rank__timeslot_ VARCHAR)",
"question": "What is the sum of share with a rating larger than 1.2, a 3 rank timeslot, and 6.07 million viewers?"
} |
### QUESTION
What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%
### CONTEXT
CREATE TABLE table_1341522_50 (status VARCHAR, opponent VARCHAR)
### ANSWER
SELECT status FROM table_1341522_50 WHERE opponent = "Doc Hastings (R) 53.3% Jay Inslee (D) 46.7%" | {
"answer": "SELECT status FROM table_1341522_50 WHERE opponent = \"Doc Hastings (R) 53.3% Jay Inslee (D) 46.7%\"",
"context": "CREATE TABLE table_1341522_50 (status VARCHAR, opponent VARCHAR)",
"question": "What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%"
} |
### QUESTION
Which position has a School/club team of jacksonville?
### CONTEXT
CREATE TABLE table_name_81 (pos VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT pos FROM table_name_81 WHERE school_club_team = "jacksonville" | {
"answer": "SELECT pos FROM table_name_81 WHERE school_club_team = \"jacksonville\"",
"context": "CREATE TABLE table_name_81 (pos VARCHAR, school_club_team VARCHAR)",
"question": "Which position has a School/club team of jacksonville?"
} |
### QUESTION
When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?
### CONTEXT
CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
### ANSWER
SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Second Intermediate Period of Egypt" | {
"answer": "SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = \"Second Intermediate Period of Egypt\"",
"context": "CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)",
"question": "When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?"
} |
### QUESTION
What is the lowest total from slovenia with a Gold smaller than 0?
### CONTEXT
CREATE TABLE table_name_79 (total INTEGER, nation VARCHAR, gold VARCHAR)
### ANSWER
SELECT MIN(total) FROM table_name_79 WHERE nation = "slovenia" AND gold < 0 | {
"answer": "SELECT MIN(total) FROM table_name_79 WHERE nation = \"slovenia\" AND gold < 0",
"context": "CREATE TABLE table_name_79 (total INTEGER, nation VARCHAR, gold VARCHAR)",
"question": "What is the lowest total from slovenia with a Gold smaller than 0?"
} |
### QUESTION
how many times was the catalog number cal04 / 0091037553546?
### CONTEXT
CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR)
### ANSWER
SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546" | {
"answer": "SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = \"CAL04 / 0091037553546\"",
"context": "CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR)",
"question": "how many times was the catalog number cal04 / 0091037553546?"
} |
### QUESTION
Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit?
### CONTEXT
CREATE TABLE table_name_2 (mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR)
### ANSWER
SELECT "inventor" FROM table_name_2 WHERE habit = "spur" AND pattern = "stripe" AND mutated_from = "redsport type 2" | {
"answer": "SELECT \"inventor\" FROM table_name_2 WHERE habit = \"spur\" AND pattern = \"stripe\" AND mutated_from = \"redsport type 2\"",
"context": "CREATE TABLE table_name_2 (mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR)",
"question": "Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit?"
} |
### QUESTION
What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100?
### CONTEXT
CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR)
### ANSWER
SELECT AVG(metropolitan_population__2006__millions) FROM table_name_38 WHERE metropolitan_area = "lima" AND gdp__ppp__us$_per_capita > 13 OFFSET 100 | {
"answer": "SELECT AVG(metropolitan_population__2006__millions) FROM table_name_38 WHERE metropolitan_area = \"lima\" AND gdp__ppp__us$_per_capita > 13 OFFSET 100",
"context": "CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR)",
"question": "What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100?"
} |
### QUESTION
What is the score of Howard Clark from England with a To Par of +1?
### CONTEXT
CREATE TABLE table_name_55 (score VARCHAR, player VARCHAR, to_par VARCHAR, country VARCHAR)
### ANSWER
SELECT score FROM table_name_55 WHERE to_par = "+1" AND country = "england" AND player = "howard clark" | {
"answer": "SELECT score FROM table_name_55 WHERE to_par = \"+1\" AND country = \"england\" AND player = \"howard clark\"",
"context": "CREATE TABLE table_name_55 (score VARCHAR, player VARCHAR, to_par VARCHAR, country VARCHAR)",
"question": "What is the score of Howard Clark from England with a To Par of +1?"
} |
### QUESTION
Which Team classification has a Combination classification of egoi martínez, and a Winner of tom boonen?
### CONTEXT
CREATE TABLE table_name_28 (team_classification VARCHAR, combination_classification VARCHAR, winner VARCHAR)
### ANSWER
SELECT team_classification FROM table_name_28 WHERE combination_classification = "egoi martínez" AND winner = "tom boonen" | {
"answer": "SELECT team_classification FROM table_name_28 WHERE combination_classification = \"egoi martínez\" AND winner = \"tom boonen\"",
"context": "CREATE TABLE table_name_28 (team_classification VARCHAR, combination_classification VARCHAR, winner VARCHAR)",
"question": "Which Team classification has a Combination classification of egoi martínez, and a Winner of tom boonen?"
} |
### QUESTION
What was United States place when the player was Fred Couples?
### CONTEXT
CREATE TABLE table_name_26 (place VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT place FROM table_name_26 WHERE country = "united states" AND player = "fred couples" | {
"answer": "SELECT place FROM table_name_26 WHERE country = \"united states\" AND player = \"fred couples\"",
"context": "CREATE TABLE table_name_26 (place VARCHAR, country VARCHAR, player VARCHAR)",
"question": "What was United States place when the player was Fred Couples?"
} |
### QUESTION
What is the Placement when the Candidate is Jean-Patrick Berthiaume?
### CONTEXT
CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR)
### ANSWER
SELECT placement FROM table_name_96 WHERE candidate = "jean-patrick berthiaume" | {
"answer": "SELECT placement FROM table_name_96 WHERE candidate = \"jean-patrick berthiaume\"",
"context": "CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR)",
"question": "What is the Placement when the Candidate is Jean-Patrick Berthiaume?"
} |
### QUESTION
With a House Edge of 3.63% and a Non-Suited Match of 4:1, what is the Double Non-Suited Match?
### CONTEXT
CREATE TABLE table_name_1 (Double VARCHAR, non_suited_match VARCHAR, house_edge VARCHAR)
### ANSWER
SELECT Double AS non_suited_match FROM table_name_1 WHERE non_suited_match = "4:1" AND house_edge = "3.63%" | {
"answer": "SELECT Double AS non_suited_match FROM table_name_1 WHERE non_suited_match = \"4:1\" AND house_edge = \"3.63%\"",
"context": "CREATE TABLE table_name_1 (Double VARCHAR, non_suited_match VARCHAR, house_edge VARCHAR)",
"question": "With a House Edge of 3.63% and a Non-Suited Match of 4:1, what is the Double Non-Suited Match?"
} |
### QUESTION
Show ids for all documents with budget types described as 'Government'.
### CONTEXT
CREATE TABLE Documents_with_expenses (document_id VARCHAR, Budget_Type_code VARCHAR); CREATE TABLE Ref_Budget_Codes (Budget_Type_code VARCHAR, budget_type_Description VARCHAR)
### ANSWER
SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = "Government" | {
"answer": "SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = \"Government\"",
"context": "CREATE TABLE Documents_with_expenses (document_id VARCHAR, Budget_Type_code VARCHAR); CREATE TABLE Ref_Budget_Codes (Budget_Type_code VARCHAR, budget_type_Description VARCHAR)",
"question": "Show ids for all documents with budget types described as 'Government'."
} |
### QUESTION
Which park had most attendances in 2008?
### CONTEXT
CREATE TABLE park (park_name VARCHAR, park_id VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR, attendance VARCHAR)
### ANSWER
SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 1 | {
"answer": "SELECT T2.park_name FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2008 ORDER BY T1.attendance DESC LIMIT 1",
"context": "CREATE TABLE park (park_name VARCHAR, park_id VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR, attendance VARCHAR)",
"question": "Which park had most attendances in 2008?"
} |
### QUESTION
Which artist does the album "Balls to the Wall" belong to?
### CONTEXT
CREATE TABLE ALBUM (ArtistId VARCHAR, Title VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR)
### ANSWER
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall" | {
"answer": "SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = \"Balls to the Wall\"",
"context": "CREATE TABLE ALBUM (ArtistId VARCHAR, Title VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR)",
"question": "Which artist does the album \"Balls to the Wall\" belong to?"
} |
### QUESTION
What is the Shirt No for Henry Bell Cisnero whose height is less than 190?
### CONTEXT
CREATE TABLE table_name_24 (shirt_no INTEGER, height VARCHAR, player VARCHAR)
### ANSWER
SELECT MAX(shirt_no) FROM table_name_24 WHERE height < 190 AND player = "henry bell cisnero" | {
"answer": "SELECT MAX(shirt_no) FROM table_name_24 WHERE height < 190 AND player = \"henry bell cisnero\"",
"context": "CREATE TABLE table_name_24 (shirt_no INTEGER, height VARCHAR, player VARCHAR)",
"question": "What is the Shirt No for Henry Bell Cisnero whose height is less than 190?"
} |
### QUESTION
Which Height (m) has a Name of plessur alps, and a AVE-No larger than 63?
### CONTEXT
CREATE TABLE table_name_97 (height__m_ INTEGER, name VARCHAR, ave__no VARCHAR)
### ANSWER
SELECT MIN(height__m_) FROM table_name_97 WHERE name = "plessur alps" AND ave__no > 63 | {
"answer": "SELECT MIN(height__m_) FROM table_name_97 WHERE name = \"plessur alps\" AND ave__no > 63",
"context": "CREATE TABLE table_name_97 (height__m_ INTEGER, name VARCHAR, ave__no VARCHAR)",
"question": "Which Height (m) has a Name of plessur alps, and a AVE-No larger than 63?"
} |
### QUESTION
What are the changes (2010 to 2011) where the International Tourist Arrivals is 1.7 million?
### CONTEXT
CREATE TABLE table_14752049_2 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
### ANSWER
SELECT change__2010_to_2011_ FROM table_14752049_2 WHERE international_tourist_arrivals__2011_ = "1.7 million" | {
"answer": "SELECT change__2010_to_2011_ FROM table_14752049_2 WHERE international_tourist_arrivals__2011_ = \"1.7 million\"",
"context": "CREATE TABLE table_14752049_2 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)",
"question": "What are the changes (2010 to 2011) where the International Tourist Arrivals is 1.7 million?"
} |
### QUESTION
The film titled Bosko's fox hunt had what as the smallest production number?
### CONTEXT
CREATE TABLE table_name_56 (production_num INTEGER, title VARCHAR)
### ANSWER
SELECT MIN(production_num) FROM table_name_56 WHERE title = "bosko's fox hunt" | {
"answer": "SELECT MIN(production_num) FROM table_name_56 WHERE title = \"bosko's fox hunt\"",
"context": "CREATE TABLE table_name_56 (production_num INTEGER, title VARCHAR)",
"question": "The film titled Bosko's fox hunt had what as the smallest production number?"
} |
### QUESTION
Show the name, role code, and date of birth for the employee with name 'Armani'.
### CONTEXT
CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR, date_of_birth VARCHAR, employee_Name VARCHAR)
### ANSWER
SELECT employee_name, role_code, date_of_birth FROM Employees WHERE employee_Name = 'Armani' | {
"answer": "SELECT employee_name, role_code, date_of_birth FROM Employees WHERE employee_Name = 'Armani'",
"context": "CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR, date_of_birth VARCHAR, employee_Name VARCHAR)",
"question": "Show the name, role code, and date of birth for the employee with name 'Armani'."
} |
### QUESTION
what's the result with candidates being billy tauzin (d) unopposed
### CONTEXT
CREATE TABLE table_1341586_19 (result VARCHAR, candidates VARCHAR)
### ANSWER
SELECT result FROM table_1341586_19 WHERE candidates = "Billy Tauzin (D) Unopposed" | {
"answer": "SELECT result FROM table_1341586_19 WHERE candidates = \"Billy Tauzin (D) Unopposed\"",
"context": "CREATE TABLE table_1341586_19 (result VARCHAR, candidates VARCHAR)",
"question": "what's the result with candidates being billy tauzin (d) unopposed"
} |
### QUESTION
How many division titles does the team with 23 playoff appearances and more than 1 conference titles have?
### CONTEXT
CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR)
### ANSWER
SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AND conference_titles > 1 | {
"answer": "SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AND conference_titles > 1",
"context": "CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR)",
"question": "How many division titles does the team with 23 playoff appearances and more than 1 conference titles have?"
} |
### QUESTION
WHAT IS THE POSITION WITH A ROUND LARGER THAN 6, AND OVERALL OF 191?
### CONTEXT
CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR, overall VARCHAR)
### ANSWER
SELECT position FROM table_name_9 WHERE round > 6 AND overall = 191 | {
"answer": "SELECT position FROM table_name_9 WHERE round > 6 AND overall = 191",
"context": "CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR, overall VARCHAR)",
"question": "WHAT IS THE POSITION WITH A ROUND LARGER THAN 6, AND OVERALL OF 191?"
} |
### QUESTION
What is the crowd with Away team of hawthorn?
### CONTEXT
CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR)
### ANSWER
SELECT AVG(crowd) FROM table_name_94 WHERE away_team = "hawthorn" | {
"answer": "SELECT AVG(crowd) FROM table_name_94 WHERE away_team = \"hawthorn\"",
"context": "CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR)",
"question": "What is the crowd with Away team of hawthorn?"
} |
### QUESTION
What is the name of the linebacker at Illinois college?
### CONTEXT
CREATE TABLE table_10361625_1 (player_name VARCHAR, position VARCHAR, college VARCHAR)
### ANSWER
SELECT player_name FROM table_10361625_1 WHERE position = "Linebacker" AND college = "Illinois" | {
"answer": "SELECT player_name FROM table_10361625_1 WHERE position = \"Linebacker\" AND college = \"Illinois\"",
"context": "CREATE TABLE table_10361625_1 (player_name VARCHAR, position VARCHAR, college VARCHAR)",
"question": "What is the name of the linebacker at Illinois college?"
} |
### QUESTION
Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2?
### CONTEXT
CREATE TABLE table_name_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR)
### ANSWER
SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = "6" AND against > 2 | {
"answer": "SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = \"6\" AND against > 2",
"context": "CREATE TABLE table_name_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR)",
"question": "Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2?"
} |
### QUESTION
Mortlake club has more than 924 against, less than 14 losses, and how many total draws?
### CONTEXT
CREATE TABLE table_name_66 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR)
### ANSWER
SELECT COUNT(draws) FROM table_name_66 WHERE against > 924 AND club = "mortlake" AND losses < 14 | {
"answer": "SELECT COUNT(draws) FROM table_name_66 WHERE against > 924 AND club = \"mortlake\" AND losses < 14",
"context": "CREATE TABLE table_name_66 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR)",
"question": "Mortlake club has more than 924 against, less than 14 losses, and how many total draws?"
} |
### QUESTION
What is the lowest 1994-1995, when Points is 145, and when Played is less than 114?
### CONTEXT
### ANSWER
SELECT MIN(*) FROM table_name_2 WHERE points = 145 AND played < 114 | {
"answer": "SELECT MIN(*) FROM table_name_2 WHERE points = 145 AND played < 114",
"context": "",
"question": "What is the lowest 1994-1995, when Points is 145, and when Played is less than 114?"
} |
### QUESTION
How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961?
### CONTEXT
CREATE TABLE table_name_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR)
### ANSWER
SELECT COUNT(goals) FROM table_name_9 WHERE years_at_club = "1961–1966" AND debut_year > 1961 | {
"answer": "SELECT COUNT(goals) FROM table_name_9 WHERE years_at_club = \"1961–1966\" AND debut_year > 1961",
"context": "CREATE TABLE table_name_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR)",
"question": "How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961?"
} |
### QUESTION
what is the record when the opponent is jeff williams?
### CONTEXT
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)
### ANSWER
SELECT record FROM table_name_37 WHERE opponent = "jeff williams" | {
"answer": "SELECT record FROM table_name_37 WHERE opponent = \"jeff williams\"",
"context": "CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)",
"question": "what is the record when the opponent is jeff williams?"
} |
### QUESTION
What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?
### CONTEXT
CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR)
### ANSWER
SELECT SUM(net_profit__) AS £m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__£m_ < 194.6 | {
"answer": "SELECT SUM(net_profit__) AS £m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__£m_ < 194.6",
"context": "CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR)",
"question": "What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?"
} |
### QUESTION
What was the score of the game in which Danny Granger (30) did the high points?
### CONTEXT
CREATE TABLE table_27756164_2 (score VARCHAR, high_points VARCHAR)
### ANSWER
SELECT score FROM table_27756164_2 WHERE high_points = "Danny Granger (30)" | {
"answer": "SELECT score FROM table_27756164_2 WHERE high_points = \"Danny Granger (30)\"",
"context": "CREATE TABLE table_27756164_2 (score VARCHAR, high_points VARCHAR)",
"question": "What was the score of the game in which Danny Granger (30) did the high points?"
} |
### QUESTION
What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi?
### CONTEXT
CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT stage FROM table_name_13 WHERE trofeo_fast_team = "gewiss playbus" AND points_classification = "fabrizio guidi" AND winner = "fabiano fontanelli" | {
"answer": "SELECT stage FROM table_name_13 WHERE trofeo_fast_team = \"gewiss playbus\" AND points_classification = \"fabrizio guidi\" AND winner = \"fabiano fontanelli\"",
"context": "CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)",
"question": "What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi?"
} |
### QUESTION
What is the highest number born in a none EU state (1000) from Denmark with a total population (1000) less than 5,534?
### CONTEXT
CREATE TABLE table_name_20 (born_in_a_non_eu_state__1000_ INTEGER, country VARCHAR, total_population__1000_ VARCHAR)
### ANSWER
SELECT MAX(born_in_a_non_eu_state__1000_) FROM table_name_20 WHERE country = "denmark" AND total_population__1000_ < 5 OFFSET 534 | {
"answer": "SELECT MAX(born_in_a_non_eu_state__1000_) FROM table_name_20 WHERE country = \"denmark\" AND total_population__1000_ < 5 OFFSET 534",
"context": "CREATE TABLE table_name_20 (born_in_a_non_eu_state__1000_ INTEGER, country VARCHAR, total_population__1000_ VARCHAR)",
"question": "What is the highest number born in a none EU state (1000) from Denmark with a total population (1000) less than 5,534?"
} |
### QUESTION
What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]?
### CONTEXT
CREATE TABLE table_name_18 (runner_up VARCHAR, third_place VARCHAR, score VARCHAR)
### ANSWER
SELECT runner_up FROM table_name_18 WHERE third_place = "yevgeny kafelnikov" AND score = "3–6, 6–4, [10–3]" | {
"answer": "SELECT runner_up FROM table_name_18 WHERE third_place = \"yevgeny kafelnikov\" AND score = \"3–6, 6–4, [10–3]\"",
"context": "CREATE TABLE table_name_18 (runner_up VARCHAR, third_place VARCHAR, score VARCHAR)",
"question": "What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]?"
} |
### QUESTION
Name the landesliga mitte for fc gundelfingen and vfl frohnlach
### CONTEXT
CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, landesliga_süd VARCHAR, landesliga_nord VARCHAR)
### ANSWER
SELECT landesliga_mitte FROM table_20181270_3 WHERE landesliga_süd = "FC Gundelfingen" AND landesliga_nord = "VfL Frohnlach" | {
"answer": "SELECT landesliga_mitte FROM table_20181270_3 WHERE landesliga_süd = \"FC Gundelfingen\" AND landesliga_nord = \"VfL Frohnlach\"",
"context": "CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, landesliga_süd VARCHAR, landesliga_nord VARCHAR)",
"question": "Name the landesliga mitte for fc gundelfingen and vfl frohnlach"
} |
### QUESTION
What is the memory when release date is January 2010 and socket is BGA-1288?
### CONTEXT
CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)
### ANSWER
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288" | {
"answer": "SELECT memory FROM table_name_13 WHERE release_date = \"january 2010\" AND socket = \"bga-1288\"",
"context": "CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)",
"question": "What is the memory when release date is January 2010 and socket is BGA-1288?"
} |
### QUESTION
How many divisions in bowling ?
### CONTEXT
CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR)
### ANSWER
SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = "Bowling" | {
"answer": "SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = \"Bowling\"",
"context": "CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR)",
"question": "How many divisions in bowling ? "
} |
### QUESTION
How many appearances by Meek Mill?
### CONTEXT
CREATE TABLE table_29160596_1 (appearances INTEGER, top_mc VARCHAR)
### ANSWER
SELECT MAX(appearances) FROM table_29160596_1 WHERE top_mc = "Meek Mill" | {
"answer": "SELECT MAX(appearances) FROM table_29160596_1 WHERE top_mc = \"Meek Mill\"",
"context": "CREATE TABLE table_29160596_1 (appearances INTEGER, top_mc VARCHAR)",
"question": "How many appearances by Meek Mill?"
} |
### QUESTION
Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft?
### CONTEXT
CREATE TABLE table_26137666_3 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)
### ANSWER
SELECT winning_driver FROM table_26137666_3 WHERE winning_team = "Carlin Motorsport" AND circuit = "Croft" | {
"answer": "SELECT winning_driver FROM table_26137666_3 WHERE winning_team = \"Carlin Motorsport\" AND circuit = \"Croft\"",
"context": "CREATE TABLE table_26137666_3 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)",
"question": "Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft?"
} |
### QUESTION
What is the minimum stations owned since kero-tv?
### CONTEXT
CREATE TABLE table_1847523_2 (owned_since INTEGER, station VARCHAR)
### ANSWER
SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = "KERO-TV" | {
"answer": "SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = \"KERO-TV\"",
"context": "CREATE TABLE table_1847523_2 (owned_since INTEGER, station VARCHAR)",
"question": "What is the minimum stations owned since kero-tv?"
} |
### QUESTION
Which country had a release of 1 VCD titled Martial Law: Substitutes?
### CONTEXT
CREATE TABLE table_name_93 (country VARCHAR, notes VARCHAR, release_title VARCHAR)
### ANSWER
SELECT country FROM table_name_93 WHERE notes = "1 vcd" AND release_title = "martial law: substitutes" | {
"answer": "SELECT country FROM table_name_93 WHERE notes = \"1 vcd\" AND release_title = \"martial law: substitutes\"",
"context": "CREATE TABLE table_name_93 (country VARCHAR, notes VARCHAR, release_title VARCHAR)",
"question": "Which country had a release of 1 VCD titled Martial Law: Substitutes?"
} |
### QUESTION
What was the highest attendance on December 23?
### CONTEXT
CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR)
### ANSWER
SELECT MAX(attendance) FROM table_name_91 WHERE date = "december 23" | {
"answer": "SELECT MAX(attendance) FROM table_name_91 WHERE date = \"december 23\"",
"context": "CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR)",
"question": "What was the highest attendance on December 23?"
} |
### QUESTION
Which Release price (USD ) that has a Release date on april 2012 and a Part number(s) of cm8063701211900bx80637i73770s?
### CONTEXT
CREATE TABLE table_name_90 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)
### ANSWER
SELECT release_price___usd__ FROM table_name_90 WHERE release_date = "april 2012" AND part_number_s_ = "cm8063701211900bx80637i73770s" | {
"answer": "SELECT release_price___usd__ FROM table_name_90 WHERE release_date = \"april 2012\" AND part_number_s_ = \"cm8063701211900bx80637i73770s\"",
"context": "CREATE TABLE table_name_90 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)",
"question": "Which Release price (USD ) that has a Release date on april 2012 and a Part number(s) of cm8063701211900bx80637i73770s?"
} |
### QUESTION
NJame the total number of population for towns/villages for 217
### CONTEXT
CREATE TABLE table_16278825_1 (population VARCHAR, towns__villages VARCHAR)
### ANSWER
SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages = 217 | {
"answer": "SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages = 217",
"context": "CREATE TABLE table_16278825_1 (population VARCHAR, towns__villages VARCHAR)",
"question": "NJame the total number of population for towns/villages for 217"
} |
### QUESTION
What is the weight of the player from club panionios g.c. and was born on 1975-05-21?
### CONTEXT
CREATE TABLE table_name_70 (weight VARCHAR, club VARCHAR, date_of_birth VARCHAR)
### ANSWER
SELECT weight FROM table_name_70 WHERE club = "panionios g.c." AND date_of_birth = "1975-05-21" | {
"answer": "SELECT weight FROM table_name_70 WHERE club = \"panionios g.c.\" AND date_of_birth = \"1975-05-21\"",
"context": "CREATE TABLE table_name_70 (weight VARCHAR, club VARCHAR, date_of_birth VARCHAR)",
"question": "What is the weight of the player from club panionios g.c. and was born on 1975-05-21?"
} |
### QUESTION
What is the remark for Norway?
### CONTEXT
CREATE TABLE table_name_38 (remarks VARCHAR, country_of_origin VARCHAR)
### ANSWER
SELECT remarks FROM table_name_38 WHERE country_of_origin = "norway" | {
"answer": "SELECT remarks FROM table_name_38 WHERE country_of_origin = \"norway\"",
"context": "CREATE TABLE table_name_38 (remarks VARCHAR, country_of_origin VARCHAR)",
"question": "What is the remark for Norway?"
} |
### QUESTION
Which location has a method of decision and Nikos Tsoukalas for an opponent?
### CONTEXT
CREATE TABLE table_name_97 (location VARCHAR, method VARCHAR, opponent VARCHAR)
### ANSWER
SELECT location FROM table_name_97 WHERE method = "decision" AND opponent = "nikos tsoukalas" | {
"answer": "SELECT location FROM table_name_97 WHERE method = \"decision\" AND opponent = \"nikos tsoukalas\"",
"context": "CREATE TABLE table_name_97 (location VARCHAR, method VARCHAR, opponent VARCHAR)",
"question": "Which location has a method of decision and Nikos Tsoukalas for an opponent?"
} |
### QUESTION
What is the newest Season in which had 0 Podiums, and having 1 total of Races, as well as total wins larger than 0?
### CONTEXT
CREATE TABLE table_name_65 (season INTEGER, wins VARCHAR, podiums VARCHAR, races VARCHAR)
### ANSWER
SELECT MAX(season) FROM table_name_65 WHERE podiums = 0 AND races = 1 AND wins > 0 | {
"answer": "SELECT MAX(season) FROM table_name_65 WHERE podiums = 0 AND races = 1 AND wins > 0",
"context": "CREATE TABLE table_name_65 (season INTEGER, wins VARCHAR, podiums VARCHAR, races VARCHAR)",
"question": "What is the newest Season in which had 0 Podiums, and having 1 total of Races, as well as total wins larger than 0?"
} |
### QUESTION
What is the average black value (Hispanic/Non-Hispanic) having a white (Hispanic/Non-Hispanic) under 61.9, Multiracial (Hispanic/Non-Hispanic) under 12.5 and Hispanic under 99.4?
### CONTEXT
CREATE TABLE table_name_99 (black__both_hispanic_and_non_hispanic_ INTEGER, hispanic__of_any_race_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, multiracial__both_hispanic_and_non_hispanic_ VARCHAR)
### ANSWER
SELECT AVG(black__both_hispanic_and_non_hispanic_) FROM table_name_99 WHERE white__both_hispanic_and_non_hispanic_ < 61.9 AND multiracial__both_hispanic_and_non_hispanic_ < 12.5 AND hispanic__of_any_race_ < 99.4 | {
"answer": "SELECT AVG(black__both_hispanic_and_non_hispanic_) FROM table_name_99 WHERE white__both_hispanic_and_non_hispanic_ < 61.9 AND multiracial__both_hispanic_and_non_hispanic_ < 12.5 AND hispanic__of_any_race_ < 99.4",
"context": "CREATE TABLE table_name_99 (black__both_hispanic_and_non_hispanic_ INTEGER, hispanic__of_any_race_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, multiracial__both_hispanic_and_non_hispanic_ VARCHAR)",
"question": "What is the average black value (Hispanic/Non-Hispanic) having a white (Hispanic/Non-Hispanic) under 61.9, Multiracial (Hispanic/Non-Hispanic) under 12.5 and Hispanic under 99.4?"
} |
### QUESTION
How many people directed episode 3 in the season?
### CONTEXT
CREATE TABLE table_25277262_2 (directed_by VARCHAR, no_in_season VARCHAR)
### ANSWER
SELECT COUNT(directed_by) FROM table_25277262_2 WHERE no_in_season = 3 | {
"answer": "SELECT COUNT(directed_by) FROM table_25277262_2 WHERE no_in_season = 3",
"context": "CREATE TABLE table_25277262_2 (directed_by VARCHAR, no_in_season VARCHAR)",
"question": "How many people directed episode 3 in the season?"
} |
### QUESTION
When was the locomotive named fighter command built?
### CONTEXT
CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR)
### ANSWER
SELECT whenbuilt FROM table_name_28 WHERE name = "fighter command" | {
"answer": "SELECT whenbuilt FROM table_name_28 WHERE name = \"fighter command\"",
"context": "CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR)",
"question": "When was the locomotive named fighter command built?"
} |
### QUESTION
What is the format for July 27, 1994?
### CONTEXT
CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR)
### ANSWER
SELECT format FROM table_name_94 WHERE date = "july 27, 1994" | {
"answer": "SELECT format FROM table_name_94 WHERE date = \"july 27, 1994\"",
"context": "CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR)",
"question": "What is the format for July 27, 1994?"
} |
### QUESTION
WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER?
### CONTEXT
CREATE TABLE table_name_1 (result VARCHAR, category VARCHAR, year VARCHAR)
### ANSWER
SELECT result FROM table_name_1 WHERE category = "best urban/alternative performance" AND year > 2003 | {
"answer": "SELECT result FROM table_name_1 WHERE category = \"best urban/alternative performance\" AND year > 2003",
"context": "CREATE TABLE table_name_1 (result VARCHAR, category VARCHAR, year VARCHAR)",
"question": "WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER?"
} |
### QUESTION
What are the result description of the project whose detail is 'sint'?
### CONTEXT
CREATE TABLE Project_outcomes (outcome_code VARCHAR, project_id VARCHAR); CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR)
### ANSWER
SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code = T2.outcome_code JOIN Projects AS T3 ON T2.project_id = T3.project_id WHERE T3.project_details = 'sint' | {
"answer": "SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code = T2.outcome_code JOIN Projects AS T3 ON T2.project_id = T3.project_id WHERE T3.project_details = 'sint'",
"context": "CREATE TABLE Project_outcomes (outcome_code VARCHAR, project_id VARCHAR); CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR)",
"question": "What are the result description of the project whose detail is 'sint'?"
} |
### QUESTION
What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011?
### CONTEXT
CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)
### ANSWER
SELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = "march 31" AND super_b_capacity_reached_[_citation_needed_] = "february 17" AND year > 2011 | {
"answer": "SELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = \"march 31\" AND super_b_capacity_reached_[_citation_needed_] = \"february 17\" AND year > 2011",
"context": "CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)",
"question": "What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011?"
} |
### QUESTION
Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification?
### CONTEXT
CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR, points_classification VARCHAR)
### ANSWER
SELECT mountains_classification FROM table_23157997_13 WHERE youth_classification = "Nick Frey" AND points_classification = "Tom Zirbel" | {
"answer": "SELECT mountains_classification FROM table_23157997_13 WHERE youth_classification = \"Nick Frey\" AND points_classification = \"Tom Zirbel\"",
"context": "CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR, points_classification VARCHAR)",
"question": "Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification?"
} |
### QUESTION
Which Record has a Location/Attendance of ford center, a Game larger than 30, and a Score of 87–79?
### CONTEXT
CREATE TABLE table_name_51 (record VARCHAR, score VARCHAR, location_attendance VARCHAR, game VARCHAR)
### ANSWER
SELECT record FROM table_name_51 WHERE location_attendance = "ford center" AND game > 30 AND score = "87–79" | {
"answer": "SELECT record FROM table_name_51 WHERE location_attendance = \"ford center\" AND game > 30 AND score = \"87–79\"",
"context": "CREATE TABLE table_name_51 (record VARCHAR, score VARCHAR, location_attendance VARCHAR, game VARCHAR)",
"question": "Which Record has a Location/Attendance of ford center, a Game larger than 30, and a Score of 87–79?"
} |
### QUESTION
What district has Riley Joseph Wilson as the incumbent?
### CONTEXT
CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson" | {
"answer": "SELECT district FROM table_1342331_18 WHERE incumbent = \"Riley Joseph Wilson\"",
"context": "CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR)",
"question": "What district has Riley Joseph Wilson as the incumbent?"
} |
### QUESTION
Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix?
### CONTEXT
CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR)
### ANSWER
SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Australian Grand Prix" INTERSECT SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = "Chinese Grand Prix" | {
"answer": "SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = \"Australian Grand Prix\" INTERSECT SELECT T2.driverid, T3.forename FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T2.driverid = T3.driverid WHERE T1.name = \"Chinese Grand Prix\"",
"context": "CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR)",
"question": "Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.