answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT MIN(1965) FROM table_name_38 WHERE 1962 = 0.35000000000000003 AND 1967 < 0.53 | CREATE TABLE table_name_38 (Id VARCHAR) | Which 1965 has a 1962 of 0.35000000000000003, and a 1967 smaller than 0.53? |
SELECT cross_code_debut FROM table_name_68 WHERE player = "bev risman" | CREATE TABLE table_name_68 (cross_code_debut VARCHAR, player VARCHAR) | What is Bev Risman's Cross Code Debut? |
SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france" | CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR) | What is the Player with a Cross Code Debut of RL Test GB v France? |
SELECT year FROM table_name_73 WHERE cross_code_debut = "rl test v wales" AND player = "keith smith" | CREATE TABLE table_name_73 (year VARCHAR, cross_code_debut VARCHAR, player VARCHAR) | In what Year is Keith Smith's Cross Code Debut RL Test v Wales? |
SELECT date FROM table_name_66 WHERE year = "1967" | CREATE TABLE table_name_66 (date VARCHAR, year VARCHAR) | What is the Date of the Int'l Debut of 1967? |
SELECT player FROM table_name_41 WHERE year = "1974" | CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR) | What is the Player in the Int'l Debut of 1974? |
SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 11 | CREATE TABLE table_name_73 (lane INTEGER, time VARCHAR, heat VARCHAR) | What lane has a time of 24.83 and a heat less than 11? |
SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot" | CREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR) | What is the total number of heat for Chinyere Pigot? |
SELECT name FROM table_name_69 WHERE lane = 1 AND nationality = "mauritius" | CREATE TABLE table_name_69 (name VARCHAR, lane VARCHAR, nationality VARCHAR) | What is the name for lane 1, from Mauritius? |
SELECT player FROM table_name_21 WHERE total < 287 AND year_s__won = "1988" | CREATE TABLE table_name_21 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) | Who won in 1988 with a total less than 287? |
SELECT country FROM table_name_21 WHERE player = "larry mize" | CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) | What country is Larry Mize from? |
SELECT MIN(bronze) FROM table_name_87 WHERE total < 1 | CREATE TABLE table_name_87 (bronze INTEGER, total INTEGER) | What is the lowest number of bronze medals for a nation with fewer than 1 total medal? |
SELECT team FROM table_name_26 WHERE rider = "frank hulbert" | CREATE TABLE table_name_26 (team VARCHAR, rider VARCHAR) | What team is Frank Hulbert on? |
SELECT rank FROM table_name_95 WHERE rider = "martin geiger" | CREATE TABLE table_name_95 (rank VARCHAR, rider VARCHAR) | What was Martin Geiger's rank? |
SELECT rank FROM table_name_86 WHERE rider = "tom silver" | CREATE TABLE table_name_86 (rank VARCHAR, rider VARCHAR) | What was Tom Silver's rank? |
SELECT player FROM table_name_97 WHERE debut = "age 18 v plymouth , 14 august 2012" AND born = "portsmouth" | CREATE TABLE table_name_97 (player VARCHAR, debut VARCHAR, born VARCHAR) | Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth? |
SELECT born FROM table_name_63 WHERE current_club = "elfsborg" | CREATE TABLE table_name_63 (born VARCHAR, current_club VARCHAR) | Where was the player whose Current Club Elfsborg born? |
SELECT debut FROM table_name_82 WHERE born = "poole" | CREATE TABLE table_name_82 (debut VARCHAR, born VARCHAR) | What is the debut for the person born in Poole? |
SELECT current_club FROM table_name_9 WHERE player = "sam magri" | CREATE TABLE table_name_9 (current_club VARCHAR, player VARCHAR) | What is the club for Sam Magri? |
SELECT manager FROM table_name_54 WHERE current_club = "atlético baleares" | CREATE TABLE table_name_54 (manager VARCHAR, current_club VARCHAR) | What is the name of the manager of the Atlético Baleares? |
SELECT best_blocker FROM table_name_94 WHERE league_champion = "queens of pain" AND cantsleep_award = "chassis crass (brooklyn)" | CREATE TABLE table_name_94 (best_blocker VARCHAR, league_champion VARCHAR, cantsleep_award VARCHAR) | Who was the best blocker for the year that has a League Champion of queens of pain, and a C.A.N.T.S.L.E.E.P. Award of chassis crass (brooklyn)? |
SELECT arena FROM table_name_2 WHERE points > 28 AND date = "december 14" | CREATE TABLE table_name_2 (arena VARCHAR, points VARCHAR, date VARCHAR) | Which Arena has Points larger than 28, and a Date of december 14? |
SELECT COUNT(points) FROM table_name_39 WHERE arena = "bell centre" | CREATE TABLE table_name_39 (points VARCHAR, arena VARCHAR) | How many Points have an Arena of bell centre? |
SELECT SUM(attendance) FROM table_name_86 WHERE loss = "divis (0–3–0)" AND points < 38 | CREATE TABLE table_name_86 (attendance INTEGER, loss VARCHAR, points VARCHAR) | How much Attendance has a Loss of divis (0–3–0), and Points smaller than 38? |
SELECT 2 AS nd_run FROM table_name_69 WHERE rank < 6 AND total = 3 | CREATE TABLE table_name_69 (rank VARCHAR, total VARCHAR) | What 2nd run has a less than 6 rank, and 3 as the total? |
SELECT COUNT(year) FROM table_name_55 WHERE game = "call of duty 4: modern warfare" | CREATE TABLE table_name_55 (year VARCHAR, game VARCHAR) | What is the sum number of year when Call of Duty 4: Modern Warfare was the game? |
SELECT MIN(year) FROM table_name_35 WHERE genre = "action" | CREATE TABLE table_name_35 (year INTEGER, genre VARCHAR) | What is the earliest year when action was the genre? |
SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal" | CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR) | What is the smallest year when Ubisoft Montreal was the developer (s)? |
SELECT MAX(year) FROM table_name_63 WHERE game = "call of duty 4: modern warfare" | CREATE TABLE table_name_63 (year INTEGER, game VARCHAR) | What is the latest year when Call of Duty 4: Modern Warfare was the game? |
SELECT Lieutenant AS governor FROM table_name_21 WHERE left_office = "january 14, 1929" | CREATE TABLE table_name_21 (Lieutenant VARCHAR, left_office VARCHAR) | Who was Lieutenant Governor to the governor that left office on January 14, 1929? |
SELECT governor FROM table_name_88 WHERE took_office = "january 8, 1877" | CREATE TABLE table_name_88 (governor VARCHAR, took_office VARCHAR) | Which governor took office on January 8, 1877? |
SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 2000" | CREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR) | Who was lieutenant governor to the governor that left office on October 16, 2000? |
SELECT terms FROM table_name_46 WHERE left_office = "august 4, 1825" | CREATE TABLE table_name_46 (terms VARCHAR, left_office VARCHAR) | How many terms did the governor that left office on August 4, 1825 serve? |
SELECT ihsaa_class FROM table_name_84 WHERE school = "shakamak" | CREATE TABLE table_name_84 (ihsaa_class VARCHAR, school VARCHAR) | Which IHSAA Class has a School of shakamak? |
SELECT county FROM table_name_32 WHERE school = "bloomfield" | CREATE TABLE table_name_32 (county VARCHAR, school VARCHAR) | Which County has a School of bloomfield? |
SELECT COUNT(enrollment) FROM table_name_56 WHERE school = "shakamak" | CREATE TABLE table_name_56 (enrollment VARCHAR, school VARCHAR) | How much Enrollment has a School of shakamak? |
SELECT ihsaa_class FROM table_name_10 WHERE mascot = "bulldogs" | CREATE TABLE table_name_10 (ihsaa_class VARCHAR, mascot VARCHAR) | Which IHSAA Class has a Mascot of bulldogs? |
SELECT 1996 FROM table_name_53 WHERE 1986 = "1r" | CREATE TABLE table_name_53 (Id VARCHAR) | What's the 1996 if 1986 has a 1R? |
SELECT 1986 FROM table_name_51 WHERE 1991 = "qf" AND 1998 = "3r" | CREATE TABLE table_name_51 (Id VARCHAR) | What's the 1986 if 1991 has a QF and 1998 has a 3R? |
SELECT 1997 FROM table_name_99 WHERE 1999 = "1r" AND 1995 = "3r" AND 1993 = "1r" | CREATE TABLE table_name_99 (Id VARCHAR) | What's the 1997 if 1993 has a 1R, 1995 has a 3R, and 1999 has a 1R? |
SELECT 1994 FROM table_name_84 WHERE 1995 = "1r" | CREATE TABLE table_name_84 (Id VARCHAR) | What's the 1994 if 1995 has a 1R? |
SELECT tournament FROM table_name_6 WHERE 1992 = "a" | CREATE TABLE table_name_6 (tournament VARCHAR) | What's the tournament when 1992 is A? |
SELECT 1997 FROM table_name_72 WHERE 1999 = "1r" AND 1992 = "qf" AND 1995 = "1r" | CREATE TABLE table_name_72 (Id VARCHAR) | What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R? |
SELECT MAX(league_cup_apps) FROM table_name_74 WHERE league_cup_goals = 0 AND name = "jimmy lawson" | CREATE TABLE table_name_74 (league_cup_apps INTEGER, league_cup_goals VARCHAR, name VARCHAR) | What's the most league cup apps for Jimmy Lawson having 0 league cup goals? |
SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan sweeney" AND league_cup_apps < 0 | CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR) | What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps? |
SELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 0 | CREATE TABLE table_name_15 (league_cup_apps VARCHAR, league_goals INTEGER) | What's the total number of league cup apps when the league goals were less than 0? |
SELECT location FROM table_name_15 WHERE date = "september 3" | CREATE TABLE table_name_15 (location VARCHAR, date VARCHAR) | Where was the September 3 game? |
SELECT game FROM table_name_2 WHERE date = "september 12" | CREATE TABLE table_name_2 (game VARCHAR, date VARCHAR) | Which game was on September 12? |
SELECT rank FROM table_name_4 WHERE county = "cork" | CREATE TABLE table_name_4 (rank VARCHAR, county VARCHAR) | What is cork's rank? |
SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2 | CREATE TABLE table_name_27 (total INTEGER, county VARCHAR, rank VARCHAR) | How many totals does cork have whose rank is larger than 2? |
SELECT matches FROM table_name_7 WHERE tally = "1-38" | CREATE TABLE table_name_7 (matches VARCHAR, tally VARCHAR) | Which Matches have a Tally of 1-38? |
SELECT silver FROM table_name_7 WHERE bronze > 0 AND total < 54 AND nation = "spain" | CREATE TABLE table_name_7 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals? |
SELECT MAX(gold) FROM table_name_78 WHERE silver < 0 | CREATE TABLE table_name_78 (gold INTEGER, silver INTEGER) | What was the highest number of gold medals when there were 0 silver medals? |
SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil" | CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR) | What's Brazil's rank when it has notes of R? |
SELECT peak_position FROM table_name_21 WHERE date = "10 june 1998" | CREATE TABLE table_name_21 (peak_position VARCHAR, date VARCHAR) | Which Peak Position has a Date of 10 june 1998? |
SELECT report FROM table_name_85 WHERE date = "june 3, 2000" | CREATE TABLE table_name_85 (report VARCHAR, date VARCHAR) | What Report is on June 3, 2000? |
SELECT report FROM table_name_18 WHERE date = "november 15, 2000" | CREATE TABLE table_name_18 (report VARCHAR, date VARCHAR) | What is the Report on November 15, 2000? |
SELECT score FROM table_name_45 WHERE date = "october 7, 2000" | CREATE TABLE table_name_45 (score VARCHAR, date VARCHAR) | What is the Score on October 7, 2000? |
SELECT santo_domingo_, _dominican FROM table_name_79 WHERE world_record = "clean & jerk" | CREATE TABLE table_name_79 (santo_domingo_ VARCHAR, _dominican VARCHAR, world_record VARCHAR) | What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk? |
SELECT AVG(fips_code) FROM table_name_70 WHERE area = "114.76 sq mi (297.23 sq km)" AND population__2010_ < 166 OFFSET 327 | CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR) | What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327? |
SELECT AVG(founded) FROM table_name_9 WHERE municipality = "yauco" AND population__2010_ > 42 OFFSET 043 | CREATE TABLE table_name_9 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR) | In what year was Yauco, which had over 42,043 people in 2010, founded? |
SELECT MAX(attendance) FROM table_name_67 WHERE result = "l 38-20" AND week < 9 | CREATE TABLE table_name_67 (attendance INTEGER, result VARCHAR, week VARCHAR) | What is the attendance for a week smaller than 9 with a result of L 38-20? |
SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 | CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR) | Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? |
SELECT county FROM table_name_17 WHERE location = "shelbyville" | CREATE TABLE table_name_17 (county VARCHAR, location VARCHAR) | Can you tell me the County that has the Location of shelbyville? |
SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917 | CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR) | How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? |
SELECT tonnage___grt__ FROM table_name_11 WHERE fate = "sunk" AND deaths < 17 AND date = "16 november 1940" | CREATE TABLE table_name_11 (tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR) | Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940? |
SELECT SUM(tonnage___grt__) FROM table_name_83 WHERE fate = "sunk" AND flag = "great britain" AND date = "26 september 1940" AND deaths = 2 | CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR) | How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2? |
SELECT MIN(tonnage___grt__) FROM table_name_84 WHERE date = "26 september 1940" AND ship_name = "ashantian" | CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) | Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? |
SELECT MAX(lane) FROM table_name_85 WHERE country = "brazil" AND rank < 8 | CREATE TABLE table_name_85 (lane INTEGER, country VARCHAR, rank VARCHAR) | What is the highest lane for Brazil, ranked less than 8? |
SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789 | CREATE TABLE table_name_12 (total_population VARCHAR, male INTEGER) | What is the total population with less than 789 males? |
SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666 | CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR) | What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households? |
SELECT COUNT(female) FROM table_name_65 WHERE total_population < 2 OFFSET 195 | CREATE TABLE table_name_65 (female VARCHAR, total_population INTEGER) | What is the total number of females where the total population is less than 2,195? |
SELECT outcome FROM table_name_13 WHERE partner = "iryna bremond" | CREATE TABLE table_name_13 (outcome VARCHAR, partner VARCHAR) | What was the outcome when the partner was Iryna Bremond? |
SELECT tournament FROM table_name_90 WHERE score = "6–3, 2–6, [10–8]" | CREATE TABLE table_name_90 (tournament VARCHAR, score VARCHAR) | What tournament had a Score of 6–3, 2–6, [10–8]? |
SELECT partner FROM table_name_28 WHERE surface = "clay" AND outcome = "runner-up" AND score = "4–6, 1–6" | CREATE TABLE table_name_28 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6? |
SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez" | CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR) | What is the rank of Manuel Cortina Martínez? |
SELECT SUM(rank) FROM table_name_23 WHERE time = "1:40.626" | CREATE TABLE table_name_23 (rank INTEGER, time VARCHAR) | What is the rank if the person with a time of 1:40.626? |
SELECT MAX(rank) FROM table_name_62 WHERE time = "1:44.757" | CREATE TABLE table_name_62 (rank INTEGER, time VARCHAR) | What is the rank of the person with a time of 1:44.757? |
SELECT MAX(rank) FROM table_name_97 WHERE country = "israel" | CREATE TABLE table_name_97 (rank INTEGER, country VARCHAR) | What is the rank of Israel? |
SELECT athletes FROM table_name_97 WHERE country = "myanmar" | CREATE TABLE table_name_97 (athletes VARCHAR, country VARCHAR) | What is the name of the athlete from Myanmar? |
SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "1:48.179" | CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR) | What are the notes for the person ranked larger than 2, and a time of 1:48.179? |
SELECT MIN(chorley) FROM table_name_99 WHERE preston = 6 AND west_lancashire < 4 | CREATE TABLE table_name_99 (chorley INTEGER, preston VARCHAR, west_lancashire VARCHAR) | What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire? |
SELECT AVG(fylde) FROM table_name_57 WHERE burnley < 0 | CREATE TABLE table_name_57 (fylde INTEGER, burnley INTEGER) | What is the average rating for a Flyde that has a Burnley less than 0? |
SELECT MAX(west_lancashire) FROM table_name_15 WHERE pendle > 1 AND rossendale > 2 | CREATE TABLE table_name_15 (west_lancashire INTEGER, pendle VARCHAR, rossendale VARCHAR) | What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2? |
SELECT AVG(chorley) FROM table_name_96 WHERE rossendale > 0 AND party = "labour" AND pendle < 1 | CREATE TABLE table_name_96 (chorley INTEGER, pendle VARCHAR, rossendale VARCHAR, party VARCHAR) | What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1? |
SELECT season FROM table_name_79 WHERE top_goalscorer = "schädlich" | CREATE TABLE table_name_79 (season VARCHAR, top_goalscorer VARCHAR) | In what season was Schädlich the top goalscorer? |
SELECT avgatt FROM table_name_90 WHERE rank = "5" | CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR) | What is the average attendance when the rank is 5? |
SELECT speed FROM table_name_13 WHERE rider = "chris swallow" | CREATE TABLE table_name_13 (speed VARCHAR, rider VARCHAR) | What is the Speed for Chris Swallow? |
SELECT speed FROM table_name_36 WHERE rank > 2 AND team = "500cc norton manx" | CREATE TABLE table_name_36 (speed VARCHAR, rank VARCHAR, team VARCHAR) | What is the speed when the rank is larger than 2, and team is 500cc norton manx? |
SELECT time FROM table_name_94 WHERE rider = "alan oversby" | CREATE TABLE table_name_94 (time VARCHAR, rider VARCHAR) | What is the time for Alan Oversby? |
SELECT speed FROM table_name_28 WHERE rank < 3 AND time = "1:06.19.90" | CREATE TABLE table_name_28 (speed VARCHAR, rank VARCHAR, time VARCHAR) | What is the Speed when the rank is smaller than 3, and time is 1:06.19.90? |
SELECT team FROM table_name_36 WHERE time = "1:11.19.89" | CREATE TABLE table_name_36 (team VARCHAR, time VARCHAR) | What is the team when the time is 1:11.19.89? |
SELECT actor FROM table_name_83 WHERE character = "helga beimer" | CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR) | Which actor plays the character Helga Beimer? |
SELECT character FROM table_name_13 WHERE actor = "nadine spruß" | CREATE TABLE table_name_13 (character VARCHAR, actor VARCHAR) | How long did the soap opera run in which Nadine Spruß acted in? |
SELECT duration FROM table_name_2 WHERE character = "clemens richter" | CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR) | How many years did the soap opera run in which the character Clemens Richter was included? |
SELECT years FROM table_name_88 WHERE soap_opera = "marienhof" AND duration = "10 years" AND actor = "leonore capell" | CREATE TABLE table_name_88 (years VARCHAR, actor VARCHAR, soap_opera VARCHAR, duration VARCHAR) | What years did Marienhof run, which featured Leonore Capell and lasted 10 years? |
SELECT opponent FROM table_name_89 WHERE week = 6 | CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR) | Who was the opponent in week 6? |
SELECT result FROM table_name_86 WHERE opponent = "carolina panthers" | CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR) | What's the result when the Carolina Panthers were the opponent? |
SELECT date FROM table_name_29 WHERE result = "w 41-0" | CREATE TABLE table_name_29 (date VARCHAR, result VARCHAR) | What date had a result of W 41-0? |
SELECT attendance FROM table_name_95 WHERE week > 16 | CREATE TABLE table_name_95 (attendance VARCHAR, week INTEGER) | What's the attendance when the week was more than 16? |
Subsets and Splits