text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Tell me the lowest prom for class of hewitt and peak of cushat law and height more than 615
### CONTEXT
CREATE TABLE table_name_62 (prom__m_ INTEGER, height__m_ VARCHAR, class VARCHAR, peak VARCHAR)
### ANSWER
SELECT MIN(prom__m_) FROM table_name_62 WHERE class = "hewitt" AND peak = "cushat law" AND height__m_ > 615 | {
"answer": "SELECT MIN(prom__m_) FROM table_name_62 WHERE class = \"hewitt\" AND peak = \"cushat law\" AND height__m_ > 615",
"context": "CREATE TABLE table_name_62 (prom__m_ INTEGER, height__m_ VARCHAR, class VARCHAR, peak VARCHAR)",
"question": "Tell me the lowest prom for class of hewitt and peak of cushat law and height more than 615"
} |
### QUESTION
what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy?
### CONTEXT
CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR)
### ANSWER
SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy" | {
"answer": "SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = \"hydra\" AND object_type = \"spiral galaxy\"",
"context": "CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR)",
"question": "what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy?"
} |
### QUESTION
What's the to par for Hale Irwin of the United States?
### CONTEXT
CREATE TABLE table_name_13 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### ANSWER
SELECT to_par FROM table_name_13 WHERE country = "united states" AND player = "hale irwin" | {
"answer": "SELECT to_par FROM table_name_13 WHERE country = \"united states\" AND player = \"hale irwin\"",
"context": "CREATE TABLE table_name_13 (to_par VARCHAR, country VARCHAR, player VARCHAR)",
"question": "What's the to par for Hale Irwin of the United States?"
} |
### QUESTION
What school has a public nickname, founded after 1838 in Harrisonburg, Va?
### CONTEXT
CREATE TABLE table_name_38 (nickname VARCHAR, location VARCHAR, affiliation VARCHAR, founded VARCHAR)
### ANSWER
SELECT nickname FROM table_name_38 WHERE affiliation = "public" AND founded > 1838 AND location = "harrisonburg, va" | {
"answer": "SELECT nickname FROM table_name_38 WHERE affiliation = \"public\" AND founded > 1838 AND location = \"harrisonburg, va\"",
"context": "CREATE TABLE table_name_38 (nickname VARCHAR, location VARCHAR, affiliation VARCHAR, founded VARCHAR)",
"question": "What school has a public nickname, founded after 1838 in Harrisonburg, Va?"
} |
### QUESTION
List the name of all products along with the number of complaints that they have received.
### CONTEXT
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR)
### ANSWER
SELECT t1.product_name, COUNT(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name | {
"answer": "SELECT t1.product_name, COUNT(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name",
"context": "CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR)",
"question": "List the name of all products along with the number of complaints that they have received."
} |
### QUESTION
Which Round has a College of appalachian state, and an Overall smaller than 156?
### CONTEXT
CREATE TABLE table_name_64 (round VARCHAR, college VARCHAR, overall VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_name_64 WHERE college = "appalachian state" AND overall < 156 | {
"answer": "SELECT COUNT(round) FROM table_name_64 WHERE college = \"appalachian state\" AND overall < 156",
"context": "CREATE TABLE table_name_64 (round VARCHAR, college VARCHAR, overall VARCHAR)",
"question": "Which Round has a College of appalachian state, and an Overall smaller than 156?"
} |
### QUESTION
Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7?
### CONTEXT
CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR)
### ANSWER
SELECT MIN(apps) FROM table_name_29 WHERE club = "barcelona" AND season = "1996/97" AND rank < 7 | {
"answer": "SELECT MIN(apps) FROM table_name_29 WHERE club = \"barcelona\" AND season = \"1996/97\" AND rank < 7",
"context": "CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR)",
"question": "Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7?"
} |
### QUESTION
Which school has more than 3 rounds with jason odom?
### CONTEXT
CREATE TABLE table_name_71 (school VARCHAR, round VARCHAR, player VARCHAR)
### ANSWER
SELECT school FROM table_name_71 WHERE round > 3 AND player = "jason odom" | {
"answer": "SELECT school FROM table_name_71 WHERE round > 3 AND player = \"jason odom\"",
"context": "CREATE TABLE table_name_71 (school VARCHAR, round VARCHAR, player VARCHAR)",
"question": "Which school has more than 3 rounds with jason odom?"
} |
### QUESTION
What is the site of the game that had an attendance of 54,040?
### CONTEXT
CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR)
### ANSWER
SELECT game_site FROM table_name_23 WHERE attendance = "54,040" | {
"answer": "SELECT game_site FROM table_name_23 WHERE attendance = \"54,040\"",
"context": "CREATE TABLE table_name_23 (game_site VARCHAR, attendance VARCHAR)",
"question": "What is the site of the game that had an attendance of 54,040?"
} |
### QUESTION
Show the official names of the cities that have hosted more than one competition.
### CONTEXT
CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR)
### ANSWER
SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1 | {
"answer": "SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1",
"context": "CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR)",
"question": "Show the official names of the cities that have hosted more than one competition."
} |
### QUESTION
What is the highest attendace of the game with the Lakers as the home team?
### CONTEXT
CREATE TABLE table_name_56 (attendance INTEGER, home VARCHAR)
### ANSWER
SELECT MAX(attendance) FROM table_name_56 WHERE home = "lakers" | {
"answer": "SELECT MAX(attendance) FROM table_name_56 WHERE home = \"lakers\"",
"context": "CREATE TABLE table_name_56 (attendance INTEGER, home VARCHAR)",
"question": "What is the highest attendace of the game with the Lakers as the home team?"
} |
### QUESTION
Find the name of the ships that are steered by both a captain with Midshipman rank and a captain with Lieutenant rank.
### CONTEXT
CREATE TABLE ship (name VARCHAR, ship_id VARCHAR); CREATE TABLE captain (ship_id VARCHAR, rank VARCHAR)
### ANSWER
SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id WHERE t2.rank = 'Midshipman' INTERSECT SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id WHERE t2.rank = 'Lieutenant' | {
"answer": "SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id WHERE t2.rank = 'Midshipman' INTERSECT SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id WHERE t2.rank = 'Lieutenant'",
"context": "CREATE TABLE ship (name VARCHAR, ship_id VARCHAR); CREATE TABLE captain (ship_id VARCHAR, rank VARCHAR)",
"question": "Find the name of the ships that are steered by both a captain with Midshipman rank and a captain with Lieutenant rank."
} |
### QUESTION
What was the result of the December 15, 2002 game?
### CONTEXT
CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
### ANSWER
SELECT result FROM table_name_66 WHERE date = "december 15, 2002" | {
"answer": "SELECT result FROM table_name_66 WHERE date = \"december 15, 2002\"",
"context": "CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)",
"question": "What was the result of the December 15, 2002 game?"
} |
### QUESTION
What time was the game played against Cagliari that lasted 16 rounds?
### CONTEXT
CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)
### ANSWER
SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16" | {
"answer": "SELECT time FROM table_name_32 WHERE opponent = \"cagliari\" AND round = \"16\"",
"context": "CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)",
"question": "What time was the game played against Cagliari that lasted 16 rounds?"
} |
### QUESTION
How many bids were there for the .500 win percentage in the Ohio Valley conference?
### CONTEXT
CREATE TABLE table_name_7 (_number_of_bids INTEGER, win__percentage VARCHAR, conference VARCHAR)
### ANSWER
SELECT SUM(_number_of_bids) FROM table_name_7 WHERE win__percentage = ".500" AND conference = "ohio valley" | {
"answer": "SELECT SUM(_number_of_bids) FROM table_name_7 WHERE win__percentage = \".500\" AND conference = \"ohio valley\"",
"context": "CREATE TABLE table_name_7 (_number_of_bids INTEGER, win__percentage VARCHAR, conference VARCHAR)",
"question": "How many bids were there for the .500 win percentage in the Ohio Valley conference?"
} |
### QUESTION
What is the score of the tournament with a carpet surface and tim henman as the partnering?
### CONTEXT
CREATE TABLE table_name_88 (score VARCHAR, surface VARCHAR, partnering VARCHAR)
### ANSWER
SELECT score FROM table_name_88 WHERE surface = "carpet" AND partnering = "tim henman" | {
"answer": "SELECT score FROM table_name_88 WHERE surface = \"carpet\" AND partnering = \"tim henman\"",
"context": "CREATE TABLE table_name_88 (score VARCHAR, surface VARCHAR, partnering VARCHAR)",
"question": "What is the score of the tournament with a carpet surface and tim henman as the partnering?"
} |
### QUESTION
What is the average GNP and total population in all nations whose government is US territory?
### CONTEXT
CREATE TABLE country (GNP INTEGER, population INTEGER, GovernmentForm VARCHAR)
### ANSWER
SELECT AVG(GNP), SUM(population) FROM country WHERE GovernmentForm = "US Territory" | {
"answer": "SELECT AVG(GNP), SUM(population) FROM country WHERE GovernmentForm = \"US Territory\"",
"context": "CREATE TABLE country (GNP INTEGER, population INTEGER, GovernmentForm VARCHAR)",
"question": "What is the average GNP and total population in all nations whose government is US territory?"
} |
### QUESTION
How many top division titles does Club Guadalajara have, with more than 42 seasons in Liga MX?
### CONTEXT
CREATE TABLE table_name_66 (top_division_titles INTEGER, number_of_seasons_in_liga_mx VARCHAR, club VARCHAR)
### ANSWER
SELECT SUM(top_division_titles) FROM table_name_66 WHERE number_of_seasons_in_liga_mx > 42 AND club = "guadalajara" | {
"answer": "SELECT SUM(top_division_titles) FROM table_name_66 WHERE number_of_seasons_in_liga_mx > 42 AND club = \"guadalajara\"",
"context": "CREATE TABLE table_name_66 (top_division_titles INTEGER, number_of_seasons_in_liga_mx VARCHAR, club VARCHAR)",
"question": "How many top division titles does Club Guadalajara have, with more than 42 seasons in Liga MX?"
} |
### QUESTION
where value world rank is 12, what is the quantity world rank?
### CONTEXT
CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)
### ANSWER
SELECT quantity_world_rank FROM table_21109892_1 WHERE value_world_rank = "12" | {
"answer": "SELECT quantity_world_rank FROM table_21109892_1 WHERE value_world_rank = \"12\"",
"context": "CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)",
"question": "where value world rank is 12, what is the quantity world rank?"
} |
### QUESTION
What is the highest field goals when there were more than 1 touchdown and 0 extra points?
### CONTEXT
CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)
### ANSWER
SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 0 | {
"answer": "SELECT MAX(field_goals) FROM table_name_7 WHERE touchdowns > 1 AND extra_points > 0",
"context": "CREATE TABLE table_name_7 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR)",
"question": "What is the highest field goals when there were more than 1 touchdown and 0 extra points?"
} |
### QUESTION
When Platense was the away team on 16 August 2008 how many people attended the game?
### CONTEXT
CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR, away VARCHAR)
### ANSWER
SELECT attendance FROM table_name_29 WHERE date = "16 august 2008" AND away = "platense" | {
"answer": "SELECT attendance FROM table_name_29 WHERE date = \"16 august 2008\" AND away = \"platense\"",
"context": "CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR, away VARCHAR)",
"question": "When Platense was the away team on 16 August 2008 how many people attended the game?"
} |
### QUESTION
Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5
### CONTEXT
CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR)
### ANSWER
SELECT tournament FROM table_name_90 WHERE outcome = "winner" AND score = "4-6 6-3 10-5" | {
"answer": "SELECT tournament FROM table_name_90 WHERE outcome = \"winner\" AND score = \"4-6 6-3 10-5\"",
"context": "CREATE TABLE table_name_90 (tournament VARCHAR, outcome VARCHAR, score VARCHAR)",
"question": "Tell me the tournament for outcome of winner and score of 4-6 6-3 10-5"
} |
### QUESTION
How many registed students do each course have? List course name and the number of their registered students?
### CONTEXT
CREATE TABLE students (student_id VARCHAR); CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)
### ANSWER
SELECT T3.course_name, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id JOIN courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id | {
"answer": "SELECT T3.course_name, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id JOIN courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id",
"context": "CREATE TABLE students (student_id VARCHAR); CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_id VARCHAR, student_id VARCHAR)",
"question": "How many registed students do each course have? List course name and the number of their registered students?"
} |
### QUESTION
How many types of products have Rodrick Heaney bought in total?
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = "Rodrick Heaney" | {
"answer": "SELECT COUNT(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = \"Rodrick Heaney\"",
"context": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)",
"question": "How many types of products have Rodrick Heaney bought in total?"
} |
### QUESTION
List all car plates in the capital of Wilno since the year of 1937.
### CONTEXT
CREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR)
### ANSWER
SELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = "Wilno" | {
"answer": "SELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = \"Wilno\"",
"context": "CREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR)",
"question": "List all car plates in the capital of Wilno since the year of 1937."
} |
### QUESTION
Who had 0 total votes in the purple team?
### CONTEXT
CREATE TABLE table_name_18 (status VARCHAR, total_votes VARCHAR, couples_team VARCHAR)
### ANSWER
SELECT status FROM table_name_18 WHERE total_votes = "0" AND couples_team = "purple team" | {
"answer": "SELECT status FROM table_name_18 WHERE total_votes = \"0\" AND couples_team = \"purple team\"",
"context": "CREATE TABLE table_name_18 (status VARCHAR, total_votes VARCHAR, couples_team VARCHAR)",
"question": "Who had 0 total votes in the purple team?"
} |
### QUESTION
What was the class of the player who played right tackle?
### CONTEXT
CREATE TABLE table_14342367_13 (class VARCHAR, position VARCHAR)
### ANSWER
SELECT class FROM table_14342367_13 WHERE position = "Right tackle" | {
"answer": "SELECT class FROM table_14342367_13 WHERE position = \"Right tackle\"",
"context": "CREATE TABLE table_14342367_13 (class VARCHAR, position VARCHAR)",
"question": "What was the class of the player who played right tackle?"
} |
### QUESTION
What's the score for Toronto Maple Leafs on November 10?
### CONTEXT
CREATE TABLE table_name_49 (score VARCHAR, home VARCHAR, date VARCHAR)
### ANSWER
SELECT score FROM table_name_49 WHERE home = "toronto maple leafs" AND date = "november 10" | {
"answer": "SELECT score FROM table_name_49 WHERE home = \"toronto maple leafs\" AND date = \"november 10\"",
"context": "CREATE TABLE table_name_49 (score VARCHAR, home VARCHAR, date VARCHAR)",
"question": "What's the score for Toronto Maple Leafs on November 10?"
} |
### QUESTION
List the document ids of documents with the status done and type Paper, which not shipped by the shipping agent named USPS.
### CONTEXT
CREATE TABLE Ref_Shipping_Agents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR)
### ANSWER
SELECT document_id FROM Documents WHERE document_status_code = "done" AND document_type_code = "Paper" EXCEPT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = "USPS" | {
"answer": "SELECT document_id FROM Documents WHERE document_status_code = \"done\" AND document_type_code = \"Paper\" EXCEPT SELECT document_id FROM Documents JOIN Ref_Shipping_Agents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code WHERE Ref_Shipping_Agents.shipping_agent_name = \"USPS\"",
"context": "CREATE TABLE Ref_Shipping_Agents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR)",
"question": "List the document ids of documents with the status done and type Paper, which not shipped by the shipping agent named USPS."
} |
### QUESTION
Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated?
### CONTEXT
CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR)
### ANSWER
SELECT years FROM table_name_41 WHERE decile < 6 AND area = "te kuiti" AND authority = "state integrated" | {
"answer": "SELECT years FROM table_name_41 WHERE decile < 6 AND area = \"te kuiti\" AND authority = \"state integrated\"",
"context": "CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR)",
"question": "Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated?"
} |
### QUESTION
What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a population less than 82.43 million?
### CONTEXT
CREATE TABLE table_name_26 (inhabitants_per_mep INTEGER, population_millions VARCHAR, meps VARCHAR, member_state VARCHAR)
### ANSWER
SELECT MAX(inhabitants_per_mep) FROM table_name_26 WHERE meps > 50 AND member_state = "germany" AND population_millions < 82.43 | {
"answer": "SELECT MAX(inhabitants_per_mep) FROM table_name_26 WHERE meps > 50 AND member_state = \"germany\" AND population_millions < 82.43",
"context": "CREATE TABLE table_name_26 (inhabitants_per_mep INTEGER, population_millions VARCHAR, meps VARCHAR, member_state VARCHAR)",
"question": "What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a population less than 82.43 million?"
} |
### QUESTION
what is the highest podiums when the stage wins is 91 and the points is less than 140?
### CONTEXT
CREATE TABLE table_name_60 (podiums INTEGER, stage_wins VARCHAR, points VARCHAR)
### ANSWER
SELECT MAX(podiums) FROM table_name_60 WHERE stage_wins = 91 AND points < 140 | {
"answer": "SELECT MAX(podiums) FROM table_name_60 WHERE stage_wins = 91 AND points < 140",
"context": "CREATE TABLE table_name_60 (podiums INTEGER, stage_wins VARCHAR, points VARCHAR)",
"question": "what is the highest podiums when the stage wins is 91 and the points is less than 140?"
} |
### QUESTION
Give me the maximum low temperature and average precipitation at the Amersham station.
### CONTEXT
CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR)
### ANSWER
SELECT MAX(t1.low_temperature), AVG(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id WHERE t2.network_name = "Amersham" | {
"answer": "SELECT MAX(t1.low_temperature), AVG(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id WHERE t2.network_name = \"Amersham\"",
"context": "CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR)",
"question": "Give me the maximum low temperature and average precipitation at the Amersham station."
} |
### QUESTION
How many instances are there of party in the situation where Robert Bauman is the incumbent politician?
### CONTEXT
CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT COUNT(party) FROM table_1341690_20 WHERE incumbent = "Robert Bauman" | {
"answer": "SELECT COUNT(party) FROM table_1341690_20 WHERE incumbent = \"Robert Bauman\"",
"context": "CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)",
"question": "How many instances are there of party in the situation where Robert Bauman is the incumbent politician?"
} |
### QUESTION
when number of selection is 2 and first team is 1 who are all the player
### CONTEXT
CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR)
### ANSWER
SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 2 | {
"answer": "SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 2",
"context": "CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR)",
"question": "when number of selection is 2 and first team is 1 who are all the player"
} |
### QUESTION
What is the lowest week that has November 30, 2003 as the date?
### CONTEXT
CREATE TABLE table_name_19 (week INTEGER, date VARCHAR)
### ANSWER
SELECT MIN(week) FROM table_name_19 WHERE date = "november 30, 2003" | {
"answer": "SELECT MIN(week) FROM table_name_19 WHERE date = \"november 30, 2003\"",
"context": "CREATE TABLE table_name_19 (week INTEGER, date VARCHAR)",
"question": "What is the lowest week that has November 30, 2003 as the date?"
} |
### QUESTION
Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905?
### CONTEXT
CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR)
### ANSWER
SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905" | {
"answer": "SELECT appointed_by FROM table_name_15 WHERE title = \"envoy extraordinary and minister plenipotentiary\" AND termination_of_mission = \"march 16, 1905\"",
"context": "CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR)",
"question": "Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905?"
} |
### QUESTION
What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?
### CONTEXT
CREATE TABLE Genre (GenreID VARCHAR, Name VARCHAR); CREATE TABLE Track (AlbumId VARCHAR, GenreID VARCHAR); CREATE TABLE Album (Title VARCHAR, AlbumId VARCHAR)
### ANSWER
SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock' | {
"answer": "SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'",
"context": "CREATE TABLE Genre (GenreID VARCHAR, Name VARCHAR); CREATE TABLE Track (AlbumId VARCHAR, GenreID VARCHAR); CREATE TABLE Album (Title VARCHAR, AlbumId VARCHAR)",
"question": "What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?"
} |
### QUESTION
Name the number of complement for 4th hanoverian brigade
### CONTEXT
CREATE TABLE table_11793221_4 (complement VARCHAR, unit VARCHAR)
### ANSWER
SELECT COUNT(complement) FROM table_11793221_4 WHERE unit = "4th Hanoverian Brigade" | {
"answer": "SELECT COUNT(complement) FROM table_11793221_4 WHERE unit = \"4th Hanoverian Brigade\"",
"context": "CREATE TABLE table_11793221_4 (complement VARCHAR, unit VARCHAR)",
"question": "Name the number of complement for 4th hanoverian brigade"
} |
### QUESTION
Tell me the model with fuel or propulsion of diesel and orion manufacturer in 2005
### CONTEXT
CREATE TABLE table_name_68 (model VARCHAR, year VARCHAR, fuel_or_propulsion VARCHAR, manufacturer VARCHAR)
### ANSWER
SELECT model FROM table_name_68 WHERE fuel_or_propulsion = "diesel" AND manufacturer = "orion" AND year = 2005 | {
"answer": "SELECT model FROM table_name_68 WHERE fuel_or_propulsion = \"diesel\" AND manufacturer = \"orion\" AND year = 2005",
"context": "CREATE TABLE table_name_68 (model VARCHAR, year VARCHAR, fuel_or_propulsion VARCHAR, manufacturer VARCHAR)",
"question": "Tell me the model with fuel or propulsion of diesel and orion manufacturer in 2005"
} |
### QUESTION
What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100?
### CONTEXT
CREATE TABLE table_15261_1 (voltage_range__v_ VARCHAR, clock_multiplier VARCHAR, part_number VARCHAR)
### ANSWER
SELECT COUNT(voltage_range__v_) FROM table_15261_1 WHERE clock_multiplier = "3X or 2X mode" AND part_number = "A80486DX4WB-100" | {
"answer": "SELECT COUNT(voltage_range__v_) FROM table_15261_1 WHERE clock_multiplier = \"3X or 2X mode\" AND part_number = \"A80486DX4WB-100\"",
"context": "CREATE TABLE table_15261_1 (voltage_range__v_ VARCHAR, clock_multiplier VARCHAR, part_number VARCHAR)",
"question": "What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100?"
} |
### QUESTION
Find the names of departments that are located in Houston.
### CONTEXT
CREATE TABLE dept_locations (dnumber VARCHAR, dlocation VARCHAR); CREATE TABLE department (dname VARCHAR, dnumber VARCHAR)
### ANSWER
SELECT t1.dname FROM department AS t1 JOIN dept_locations AS t2 ON t1.dnumber = t2.dnumber WHERE t2.dlocation = 'Houston' | {
"answer": "SELECT t1.dname FROM department AS t1 JOIN dept_locations AS t2 ON t1.dnumber = t2.dnumber WHERE t2.dlocation = 'Houston'",
"context": "CREATE TABLE dept_locations (dnumber VARCHAR, dlocation VARCHAR); CREATE TABLE department (dname VARCHAR, dnumber VARCHAR)",
"question": "Find the names of departments that are located in Houston."
} |
### QUESTION
On which date did the Indians have a record of 67-58
### CONTEXT
CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR)
### ANSWER
SELECT date FROM table_name_92 WHERE record = "67-58" | {
"answer": "SELECT date FROM table_name_92 WHERE record = \"67-58\"",
"context": "CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR)",
"question": "On which date did the Indians have a record of 67-58"
} |
### QUESTION
What is Lowest Crowd, when Home Team is Brisbane Lions?
### CONTEXT
CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR)
### ANSWER
SELECT MIN(crowd) FROM table_name_5 WHERE home_team = "brisbane lions" | {
"answer": "SELECT MIN(crowd) FROM table_name_5 WHERE home_team = \"brisbane lions\"",
"context": "CREATE TABLE table_name_5 (crowd INTEGER, home_team VARCHAR)",
"question": "What is Lowest Crowd, when Home Team is Brisbane Lions?"
} |
### QUESTION
What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001?
### CONTEXT
CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR)
### ANSWER
SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 | {
"answer": "SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001",
"context": "CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR)",
"question": "What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001?"
} |
### QUESTION
What is the total number for grid with a Suzuki GSX-R1000 K7 for +13.283?
### CONTEXT
CREATE TABLE table_name_35 (grid VARCHAR, bike VARCHAR, time VARCHAR)
### ANSWER
SELECT COUNT(grid) FROM table_name_35 WHERE bike = "suzuki gsx-r1000 k7" AND time = "+13.283" | {
"answer": "SELECT COUNT(grid) FROM table_name_35 WHERE bike = \"suzuki gsx-r1000 k7\" AND time = \"+13.283\"",
"context": "CREATE TABLE table_name_35 (grid VARCHAR, bike VARCHAR, time VARCHAR)",
"question": "What is the total number for grid with a Suzuki GSX-R1000 K7 for +13.283?"
} |
### QUESTION
What is the 2007 film in Hindi with a music director Shantanu moitra?
### CONTEXT
CREATE TABLE table_name_2 (film VARCHAR, music_director VARCHAR, year VARCHAR, language VARCHAR)
### ANSWER
SELECT film FROM table_name_2 WHERE year = 2007 AND language = "hindi" AND music_director = "shantanu moitra" | {
"answer": "SELECT film FROM table_name_2 WHERE year = 2007 AND language = \"hindi\" AND music_director = \"shantanu moitra\"",
"context": "CREATE TABLE table_name_2 (film VARCHAR, music_director VARCHAR, year VARCHAR, language VARCHAR)",
"question": "What is the 2007 film in Hindi with a music director Shantanu moitra?"
} |
### QUESTION
Which home team plays at victoria park?
### CONTEXT
CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT home_team FROM table_name_46 WHERE venue = "victoria park" | {
"answer": "SELECT home_team FROM table_name_46 WHERE venue = \"victoria park\"",
"context": "CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR)",
"question": "Which home team plays at victoria park?"
} |
### QUESTION
What is every website with specialization of engineering and division of dhaka division?
### CONTEXT
CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR)
### ANSWER
SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division" | {
"answer": "SELECT website FROM table_2112260_1 WHERE specialization = \"Engineering\" AND division = \"Dhaka division\"",
"context": "CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR)",
"question": "What is every website with specialization of engineering and division of dhaka division?"
} |
### QUESTION
What was the score of the game at the Chicago Stadium?
### CONTEXT
CREATE TABLE table_name_67 (score VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT score FROM table_name_67 WHERE location_attendance = "chicago stadium" | {
"answer": "SELECT score FROM table_name_67 WHERE location_attendance = \"chicago stadium\"",
"context": "CREATE TABLE table_name_67 (score VARCHAR, location_attendance VARCHAR)",
"question": "What was the score of the game at the Chicago Stadium?"
} |
### QUESTION
Which To par has a Year(s) won of 1983?
### CONTEXT
CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)
### ANSWER
SELECT to_par FROM table_name_15 WHERE year_s__won = "1983" | {
"answer": "SELECT to_par FROM table_name_15 WHERE year_s__won = \"1983\"",
"context": "CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)",
"question": "Which To par has a Year(s) won of 1983?"
} |
### QUESTION
Find the id of the customers who have order status both "On Road" and "Shipped".
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR)
### ANSWER
SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped" | {
"answer": "SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"On Road\" INTERSECT SELECT T1.customer_id FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = \"Shipped\"",
"context": "CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE orders (customer_id VARCHAR, order_status VARCHAR)",
"question": "Find the id of the customers who have order status both \"On Road\" and \"Shipped\"."
} |
### QUESTION
What was the school/club team whose season was in 2012 and were acquired via trade?
### CONTEXT
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR)
### ANSWER
SELECT school_club_team FROM table_15463188_17 WHERE season = "2012" AND acquisition_via = "Trade" | {
"answer": "SELECT school_club_team FROM table_15463188_17 WHERE season = \"2012\" AND acquisition_via = \"Trade\"",
"context": "CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR)",
"question": "What was the school/club team whose season was in 2012 and were acquired via trade? "
} |
### QUESTION
Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169?
### CONTEXT
CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
### ANSWER
SELECT MIN(week) FROM table_name_71 WHERE game_site = "oakland-alameda county coliseum" AND attendance > 52 OFFSET 169 | {
"answer": "SELECT MIN(week) FROM table_name_71 WHERE game_site = \"oakland-alameda county coliseum\" AND attendance > 52 OFFSET 169",
"context": "CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR)",
"question": "Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169?"
} |
### QUESTION
Find the first names of all professors in the Accounting department who is teaching some course and the class room.
### CONTEXT
CREATE TABLE CLASS (class_room VARCHAR, prof_num VARCHAR); CREATE TABLE professor (emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
### ANSWER
SELECT T2.emp_fname, T1.class_room FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Accounting' | {
"answer": "SELECT T2.emp_fname, T1.class_room FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Accounting'",
"context": "CREATE TABLE CLASS (class_room VARCHAR, prof_num VARCHAR); CREATE TABLE professor (emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)",
"question": "Find the first names of all professors in the Accounting department who is teaching some course and the class room."
} |
### QUESTION
Name the circuit for darracq and name of cuban race
### CONTEXT
CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)
### ANSWER
SELECT circuit FROM table_name_63 WHERE winning_constructor = "darracq" AND name = "cuban race" | {
"answer": "SELECT circuit FROM table_name_63 WHERE winning_constructor = \"darracq\" AND name = \"cuban race\"",
"context": "CREATE TABLE table_name_63 (circuit VARCHAR, winning_constructor VARCHAR, name VARCHAR)",
"question": "Name the circuit for darracq and name of cuban race"
} |
### QUESTION
what is the minimum attendance with score 8.16 (64) – 8.12 (60)
### CONTEXT
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR)
### ANSWER
SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)" | {
"answer": "SELECT MIN(attendance) FROM table_10566855_1 WHERE score = \"8.16 (64) – 8.12 (60)\"",
"context": "CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR)",
"question": "what is the minimum attendance with score 8.16 (64) – 8.12 (60)"
} |
### QUESTION
What is the average pass def that has green bay packers as the team, 62 as the solo and sacks less than 2?
### CONTEXT
CREATE TABLE table_name_63 (pass_def INTEGER, sacks VARCHAR, team VARCHAR, solo VARCHAR)
### ANSWER
SELECT AVG(pass_def) FROM table_name_63 WHERE team = "green bay packers" AND solo = 62 AND sacks < 2 | {
"answer": "SELECT AVG(pass_def) FROM table_name_63 WHERE team = \"green bay packers\" AND solo = 62 AND sacks < 2",
"context": "CREATE TABLE table_name_63 (pass_def INTEGER, sacks VARCHAR, team VARCHAR, solo VARCHAR)",
"question": "What is the average pass def that has green bay packers as the team, 62 as the solo and sacks less than 2?"
} |
### QUESTION
Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8
### CONTEXT
CREATE TABLE table_name_27 (rank INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
### ANSWER
SELECT MIN(rank) FROM table_name_27 WHERE bronze = 2 AND gold > 0 AND nation = "ynys môn/anglesey" AND total > 8 | {
"answer": "SELECT MIN(rank) FROM table_name_27 WHERE bronze = 2 AND gold > 0 AND nation = \"ynys môn/anglesey\" AND total > 8",
"context": "CREATE TABLE table_name_27 (rank INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)",
"question": "Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8"
} |
### QUESTION
Name all the team clasification where the combination classification is mederic clain
### CONTEXT
CREATE TABLE table_15088557_1 (team_classification VARCHAR, combination_classification VARCHAR)
### ANSWER
SELECT team_classification FROM table_15088557_1 WHERE combination_classification = "Mederic Clain" | {
"answer": "SELECT team_classification FROM table_15088557_1 WHERE combination_classification = \"Mederic Clain\"",
"context": "CREATE TABLE table_15088557_1 (team_classification VARCHAR, combination_classification VARCHAR)",
"question": "Name all the team clasification where the combination classification is mederic clain"
} |
### QUESTION
How many times was the total more than 1, the nation was east germany and silver was more than 1?
### CONTEXT
CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR, total VARCHAR, nation VARCHAR)
### ANSWER
SELECT COUNT(bronze) FROM table_name_25 WHERE total > 1 AND nation = "east germany" AND silver > 1 | {
"answer": "SELECT COUNT(bronze) FROM table_name_25 WHERE total > 1 AND nation = \"east germany\" AND silver > 1",
"context": "CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR, total VARCHAR, nation VARCHAR)",
"question": "How many times was the total more than 1, the nation was east germany and silver was more than 1?"
} |
### QUESTION
What is the time or retired time for timo glock with under 70 laps and a grid number greater than 15?
### CONTEXT
CREATE TABLE table_name_72 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
### ANSWER
SELECT time_retired FROM table_name_72 WHERE laps < 70 AND grid > 15 AND driver = "timo glock" | {
"answer": "SELECT time_retired FROM table_name_72 WHERE laps < 70 AND grid > 15 AND driver = \"timo glock\"",
"context": "CREATE TABLE table_name_72 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)",
"question": "What is the time or retired time for timo glock with under 70 laps and a grid number greater than 15?"
} |
### QUESTION
Name the class for 4th position with year before 2006
### CONTEXT
CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR)
### ANSWER
SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006 | {
"answer": "SELECT class FROM table_name_67 WHERE pos = \"4th\" AND year < 2006",
"context": "CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR)",
"question": "Name the class for 4th position with year before 2006"
} |
### QUESTION
Which Site has a Sport of w swimming?
### CONTEXT
CREATE TABLE table_name_38 (site VARCHAR, sport VARCHAR)
### ANSWER
SELECT site FROM table_name_38 WHERE sport = "w swimming" | {
"answer": "SELECT site FROM table_name_38 WHERE sport = \"w swimming\"",
"context": "CREATE TABLE table_name_38 (site VARCHAR, sport VARCHAR)",
"question": "Which Site has a Sport of w swimming?"
} |
### QUESTION
Driving Force EX of no, and a Driving Force GT of yes, and a Driving Force Pro of yes has what feature?
### CONTEXT
CREATE TABLE table_name_64 (feature VARCHAR, driving_force_pro VARCHAR, driving_force_ex VARCHAR, driving_force_gt VARCHAR)
### ANSWER
SELECT feature FROM table_name_64 WHERE driving_force_ex = "no" AND driving_force_gt = "yes" AND driving_force_pro = "yes" | {
"answer": "SELECT feature FROM table_name_64 WHERE driving_force_ex = \"no\" AND driving_force_gt = \"yes\" AND driving_force_pro = \"yes\"",
"context": "CREATE TABLE table_name_64 (feature VARCHAR, driving_force_pro VARCHAR, driving_force_ex VARCHAR, driving_force_gt VARCHAR)",
"question": "Driving Force EX of no, and a Driving Force GT of yes, and a Driving Force Pro of yes has what feature?"
} |
### QUESTION
What was fitzroy's away side score?
### CONTEXT
CREATE TABLE table_name_59 (away_team VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_59 WHERE away_team = "fitzroy" | {
"answer": "SELECT away_team AS score FROM table_name_59 WHERE away_team = \"fitzroy\"",
"context": "CREATE TABLE table_name_59 (away_team VARCHAR)",
"question": "What was fitzroy's away side score?"
} |
### QUESTION
What is the to par for Australia and a 73-69-71=213 score?
### CONTEXT
CREATE TABLE table_name_43 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### ANSWER
SELECT to_par FROM table_name_43 WHERE country = "australia" AND score = 73 - 69 - 71 = 213 | {
"answer": "SELECT to_par FROM table_name_43 WHERE country = \"australia\" AND score = 73 - 69 - 71 = 213",
"context": "CREATE TABLE table_name_43 (to_par VARCHAR, country VARCHAR, score VARCHAR)",
"question": "What is the to par for Australia and a 73-69-71=213 score?"
} |
### QUESTION
how many times is the transfer fee £2,500,000?
### CONTEXT
CREATE TABLE table_name_62 (goals VARCHAR, transfer_fee VARCHAR)
### ANSWER
SELECT COUNT(goals) FROM table_name_62 WHERE transfer_fee = "£2,500,000" | {
"answer": "SELECT COUNT(goals) FROM table_name_62 WHERE transfer_fee = \"£2,500,000\"",
"context": "CREATE TABLE table_name_62 (goals VARCHAR, transfer_fee VARCHAR)",
"question": "how many times is the transfer fee £2,500,000?"
} |
### QUESTION
what is the ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?
### CONTEXT
CREATE TABLE table_name_21 (ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)
### ANSWER
SELECT ship_types_delivered FROM table_name_21 WHERE total_vessels_built_for_usmc = "13 ships for usmc (plus 37 more for usn)" | {
"answer": "SELECT ship_types_delivered FROM table_name_21 WHERE total_vessels_built_for_usmc = \"13 ships for usmc (plus 37 more for usn)\"",
"context": "CREATE TABLE table_name_21 (ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)",
"question": "what is the ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?"
} |
### QUESTION
What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team?
### CONTEXT
CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)
### ANSWER
SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 26 | {
"answer": "SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = \"chorrillo\" AND goals_conceded < 26",
"context": "CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)",
"question": "What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team?"
} |
### QUESTION
I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor
### CONTEXT
CREATE TABLE table_name_49 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
### ANSWER
SELECT prothrombin_time FROM table_name_49 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "factor xii deficiency" | {
"answer": "SELECT prothrombin_time FROM table_name_49 WHERE partial_thromboplastin_time = \"prolonged\" AND bleeding_time = \"unaffected\" AND condition = \"factor xii deficiency\"",
"context": "CREATE TABLE table_name_49 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)",
"question": "I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor"
} |
### QUESTION
If the poverty rate is 12.9%, what is the county?
### CONTEXT
CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR)
### ANSWER
SELECT county FROM table_22815568_6 WHERE poverty_rate = "12.9%" | {
"answer": "SELECT county FROM table_22815568_6 WHERE poverty_rate = \"12.9%\"",
"context": "CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR)",
"question": "If the poverty rate is 12.9%, what is the county?"
} |
### QUESTION
Name the first broadcast for tina malone and joe wilkinson
### CONTEXT
CREATE TABLE table_23292220_17 (first_broadcast VARCHAR, seans_team VARCHAR)
### ANSWER
SELECT first_broadcast FROM table_23292220_17 WHERE seans_team = "Tina Malone and Joe Wilkinson" | {
"answer": "SELECT first_broadcast FROM table_23292220_17 WHERE seans_team = \"Tina Malone and Joe Wilkinson\"",
"context": "CREATE TABLE table_23292220_17 (first_broadcast VARCHAR, seans_team VARCHAR)",
"question": "Name the first broadcast for tina malone and joe wilkinson"
} |
### QUESTION
Find all the policy type codes associated with the customer "Dayana Robel"
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR, customer_details VARCHAR); CREATE TABLE policies (customer_id VARCHAR)
### ANSWER
SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t2.customer_details = "Dayana Robel" | {
"answer": "SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t2.customer_details = \"Dayana Robel\"",
"context": "CREATE TABLE customers (customer_id VARCHAR, customer_details VARCHAR); CREATE TABLE policies (customer_id VARCHAR)",
"question": "Find all the policy type codes associated with the customer \"Dayana Robel\""
} |
### QUESTION
what is the place when the event is 4000 m individual pursuit?
### CONTEXT
CREATE TABLE table_name_2 (place VARCHAR, event VARCHAR)
### ANSWER
SELECT place FROM table_name_2 WHERE event = "4000 m individual pursuit" | {
"answer": "SELECT place FROM table_name_2 WHERE event = \"4000 m individual pursuit\"",
"context": "CREATE TABLE table_name_2 (place VARCHAR, event VARCHAR)",
"question": "what is the place when the event is 4000 m individual pursuit?"
} |
### QUESTION
What are the number of votes from state 'NY' or 'CA'?
### CONTEXT
CREATE TABLE votes (state VARCHAR)
### ANSWER
SELECT COUNT(*) FROM votes WHERE state = 'NY' OR state = 'CA' | {
"answer": "SELECT COUNT(*) FROM votes WHERE state = 'NY' OR state = 'CA'",
"context": "CREATE TABLE votes (state VARCHAR)",
"question": "What are the number of votes from state 'NY' or 'CA'?"
} |
### QUESTION
Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9?
### CONTEXT
CREATE TABLE table_name_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)
### ANSWER
SELECT MAX(drawn) FROM table_name_39 WHERE against > 15 AND points < 15 AND lost < 9 | {
"answer": "SELECT MAX(drawn) FROM table_name_39 WHERE against > 15 AND points < 15 AND lost < 9",
"context": "CREATE TABLE table_name_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)",
"question": "Which Drawn is the highest one that has an Against larger than 15, and Points smaller than 15, and a Lost smaller than 9?"
} |
### QUESTION
how many pick# does the university of akron reading united michigan bucks affiliation have
### CONTEXT
CREATE TABLE table_29626583_1 (pick__number VARCHAR, affiliation VARCHAR)
### ANSWER
SELECT COUNT(pick__number) FROM table_29626583_1 WHERE affiliation = "University of Akron Reading United Michigan Bucks" | {
"answer": "SELECT COUNT(pick__number) FROM table_29626583_1 WHERE affiliation = \"University of Akron Reading United Michigan Bucks\"",
"context": "CREATE TABLE table_29626583_1 (pick__number VARCHAR, affiliation VARCHAR)",
"question": "how many pick# does the university of akron reading united michigan bucks affiliation have"
} |
### QUESTION
For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)?
### CONTEXT
CREATE TABLE table_name_41 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)
### ANSWER
SELECT fuel_propulsion FROM table_name_41 WHERE year = 1975 AND numbers__quantity_ordered_ = "4756-4788 (33 buses)" | {
"answer": "SELECT fuel_propulsion FROM table_name_41 WHERE year = 1975 AND numbers__quantity_ordered_ = \"4756-4788 (33 buses)\"",
"context": "CREATE TABLE table_name_41 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)",
"question": "For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)?"
} |
### QUESTION
Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?
### CONTEXT
CREATE TABLE table_287659_2 (region_name VARCHAR, regional_page__number VARCHAR)
### ANSWER
SELECT region_name FROM table_287659_2 WHERE regional_page__number = "1-3, 5-7, 9-11, 13-15" | {
"answer": "SELECT region_name FROM table_287659_2 WHERE regional_page__number = \"1-3, 5-7, 9-11, 13-15\"",
"context": "CREATE TABLE table_287659_2 (region_name VARCHAR, regional_page__number VARCHAR)",
"question": "Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?"
} |
### QUESTION
What is the average administrative panel of the composition nominated by Taoiseach 0 times with a total less than 4?
### CONTEXT
CREATE TABLE table_name_36 (administrative_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
### ANSWER
SELECT AVG(administrative_panel) FROM table_name_36 WHERE nominated_by_the_taoiseach = 0 AND total < 4 | {
"answer": "SELECT AVG(administrative_panel) FROM table_name_36 WHERE nominated_by_the_taoiseach = 0 AND total < 4",
"context": "CREATE TABLE table_name_36 (administrative_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)",
"question": "What is the average administrative panel of the composition nominated by Taoiseach 0 times with a total less than 4?"
} |
### QUESTION
How many draft pick positions did Matt Bradley have?
### CONTEXT
CREATE TABLE table_2840500_4 (position VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(position) FROM table_2840500_4 WHERE player = "Matt Bradley" | {
"answer": "SELECT COUNT(position) FROM table_2840500_4 WHERE player = \"Matt Bradley\"",
"context": "CREATE TABLE table_2840500_4 (position VARCHAR, player VARCHAR)",
"question": "How many draft pick positions did Matt Bradley have?"
} |
### QUESTION
Find the number of routes from the United States to Canada.
### CONTEXT
CREATE TABLE airports (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR)
### ANSWER
SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States') | {
"answer": "SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States')",
"context": "CREATE TABLE airports (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR)",
"question": "Find the number of routes from the United States to Canada."
} |
### QUESTION
Find the common login name of course authors and students.
### CONTEXT
CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR); CREATE TABLE Students (login_name VARCHAR)
### ANSWER
SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students | {
"answer": "SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students",
"context": "CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR); CREATE TABLE Students (login_name VARCHAR)",
"question": "Find the common login name of course authors and students."
} |
### QUESTION
Find the id of students who do not have a cat pet.
### CONTEXT
CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR)
### ANSWER
SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' | {
"answer": "SELECT stuid FROM student EXCEPT SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat'",
"context": "CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR)",
"question": "Find the id of students who do not have a cat pet."
} |
### QUESTION
Which manufacturer has a year made of 4-6-0 — ooooo — ten-wheeler?
### CONTEXT
CREATE TABLE table_name_22 (manufacturer VARCHAR, year_made VARCHAR)
### ANSWER
SELECT manufacturer FROM table_name_22 WHERE year_made = "4-6-0 — ooooo — ten-wheeler" | {
"answer": "SELECT manufacturer FROM table_name_22 WHERE year_made = \"4-6-0 — ooooo — ten-wheeler\"",
"context": "CREATE TABLE table_name_22 (manufacturer VARCHAR, year_made VARCHAR)",
"question": "Which manufacturer has a year made of 4-6-0 — ooooo — ten-wheeler?"
} |
### QUESTION
List the details of the customers who do not have any policies.
### CONTEXT
CREATE TABLE Customer_Policies (customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR)
### ANSWER
SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id = T2.customer_id | {
"answer": "SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id = T2.customer_id",
"context": "CREATE TABLE Customer_Policies (customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR)",
"question": "List the details of the customers who do not have any policies."
} |
### QUESTION
what is the competition for the event team all-round in the year before 1913?
### CONTEXT
CREATE TABLE table_name_38 (competition VARCHAR, event VARCHAR, year VARCHAR)
### ANSWER
SELECT competition FROM table_name_38 WHERE event = "team all-round" AND year < 1913 | {
"answer": "SELECT competition FROM table_name_38 WHERE event = \"team all-round\" AND year < 1913",
"context": "CREATE TABLE table_name_38 (competition VARCHAR, event VARCHAR, year VARCHAR)",
"question": "what is the competition for the event team all-round in the year before 1913?"
} |
### QUESTION
Who previously attended south kent school / brentwood hs?
### CONTEXT
CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR)
### ANSWER
SELECT name FROM table_29050051_3 WHERE previous_school = "South Kent School / Brentwood HS" | {
"answer": "SELECT name FROM table_29050051_3 WHERE previous_school = \"South Kent School / Brentwood HS\"",
"context": "CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR)",
"question": "Who previously attended south kent school / brentwood hs?"
} |
### QUESTION
Who is in group a when indiana is in group d?
### CONTEXT
CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR)
### ANSWER
SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" | {
"answer": "SELECT group_a FROM table_15290638_1 WHERE group_d = \"Indiana\"",
"context": "CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR)",
"question": "Who is in group a when indiana is in group d?"
} |
### QUESTION
Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team?
### CONTEXT
CREATE TABLE table_29361707_2 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
### ANSWER
SELECT winning_driver FROM table_29361707_2 WHERE pole_position = "Roberval Andrade" AND fastest_lap = "Felipe Giaffone" AND winning_team = "RVR Corinthians Motorsport" | {
"answer": "SELECT winning_driver FROM table_29361707_2 WHERE pole_position = \"Roberval Andrade\" AND fastest_lap = \"Felipe Giaffone\" AND winning_team = \"RVR Corinthians Motorsport\"",
"context": "CREATE TABLE table_29361707_2 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)",
"question": "Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team?"
} |
### QUESTION
How many winners from previous round were there in the semi finals?
### CONTEXT
CREATE TABLE table_28039032_1 (winners_from_previous_round VARCHAR, round VARCHAR)
### ANSWER
SELECT winners_from_previous_round FROM table_28039032_1 WHERE round = "Semi finals" | {
"answer": "SELECT winners_from_previous_round FROM table_28039032_1 WHERE round = \"Semi finals\"",
"context": "CREATE TABLE table_28039032_1 (winners_from_previous_round VARCHAR, round VARCHAR)",
"question": "How many winners from previous round were there in the semi finals?"
} |
### QUESTION
How many people attended the away league competition with a date of 22?
### CONTEXT
CREATE TABLE table_name_61 (attendance VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR)
### ANSWER
SELECT attendance FROM table_name_61 WHERE competition = "league" AND venue = "away" AND date = 22 | {
"answer": "SELECT attendance FROM table_name_61 WHERE competition = \"league\" AND venue = \"away\" AND date = 22",
"context": "CREATE TABLE table_name_61 (attendance VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR)",
"question": "How many people attended the away league competition with a date of 22?"
} |
### QUESTION
What is the overall number for a kicker with a pick of less than 6?
### CONTEXT
CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6 | {
"answer": "SELECT COUNT(overall) FROM table_name_84 WHERE position = \"kicker\" AND pick__number < 6",
"context": "CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR)",
"question": "What is the overall number for a kicker with a pick of less than 6?"
} |
### QUESTION
On week 11 when Dixon scored an 8, what was tonioli's score?
### CONTEXT
CREATE TABLE table_2803106_1 (tonioli VARCHAR, week__number VARCHAR, dixon VARCHAR)
### ANSWER
SELECT tonioli FROM table_2803106_1 WHERE week__number = 11 AND dixon = "8" | {
"answer": "SELECT tonioli FROM table_2803106_1 WHERE week__number = 11 AND dixon = \"8\"",
"context": "CREATE TABLE table_2803106_1 (tonioli VARCHAR, week__number VARCHAR, dixon VARCHAR)",
"question": "On week 11 when Dixon scored an 8, what was tonioli's score?"
} |
### QUESTION
Which party does the incumbent Mathias Morris belong to?
### CONTEXT
CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT party FROM table_2668169_2 WHERE incumbent = "Mathias Morris" | {
"answer": "SELECT party FROM table_2668169_2 WHERE incumbent = \"Mathias Morris\"",
"context": "CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR)",
"question": "Which party does the incumbent Mathias Morris belong to?"
} |
### QUESTION
Find the checking balance and saving balance in the Brown’s account.
### CONTEXT
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
### ANSWER
SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown' | {
"answer": "SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'",
"context": "CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)",
"question": "Find the checking balance and saving balance in the Brown’s account."
} |
### QUESTION
Find the first names of the faculty members who are playing Canoeing or Kayaking.
### CONTEXT
CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
### ANSWER
SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking' | {
"answer": "SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking'",
"context": "CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)",
"question": "Find the first names of the faculty members who are playing Canoeing or Kayaking."
} |
### QUESTION
What is the award for the Star Awards earlier than 2005 and the result is won?
### CONTEXT
CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR)
### ANSWER
SELECT award FROM table_name_31 WHERE organisation = "star awards" AND year < 2005 AND result = "won" | {
"answer": "SELECT award FROM table_name_31 WHERE organisation = \"star awards\" AND year < 2005 AND result = \"won\"",
"context": "CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR)",
"question": "What is the award for the Star Awards earlier than 2005 and the result is won?"
} |
### QUESTION
How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?
### CONTEXT
CREATE TABLE table_name_49 (Id VARCHAR)
### ANSWER
SELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0 | {
"answer": "SELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0",
"context": "CREATE TABLE table_name_49 (Id VARCHAR)",
"question": "How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.