prompt
stringlengths
81
567
completion
stringlengths
18
557
Question: How many Goals against have Goals for smaller than 33, and Points smaller than 16? Context: CREATE TABLE table_name_54 (goals_against INTEGER, goals_for VARCHAR, points VARCHAR) Answer:
SELECT SUM(goals_against) FROM table_name_54 WHERE goals_for < 33 AND points < 16
Question: What Date was the Game at Griffith Stadium? Context: CREATE TABLE table_name_9 (date VARCHAR, game_site VARCHAR) Answer:
SELECT date FROM table_name_9 WHERE game_site = "griffith stadium"
Question: What attendance is listed against the date of bye? Context: CREATE TABLE table_name_4 (attendance VARCHAR, date VARCHAR) Answer:
SELECT attendance FROM table_name_4 WHERE date = "bye"
Question: What date is week 3? Context: CREATE TABLE table_name_77 (date VARCHAR, week VARCHAR) Answer:
SELECT date FROM table_name_77 WHERE week = 3
Question: Which Floors has a Location of tower hill? Context: CREATE TABLE table_name_89 (floors VARCHAR, location VARCHAR) Answer:
SELECT floors FROM table_name_89 WHERE location = "tower hill"
Question: Which Location has a Floors of 03.0 n/a? Context: CREATE TABLE table_name_18 (location VARCHAR, floors VARCHAR) Answer:
SELECT location FROM table_name_18 WHERE floors = "03.0 n/a"
Question: Name the Height metres / ft of Floors of 05.0 n/a? Context: CREATE TABLE table_name_89 (height_metres___ft VARCHAR, floors VARCHAR) Answer:
SELECT height_metres___ft FROM table_name_89 WHERE floors = "05.0 n/a"
Question: Name the Years as tallest that has Height metres / ft of 01.0 27 / 90? Context: CREATE TABLE table_name_14 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) Answer:
SELECT years_as_tallest FROM table_name_14 WHERE height_metres___ft = "01.0 27 / 90"
Question: Name the Years as tallest has a Height metres / ft of 07.0 150 / 493 [b ]? Context: CREATE TABLE table_name_95 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) Answer:
SELECT years_as_tallest FROM table_name_95 WHERE height_metres___ft = "07.0 150 / 493 [b ]"
Question: Name the Height metres / ft of Years with tallest of 1098–1310? Context: CREATE TABLE table_name_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR) Answer:
SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310"
Question: How many scores have a Place of t5? Context: CREATE TABLE table_name_2 (score VARCHAR, place VARCHAR) Answer:
SELECT COUNT(score) FROM table_name_2 WHERE place = "t5"
Question: Which To Par has a Score smaller than 70, and a Player of matt kowal? Context: CREATE TABLE table_name_33 (to_par VARCHAR, score VARCHAR, player VARCHAR) Answer:
SELECT to_par FROM table_name_33 WHERE score < 70 AND player = "matt kowal"
Question: Which Score has a To Par of –1? Context: CREATE TABLE table_name_59 (score INTEGER, to_par VARCHAR) Answer:
SELECT MIN(score) FROM table_name_59 WHERE to_par = "–1"
Question: what is the date for catolog 88697185162 when the region is canada? Context: CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR, region VARCHAR) Answer:
SELECT date FROM table_name_9 WHERE catalog = 88697185162 AND region = "canada"
Question: Which parish has a church named Vangsnes Kyrkje? Context: CREATE TABLE table_name_44 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) Answer:
SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje"
Question: Which Sub-Parish has a church built in 1866? Context: CREATE TABLE table_name_19 (sub_parish__sokn_ VARCHAR, year_built VARCHAR) Answer:
SELECT sub_parish__sokn_ FROM table_name_19 WHERE year_built = "1866"
Question: When was the Hopperstad Stavkyrkje built? Context: CREATE TABLE table_name_83 (year_built VARCHAR, church_name VARCHAR) Answer:
SELECT year_built FROM table_name_83 WHERE church_name = "hopperstad stavkyrkje"
Question: When was the church in Arnafjord built? Context: CREATE TABLE table_name_43 (year_built VARCHAR, location_of_the_church VARCHAR) Answer:
SELECT year_built FROM table_name_43 WHERE location_of_the_church = "arnafjord"
Question: What is the Sub-Parish called that has a church located in Fresvik? Context: CREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR) Answer:
SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik"
Question: What is the church in the Sub-Parish of Fresvik called? Context: CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR) Answer:
SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = "fresvik"
Question: What is the time for Sheffield? Context: CREATE TABLE table_name_15 (time VARCHAR, city VARCHAR) Answer:
SELECT time FROM table_name_15 WHERE city = "sheffield"
Question: What are the total points for the skier with 3.18 slalom points? Context: CREATE TABLE table_name_33 (total VARCHAR, slalom_points VARCHAR) Answer:
SELECT total FROM table_name_33 WHERE slalom_points = "3.18"
Question: What place is the skier with 7.73 downhill points? Context: CREATE TABLE table_name_38 (place VARCHAR, downhill_points VARCHAR) Answer:
SELECT place FROM table_name_38 WHERE downhill_points = 7.73
Question: What are the downhill points for the skier with total of 9.31 points? Context: CREATE TABLE table_name_50 (downhill_points INTEGER, total VARCHAR) Answer:
SELECT SUM(downhill_points) FROM table_name_50 WHERE total = "9.31"
Question: What is the rank for the player where there are 11 points? Context: CREATE TABLE table_name_87 (rank_points VARCHAR, score_points VARCHAR) Answer:
SELECT rank_points FROM table_name_87 WHERE score_points = "11"
Question: Which shooter had a total of 11 at the WC Munich with a score of 6? Context: CREATE TABLE table_name_18 (shooter VARCHAR, score_points VARCHAR, total VARCHAR, event VARCHAR) Answer:
SELECT shooter FROM table_name_18 WHERE total = "11" AND event = "wc munich" AND score_points = "6"
Question: What is the event where there are 10 score points? Context: CREATE TABLE table_name_10 (event VARCHAR, score_points VARCHAR) Answer:
SELECT event FROM table_name_10 WHERE score_points = "10"
Question: Who is the shooter that is the Defending Champion? Context: CREATE TABLE table_name_63 (shooter VARCHAR, total VARCHAR) Answer:
SELECT shooter FROM table_name_63 WHERE total = "defending champion"
Question: Which owner had MRT 1 HD? Context: CREATE TABLE table_name_73 (owner VARCHAR, name VARCHAR) Answer:
SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd"
Question: What is the programming for mrt sobraniski kanal? Context: CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR) Answer:
SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal"
Question: What is the type for a general programming and the owner tv kanal 5? Context: CREATE TABLE table_name_73 (type VARCHAR, programming VARCHAR, owner VARCHAR) Answer:
SELECT type FROM table_name_73 WHERE programming = "general" AND owner = "tv kanal 5"
Question: What is the programming for Kanal 5? Context: CREATE TABLE table_name_20 (programming VARCHAR, name VARCHAR) Answer:
SELECT programming FROM table_name_20 WHERE name = "kanal 5"
Question: What was the surface on march 2, 1997? Context: CREATE TABLE table_name_91 (surface VARCHAR, date VARCHAR) Answer:
SELECT surface FROM table_name_91 WHERE date = "march 2, 1997"
Question: What was the result when the partner was magdalena maleeva? Context: CREATE TABLE table_name_16 (result VARCHAR, partner VARCHAR) Answer:
SELECT result FROM table_name_16 WHERE partner = "magdalena maleeva"
Question: What edition had magdalena maleeva as partner? Context: CREATE TABLE table_name_34 (edition VARCHAR, partner VARCHAR) Answer:
SELECT edition FROM table_name_34 WHERE partner = "magdalena maleeva"
Question: Who was partner for the 1988 world group i edition? Context: CREATE TABLE table_name_23 (partner VARCHAR, edition VARCHAR) Answer:
SELECT partner FROM table_name_23 WHERE edition = "1988 world group i"
Question: What was the result on july 16, 1992? Context: CREATE TABLE table_name_4 (result VARCHAR, date VARCHAR) Answer:
SELECT result FROM table_name_4 WHERE date = "july 16, 1992"
Question: What is the event that is in 8th position? Context: CREATE TABLE table_name_70 (event VARCHAR, position VARCHAR) Answer:
SELECT event FROM table_name_70 WHERE position = "8th"
Question: What is the event in a year before 1989? Context: CREATE TABLE table_name_37 (event VARCHAR, year INTEGER) Answer:
SELECT event FROM table_name_37 WHERE year < 1989
Question: What is the total medals in 1964? Context: CREATE TABLE table_name_24 (total INTEGER, year_s__won VARCHAR) Answer:
SELECT MIN(total) FROM table_name_24 WHERE year_s__won = "1964"
Question: How many kills when percentage is more than 0.313, attempts are more than 1035 and assists are larger than 57? Context: CREATE TABLE table_name_32 (kills VARCHAR, assists VARCHAR, percentage VARCHAR, total_attempts VARCHAR) Answer:
SELECT COUNT(kills) FROM table_name_32 WHERE percentage > 0.313 AND total_attempts > 1035 AND assists > 57
Question: What is the highest percentage when there are more than 361 blocks? Context: CREATE TABLE table_name_66 (percentage INTEGER, total_blocks INTEGER) Answer:
SELECT MAX(percentage) FROM table_name_66 WHERE total_blocks > 361
Question: What is the total blocks when there are less than 210 digs and the total attempts are more than 1116? Context: CREATE TABLE table_name_78 (total_blocks INTEGER, digs VARCHAR, total_attempts VARCHAR) Answer:
SELECT AVG(total_blocks) FROM table_name_78 WHERE digs < 210 AND total_attempts > 1116
Question: Which English has German of leben? Context: CREATE TABLE table_name_26 (english VARCHAR, german VARCHAR) Answer:
SELECT english FROM table_name_26 WHERE german = "leben"
Question: Which Plautdietsch has Dutch of maken? Context: CREATE TABLE table_name_61 (plautdietsch VARCHAR, dutch VARCHAR) Answer:
SELECT plautdietsch FROM table_name_61 WHERE dutch = "maken"
Question: Which English has Dutch of tong? Context: CREATE TABLE table_name_26 (english VARCHAR, dutch VARCHAR) Answer:
SELECT english FROM table_name_26 WHERE dutch = "tong"
Question: Which English has Plautdietsch of aupel? Context: CREATE TABLE table_name_64 (english VARCHAR, plautdietsch VARCHAR) Answer:
SELECT english FROM table_name_64 WHERE plautdietsch = "aupel"
Question: Which English has Dutch of maken? Context: CREATE TABLE table_name_37 (english VARCHAR, dutch VARCHAR) Answer:
SELECT english FROM table_name_37 WHERE dutch = "maken"
Question: Can you tell me the Country that has the Year(s) Won of 1988? Context: CREATE TABLE table_name_21 (country VARCHAR, year_s__won VARCHAR) Answer:
SELECT country FROM table_name_21 WHERE year_s__won = "1988"
Question: Can you tell me the average Total that has the To par smaller than 10, and the Country of south korea? Context: CREATE TABLE table_name_60 (total INTEGER, to_par VARCHAR, country VARCHAR) Answer:
SELECT AVG(total) FROM table_name_60 WHERE to_par < 10 AND country = "south korea"
Question: Can you tell me the Year(s) Won that has the Country of united states, and the Total larger than 152? Context: CREATE TABLE table_name_62 (year_s__won VARCHAR, country VARCHAR, total VARCHAR) Answer:
SELECT year_s__won FROM table_name_62 WHERE country = "united states" AND total > 152
Question: Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states? Context: CREATE TABLE table_name_18 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR, total VARCHAR) Answer:
SELECT year_s__won FROM table_name_18 WHERE to_par > 5 AND total < 155 AND country = "united states"
Question: What golfer has a greater than 293 total, and won in 1989? Context: CREATE TABLE table_name_34 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) Answer:
SELECT player FROM table_name_34 WHERE total > 293 AND year_s__won = "1989"
Question: What is the maximum total when the To par is +3? Context: CREATE TABLE table_name_16 (total INTEGER, to_par VARCHAR) Answer:
SELECT MAX(total) FROM table_name_16 WHERE to_par = "+3"
Question: What golfer has 281 as their total? Context: CREATE TABLE table_name_52 (player VARCHAR, total VARCHAR) Answer:
SELECT player FROM table_name_52 WHERE total = 281
Question: What is the highest capacity of the tsentral stadium (batumi)? Context: CREATE TABLE table_name_95 (capacity INTEGER, stadium VARCHAR) Answer:
SELECT MAX(capacity) FROM table_name_95 WHERE stadium = "tsentral stadium (batumi)"
Question: What clubs are in the evgrapi shevardnadze stadium? Context: CREATE TABLE table_name_17 (clubs VARCHAR, stadium VARCHAR) Answer:
SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze stadium"
Question: What is the stadium of the zooveti tbilisi club? Context: CREATE TABLE table_name_27 (stadium VARCHAR, clubs VARCHAR) Answer:
SELECT stadium FROM table_name_27 WHERE clubs = "zooveti tbilisi"
Question: What college had Jim Leonhard Category:articles with hcards? Context: CREATE TABLE table_name_79 (college VARCHAR, player VARCHAR) Answer:
SELECT college FROM table_name_79 WHERE player = "jim leonhard category:articles with hcards"
Question: Who's the original team for Rashied Davis Category:articles with hcards? Context: CREATE TABLE table_name_25 (original_nfl_team VARCHAR, player VARCHAR) Answer:
SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards"
Question: What college has Lance Moore Category:articles with hcards? Context: CREATE TABLE table_name_94 (college VARCHAR, player VARCHAR) Answer:
SELECT college FROM table_name_94 WHERE player = "lance moore category:articles with hcards"
Question: What's the original NFL team when the POS is S and college is Georgia Tech? Context: CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR) Answer:
SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech"
Question: What is the date of birth of Oliver Buell's child? Context: CREATE TABLE table_name_32 (date_of_birth VARCHAR, child VARCHAR) Answer:
SELECT date_of_birth FROM table_name_32 WHERE child = "oliver buell"
Question: Who is the father that was born on January 2, 1842? Context: CREATE TABLE table_name_30 (father VARCHAR, date_of_birth VARCHAR) Answer:
SELECT father FROM table_name_30 WHERE date_of_birth = "january 2, 1842"
Question: Who is the father of the child whose mother is Presendia Huntington Buell? Context: CREATE TABLE table_name_58 (father VARCHAR, mother VARCHAR) Answer:
SELECT father FROM table_name_58 WHERE mother = "presendia huntington buell"
Question: What was the place in Germany with a score of 69-69=138? Context: CREATE TABLE table_name_24 (place VARCHAR, country VARCHAR, score VARCHAR) Answer:
SELECT place FROM table_name_24 WHERE score = 69 - 69 = 138 AND country = "germany"
Question: What is the country that has a place of T6 that Eduardo Romero plays for? Context: CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR) Answer:
SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero"
Question: What is the to par for Scotland? Context: CREATE TABLE table_name_96 (to_par VARCHAR, country VARCHAR) Answer:
SELECT to_par FROM table_name_96 WHERE country = "scotland"
Question: What is the score for Darren Clarke? Context: CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) Answer:
SELECT score FROM table_name_73 WHERE player = "darren clarke"
Question: What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played? Context: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) Answer:
SELECT country FROM table_name_17 WHERE place = "t6" AND score = 69 - 69 = 138 AND player = "niclas fasth"
Question: What's the total losses that has more than 12 wins and 1017 against? Context: CREATE TABLE table_name_42 (losses VARCHAR, against VARCHAR, wins VARCHAR) Answer:
SELECT COUNT(losses) FROM table_name_42 WHERE against = 1017 AND wins > 12
Question: What's the most wins of Tatong? Context: CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR) Answer:
SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = "tatong"
Question: What's the most number of byes for Longwood having less than 1944 against? Context: CREATE TABLE table_name_13 (byes INTEGER, benalla_dfl VARCHAR, against VARCHAR) Answer:
SELECT MAX(byes) FROM table_name_13 WHERE benalla_dfl = "longwood" AND against < 1944
Question: What is the smallest number against when the draws are less than 0? Context: CREATE TABLE table_name_21 (against INTEGER, draws INTEGER) Answer:
SELECT MIN(against) FROM table_name_21 WHERE draws < 0
Question: What are the average byes of Bonnie Doon having more than 16 wins? Context: CREATE TABLE table_name_54 (byes INTEGER, benalla_dfl VARCHAR, wins VARCHAR) Answer:
SELECT AVG(byes) FROM table_name_54 WHERE benalla_dfl = "bonnie doon" AND wins > 16
Question: What is Rovigo's Club? Context: CREATE TABLE table_name_91 (club VARCHAR, city VARCHAR) Answer:
SELECT club FROM table_name_91 WHERE city = "rovigo"
Question: What 2007-08 had A.S. Gubbio 1910 Club? Context: CREATE TABLE table_name_15 (club VARCHAR) Answer:
SELECT 2007 AS _08_season FROM table_name_15 WHERE club = "a.s. gubbio 1910"
Question: Which country had a total of 295? Context: CREATE TABLE table_name_49 (country VARCHAR, total VARCHAR) Answer:
SELECT country FROM table_name_49 WHERE total = 295
Question: On what Date is West Ham United the Home team? Context: CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) Answer:
SELECT date FROM table_name_35 WHERE home_team = "west ham united"
Question: On what Date was the Score 4–1? Context: CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) Answer:
SELECT date FROM table_name_76 WHERE score = "4–1"
Question: What is the Away team of Tie no 1? Context: CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR) Answer:
SELECT away_team FROM table_name_68 WHERE tie_no = "1"
Question: What is the Tie no when Crystal Palace is the Away team? Context: CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR) Answer:
SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace"
Question: What is the Home team of Tie no 11? Context: CREATE TABLE table_name_66 (home_team VARCHAR, tie_no VARCHAR) Answer:
SELECT home_team FROM table_name_66 WHERE tie_no = "11"
Question: On what Date is West Ham United the Home team? Context: CREATE TABLE table_name_84 (date VARCHAR, home_team VARCHAR) Answer:
SELECT date FROM table_name_84 WHERE home_team = "west ham united"
Question: What kind of Week 4 has a Week 1 of sheila levell? Context: CREATE TABLE table_name_10 (week_4 VARCHAR, week_1 VARCHAR) Answer:
SELECT week_4 FROM table_name_10 WHERE week_1 = "sheila levell"
Question: What kind of Week 2 has a Week 4 of araya robinson? Context: CREATE TABLE table_name_15 (week_2 VARCHAR, week_4 VARCHAR) Answer:
SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson"
Question: What kind of Week 4 has a Week 2 of tiffany logan? Context: CREATE TABLE table_name_65 (week_4 VARCHAR, week_2 VARCHAR) Answer:
SELECT week_4 FROM table_name_65 WHERE week_2 = "tiffany logan"
Question: what kind of Week 5 that has a Week 1 of mandy ashford? Context: CREATE TABLE table_name_68 (week_5 VARCHAR, week_1 VARCHAR) Answer:
SELECT week_5 FROM table_name_68 WHERE week_1 = "mandy ashford"
Question: What kind of Week 2 that has a Week 1 of mandy ashford? Context: CREATE TABLE table_name_91 (week_2 VARCHAR, week_1 VARCHAR) Answer:
SELECT week_2 FROM table_name_91 WHERE week_1 = "mandy ashford"
Question: What Week 2 that has a Week 1 of mackenzie ryan? Context: CREATE TABLE table_name_81 (week_2 VARCHAR, week_1 VARCHAR) Answer:
SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan"
Question: What is the name when weight shows head coach: Aleksandr Kabanov? Context: CREATE TABLE table_name_70 (name VARCHAR, weight VARCHAR) Answer:
SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov"
Question: What is the park & ride lot for the Temple Square station? Context: CREATE TABLE table_name_97 (park_and_ride_lot VARCHAR, station_name VARCHAR) Answer:
SELECT park_and_ride_lot FROM table_name_97 WHERE station_name = "temple square"
Question: For the Temple Square station, what is the park & ride lot name? Context: CREATE TABLE table_name_53 (park_and_ride_lot VARCHAR, station_name VARCHAR) Answer:
SELECT park_and_ride_lot FROM table_name_53 WHERE station_name = "temple square"
Question: Which station was opened in 2013, with no park & ride lot? Context: CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR) Answer:
SELECT station_name FROM table_name_99 WHERE opening_year = "2013" AND park_and_ride_lot = "no"
Question: Where is the free fare zone for the Arena station? Context: CREATE TABLE table_name_65 (free_fare_zone VARCHAR, station_name VARCHAR) Answer:
SELECT free_fare_zone FROM table_name_65 WHERE station_name = "arena"
Question: Calvin Abueva Calvin Abueva had what statistic? Context: CREATE TABLE table_name_70 (statistic VARCHAR, name VARCHAR) Answer:
SELECT statistic FROM table_name_70 WHERE name = "calvin abueva calvin abueva"
Question: When the opposing team was SSC-R what was the statistic? Context: CREATE TABLE table_name_79 (statistic VARCHAR, opponent VARCHAR) Answer:
SELECT statistic FROM table_name_79 WHERE opponent = "ssc-r"
Question: When SSC-R is the opponent what is the name? Context: CREATE TABLE table_name_70 (name VARCHAR, opponent VARCHAR) Answer:
SELECT name FROM table_name_70 WHERE opponent = "ssc-r"
Question: With a statistic of most points, what is the stage? Context: CREATE TABLE table_name_7 (stage VARCHAR, statistic VARCHAR) Answer:
SELECT stage FROM table_name_7 WHERE statistic = "most points"
Question: When the opposing team was CSB UPHDS what was the total? Context: CREATE TABLE table_name_49 (total VARCHAR, opponent VARCHAR) Answer:
SELECT total FROM table_name_49 WHERE opponent = "csb uphds"