question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Who's the actor for the Archers having a character of Martha Woodford? | CREATE TABLE table_name_14 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR) | SELECT actor FROM table_name_14 WHERE soap_opera = "the archers" AND character = "martha woodford" |
Who's the character when Margot Boyd was acting? | CREATE TABLE table_name_34 (character VARCHAR, actor VARCHAR) | SELECT character FROM table_name_34 WHERE actor = "margot boyd" |
What were the notes for the time of 6:34.51? | CREATE TABLE table_name_56 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_56 WHERE time = "6:34.51" |
What is the rank for the rowers with the time of 6:24.35? | CREATE TABLE table_name_51 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_51 WHERE time = "6:24.35" |
Which rowers represented portugal and had notes of r? | CREATE TABLE table_name_14 (rowers VARCHAR, notes VARCHAR, country VARCHAR) | SELECT rowers FROM table_name_14 WHERE notes = "r" AND country = "portugal" |
Which rowers represented the country of portugal? | CREATE TABLE table_name_4 (rowers VARCHAR, country VARCHAR) | SELECT rowers FROM table_name_4 WHERE country = "portugal" |
what is the average races when points is 9 and poles is less than 0? | CREATE TABLE table_name_61 (races INTEGER, points VARCHAR, poles VARCHAR) | SELECT AVG(races) FROM table_name_61 WHERE points = "9" AND poles < 0 |
what is the series when wins is less than 3, points is 9 and podiums is 1? | CREATE TABLE table_name_7 (series VARCHAR, podiums VARCHAR, wins VARCHAR, points VARCHAR) | SELECT series FROM table_name_7 WHERE wins < 3 AND points = "9" AND podiums = 1 |
how many times is races more than 14, position is 9th and wins less than 0? | CREATE TABLE table_name_48 (season VARCHAR, wins VARCHAR, races VARCHAR, position VARCHAR) | SELECT COUNT(season) FROM table_name_48 WHERE races > 14 AND position = "9th" AND wins < 0 |
Who was the runner-up during the Mac Ice Classic? | CREATE TABLE table_name_51 (runner_up_skip VARCHAR, event VARCHAR) | SELECT runner_up_skip FROM table_name_51 WHERE event = "mac ice classic" |
What's the date when Stu Harris was the Runner-up? | CREATE TABLE table_name_58 (date VARCHAR, runner_up_skip VARCHAR) | SELECT date FROM table_name_58 WHERE runner_up_skip = "stu harris" |
What's the location of the Ramada Perth Masters event? | CREATE TABLE table_name_33 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_33 WHERE event = "ramada perth masters" |
What's the location of the National event with Kevin Martin winning? | CREATE TABLE table_name_49 (location VARCHAR, winning_skip VARCHAR, event VARCHAR) | SELECT location FROM table_name_49 WHERE winning_skip = "kevin martin" AND event = "the national" |
What's the event that happened in Gander, Newfoundland and Labrador with Randy Ferbey runner-up? | CREATE TABLE table_name_91 (event VARCHAR, runner_up_skip VARCHAR, location VARCHAR) | SELECT event FROM table_name_91 WHERE runner_up_skip = "randy ferbey" AND location = "gander, newfoundland and labrador" |
What's the location of the National event? | CREATE TABLE table_name_97 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_97 WHERE event = "the national" |
Which Arena has a Date of october 10? | CREATE TABLE table_name_13 (arena VARCHAR, date VARCHAR) | SELECT arena FROM table_name_13 WHERE date = "october 10" |
Which Attendance has a Score of 4–3, and Points smaller than 5? | CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR, points VARCHAR) | SELECT MAX(attendance) FROM table_name_13 WHERE score = "4–3" AND points < 5 |
Which Attendance has an Arena of arrowhead pond of anaheim, and Points smaller than 5? | CREATE TABLE table_name_20 (attendance VARCHAR, arena VARCHAR, points VARCHAR) | SELECT attendance FROM table_name_20 WHERE arena = "arrowhead pond of anaheim" AND points < 5 |
How much Attendance has an Arena of arrowhead pond of anaheim, and Points of 5? | CREATE TABLE table_name_30 (attendance INTEGER, arena VARCHAR, points VARCHAR) | SELECT SUM(attendance) FROM table_name_30 WHERE arena = "arrowhead pond of anaheim" AND points = 5 |
How much 1969 has a 1967 smaller than 0.73, and a 1964 larger than 0.07? | CREATE TABLE table_name_18 (Id VARCHAR) | SELECT COUNT(1969) FROM table_name_18 WHERE 1967 < 0.73 AND 1964 > 0.07 |
Which 1964 has a Country of united states, and a 1969 smaller than 7.3? | CREATE TABLE table_name_85 (country VARCHAR) | SELECT MIN(1964) FROM table_name_85 WHERE country = "united states" AND 1969 < 7.3 |
Which 1965 has a 1962 of 0.35000000000000003, and a 1967 smaller than 0.53? | CREATE TABLE table_name_38 (Id VARCHAR) | SELECT MIN(1965) FROM table_name_38 WHERE 1962 = 0.35000000000000003 AND 1967 < 0.53 |
What is Bev Risman's Cross Code Debut? | CREATE TABLE table_name_68 (cross_code_debut VARCHAR, player VARCHAR) | SELECT cross_code_debut FROM table_name_68 WHERE player = "bev risman" |
What is the Player with a Cross Code Debut of RL Test GB v France? | CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR) | SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france" |
In what Year is Keith Smith's Cross Code Debut RL Test v Wales? | CREATE TABLE table_name_73 (year VARCHAR, cross_code_debut VARCHAR, player VARCHAR) | SELECT year FROM table_name_73 WHERE cross_code_debut = "rl test v wales" AND player = "keith smith" |
What is the Date of the Int'l Debut of 1967? | CREATE TABLE table_name_66 (date VARCHAR, year VARCHAR) | SELECT date FROM table_name_66 WHERE year = "1967" |
What is the Player in the Int'l Debut of 1974? | CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR) | SELECT player FROM table_name_41 WHERE year = "1974" |
What lane has a time of 24.83 and a heat less than 11? | CREATE TABLE table_name_73 (lane INTEGER, time VARCHAR, heat VARCHAR) | SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 11 |
What is the total number of heat for Chinyere Pigot? | CREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR) | SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot" |
What is the name for lane 1, from Mauritius? | CREATE TABLE table_name_69 (name VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_69 WHERE lane = 1 AND nationality = "mauritius" |
Who won in 1988 with a total less than 287? | CREATE TABLE table_name_21 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_21 WHERE total < 287 AND year_s__won = "1988" |
What country is Larry Mize from? | CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_21 WHERE player = "larry mize" |
What is the lowest number of bronze medals for a nation with fewer than 1 total medal? | CREATE TABLE table_name_87 (bronze INTEGER, total INTEGER) | SELECT MIN(bronze) FROM table_name_87 WHERE total < 1 |
What team is Frank Hulbert on? | CREATE TABLE table_name_26 (team VARCHAR, rider VARCHAR) | SELECT team FROM table_name_26 WHERE rider = "frank hulbert" |
What was Martin Geiger's rank? | CREATE TABLE table_name_95 (rank VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_95 WHERE rider = "martin geiger" |
What was Tom Silver's rank? | CREATE TABLE table_name_86 (rank VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_86 WHERE rider = "tom silver" |
Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth? | CREATE TABLE table_name_97 (player VARCHAR, debut VARCHAR, born VARCHAR) | SELECT player FROM table_name_97 WHERE debut = "age 18 v plymouth , 14 august 2012" AND born = "portsmouth" |
Where was the player whose Current Club Elfsborg born? | CREATE TABLE table_name_63 (born VARCHAR, current_club VARCHAR) | SELECT born FROM table_name_63 WHERE current_club = "elfsborg" |
What is the debut for the person born in Poole? | CREATE TABLE table_name_82 (debut VARCHAR, born VARCHAR) | SELECT debut FROM table_name_82 WHERE born = "poole" |
What is the club for Sam Magri? | CREATE TABLE table_name_9 (current_club VARCHAR, player VARCHAR) | SELECT current_club FROM table_name_9 WHERE player = "sam magri" |
What is the name of the manager of the Atlético Baleares? | CREATE TABLE table_name_54 (manager VARCHAR, current_club VARCHAR) | SELECT manager FROM table_name_54 WHERE current_club = "atlético baleares" |
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)? | CREATE TABLE table_name_94 (best_blocker VARCHAR, league_champion VARCHAR, cantsleep_award VARCHAR) | SELECT best_blocker FROM table_name_94 WHERE league_champion = "queens of pain" AND cantsleep_award = "chassis crass (brooklyn)" |
Which Arena has Points larger than 28, and a Date of december 14? | CREATE TABLE table_name_2 (arena VARCHAR, points VARCHAR, date VARCHAR) | SELECT arena FROM table_name_2 WHERE points > 28 AND date = "december 14" |
How many Points have an Arena of bell centre? | CREATE TABLE table_name_39 (points VARCHAR, arena VARCHAR) | SELECT COUNT(points) FROM table_name_39 WHERE arena = "bell centre" |
How much Attendance has a Loss of divis (0–3–0), and Points smaller than 38? | CREATE TABLE table_name_86 (attendance INTEGER, loss VARCHAR, points VARCHAR) | SELECT SUM(attendance) FROM table_name_86 WHERE loss = "divis (0–3–0)" AND points < 38 |
What 2nd run has a less than 6 rank, and 3 as the total? | CREATE TABLE table_name_69 (rank VARCHAR, total VARCHAR) | SELECT 2 AS nd_run FROM table_name_69 WHERE rank < 6 AND total = 3 |
What is the sum number of year when Call of Duty 4: Modern Warfare was the game? | CREATE TABLE table_name_55 (year VARCHAR, game VARCHAR) | SELECT COUNT(year) FROM table_name_55 WHERE game = "call of duty 4: modern warfare" |
What is the earliest year when action was the genre? | CREATE TABLE table_name_35 (year INTEGER, genre VARCHAR) | SELECT MIN(year) FROM table_name_35 WHERE genre = "action" |
What is the smallest year when Ubisoft Montreal was the developer (s)? | CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR) | SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal" |
What is the latest year when Call of Duty 4: Modern Warfare was the game? | CREATE TABLE table_name_63 (year INTEGER, game VARCHAR) | SELECT MAX(year) FROM table_name_63 WHERE game = "call of duty 4: modern warfare" |
Who was Lieutenant Governor to the governor that left office on January 14, 1929? | CREATE TABLE table_name_21 (Lieutenant VARCHAR, left_office VARCHAR) | SELECT Lieutenant AS governor FROM table_name_21 WHERE left_office = "january 14, 1929" |
Which governor took office on January 8, 1877? | CREATE TABLE table_name_88 (governor VARCHAR, took_office VARCHAR) | SELECT governor FROM table_name_88 WHERE took_office = "january 8, 1877" |
Who was lieutenant governor to the governor that left office on October 16, 2000? | CREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR) | SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 2000" |
How many terms did the governor that left office on August 4, 1825 serve? | CREATE TABLE table_name_46 (terms VARCHAR, left_office VARCHAR) | SELECT terms FROM table_name_46 WHERE left_office = "august 4, 1825" |
Which IHSAA Class has a School of shakamak? | CREATE TABLE table_name_84 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_84 WHERE school = "shakamak" |
Which County has a School of bloomfield? | CREATE TABLE table_name_32 (county VARCHAR, school VARCHAR) | SELECT county FROM table_name_32 WHERE school = "bloomfield" |
How much Enrollment has a School of shakamak? | CREATE TABLE table_name_56 (enrollment VARCHAR, school VARCHAR) | SELECT COUNT(enrollment) FROM table_name_56 WHERE school = "shakamak" |
Which IHSAA Class has a Mascot of bulldogs? | CREATE TABLE table_name_10 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class FROM table_name_10 WHERE mascot = "bulldogs" |
What's the 1996 if 1986 has a 1R? | CREATE TABLE table_name_53 (Id VARCHAR) | SELECT 1996 FROM table_name_53 WHERE 1986 = "1r" |
What's the 1986 if 1991 has a QF and 1998 has a 3R? | CREATE TABLE table_name_51 (Id VARCHAR) | SELECT 1986 FROM table_name_51 WHERE 1991 = "qf" AND 1998 = "3r" |
What's the 1997 if 1993 has a 1R, 1995 has a 3R, and 1999 has a 1R? | CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 1997 FROM table_name_99 WHERE 1999 = "1r" AND 1995 = "3r" AND 1993 = "1r" |
What's the 1994 if 1995 has a 1R? | CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 1994 FROM table_name_84 WHERE 1995 = "1r" |
What's the tournament when 1992 is A? | CREATE TABLE table_name_6 (tournament VARCHAR) | SELECT tournament FROM table_name_6 WHERE 1992 = "a" |
What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R? | CREATE TABLE table_name_72 (Id VARCHAR) | SELECT 1997 FROM table_name_72 WHERE 1999 = "1r" AND 1992 = "qf" AND 1995 = "1r" |
What's the most league cup apps for Jimmy Lawson having 0 league cup goals? | CREATE TABLE table_name_74 (league_cup_apps INTEGER, league_cup_goals VARCHAR, name VARCHAR) | SELECT MAX(league_cup_apps) FROM table_name_74 WHERE league_cup_goals = 0 AND name = "jimmy lawson" |
What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps? | CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR) | SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan sweeney" AND league_cup_apps < 0 |
What's the total number of league cup apps when the league goals were less than 0? | CREATE TABLE table_name_15 (league_cup_apps VARCHAR, league_goals INTEGER) | SELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 0 |
Where was the September 3 game? | CREATE TABLE table_name_15 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_15 WHERE date = "september 3" |
Which game was on September 12? | CREATE TABLE table_name_2 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_2 WHERE date = "september 12" |
What is cork's rank? | CREATE TABLE table_name_4 (rank VARCHAR, county VARCHAR) | SELECT rank FROM table_name_4 WHERE county = "cork" |
How many totals does cork have whose rank is larger than 2? | CREATE TABLE table_name_27 (total INTEGER, county VARCHAR, rank VARCHAR) | SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2 |
Which Matches have a Tally of 1-38? | CREATE TABLE table_name_7 (matches VARCHAR, tally VARCHAR) | SELECT matches FROM table_name_7 WHERE tally = "1-38" |
How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals? | CREATE TABLE table_name_7 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT silver FROM table_name_7 WHERE bronze > 0 AND total < 54 AND nation = "spain" |
What was the highest number of gold medals when there were 0 silver medals? | CREATE TABLE table_name_78 (gold INTEGER, silver INTEGER) | SELECT MAX(gold) FROM table_name_78 WHERE silver < 0 |
What's Brazil's rank when it has notes of R? | CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR) | SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil" |
Which Peak Position has a Date of 10 june 1998? | CREATE TABLE table_name_21 (peak_position VARCHAR, date VARCHAR) | SELECT peak_position FROM table_name_21 WHERE date = "10 june 1998" |
What Report is on June 3, 2000? | CREATE TABLE table_name_85 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_85 WHERE date = "june 3, 2000" |
What is the Report on November 15, 2000? | CREATE TABLE table_name_18 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_18 WHERE date = "november 15, 2000" |
What is the Score on October 7, 2000? | CREATE TABLE table_name_45 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_45 WHERE date = "october 7, 2000" |
What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk? | CREATE TABLE table_name_79 (santo_domingo_ VARCHAR, _dominican VARCHAR, world_record VARCHAR) | SELECT santo_domingo_, _dominican FROM table_name_79 WHERE world_record = "clean & jerk" |
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? | CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR) | SELECT AVG(fips_code) FROM table_name_70 WHERE area = "114.76 sq mi (297.23 sq km)" AND population__2010_ < 166 OFFSET 327 |
In what year was Yauco, which had over 42,043 people in 2010, founded? | CREATE TABLE table_name_9 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR) | SELECT AVG(founded) FROM table_name_9 WHERE municipality = "yauco" AND population__2010_ > 42 OFFSET 043 |
What is the attendance for a week smaller than 9 with a result of L 38-20? | CREATE TABLE table_name_67 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_67 WHERE result = "l 38-20" AND week < 9 |
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? | CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR) | SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 |
Can you tell me the County that has the Location of shelbyville? | CREATE TABLE table_name_17 (county VARCHAR, location VARCHAR) | SELECT county FROM table_name_17 WHERE location = "shelbyville" |
How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? | CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR) | SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917 |
Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940? | CREATE TABLE table_name_11 (tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR) | SELECT tonnage___grt__ FROM table_name_11 WHERE fate = "sunk" AND deaths < 17 AND date = "16 november 1940" |
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? | CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR) | SELECT SUM(tonnage___grt__) FROM table_name_83 WHERE fate = "sunk" AND flag = "great britain" AND date = "26 september 1940" AND deaths = 2 |
Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? | CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) | SELECT MIN(tonnage___grt__) FROM table_name_84 WHERE date = "26 september 1940" AND ship_name = "ashantian" |
What is the highest lane for Brazil, ranked less than 8? | CREATE TABLE table_name_85 (lane INTEGER, country VARCHAR, rank VARCHAR) | SELECT MAX(lane) FROM table_name_85 WHERE country = "brazil" AND rank < 8 |
What is the total population with less than 789 males? | CREATE TABLE table_name_12 (total_population VARCHAR, male INTEGER) | SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789 |
What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households? | CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR) | SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666 |
What is the total number of females where the total population is less than 2,195? | CREATE TABLE table_name_65 (female VARCHAR, total_population INTEGER) | SELECT COUNT(female) FROM table_name_65 WHERE total_population < 2 OFFSET 195 |
What was the outcome when the partner was Iryna Bremond? | CREATE TABLE table_name_13 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_13 WHERE partner = "iryna bremond" |
What tournament had a Score of 6–3, 2–6, [10–8]? | CREATE TABLE table_name_90 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_90 WHERE score = "6–3, 2–6, [10–8]" |
Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6? | CREATE TABLE table_name_28 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT partner FROM table_name_28 WHERE surface = "clay" AND outcome = "runner-up" AND score = "4–6, 1–6" |
What is the rank of Manuel Cortina Martínez? | CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR) | SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez" |
What is the rank if the person with a time of 1:40.626? | CREATE TABLE table_name_23 (rank INTEGER, time VARCHAR) | SELECT SUM(rank) FROM table_name_23 WHERE time = "1:40.626" |
What is the rank of the person with a time of 1:44.757? | CREATE TABLE table_name_62 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_62 WHERE time = "1:44.757" |
What is the rank of Israel? | CREATE TABLE table_name_97 (rank INTEGER, country VARCHAR) | SELECT MAX(rank) FROM table_name_97 WHERE country = "israel" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.