text
stringlengths
146
1.06k
source
dict
### QUESTION What is the result on Sunday that's सोमवार somavār on Monday and मंगलवार mangalavār on Tuesday? ### CONTEXT CREATE TABLE table_name_29 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR) ### ANSWER SELECT sunday_surya__the_sun_ FROM table_name_29 WHERE monday_soma__the_moon_ = "सोमवार somavār" AND tuesday_mangala__mars_ = "मंगलवार mangalavār"
{ "answer": "SELECT sunday_surya__the_sun_ FROM table_name_29 WHERE monday_soma__the_moon_ = \"सोमवार somavār\" AND tuesday_mangala__mars_ = \"मंगलवार mangalavār\"", "context": "CREATE TABLE table_name_29 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR)", "question": "What is the result on Sunday that's सोमवार somavār on Monday and मंगलवार mangalavār on Tuesday?" }
### QUESTION Which player plays forward and is from Kentucky? ### CONTEXT CREATE TABLE table_name_43 (player VARCHAR, position VARCHAR, school_country VARCHAR) ### ANSWER SELECT player FROM table_name_43 WHERE position = "forward" AND school_country = "kentucky"
{ "answer": "SELECT player FROM table_name_43 WHERE position = \"forward\" AND school_country = \"kentucky\"", "context": "CREATE TABLE table_name_43 (player VARCHAR, position VARCHAR, school_country VARCHAR)", "question": "Which player plays forward and is from Kentucky?" }
### QUESTION What is the first name and the last name of the customer who made the earliest rental? ### CONTEXT CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE rental (customer_id VARCHAR, rental_date VARCHAR) ### ANSWER SELECT T1.first_name, T1.last_name FROM customer AS T1 JOIN rental AS T2 ON T1.customer_id = T2.customer_id ORDER BY T2.rental_date LIMIT 1
{ "answer": "SELECT T1.first_name, T1.last_name FROM customer AS T1 JOIN rental AS T2 ON T1.customer_id = T2.customer_id ORDER BY T2.rental_date LIMIT 1", "context": "CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE rental (customer_id VARCHAR, rental_date VARCHAR)", "question": "What is the first name and the last name of the customer who made the earliest rental?" }
### QUESTION How many laps have a race time of 3:31:24? ### CONTEXT CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR) ### ANSWER SELECT laps FROM table_2226343_1 WHERE race_time = "3:31:24"
{ "answer": "SELECT laps FROM table_2226343_1 WHERE race_time = \"3:31:24\"", "context": "CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR)", "question": "How many laps have a race time of 3:31:24?" }
### QUESTION What was the score of the home team of carlton? ### CONTEXT CREATE TABLE table_name_60 (home_team VARCHAR) ### ANSWER SELECT home_team AS score FROM table_name_60 WHERE home_team = "carlton"
{ "answer": "SELECT home_team AS score FROM table_name_60 WHERE home_team = \"carlton\"", "context": "CREATE TABLE table_name_60 (home_team VARCHAR)", "question": "What was the score of the home team of carlton?" }
### QUESTION Which Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Retired of retirement? ### CONTEXT CREATE TABLE table_name_61 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR) ### ANSWER SELECT grid FROM table_name_61 WHERE laps > 8 AND manufacturer = "honda" AND time_retired = "retirement"
{ "answer": "SELECT grid FROM table_name_61 WHERE laps > 8 AND manufacturer = \"honda\" AND time_retired = \"retirement\"", "context": "CREATE TABLE table_name_61 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)", "question": "Which Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Retired of retirement?" }
### QUESTION What state had November 30, 1962 as the date of the successors formal installation? ### CONTEXT CREATE TABLE table_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) ### ANSWER SELECT state__class_ FROM table_1802522_3 WHERE date_of_successors_formal_installation = "November 30, 1962"
{ "answer": "SELECT state__class_ FROM table_1802522_3 WHERE date_of_successors_formal_installation = \"November 30, 1962\"", "context": "CREATE TABLE table_1802522_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)", "question": "What state had November 30, 1962 as the date of the successors formal installation?" }
### QUESTION Show the builder of railways associated with the trains named "Andaman Exp". ### CONTEXT CREATE TABLE railway (Builder VARCHAR, Railway_ID VARCHAR); CREATE TABLE train (Railway_ID VARCHAR, Name VARCHAR) ### ANSWER SELECT T1.Builder FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID WHERE T2.Name = "Andaman Exp"
{ "answer": "SELECT T1.Builder FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID WHERE T2.Name = \"Andaman Exp\"", "context": "CREATE TABLE railway (Builder VARCHAR, Railway_ID VARCHAR); CREATE TABLE train (Railway_ID VARCHAR, Name VARCHAR)", "question": "Show the builder of railways associated with the trains named \"Andaman Exp\"." }
### QUESTION Where is every location with specialization of textile engineering? ### CONTEXT CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR) ### ANSWER SELECT location FROM table_2112260_1 WHERE specialization = "Textile engineering"
{ "answer": "SELECT location FROM table_2112260_1 WHERE specialization = \"Textile engineering\"", "context": "CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR)", "question": "Where is every location with specialization of textile engineering?" }
### QUESTION What is Player, when Total is greater than 148, and when To Par is "12"? ### CONTEXT CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR) ### ANSWER SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
{ "answer": "SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12", "context": "CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)", "question": "What is Player, when Total is greater than 148, and when To Par is \"12\"?" }
### QUESTION What themed area opened in 2010 as an animal show? ### CONTEXT CREATE TABLE table_name_35 (themed_area VARCHAR, type VARCHAR, opened VARCHAR) ### ANSWER SELECT themed_area FROM table_name_35 WHERE type = "animal show" AND opened = "2010"
{ "answer": "SELECT themed_area FROM table_name_35 WHERE type = \"animal show\" AND opened = \"2010\"", "context": "CREATE TABLE table_name_35 (themed_area VARCHAR, type VARCHAR, opened VARCHAR)", "question": "What themed area opened in 2010 as an animal show?" }
### QUESTION Name the least rank when games are more than 34 and the season is 2009-10 ### CONTEXT CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR) ### ANSWER SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = "2009-10"
{ "answer": "SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = \"2009-10\"", "context": "CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR)", "question": "Name the least rank when games are more than 34 and the season is 2009-10" }
### QUESTION Name the average bronze with silver more than 0, total of 6 and gold more than 0 ### CONTEXT CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) ### ANSWER SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0
{ "answer": "SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0", "context": "CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)", "question": "Name the average bronze with silver more than 0, total of 6 and gold more than 0" }
### QUESTION What is Playoff Result, when Winner is "Alaska Aces", when Win # is greater than 1, when Points is less than 106, and when Year is "2011-12"? ### CONTEXT CREATE TABLE table_name_45 (playoff_result VARCHAR, year VARCHAR, points VARCHAR, winner VARCHAR, win__number VARCHAR) ### ANSWER SELECT playoff_result FROM table_name_45 WHERE winner = "alaska aces" AND win__number > 1 AND points < 106 AND year = "2011-12"
{ "answer": "SELECT playoff_result FROM table_name_45 WHERE winner = \"alaska aces\" AND win__number > 1 AND points < 106 AND year = \"2011-12\"", "context": "CREATE TABLE table_name_45 (playoff_result VARCHAR, year VARCHAR, points VARCHAR, winner VARCHAR, win__number VARCHAR)", "question": "What is Playoff Result, when Winner is \"Alaska Aces\", when Win # is greater than 1, when Points is less than 106, and when Year is \"2011-12\"?" }
### QUESTION what is the best finish when money list rank is n/a, earnings ($) is more than 0 and cuts made is more than 1? ### CONTEXT CREATE TABLE table_name_41 (best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR) ### ANSWER SELECT best_finish FROM table_name_41 WHERE money_list_rank = "n/a" AND earnings___$__ > 0 AND cuts_made > 1
{ "answer": "SELECT best_finish FROM table_name_41 WHERE money_list_rank = \"n/a\" AND earnings___$__ > 0 AND cuts_made > 1", "context": "CREATE TABLE table_name_41 (best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR)", "question": "what is the best finish when money list rank is n/a, earnings ($) is more than 0 and cuts made is more than 1?" }
### QUESTION Which player from United States is in place of t6? ### CONTEXT CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR) ### ANSWER SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t6"
{ "answer": "SELECT player FROM table_name_51 WHERE country = \"united states\" AND place = \"t6\"", "context": "CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR)", "question": "Which player from United States is in place of t6?" }
### QUESTION Name the team for 19-34 ### CONTEXT CREATE TABLE table_23274514_7 (team VARCHAR, record VARCHAR) ### ANSWER SELECT team FROM table_23274514_7 WHERE record = "19-34"
{ "answer": "SELECT team FROM table_23274514_7 WHERE record = \"19-34\"", "context": "CREATE TABLE table_23274514_7 (team VARCHAR, record VARCHAR)", "question": "Name the team for 19-34" }
### QUESTION Show the names of schools with a total budget amount greater than 100 or a total endowment greater than 10. ### CONTEXT CREATE TABLE endowment (school_id VARCHAR, amount INTEGER); CREATE TABLE budget (school_id VARCHAR, budgeted INTEGER); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) ### ANSWER SELECT T2.school_name FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN endowment AS T3 ON T2.school_id = T3.school_id GROUP BY T2.school_name HAVING SUM(T1.budgeted) > 100 OR SUM(T3.amount) > 10
{ "answer": "SELECT T2.school_name FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN endowment AS T3 ON T2.school_id = T3.school_id GROUP BY T2.school_name HAVING SUM(T1.budgeted) > 100 OR SUM(T3.amount) > 10", "context": "CREATE TABLE endowment (school_id VARCHAR, amount INTEGER); CREATE TABLE budget (school_id VARCHAR, budgeted INTEGER); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR)", "question": "Show the names of schools with a total budget amount greater than 100 or a total endowment greater than 10." }
### QUESTION What is the pick # for nhl team vancouver canucks? ### CONTEXT CREATE TABLE table_2679061_6 (pick__number INTEGER, nhl_team VARCHAR) ### ANSWER SELECT MIN(pick__number) FROM table_2679061_6 WHERE nhl_team = "Vancouver Canucks"
{ "answer": "SELECT MIN(pick__number) FROM table_2679061_6 WHERE nhl_team = \"Vancouver Canucks\"", "context": "CREATE TABLE table_2679061_6 (pick__number INTEGER, nhl_team VARCHAR)", "question": "What is the pick # for nhl team vancouver canucks?" }
### QUESTION What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine? ### CONTEXT CREATE TABLE table_name_19 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR) ### ANSWER SELECT MAX(laps) FROM table_name_19 WHERE grid > 13 AND time_retired = "engine" AND driver = "luigi piotti"
{ "answer": "SELECT MAX(laps) FROM table_name_19 WHERE grid > 13 AND time_retired = \"engine\" AND driver = \"luigi piotti\"", "context": "CREATE TABLE table_name_19 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)", "question": "What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine?" }
### QUESTION Name the number of song for scoreboard being 3rd ### CONTEXT CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR) ### ANSWER SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "3rd"
{ "answer": "SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = \"3rd\"", "context": "CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR)", "question": "Name the number of song for scoreboard being 3rd" }
### QUESTION How many US events did jason bennett win? ### CONTEXT CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR) ### ANSWER SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = "jason bennett"
{ "answer": "SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = \"jason bennett\"", "context": "CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR)", "question": "How many US events did jason bennett win?" }
### QUESTION What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954? ### CONTEXT CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR) ### ANSWER SELECT MAX(points) FROM table_name_41 WHERE chassis = "gordini t16" AND year < 1954
{ "answer": "SELECT MAX(points) FROM table_name_41 WHERE chassis = \"gordini t16\" AND year < 1954", "context": "CREATE TABLE table_name_41 (points INTEGER, chassis VARCHAR, year VARCHAR)", "question": "What are the highest points with a Chassis of gordini t16, and a Year smaller than 1954?" }
### QUESTION Which season premiered on 29 October 1990 and had more than 6 episodes? ### CONTEXT CREATE TABLE table_name_94 (series INTEGER, premiere VARCHAR, episodes VARCHAR) ### ANSWER SELECT MAX(series) FROM table_name_94 WHERE premiere = "29 october 1990" AND episodes > 6
{ "answer": "SELECT MAX(series) FROM table_name_94 WHERE premiere = \"29 october 1990\" AND episodes > 6", "context": "CREATE TABLE table_name_94 (series INTEGER, premiere VARCHAR, episodes VARCHAR)", "question": "Which season premiered on 29 October 1990 and had more than 6 episodes?" }
### QUESTION Show all artist names with an average exhibition attendance over 200. ### CONTEXT CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER) ### ANSWER SELECT T3.name FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id JOIN artist AS T3 ON T3.artist_id = T2.artist_id GROUP BY T3.artist_id HAVING AVG(T1.attendance) > 200
{ "answer": "SELECT T3.name FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id JOIN artist AS T3 ON T3.artist_id = T2.artist_id GROUP BY T3.artist_id HAVING AVG(T1.attendance) > 200", "context": "CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER)", "question": "Show all artist names with an average exhibition attendance over 200." }
### QUESTION Find the names of all instructors in the Art department who have taught some course and the course_id. ### CONTEXT CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR) ### ANSWER SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art'
{ "answer": "SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art'", "context": "CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR)", "question": "Find the names of all instructors in the Art department who have taught some course and the course_id." }
### QUESTION Who is the winning team when the year is more than 2003, the score is 19½–14½ and the venue is harding park golf club? ### CONTEXT CREATE TABLE table_name_31 (winning_team VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR) ### ANSWER SELECT winning_team FROM table_name_31 WHERE year > 2003 AND score = "19½–14½" AND venue = "harding park golf club"
{ "answer": "SELECT winning_team FROM table_name_31 WHERE year > 2003 AND score = \"19½–14½\" AND venue = \"harding park golf club\"", "context": "CREATE TABLE table_name_31 (winning_team VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)", "question": "Who is the winning team when the year is more than 2003, the score is 19½–14½ and the venue is harding park golf club?" }
### QUESTION What is the highest tonnage for a ship from Great Britain named Newton Ash? ### CONTEXT CREATE TABLE table_name_13 (tonnage INTEGER, nationality VARCHAR, ship VARCHAR) ### ANSWER SELECT MAX(tonnage) FROM table_name_13 WHERE nationality = "great britain" AND ship = "newton ash"
{ "answer": "SELECT MAX(tonnage) FROM table_name_13 WHERE nationality = \"great britain\" AND ship = \"newton ash\"", "context": "CREATE TABLE table_name_13 (tonnage INTEGER, nationality VARCHAR, ship VARCHAR)", "question": "What is the highest tonnage for a ship from Great Britain named Newton Ash?" }
### QUESTION What is the most points for a vehicle with a lola thl1, chassis later than 1986? ### CONTEXT CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR, year VARCHAR) ### ANSWER SELECT MAX(points) FROM table_name_54 WHERE chassis = "lola thl1" AND year > 1986
{ "answer": "SELECT MAX(points) FROM table_name_54 WHERE chassis = \"lola thl1\" AND year > 1986", "context": "CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR, year VARCHAR)", "question": "What is the most points for a vehicle with a lola thl1, chassis later than 1986?" }
### QUESTION What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament? ### CONTEXT CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) ### ANSWER SELECT winning_score FROM table_name_93 WHERE margin_of_victory = "4 strokes" AND tournament = "nec invitational"
{ "answer": "SELECT winning_score FROM table_name_93 WHERE margin_of_victory = \"4 strokes\" AND tournament = \"nec invitational\"", "context": "CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)", "question": "What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament?" }
### QUESTION how many times is the team tauro and played less than 18? ### CONTEXT CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR) ### ANSWER SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18
{ "answer": "SELECT COUNT(place) FROM table_name_85 WHERE team = \"tauro\" AND played < 18", "context": "CREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR)", "question": "how many times is the team tauro and played less than 18?" }
### QUESTION What was the average attendance of the 2011 season that had games smaller than 519 with several teams bigger than 14 that were also part of the sport of association football? ### CONTEXT CREATE TABLE table_name_46 (average_attendance VARCHAR, sport VARCHAR, _number_of_teams VARCHAR, season VARCHAR, games VARCHAR) ### ANSWER SELECT average_attendance FROM table_name_46 WHERE season = "2011" AND games < 519 AND _number_of_teams > 14 AND sport = "association football"
{ "answer": "SELECT average_attendance FROM table_name_46 WHERE season = \"2011\" AND games < 519 AND _number_of_teams > 14 AND sport = \"association football\"", "context": "CREATE TABLE table_name_46 (average_attendance VARCHAR, sport VARCHAR, _number_of_teams VARCHAR, season VARCHAR, games VARCHAR)", "question": "What was the average attendance of the 2011 season that had games smaller than 519 with several teams bigger than 14 that were also part of the sport of association football?" }
### QUESTION What is the undecided percentage of the poll from Suffolk University with Murray at 11%? ### CONTEXT CREATE TABLE table_name_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR) ### ANSWER SELECT undecided FROM table_name_80 WHERE source = "suffolk university" AND murray = "11%"
{ "answer": "SELECT undecided FROM table_name_80 WHERE source = \"suffolk university\" AND murray = \"11%\"", "context": "CREATE TABLE table_name_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR)", "question": "What is the undecided percentage of the poll from Suffolk University with Murray at 11%?" }
### QUESTION WHAT POSITION DOES THE PLAYER FROM SOUTH POINTE HIGH SCHOOL PLAY? ### CONTEXT CREATE TABLE table_11677691_2 (position VARCHAR, school VARCHAR) ### ANSWER SELECT position FROM table_11677691_2 WHERE school = "South Pointe High school"
{ "answer": "SELECT position FROM table_11677691_2 WHERE school = \"South Pointe High school\"", "context": "CREATE TABLE table_11677691_2 (position VARCHAR, school VARCHAR)", "question": "WHAT POSITION DOES THE PLAYER FROM SOUTH POINTE HIGH SCHOOL PLAY?" }
### QUESTION What couple had a vote percentage of 7.691% ### CONTEXT CREATE TABLE table_19744915_15 (couple VARCHAR, vote_percentage VARCHAR) ### ANSWER SELECT couple FROM table_19744915_15 WHERE vote_percentage = "7.691%"
{ "answer": "SELECT couple FROM table_19744915_15 WHERE vote_percentage = \"7.691%\"", "context": "CREATE TABLE table_19744915_15 (couple VARCHAR, vote_percentage VARCHAR)", "question": "What couple had a vote percentage of 7.691%" }
### QUESTION What was Footscray's score as an away team? ### CONTEXT CREATE TABLE table_name_45 (away_team VARCHAR) ### ANSWER SELECT away_team AS score FROM table_name_45 WHERE away_team = "footscray"
{ "answer": "SELECT away_team AS score FROM table_name_45 WHERE away_team = \"footscray\"", "context": "CREATE TABLE table_name_45 (away_team VARCHAR)", "question": "What was Footscray's score as an away team?" }
### QUESTION Who is the operator when willowbrook was the bodybuilder? ### CONTEXT CREATE TABLE table_28035004_1 (operator VARCHAR, bodybuilder VARCHAR) ### ANSWER SELECT operator FROM table_28035004_1 WHERE bodybuilder = "Willowbrook"
{ "answer": "SELECT operator FROM table_28035004_1 WHERE bodybuilder = \"Willowbrook\"", "context": "CREATE TABLE table_28035004_1 (operator VARCHAR, bodybuilder VARCHAR)", "question": "Who is the operator when willowbrook was the bodybuilder?" }
### QUESTION Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985? ### CONTEXT CREATE TABLE table_name_42 (owner VARCHAR, re_entered_service__p_ VARCHAR, pre_conversion VARCHAR) ### ANSWER SELECT owner FROM table_name_42 WHERE re_entered_service__p_ = "11 september 1985" AND pre_conversion = "t326"
{ "answer": "SELECT owner FROM table_name_42 WHERE re_entered_service__p_ = \"11 september 1985\" AND pre_conversion = \"t326\"", "context": "CREATE TABLE table_name_42 (owner VARCHAR, re_entered_service__p_ VARCHAR, pre_conversion VARCHAR)", "question": "Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985?" }
### QUESTION How many endowments does Mosaic Stadium have? ### CONTEXT CREATE TABLE table_12896884_1 (endowment VARCHAR, football_stadium VARCHAR) ### ANSWER SELECT COUNT(endowment) FROM table_12896884_1 WHERE football_stadium = "Mosaic Stadium"
{ "answer": "SELECT COUNT(endowment) FROM table_12896884_1 WHERE football_stadium = \"Mosaic Stadium\"", "context": "CREATE TABLE table_12896884_1 (endowment VARCHAR, football_stadium VARCHAR)", "question": "How many endowments does Mosaic Stadium have?" }
### QUESTION Which owner has a description of Mark 1 CK and is dated 1953? ### CONTEXT CREATE TABLE table_name_30 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR) ### ANSWER SELECT owner_s_ FROM table_name_30 WHERE date = 1953 AND description = "mark 1 ck"
{ "answer": "SELECT owner_s_ FROM table_name_30 WHERE date = 1953 AND description = \"mark 1 ck\"", "context": "CREATE TABLE table_name_30 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)", "question": "Which owner has a description of Mark 1 CK and is dated 1953?" }
### QUESTION What number of win% has a postseason of did not qualify and rank larger than 8? ### CONTEXT CREATE TABLE table_name_89 (win_percentage VARCHAR, postseason VARCHAR, rank VARCHAR) ### ANSWER SELECT COUNT(win_percentage) FROM table_name_89 WHERE postseason = "did not qualify" AND rank > 8
{ "answer": "SELECT COUNT(win_percentage) FROM table_name_89 WHERE postseason = \"did not qualify\" AND rank > 8", "context": "CREATE TABLE table_name_89 (win_percentage VARCHAR, postseason VARCHAR, rank VARCHAR)", "question": "What number of win% has a postseason of did not qualify and rank larger than 8?" }
### QUESTION What is the Pick # of the Player from Southern MIssissippi? ### CONTEXT CREATE TABLE table_name_98 (pick VARCHAR, school VARCHAR) ### ANSWER SELECT COUNT(pick) FROM table_name_98 WHERE school = "southern mississippi"
{ "answer": "SELECT COUNT(pick) FROM table_name_98 WHERE school = \"southern mississippi\"", "context": "CREATE TABLE table_name_98 (pick VARCHAR, school VARCHAR)", "question": "What is the Pick # of the Player from Southern MIssissippi?" }
### QUESTION What is the postal code when the administrative capital in Bori? ### CONTEXT CREATE TABLE table_28891101_3 (postal_code INTEGER, administrative_capital VARCHAR) ### ANSWER SELECT MAX(postal_code) FROM table_28891101_3 WHERE administrative_capital = "Bori"
{ "answer": "SELECT MAX(postal_code) FROM table_28891101_3 WHERE administrative_capital = \"Bori\"", "context": "CREATE TABLE table_28891101_3 (postal_code INTEGER, administrative_capital VARCHAR)", "question": "What is the postal code when the administrative capital in Bori?" }
### QUESTION If the points scored were 93.45%, what's the lowest amount of games lost? ### CONTEXT CREATE TABLE table_name_27 (lost INTEGER, _percentage_pts VARCHAR) ### ANSWER SELECT MIN(lost) FROM table_name_27 WHERE _percentage_pts = 93.45
{ "answer": "SELECT MIN(lost) FROM table_name_27 WHERE _percentage_pts = 93.45", "context": "CREATE TABLE table_name_27 (lost INTEGER, _percentage_pts VARCHAR)", "question": "If the points scored were 93.45%, what's the lowest amount of games lost?" }
### QUESTION How many employees are living in Canada? ### CONTEXT CREATE TABLE employees (country VARCHAR) ### ANSWER SELECT COUNT(*) FROM employees WHERE country = "Canada"
{ "answer": "SELECT COUNT(*) FROM employees WHERE country = \"Canada\"", "context": "CREATE TABLE employees (country VARCHAR)", "question": "How many employees are living in Canada?" }
### QUESTION Who was the leading scorer in Game #26? ### CONTEXT CREATE TABLE table_11964047_6 (leading_scorer VARCHAR, _number VARCHAR) ### ANSWER SELECT leading_scorer FROM table_11964047_6 WHERE _number = 26
{ "answer": "SELECT leading_scorer FROM table_11964047_6 WHERE _number = 26", "context": "CREATE TABLE table_11964047_6 (leading_scorer VARCHAR, _number VARCHAR)", "question": "Who was the leading scorer in Game #26?" }
### QUESTION Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id. ### CONTEXT CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR) ### ANSWER SELECT T1.student_id, T1.first_name, T1.middle_name, T1.last_name, COUNT(*), T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.student_id, T1.first_name, T1.middle_name, T1.last_name, COUNT(*), T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR)", "question": "Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id." }
### QUESTION How many grids had a Time/Retired of +4 laps? ### CONTEXT CREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR) ### ANSWER SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = "+4 laps"
{ "answer": "SELECT COUNT(grid) FROM table_name_72 WHERE time_retired = \"+4 laps\"", "context": "CREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR)", "question": "How many grids had a Time/Retired of +4 laps?" }
### QUESTION Which Year has a Competition of olympic games, and a Venue of atlanta, united states? ### CONTEXT CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, venue VARCHAR) ### ANSWER SELECT AVG(year) FROM table_name_93 WHERE competition = "olympic games" AND venue = "atlanta, united states"
{ "answer": "SELECT AVG(year) FROM table_name_93 WHERE competition = \"olympic games\" AND venue = \"atlanta, united states\"", "context": "CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, venue VARCHAR)", "question": "Which Year has a Competition of olympic games, and a Venue of atlanta, united states?" }
### QUESTION What game did the Bruins play Santa Clara? ### CONTEXT CREATE TABLE table_21058836_1 (game VARCHAR, opponent VARCHAR) ### ANSWER SELECT game FROM table_21058836_1 WHERE opponent = "Santa Clara"
{ "answer": "SELECT game FROM table_21058836_1 WHERE opponent = \"Santa Clara\"", "context": "CREATE TABLE table_21058836_1 (game VARCHAR, opponent VARCHAR)", "question": "What game did the Bruins play Santa Clara?" }
### QUESTION If the residence is Chagrin falls, who is the representative? ### CONTEXT CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR) ### ANSWER SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls"
{ "answer": "SELECT representative FROM table_26131768_4 WHERE residence = \"Chagrin Falls\"", "context": "CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR)", "question": "If the residence is Chagrin falls, who is the representative?" }
### QUESTION What is the low lap total for the under 4 grid car driven by juan pablo montoya? ### CONTEXT CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, driver VARCHAR) ### ANSWER SELECT MIN(laps) FROM table_name_65 WHERE grid < 4 AND driver = "juan pablo montoya"
{ "answer": "SELECT MIN(laps) FROM table_name_65 WHERE grid < 4 AND driver = \"juan pablo montoya\"", "context": "CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, driver VARCHAR)", "question": "What is the low lap total for the under 4 grid car driven by juan pablo montoya?" }
### QUESTION How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414? ### CONTEXT CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR) ### ANSWER SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = "total northern villages" AND population__2006_ > 11414
{ "answer": "SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = \"total northern villages\" AND population__2006_ > 11414", "context": "CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR)", "question": "How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414?" }
### QUESTION Who held the Intergiro classificaiton when the Trofeo Fast Team is gb-mg maglificio? ### CONTEXT CREATE TABLE table_name_29 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR) ### ANSWER SELECT intergiro_classification FROM table_name_29 WHERE trofeo_fast_team = "gb-mg maglificio"
{ "answer": "SELECT intergiro_classification FROM table_name_29 WHERE trofeo_fast_team = \"gb-mg maglificio\"", "context": "CREATE TABLE table_name_29 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR)", "question": "Who held the Intergiro classificaiton when the Trofeo Fast Team is gb-mg maglificio?" }
### QUESTION What was the result of the game after week 3 against the New York Giants? ### CONTEXT CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR) ### ANSWER SELECT result FROM table_name_94 WHERE week > 3 AND opponent = "new york giants"
{ "answer": "SELECT result FROM table_name_94 WHERE week > 3 AND opponent = \"new york giants\"", "context": "CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR)", "question": "What was the result of the game after week 3 against the New York Giants?" }
### QUESTION How many times was the high assists andre miller (7)? ### CONTEXT CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR) ### ANSWER SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = "Andre Miller (7)"
{ "answer": "SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = \"Andre Miller (7)\"", "context": "CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR)", "question": "How many times was the high assists andre miller (7)?" }
### QUESTION On songs with track numbers smaller than number 17 and catalogues of LSP 2231, who are the writer(s)? ### CONTEXT CREATE TABLE table_name_27 (writer_s_ VARCHAR, catalogue VARCHAR, track VARCHAR) ### ANSWER SELECT writer_s_ FROM table_name_27 WHERE catalogue = "lsp 2231" AND track < 17
{ "answer": "SELECT writer_s_ FROM table_name_27 WHERE catalogue = \"lsp 2231\" AND track < 17", "context": "CREATE TABLE table_name_27 (writer_s_ VARCHAR, catalogue VARCHAR, track VARCHAR)", "question": "On songs with track numbers smaller than number 17 and catalogues of LSP 2231, who are the writer(s)?" }
### QUESTION What is the score of the 1996 Emarate cup on March 25, 1996? ### CONTEXT CREATE TABLE table_name_79 (score VARCHAR, competition VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_79 WHERE competition = "1996 emarate cup" AND date = "march 25, 1996"
{ "answer": "SELECT score FROM table_name_79 WHERE competition = \"1996 emarate cup\" AND date = \"march 25, 1996\"", "context": "CREATE TABLE table_name_79 (score VARCHAR, competition VARCHAR, date VARCHAR)", "question": "What is the score of the 1996 Emarate cup on March 25, 1996?" }
### QUESTION What location has a home ground of n/a, and position in 2012-13 of 13th, third division? ### CONTEXT CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR) ### ANSWER SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division"
{ "answer": "SELECT location FROM table_name_2 WHERE home_ground = \"n/a\" AND position_in_2012_13 = \"13th, third division\"", "context": "CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR)", "question": "What location has a home ground of n/a, and position in 2012-13 of 13th, third division?" }
### QUESTION what is the rank when heat is 9 and the nation is great britain? ### CONTEXT CREATE TABLE table_name_21 (rank INTEGER, heat VARCHAR, nation VARCHAR) ### ANSWER SELECT SUM(rank) FROM table_name_21 WHERE heat = 9 AND nation = "great britain"
{ "answer": "SELECT SUM(rank) FROM table_name_21 WHERE heat = 9 AND nation = \"great britain\"", "context": "CREATE TABLE table_name_21 (rank INTEGER, heat VARCHAR, nation VARCHAR)", "question": "what is the rank when heat is 9 and the nation is great britain?" }
### QUESTION For the game with 26,236 attendance, what was the record? ### CONTEXT CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR) ### ANSWER SELECT record FROM table_name_81 WHERE attendance = "26,236"
{ "answer": "SELECT record FROM table_name_81 WHERE attendance = \"26,236\"", "context": "CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR)", "question": "For the game with 26,236 attendance, what was the record?" }
### QUESTION Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer? ### CONTEXT CREATE TABLE table_14330096_4 (title VARCHAR, director VARCHAR, writer VARCHAR) ### ANSWER SELECT title FROM table_14330096_4 WHERE director = "Patrick Lau" AND writer = "Lisa Holdsworth"
{ "answer": "SELECT title FROM table_14330096_4 WHERE director = \"Patrick Lau\" AND writer = \"Lisa Holdsworth\"", "context": "CREATE TABLE table_14330096_4 (title VARCHAR, director VARCHAR, writer VARCHAR)", "question": "Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer?" }
### QUESTION What is the total rank and fc notes from South Africa? ### CONTEXT CREATE TABLE table_name_24 (rank VARCHAR, notes VARCHAR, country VARCHAR) ### ANSWER SELECT COUNT(rank) FROM table_name_24 WHERE notes = "fc" AND country = "south africa"
{ "answer": "SELECT COUNT(rank) FROM table_name_24 WHERE notes = \"fc\" AND country = \"south africa\"", "context": "CREATE TABLE table_name_24 (rank VARCHAR, notes VARCHAR, country VARCHAR)", "question": "What is the total rank and fc notes from South Africa?" }
### QUESTION Which category was william ivey long a nominee and nominated in? ### CONTEXT CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR) ### ANSWER SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"
{ "answer": "SELECT category FROM table_name_55 WHERE result = \"nominated\" AND nominee = \"william ivey long\"", "context": "CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)", "question": "Which category was william ivey long a nominee and nominated in?" }
### QUESTION What is the nationality of the School/Club team of Louisville? ### CONTEXT CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR) ### ANSWER SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville"
{ "answer": "SELECT nationality FROM table_name_43 WHERE school_club_team = \"louisville\"", "context": "CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR)", "question": "What is the nationality of the School/Club team of Louisville?" }
### QUESTION Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement of 0-6-0? ### CONTEXT CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR) ### ANSWER SELECT class FROM table_name_60 WHERE number_at_lincoln < 1 AND wheel_arrangement = "0-6-0"
{ "answer": "SELECT class FROM table_name_60 WHERE number_at_lincoln < 1 AND wheel_arrangement = \"0-6-0\"", "context": "CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR)", "question": "Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement of 0-6-0?" }
### QUESTION What engine does Garvey Team Lotus use? ### CONTEXT CREATE TABLE table_name_50 (engine VARCHAR, entrant VARCHAR) ### ANSWER SELECT engine FROM table_name_50 WHERE entrant = "garvey team lotus"
{ "answer": "SELECT engine FROM table_name_50 WHERE entrant = \"garvey team lotus\"", "context": "CREATE TABLE table_name_50 (engine VARCHAR, entrant VARCHAR)", "question": "What engine does Garvey Team Lotus use?" }
### QUESTION What was the date administered from a source of Rasmussen Reports and a lead margin over 32? ### CONTEXT CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR) ### ANSWER SELECT dates_administered FROM table_name_19 WHERE poll_source = "rasmussen reports" AND lead_margin > 32
{ "answer": "SELECT dates_administered FROM table_name_19 WHERE poll_source = \"rasmussen reports\" AND lead_margin > 32", "context": "CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)", "question": "What was the date administered from a source of Rasmussen Reports and a lead margin over 32?" }
### QUESTION how many representatives from hanover twp were first elected in 2008 ### CONTEXT CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR) ### ANSWER SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp"
{ "answer": "SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = \"2008\" AND residence = \"Hanover Twp\"", "context": "CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR)", "question": "how many representatives from hanover twp were first elected in 2008" }
### QUESTION state the number of surface where championship is australian open and score in the final is 6–3, 4–6, 11–9 ### CONTEXT CREATE TABLE table_1918850_2 (surface VARCHAR, championship VARCHAR, score_in_the_final VARCHAR) ### ANSWER SELECT COUNT(surface) FROM table_1918850_2 WHERE championship = "Australian Open" AND score_in_the_final = "6–3, 4–6, 11–9"
{ "answer": "SELECT COUNT(surface) FROM table_1918850_2 WHERE championship = \"Australian Open\" AND score_in_the_final = \"6–3, 4–6, 11–9\"", "context": "CREATE TABLE table_1918850_2 (surface VARCHAR, championship VARCHAR, score_in_the_final VARCHAR)", "question": "state the number of surface where championship is australian open and score in the final is 6–3, 4–6, 11–9" }
### QUESTION Which rule has The Event of n/a, The Result of loss, and The Location of winsford england? ### CONTEXT CREATE TABLE table_name_2 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR) ### ANSWER SELECT rules FROM table_name_2 WHERE event = "n/a" AND result = "loss" AND location = "winsford england"
{ "answer": "SELECT rules FROM table_name_2 WHERE event = \"n/a\" AND result = \"loss\" AND location = \"winsford england\"", "context": "CREATE TABLE table_name_2 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR)", "question": "Which rule has The Event of n/a, The Result of loss, and The Location of winsford england?" }
### QUESTION Name the points classification for mark renshaw and team csc ### CONTEXT CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) ### ANSWER SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC"
{ "answer": "SELECT points_classification FROM table_14856023_18 WHERE general_classification = \"Mark Renshaw\" AND team_classification = \"Team CSC\"", "context": "CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)", "question": "Name the points classification for mark renshaw and team csc" }
### QUESTION Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no? ### CONTEXT CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) ### ANSWER SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no"
{ "answer": "SELECT sydney FROM table_name_47 WHERE gold_coast = \"no\" AND adelaide = \"no\" AND melbourne = \"no\" AND auckland = \"no\"", "context": "CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)", "question": "Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no?" }
### QUESTION What is the total number of Year of Intro(s), when Country of Origin is Soviet Union, when Type is Reusable, when Primary Cartridge is 40mm, and when Name/ Designation is RPG-29? ### CONTEXT CREATE TABLE table_name_87 (year_of_intro VARCHAR, name__designation VARCHAR, primary_cartridge VARCHAR, country_of_origin VARCHAR, type VARCHAR) ### ANSWER SELECT COUNT(year_of_intro) FROM table_name_87 WHERE country_of_origin = "soviet union" AND type = "reusable" AND primary_cartridge = "40mm" AND name__designation = "rpg-29"
{ "answer": "SELECT COUNT(year_of_intro) FROM table_name_87 WHERE country_of_origin = \"soviet union\" AND type = \"reusable\" AND primary_cartridge = \"40mm\" AND name__designation = \"rpg-29\"", "context": "CREATE TABLE table_name_87 (year_of_intro VARCHAR, name__designation VARCHAR, primary_cartridge VARCHAR, country_of_origin VARCHAR, type VARCHAR)", "question": "What is the total number of Year of Intro(s), when Country of Origin is Soviet Union, when Type is Reusable, when Primary Cartridge is 40mm, and when Name/ Designation is RPG-29?" }
### QUESTION What is the content of the Television service of Vesti? ### CONTEXT CREATE TABLE table_name_58 (content VARCHAR, television_service VARCHAR) ### ANSWER SELECT content FROM table_name_58 WHERE television_service = "vesti"
{ "answer": "SELECT content FROM table_name_58 WHERE television_service = \"vesti\"", "context": "CREATE TABLE table_name_58 (content VARCHAR, television_service VARCHAR)", "question": "What is the content of the Television service of Vesti?" }
### QUESTION How many distinct types of accounts are there? ### CONTEXT CREATE TABLE customer (acc_type VARCHAR) ### ANSWER SELECT COUNT(DISTINCT acc_type) FROM customer
{ "answer": "SELECT COUNT(DISTINCT acc_type) FROM customer", "context": "CREATE TABLE customer (acc_type VARCHAR)", "question": "How many distinct types of accounts are there?" }
### QUESTION List the names and birthdays of the top five players in terms of potential. ### CONTEXT CREATE TABLE Player_Attributes (player_api_id VARCHAR); CREATE TABLE Player (player_name VARCHAR, birthday VARCHAR, player_api_id VARCHAR) ### ANSWER SELECT DISTINCT T1.player_name, T1.birthday FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY potential DESC LIMIT 5
{ "answer": "SELECT DISTINCT T1.player_name, T1.birthday FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY potential DESC LIMIT 5", "context": "CREATE TABLE Player_Attributes (player_api_id VARCHAR); CREATE TABLE Player (player_name VARCHAR, birthday VARCHAR, player_api_id VARCHAR)", "question": "List the names and birthdays of the top five players in terms of potential." }
### QUESTION What are the countries that have greater surface area than any country in Europe? ### CONTEXT CREATE TABLE country (Name VARCHAR, SurfaceArea INTEGER, Continent VARCHAR) ### ANSWER SELECT Name FROM country WHERE SurfaceArea > (SELECT MIN(SurfaceArea) FROM country WHERE Continent = "Europe")
{ "answer": "SELECT Name FROM country WHERE SurfaceArea > (SELECT MIN(SurfaceArea) FROM country WHERE Continent = \"Europe\")", "context": "CREATE TABLE country (Name VARCHAR, SurfaceArea INTEGER, Continent VARCHAR)", "question": "What are the countries that have greater surface area than any country in Europe?" }
### QUESTION How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe? ### CONTEXT CREATE TABLE table_24628683_2 (wrestler VARCHAR, method_of_elimination VARCHAR) ### ANSWER SELECT COUNT(wrestler) FROM table_24628683_2 WHERE method_of_elimination = "Pinned after being hit by a lead pipe"
{ "answer": "SELECT COUNT(wrestler) FROM table_24628683_2 WHERE method_of_elimination = \"Pinned after being hit by a lead pipe\"", "context": "CREATE TABLE table_24628683_2 (wrestler VARCHAR, method_of_elimination VARCHAR)", "question": "How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe? " }
### QUESTION Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin? ### CONTEXT CREATE TABLE table_name_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR) ### ANSWER SELECT MAX(first_elected) FROM table_name_73 WHERE party = "dem" AND district > 24 AND home_city_town = "berlin"
{ "answer": "SELECT MAX(first_elected) FROM table_name_73 WHERE party = \"dem\" AND district > 24 AND home_city_town = \"berlin\"", "context": "CREATE TABLE table_name_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR)", "question": "Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin?" }
### QUESTION What is the most common nationality of people? ### CONTEXT CREATE TABLE people (Nationality VARCHAR) ### ANSWER SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT Nationality FROM people GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE people (Nationality VARCHAR)", "question": "What is the most common nationality of people?" }
### QUESTION What is the production code of the episode written by Cathryn Humphris? ### CONTEXT CREATE TABLE table_24938621_3 (production_code VARCHAR, written_by VARCHAR) ### ANSWER SELECT production_code FROM table_24938621_3 WHERE written_by = "Cathryn Humphris"
{ "answer": "SELECT production_code FROM table_24938621_3 WHERE written_by = \"Cathryn Humphris\"", "context": "CREATE TABLE table_24938621_3 (production_code VARCHAR, written_by VARCHAR)", "question": "What is the production code of the episode written by Cathryn Humphris?" }
### QUESTION What country has the most height in the northwestern peak of rysy? ### CONTEXT CREATE TABLE table_24285393_1 (country_or_region VARCHAR, highest_point VARCHAR) ### ANSWER SELECT country_or_region FROM table_24285393_1 WHERE highest_point = "Northwestern peak of Rysy"
{ "answer": "SELECT country_or_region FROM table_24285393_1 WHERE highest_point = \"Northwestern peak of Rysy\"", "context": "CREATE TABLE table_24285393_1 (country_or_region VARCHAR, highest_point VARCHAR)", "question": "What country has the most height in the northwestern peak of rysy?" }
### QUESTION What was the lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415? ### CONTEXT CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR) ### ANSWER SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = 6.415
{ "answer": "SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = 6.415", "context": "CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR)", "question": "What was the lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415?" }
### QUESTION What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant? ### CONTEXT CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR) ### ANSWER SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = "mount pleasant"
{ "answer": "SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = \"mount pleasant\"", "context": "CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR)", "question": "What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?" }
### QUESTION When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? ### CONTEXT CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR) ### ANSWER SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65
{ "answer": "SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65", "context": "CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR)", "question": "When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against?" }
### QUESTION What is the highest round of Ian Cole, who played position d from the United States? ### CONTEXT CREATE TABLE table_name_35 (round INTEGER, player VARCHAR, position VARCHAR, nationality VARCHAR) ### ANSWER SELECT MAX(round) FROM table_name_35 WHERE position = "d" AND nationality = "united states" AND player = "ian cole"
{ "answer": "SELECT MAX(round) FROM table_name_35 WHERE position = \"d\" AND nationality = \"united states\" AND player = \"ian cole\"", "context": "CREATE TABLE table_name_35 (round INTEGER, player VARCHAR, position VARCHAR, nationality VARCHAR)", "question": "What is the highest round of Ian Cole, who played position d from the United States?" }
### QUESTION Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker? ### CONTEXT CREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR) ### ANSWER SELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND winner = "Erik Dekker"
{ "answer": "SELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = \"Salvatore Commesso\" AND winner = \"Erik Dekker\"", "context": "CREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR)", "question": "Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?" }
### QUESTION Name who directed the episode by joe sachs and david zabel ### CONTEXT CREATE TABLE table_17355743_1 (directed_by VARCHAR, written_by VARCHAR) ### ANSWER SELECT directed_by FROM table_17355743_1 WHERE written_by = "Joe Sachs and David Zabel"
{ "answer": "SELECT directed_by FROM table_17355743_1 WHERE written_by = \"Joe Sachs and David Zabel\"", "context": "CREATE TABLE table_17355743_1 (directed_by VARCHAR, written_by VARCHAR)", "question": "Name who directed the episode by joe sachs and david zabel" }
### QUESTION Who has a finish of t66? ### CONTEXT CREATE TABLE table_name_89 (player VARCHAR, finish VARCHAR) ### ANSWER SELECT player FROM table_name_89 WHERE finish = "t66"
{ "answer": "SELECT player FROM table_name_89 WHERE finish = \"t66\"", "context": "CREATE TABLE table_name_89 (player VARCHAR, finish VARCHAR)", "question": "Who has a finish of t66?" }
### QUESTION Which player has a cap larger than 12 and Clubs of Toulouse? ### CONTEXT CREATE TABLE table_name_74 (player VARCHAR, caps VARCHAR, club_province VARCHAR) ### ANSWER SELECT player FROM table_name_74 WHERE caps > 12 AND club_province = "toulouse"
{ "answer": "SELECT player FROM table_name_74 WHERE caps > 12 AND club_province = \"toulouse\"", "context": "CREATE TABLE table_name_74 (player VARCHAR, caps VARCHAR, club_province VARCHAR)", "question": "Which player has a cap larger than 12 and Clubs of Toulouse?" }
### QUESTION What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year? ### CONTEXT CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR) ### ANSWER SELECT MAX(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year
{ "answer": "SELECT MAX(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year", "context": "CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR)", "question": "What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year?" }
### QUESTION What is the IHSAA class for the team located in Middlebury, IN? ### CONTEXT CREATE TABLE table_name_95 (ihsaa_class VARCHAR, location VARCHAR) ### ANSWER SELECT ihsaa_class FROM table_name_95 WHERE location = "middlebury, in"
{ "answer": "SELECT ihsaa_class FROM table_name_95 WHERE location = \"middlebury, in\"", "context": "CREATE TABLE table_name_95 (ihsaa_class VARCHAR, location VARCHAR)", "question": "What is the IHSAA class for the team located in Middlebury, IN?" }
### QUESTION What's the latest year that daisy garcia reyes did not place in miss world? ### CONTEXT CREATE TABLE table_name_11 (year INTEGER, placement_in_miss_world VARCHAR, delegate VARCHAR) ### ANSWER SELECT MAX(year) FROM table_name_11 WHERE placement_in_miss_world = "did not place" AND delegate = "daisy garcia reyes"
{ "answer": "SELECT MAX(year) FROM table_name_11 WHERE placement_in_miss_world = \"did not place\" AND delegate = \"daisy garcia reyes\"", "context": "CREATE TABLE table_name_11 (year INTEGER, placement_in_miss_world VARCHAR, delegate VARCHAR)", "question": "What's the latest year that daisy garcia reyes did not place in miss world?" }
### QUESTION Name the production code for 4.92 million viewers ### CONTEXT CREATE TABLE table_23117208_4 (prod_code VARCHAR, viewers__millions_ VARCHAR) ### ANSWER SELECT prod_code FROM table_23117208_4 WHERE viewers__millions_ = "4.92"
{ "answer": "SELECT prod_code FROM table_23117208_4 WHERE viewers__millions_ = \"4.92\"", "context": "CREATE TABLE table_23117208_4 (prod_code VARCHAR, viewers__millions_ VARCHAR)", "question": "Name the production code for 4.92 million viewers" }
### QUESTION How many fastest laps for the nation with 32 (30) entries and starts and fewer than 2 podiums? ### CONTEXT CREATE TABLE table_name_74 (fastest_laps INTEGER, race_entries__starts_ VARCHAR, podiums VARCHAR) ### ANSWER SELECT MIN(fastest_laps) FROM table_name_74 WHERE race_entries__starts_ = "32 (30)" AND podiums < 2
{ "answer": "SELECT MIN(fastest_laps) FROM table_name_74 WHERE race_entries__starts_ = \"32 (30)\" AND podiums < 2", "context": "CREATE TABLE table_name_74 (fastest_laps INTEGER, race_entries__starts_ VARCHAR, podiums VARCHAR)", "question": "How many fastest laps for the nation with 32 (30) entries and starts and fewer than 2 podiums?" }
### QUESTION What is the smallest crowd at victoria park? ### CONTEXT CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR) ### ANSWER SELECT MIN(crowd) FROM table_name_22 WHERE venue = "victoria park"
{ "answer": "SELECT MIN(crowd) FROM table_name_22 WHERE venue = \"victoria park\"", "context": "CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR)", "question": "What is the smallest crowd at victoria park?" }
### QUESTION Show the names and ids of tourist attractions that are visited at most once. ### CONTEXT CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR) ### ANSWER SELECT T1.Name, T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) <= 1
{ "answer": "SELECT T1.Name, T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING COUNT(*) <= 1", "context": "CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)", "question": "Show the names and ids of tourist attractions that are visited at most once." }
### QUESTION What was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes? ### CONTEXT CREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR) ### ANSWER SELECT winning_score FROM table_name_42 WHERE runner_s__up = "beth daniel" AND margin_of_victory = "7 strokes"
{ "answer": "SELECT winning_score FROM table_name_42 WHERE runner_s__up = \"beth daniel\" AND margin_of_victory = \"7 strokes\"", "context": "CREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR)", "question": "What was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes?" }
### QUESTION What's the part 3 of the verb with part 4 gelopen? ### CONTEXT CREATE TABLE table_1745843_7 (part_3 VARCHAR, part_4 VARCHAR) ### ANSWER SELECT part_3 FROM table_1745843_7 WHERE part_4 = "gelopen"
{ "answer": "SELECT part_3 FROM table_1745843_7 WHERE part_4 = \"gelopen\"", "context": "CREATE TABLE table_1745843_7 (part_3 VARCHAR, part_4 VARCHAR)", "question": "What's the part 3 of the verb with part 4 gelopen?" }
README.md exists but content is empty.
Downloads last month
33