text
stringlengths 114
1.06k
|
---|
### question: What is the average total for Dave Stockton? ### answer: SELECT AVG(total) FROM table_name_66 WHERE player = "dave stockton" ### context: CREATE TABLE table_name_66 (total INTEGER, player VARCHAR) |
### question: What is the sum of the to par for the United States in the winning year of 1967, and has a total of more than 146? ### answer: SELECT SUM(to_par) FROM table_name_38 WHERE country = "united states" AND year_s__won = "1967" AND total > 146 ### context: CREATE TABLE table_name_38 (to_par INTEGER, total VARCHAR, country VARCHAR, year_s__won VARCHAR) |
### question: What is the score for the game in which Arsenal was the away team? ### answer: SELECT score FROM table_name_42 WHERE away_team = "arsenal" ### context: CREATE TABLE table_name_42 (score VARCHAR, away_team VARCHAR) |
### question: What is the score for the tie number 15? ### answer: SELECT score FROM table_name_13 WHERE tie_no = "15" ### context: CREATE TABLE table_name_13 (score VARCHAR, tie_no VARCHAR) |
### question: What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen? ### answer: SELECT outgoing_manager FROM table_name_78 WHERE manner_of_departure = "end of tenure as caretaker" AND replaced_by = "jesper hansen" ### context: CREATE TABLE table_name_78 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR) |
### question: What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker? ### answer: SELECT team FROM table_name_52 WHERE position_in_table = "pre-season" AND manner_of_departure = "end of tenure as caretaker" ### context: CREATE TABLE table_name_52 (team VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR) |
### question: What place is Fredrik Jacobson from? ### answer: SELECT place FROM table_name_87 WHERE player = "fredrik jacobson" ### context: CREATE TABLE table_name_87 (place VARCHAR, player VARCHAR) |
### question: What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place? ### answer: SELECT to_par FROM table_name_98 WHERE score < 67 AND place = "t1" AND player = "tiger woods" ### context: CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR) |
### question: What place is player Brad Faxon from? ### answer: SELECT place FROM table_name_33 WHERE player = "brad faxon" ### context: CREATE TABLE table_name_33 (place VARCHAR, player VARCHAR) |
### question: What is Sweden's lowest score? ### answer: SELECT MIN(score) FROM table_name_90 WHERE country = "sweden" ### context: CREATE TABLE table_name_90 (score INTEGER, country VARCHAR) |
### question: Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish? ### answer: SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jostedal parish" ### context: CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) |
### question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje? ### answer: SELECT sub_parish__sogn_ FROM table_name_30 WHERE parish__prestegjeld_ = "hafslo parish" AND church_name = "hafslo kyrkje" ### context: CREATE TABLE table_name_30 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR) |
### question: Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes? ### answer: SELECT sub_parish__sogn_ FROM table_name_52 WHERE parish__prestegjeld_ = "hafslo parish" AND location_of_the_church = "urnes" ### context: CREATE TABLE table_name_52 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, location_of_the_church VARCHAR) |
### question: Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne? ### answer: SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne" ### context: CREATE TABLE table_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) |
### question: Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje? ### answer: SELECT sub_parish__sogn_ FROM table_name_99 WHERE church_name = "jostedal kyrkje" ### context: CREATE TABLE table_name_99 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) |
### question: What's the national title of miss international ikumi yoshimatsu? ### answer: SELECT national_title FROM table_name_11 WHERE miss_international = "ikumi yoshimatsu" ### context: CREATE TABLE table_name_11 (national_title VARCHAR, miss_international VARCHAR) |
### question: What's the earliest year the philippines won? ### answer: SELECT MIN(year) FROM table_name_6 WHERE country_territory = "philippines" ### context: CREATE TABLE table_name_6 (year INTEGER, country_territory VARCHAR) |
### question: What's the average year lebanon won? ### answer: SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon" ### context: CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR) |
### question: What country or territory is małgorzata rożniecka from? ### answer: SELECT country_territory FROM table_name_33 WHERE miss_international = "małgorzata rożniecka" ### context: CREATE TABLE table_name_33 (country_territory VARCHAR, miss_international VARCHAR) |
### question: Which team had a league of regionalliga süd? ### answer: SELECT teams FROM table_name_84 WHERE league = "regionalliga süd" ### context: CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR) |
### question: What was the home for season 1949-50? ### answer: SELECT home FROM table_name_79 WHERE season = "1949-50" ### context: CREATE TABLE table_name_79 (home VARCHAR, season VARCHAR) |
### question: Which season had a home 2-3? ### answer: SELECT season FROM table_name_2 WHERE home = "2-3" ### context: CREATE TABLE table_name_2 (season VARCHAR, home VARCHAR) |
### question: Which team had a season 1954-55? ### answer: SELECT teams FROM table_name_80 WHERE season = "1954-55" ### context: CREATE TABLE table_name_80 (teams VARCHAR, season VARCHAR) |
### question: What season has an away 2-0? ### answer: SELECT season FROM table_name_33 WHERE away = "2-0" ### context: CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR) |
### question: What team has a home of 2-3? ### answer: SELECT teams FROM table_name_75 WHERE home = "2-3" ### context: CREATE TABLE table_name_75 (teams VARCHAR, home VARCHAR) |
### question: What is the total that wehn Lithuania is the nation, and Silver is more than 0? ### answer: SELECT MIN(total) FROM table_name_35 WHERE nation = "lithuania" AND silver > 0 ### context: CREATE TABLE table_name_35 (total INTEGER, nation VARCHAR, silver VARCHAR) |
### question: What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0? ### answer: SELECT AVG(rank) FROM table_name_73 WHERE bronze > 0 AND gold > 1 AND nation = "japan" AND silver < 0 ### context: CREATE TABLE table_name_73 (rank INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) |
### question: What is the rank when the total is less than 1? ### answer: SELECT MIN(rank) FROM table_name_24 WHERE total < 1 ### context: CREATE TABLE table_name_24 (rank INTEGER, total INTEGER) |
### question: What is the total when silver is more than 0, and bronze less than 0? ### answer: SELECT MAX(total) FROM table_name_89 WHERE silver > 0 AND bronze < 0 ### context: CREATE TABLE table_name_89 (total INTEGER, silver VARCHAR, bronze VARCHAR) |
### question: What is the rank that when Serbia is the nation, and gold is larger than 0? ### answer: SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0 ### context: CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR) |
### question: Which Year(s) won has a To par smaller than 12, and a Player of john daly? ### answer: SELECT year_s__won FROM table_name_50 WHERE to_par < 12 AND player = "john daly" ### context: CREATE TABLE table_name_50 (year_s__won VARCHAR, to_par VARCHAR, player VARCHAR) |
### question: Which Player has a To par of 12, and a Country of fiji? ### answer: SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji" ### context: CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR) |
### question: Which Total has a To par larger than 12? ### answer: SELECT MIN(total) FROM table_name_17 WHERE to_par > 12 ### context: CREATE TABLE table_name_17 (total INTEGER, to_par INTEGER) |
### question: How much To par has a Total larger than 149, and a Country of united states, and a Year(s) won of 1997? ### answer: SELECT SUM(to_par) FROM table_name_32 WHERE total > 149 AND country = "united states" AND year_s__won = "1997" ### context: CREATE TABLE table_name_32 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR, country VARCHAR) |
### question: Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london? ### answer: SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london" ### context: CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR) |
### question: Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2 ### answer: SELECT SUM(rank) FROM table_name_20 WHERE network = "bbc one" AND number_of_viewers = "30.15million" ### context: CREATE TABLE table_name_20 (rank INTEGER, network VARCHAR, number_of_viewers VARCHAR) |
### question: When has a Rank larger than 2 and a Network of itv? ### answer: SELECT date FROM table_name_13 WHERE rank > 2 AND network = "itv" ### context: CREATE TABLE table_name_13 (date VARCHAR, rank VARCHAR, network VARCHAR) |
### question: What is the Term of office for Leonard Reynolds of NSW? ### answer: SELECT term_of_office FROM table_name_1 WHERE state = "nsw" AND member = "leonard reynolds" ### context: CREATE TABLE table_name_1 (term_of_office VARCHAR, state VARCHAR, member VARCHAR) |
### question: What state shows for Cunningham? ### answer: SELECT state FROM table_name_3 WHERE electorate = "cunningham" ### context: CREATE TABLE table_name_3 (state VARCHAR, electorate VARCHAR) |
### question: What is the Electorate when the term of office was 1955–1972, for Peter Howson? ### answer: SELECT electorate FROM table_name_16 WHERE term_of_office = "1955–1972" AND member = "peter howson" ### context: CREATE TABLE table_name_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR) |
### question: What party has a term of office of 1951–1966, and a State of sa? ### answer: SELECT party FROM table_name_29 WHERE term_of_office = "1951–1966" AND state = "sa" ### context: CREATE TABLE table_name_29 (party VARCHAR, term_of_office VARCHAR, state VARCHAR) |
### question: What was the Attendance at Jobing.com Arena? ### answer: SELECT COUNT(attendance) FROM table_name_48 WHERE arena = "jobing.com arena" ### context: CREATE TABLE table_name_48 (attendance VARCHAR, arena VARCHAR) |
### question: What is the Date of the game with a Loss of Leneveu (1–0–1)? ### answer: SELECT date FROM table_name_75 WHERE loss = "leneveu (1–0–1)" ### context: CREATE TABLE table_name_75 (date VARCHAR, loss VARCHAR) |
### question: What is the Date with a game with a Record of 2–1–1? ### answer: SELECT date FROM table_name_68 WHERE record = "2–1–1" ### context: CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR) |
### question: What is the Score at Jobing.com Arena? ### answer: SELECT score FROM table_name_30 WHERE arena = "jobing.com arena" ### context: CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR) |
### question: What is the Opponent of the game on September 26? ### answer: SELECT opponent FROM table_name_40 WHERE date = "september 26" ### context: CREATE TABLE table_name_40 (opponent VARCHAR, date VARCHAR) |
### question: What Label has a Region of united states, and a Format of cassette? ### answer: SELECT label FROM table_name_68 WHERE region = "united states" AND format = "cassette" ### context: CREATE TABLE table_name_68 (label VARCHAR, region VARCHAR, format VARCHAR) |
### question: What Date has a Label of grilled cheese? ### answer: SELECT date FROM table_name_25 WHERE label = "grilled cheese" ### context: CREATE TABLE table_name_25 (date VARCHAR, label VARCHAR) |
### question: What Catalog has a Label of geffen records / universal music special markets? ### answer: SELECT catalog FROM table_name_5 WHERE label = "geffen records / universal music special markets" ### context: CREATE TABLE table_name_5 (catalog VARCHAR, label VARCHAR) |
### question: What Label has a Format of cd, and a Catalog of crgd 86136? ### answer: SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136" ### context: CREATE TABLE table_name_88 (label VARCHAR, format VARCHAR, catalog VARCHAR) |
### question: What Region has a Catalog of crgd 86136? ### answer: SELECT region FROM table_name_47 WHERE catalog = "crgd 86136" ### context: CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR) |
### question: What Label has a Catalog of 486 136-2? ### answer: SELECT label FROM table_name_13 WHERE catalog = "486 136-2" ### context: CREATE TABLE table_name_13 (label VARCHAR, catalog VARCHAR) |
### question: Which Opponent has a Result of 0-3? ### answer: SELECT opponent FROM table_name_98 WHERE result = "0-3" ### context: CREATE TABLE table_name_98 (opponent VARCHAR, result VARCHAR) |
### question: What is the total attendance with a 1-0 result, at Venue H, and Round SF? ### answer: SELECT SUM(attendance) FROM table_name_35 WHERE result = "1-0" AND venue = "h" AND round = "sf" ### context: CREATE TABLE table_name_35 (attendance INTEGER, round VARCHAR, result VARCHAR, venue VARCHAR) |
### question: What is the lowest attendance at Venue H in Round R2? ### answer: SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2" ### context: CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR) |
### question: What is the highest attendance for the opponents Club Brugge in Venue A? ### answer: SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "club brugge" AND venue = "a" ### context: CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR, venue VARCHAR) |
### question: What is the round for the opponent CSKA Sofia in Venue A? ### answer: SELECT round FROM table_name_67 WHERE opponent = "cska sofia" AND venue = "a" ### context: CREATE TABLE table_name_67 (round VARCHAR, opponent VARCHAR, venue VARCHAR) |
### question: What player placed t10? ### answer: SELECT player FROM table_name_17 WHERE place = "t10" ### context: CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR) |
### question: What was Bernhard Langer's highest score? ### answer: SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer" ### context: CREATE TABLE table_name_93 (score INTEGER, player VARCHAR) |
### question: What was Craig Stadler's lowest score for United states? ### answer: SELECT MIN(score) FROM table_name_35 WHERE country = "united states" AND player = "craig stadler" ### context: CREATE TABLE table_name_35 (score INTEGER, country VARCHAR, player VARCHAR) |
### question: What Money (£) has a Country of ireland? ### answer: SELECT money___£__ FROM table_name_96 WHERE country = "ireland" ### context: CREATE TABLE table_name_96 (money___£__ VARCHAR, country VARCHAR) |
### question: What Player has a Place of t10? ### answer: SELECT player FROM table_name_2 WHERE place = "t10" ### context: CREATE TABLE table_name_2 (player VARCHAR, place VARCHAR) |
### question: What To par has a Score of 71-73-71-71=286? ### answer: SELECT to_par FROM table_name_85 WHERE score = 71 - 73 - 71 - 71 = 286 ### context: CREATE TABLE table_name_85 (to_par VARCHAR, score VARCHAR) |
### question: What Place has a To par of –4? ### answer: SELECT place FROM table_name_92 WHERE to_par = "–4" ### context: CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR) |
### question: What Score has a Place of t8, and a Country of scotland? ### answer: SELECT score FROM table_name_86 WHERE place = "t8" AND country = "scotland" ### context: CREATE TABLE table_name_86 (score VARCHAR, place VARCHAR, country VARCHAR) |
### question: What To par has a Country of united states, and a Score of 67-66-78-77=288? ### answer: SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288 ### context: CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR) |
### question: What is the average Money ( $ ), when Country is "United States", and when To par is "+3"? ### answer: SELECT AVG(money___) AS $__ FROM table_name_14 WHERE country = "united states" AND to_par = "+3" ### context: CREATE TABLE table_name_14 (money___ INTEGER, country VARCHAR, to_par VARCHAR) |
### question: What is Money ( $ ), when Player is "Morgan Pressel"? ### answer: SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel" ### context: CREATE TABLE table_name_4 (money___$__ VARCHAR, player VARCHAR) |
### question: What is Place, when Player is "Mi Hyun Kim"? ### answer: SELECT place FROM table_name_94 WHERE player = "mi hyun kim" ### context: CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR) |
### question: What was the tonnage on 30 march 1943? ### answer: SELECT AVG(tonnage) FROM table_name_78 WHERE date = "30 march 1943" ### context: CREATE TABLE table_name_78 (tonnage INTEGER, date VARCHAR) |
### question: What was the fate on 27 june 1942? ### answer: SELECT fate FROM table_name_44 WHERE date = "27 june 1942" ### context: CREATE TABLE table_name_44 (fate VARCHAR, date VARCHAR) |
### question: What was the tonnage on 12 september 1942? ### answer: SELECT tonnage FROM table_name_91 WHERE date = "12 september 1942" ### context: CREATE TABLE table_name_91 (tonnage VARCHAR, date VARCHAR) |
### question: What was Yugoslavia's fate? ### answer: SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia" ### context: CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR) |
### question: What is the status of the ship INS Ranvir? ### answer: SELECT status FROM table_name_95 WHERE name = "ins ranvir" ### context: CREATE TABLE table_name_95 (status VARCHAR, name VARCHAR) |
### question: Who was the builder of the ship INS Rana? ### answer: SELECT builder FROM table_name_69 WHERE name = "ins rana" ### context: CREATE TABLE table_name_69 (builder VARCHAR, name VARCHAR) |
### question: What year shows 248 (sf: 217) points? ### answer: SELECT COUNT(year) FROM table_name_70 WHERE points = "248 (sf: 217)" ### context: CREATE TABLE table_name_70 (year VARCHAR, points VARCHAR) |
### question: What is the place later than 2007, with 141 (sf:83) points? ### answer: SELECT place FROM table_name_98 WHERE year > 2007 AND points = "141 (sf:83)" ### context: CREATE TABLE table_name_98 (place VARCHAR, year VARCHAR, points VARCHAR) |
### question: What artist shows 2007 and composer of Hayko? ### answer: SELECT artist FROM table_name_31 WHERE year = 2007 AND composer = "hayko" ### context: CREATE TABLE table_name_31 (artist VARCHAR, year VARCHAR, composer VARCHAR) |
### question: What place is Corey Pavin in? ### answer: SELECT place FROM table_name_31 WHERE player = "corey pavin" ### context: CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR) |
### question: How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata? ### answer: SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de la plata" ### context: CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR) |
### question: Which Atomic property has Helium of 4.16? ### answer: SELECT atomic_property FROM table_name_57 WHERE helium = "4.16" ### context: CREATE TABLE table_name_57 (atomic_property VARCHAR, helium VARCHAR) |
### question: Which Krypton has Neon of 10? ### answer: SELECT krypton FROM table_name_4 WHERE neon = "10" ### context: CREATE TABLE table_name_4 (krypton VARCHAR, neon VARCHAR) |
### question: Which Radon has Neon of 4.79? ### answer: SELECT radon FROM table_name_62 WHERE neon = "4.79" ### context: CREATE TABLE table_name_62 (radon VARCHAR, neon VARCHAR) |
### question: Which Neon has Atomic property of average valence electron energy (avee)? ### answer: SELECT neon FROM table_name_91 WHERE atomic_property = "average valence electron energy (avee)" ### context: CREATE TABLE table_name_91 (neon VARCHAR, atomic_property VARCHAR) |
### question: Which Radon has Atomic property of outer shell electron configuration? ### answer: SELECT radon FROM table_name_65 WHERE atomic_property = "outer shell electron configuration" ### context: CREATE TABLE table_name_65 (radon VARCHAR, atomic_property VARCHAR) |
### question: Which Xenon has Neon of 20.1797(6)? ### answer: SELECT xenon FROM table_name_25 WHERE neon = "20.1797(6)" ### context: CREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR) |
### question: What is the highest attendance of the game with eastwood town as the away team? ### answer: SELECT MAX(attendance) FROM table_name_46 WHERE away_team = "eastwood town" ### context: CREATE TABLE table_name_46 (attendance INTEGER, away_team VARCHAR) |
### question: What place is Scott McCarron in? ### answer: SELECT place FROM table_name_4 WHERE player = "scott mccarron" ### context: CREATE TABLE table_name_4 (place VARCHAR, player VARCHAR) |
### question: What is Alexandr Elke's Weight? ### answer: SELECT weight FROM table_name_59 WHERE name = "alexandr elke" ### context: CREATE TABLE table_name_59 (weight VARCHAR, name VARCHAR) |
### question: What is the Name of the D Player from the Dinamo Moscow Club? ### answer: SELECT name FROM table_name_76 WHERE club = "dinamo moscow" AND pos = "d" ### context: CREATE TABLE table_name_76 (name VARCHAR, club VARCHAR, pos VARCHAR) |
### question: What is the Date of Birth of the Player from the CSK VMF Moscow Club? ### answer: SELECT date_of_birth FROM table_name_50 WHERE club = "csk vmf moscow" ### context: CREATE TABLE table_name_50 (date_of_birth VARCHAR, club VARCHAR) |
### question: What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)? ### answer: SELECT weight FROM table_name_31 WHERE club = "dshnk almaty" AND height = "m (ft 6in)" ### context: CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, height VARCHAR) |
### question: Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38? ### answer: SELECT SUM(position) FROM table_name_28 WHERE goals_against < 43 AND wins > 14 AND played > 38 ### context: CREATE TABLE table_name_28 (position INTEGER, played VARCHAR, goals_against VARCHAR, wins VARCHAR) |
### question: Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32? ### answer: SELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32 ### context: CREATE TABLE table_name_17 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, wins VARCHAR) |
### question: Which Points have Goals against of 32, and Played larger than 38? ### answer: SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38 ### context: CREATE TABLE table_name_30 (points INTEGER, goals_against VARCHAR, played VARCHAR) |
### question: Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35? ### answer: SELECT AVG(position) FROM table_name_90 WHERE goals_against < 59 AND goals_for > 32 AND draws > 9 AND points > 35 ### context: CREATE TABLE table_name_90 (position INTEGER, points VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) |
### question: What district re-elected a Republican? ### answer: SELECT district FROM table_name_21 WHERE party = "republican" AND results = "re-elected" ### context: CREATE TABLE table_name_21 (district VARCHAR, party VARCHAR, results VARCHAR) |
### question: Which incumbent was first elected in 1987? ### answer: SELECT incumbent FROM table_name_84 WHERE first_elected = 1987 ### context: CREATE TABLE table_name_84 (incumbent VARCHAR, first_elected VARCHAR) |
### question: From which country is the player who made less than $216? ### answer: SELECT country FROM table_name_63 WHERE money___$__ < 216 ### context: CREATE TABLE table_name_63 (country VARCHAR, money___$__ INTEGER) |
### question: Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284? ### answer: SELECT place FROM table_name_71 WHERE country = "united states" AND money___$__ > 216 AND score = 74 - 70 - 71 - 69 = 284 ### context: CREATE TABLE table_name_71 (place VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.