context
stringlengths
27
484
question
stringlengths
12
244
answer
stringlengths
32
484
CREATE TABLE table_29728787_1 (conductor VARCHAR, count VARCHAR)
When hermann uhde is the count who is the conductor?
SELECT conductor FROM table_29728787_1 WHERE count = "Hermann Uhde"
CREATE TABLE table_name_3 (fixtures INTEGER, clubs_involved VARCHAR)
When 4 clubs are involved, what is the average number of fixtures?
SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 4
CREATE TABLE table_name_91 (date VARCHAR, runner_s__up VARCHAR)
What date has yani tseng as the runner (s)-up?
SELECT date FROM table_name_91 WHERE runner_s__up = "yani tseng"
CREATE TABLE table_name_36 (date VARCHAR, week VARCHAR)
What day did they play in week 6?
SELECT date FROM table_name_36 WHERE week = 6
CREATE TABLE table_name_15 (rank INTEGER, rate VARCHAR, apps VARCHAR, player VARCHAR)
What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.58?
SELECT SUM(rank) FROM table_name_15 WHERE apps > 39 AND player = "ümit karan" AND rate > 0.58
CREATE TABLE table_25085059_3 (college VARCHAR, position VARCHAR)
How many colleges provided players with positions LB?
SELECT COUNT(college) FROM table_25085059_3 WHERE position = "LB"
CREATE TABLE table_2150068_1 (nation VARCHAR, satellite VARCHAR)
What nation was Pageos 1 from?
SELECT nation FROM table_2150068_1 WHERE satellite = "PAGEOS 1"
CREATE TABLE table_17360840_9 (location VARCHAR, opponent VARCHAR)
How many locations were recorded when the opponent Columbus Blue Jackets?
SELECT COUNT(location) FROM table_17360840_9 WHERE opponent = "Columbus Blue Jackets"
CREATE TABLE table_name_11 (environment VARCHAR, year_built VARCHAR)
What type of environment is the venue that was built in 2003?
SELECT environment FROM table_name_11 WHERE year_built = "2003"
CREATE TABLE table_name_50 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
What is the date of the Sydney, Australia tournament with a hard surface?
SELECT date FROM table_name_50 WHERE surface = "hard" AND tournament = "sydney, australia"
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
What is the score of the away team when the home team is Essendon?
SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon"
CREATE TABLE table_name_17 (road_team VARCHAR, home_team VARCHAR, date VARCHAR)
Which Road team has a Home team of portland, and a Date of may 31?
SELECT road_team FROM table_name_17 WHERE home_team = "portland" AND date = "may 31"
CREATE TABLE table_15796072_1 (original_artist VARCHAR, week__number VARCHAR)
Who was the original artist for week number Top 16 (8 women)?
SELECT original_artist FROM table_15796072_1 WHERE week__number = "Top 16 (8 Women)"
CREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR)
What is the organized date of the stake with an occupation of senior buyer for Wal-mart?
SELECT organized FROM table_name_67 WHERE occupation = "senior buyer for wal-mart"
CREATE TABLE table_name_17 (rank VARCHAR, club_s_ VARCHAR, u_17_caps VARCHAR)
What is the rank of Club Valencia with a U-17 Caps of 20?
SELECT COUNT(rank) FROM table_name_17 WHERE club_s_ = "valencia" AND u_17_caps = 20
CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, country VARCHAR)
What was the score for the player from the United states that was +1 to par?
SELECT score FROM table_name_64 WHERE to_par = "+1" AND country = "united states"
CREATE TABLE table_1875157_1 (winnings VARCHAR, position VARCHAR)
How many wins in the season he finished 33rd
SELECT winnings FROM table_1875157_1 WHERE position = "33rd"
CREATE TABLE table_name_81 (worst_score INTEGER, best_dancer VARCHAR, dance VARCHAR)
What is the average Worst score for Mario Lopez as the Best dancer and Tango as the Dance?
SELECT AVG(worst_score) FROM table_name_81 WHERE best_dancer = "mario lopez" AND dance = "tango"
CREATE TABLE table_name_96 (attendance INTEGER, leading_scorer VARCHAR, home VARCHAR)
How many people attended the game where the leading scorer was Tim Duncan (24), and the home team was the Spurs?
SELECT MIN(attendance) FROM table_name_96 WHERE leading_scorer = "tim duncan (24)" AND home = "spurs"
CREATE TABLE table_name_78 (serials_issued VARCHAR, design VARCHAR)
Which serials were issued with a design of black on yellow?
SELECT serials_issued FROM table_name_78 WHERE design = "black on yellow"
CREATE TABLE table_name_38 (no_of_cities VARCHAR, voivodeship VARCHAR)
Namem the number of cities that contains Voivodeship of elbląg voivodeship
SELECT no_of_cities FROM table_name_38 WHERE voivodeship = "elbląg voivodeship"
CREATE TABLE table_name_55 (recording_date VARCHAR, title VARCHAR)
On what date was My Lord What a Mornin' recorded?
SELECT recording_date FROM table_name_55 WHERE title = "my lord what a mornin'"
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)
Which Away team has Carlton for it's Home team?
SELECT away_team FROM table_name_96 WHERE home_team = "carlton"
CREATE TABLE table_name_43 (points VARCHAR, games VARCHAR)
Name the points for games of 16 16
SELECT points FROM table_name_43 WHERE games = "16 16"
CREATE TABLE table_name_31 (position VARCHAR, nationality VARCHAR, round VARCHAR)
What is Position, when Nationality is "Canada", and when Round is greater than 3?
SELECT position FROM table_name_31 WHERE nationality = "canada" AND round > 3
CREATE TABLE table_22297140_3 (team VARCHAR, outgoing_manager VARCHAR)
Which team had an outgoing manager of Behtash Fariba?
SELECT team FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba"
CREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR)
Tell me the Australia march 17, 2005
SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005"
CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, location VARCHAR)
What date was the result 3-1 in Hague?
SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague"
CREATE TABLE table_name_60 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)
What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460?
SELECT COUNT(area_km_2) FROM table_name_60 WHERE census_ranking = "3,129 of 5,008" AND population < 460
CREATE TABLE table_name_72 (name VARCHAR, date VARCHAR)
What is the name of the race on 9 July?
SELECT name FROM table_name_72 WHERE date = "9 july"
CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
what is the district where the incumbent is james a. haley?
SELECT district FROM table_1341672_10 WHERE incumbent = "James A. Haley"
CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)
Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023?
SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023"
CREATE TABLE table_name_79 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
what is the time/retired when the laps is 6, the grid is less than 18 and the driver is clay regazzoni?
SELECT time_retired FROM table_name_79 WHERE laps = 6 AND grid < 18 AND driver = "clay regazzoni"
CREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR)
What is the Result of the game with an Attendance of 55,353?
SELECT result FROM table_name_53 WHERE attendance = "55,353"
CREATE TABLE table_name_40 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
What is the most gold when the rank is 7 and bronze is less than 0?
SELECT MAX(gold) FROM table_name_40 WHERE rank = "7" AND bronze < 0
CREATE TABLE table_name_77 (record VARCHAR, date VARCHAR)
What is the record on December 11?
SELECT record FROM table_name_77 WHERE date = "december 11"
CREATE TABLE table_name_83 (industry VARCHAR, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
For which industry was the profit smaller than 14.2 billion and the assets larger than 2,467.9 billion?
SELECT industry FROM table_name_83 WHERE profits__billion_$_ < 14.2 AND assets__billion_$_ > 2 OFFSET 467.9
CREATE TABLE table_name_12 (dist__f_ INTEGER, jockey VARCHAR, runners VARCHAR)
What is the total dist with Johnny Murtagh and less than 26 runners?
SELECT SUM(dist__f_) FROM table_name_12 WHERE jockey = "johnny murtagh" AND runners < 26
CREATE TABLE table_name_7 (name VARCHAR, date_of_birth VARCHAR)
Who is born on 1982-01-29?
SELECT name FROM table_name_7 WHERE date_of_birth = "1982-01-29"
CREATE TABLE table_name_51 (year_to_open VARCHAR, name VARCHAR)
What was the Year to Open for the Dandeung Bridge?
SELECT COUNT(year_to_open) FROM table_name_51 WHERE name = "dandeung bridge"
CREATE TABLE table_name_65 (nickname_s_ VARCHAR, location VARCHAR)
What Nickname(s) has a Location of elkville, illinois?
SELECT nickname_s_ FROM table_name_65 WHERE location = "elkville, illinois"
CREATE TABLE table_name_78 (results VARCHAR, runner_up VARCHAR)
What were the overall event results when Michael Demichele was runner-up?
SELECT results FROM table_name_78 WHERE runner_up = "michael demichele"
CREATE TABLE table_name_81 (grid INTEGER, laps VARCHAR, driver VARCHAR)
What is the lowest Grid for jj lehto with over 51 laps?
SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver = "jj lehto"
CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR)
Which Skip has a Third of carlo alessandro zisa?
SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa"
CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR)
Wins of 0 involves what team?
SELECT team FROM table_name_96 WHERE wins = 0
CREATE TABLE table_26041144_16 (rank VARCHAR, player VARCHAR)
What is the ranktotal number if the Hashan Tillakaratne?
SELECT COUNT(rank) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
CREATE TABLE table_name_66 (place VARCHAR, to_par VARCHAR, player VARCHAR)
What is the place of To par of e when Arron Oberholser was the player ?
SELECT place FROM table_name_66 WHERE to_par = "e" AND player = "arron oberholser"
CREATE TABLE table_name_42 (episode__number INTEGER, airdate VARCHAR)
What is the lowest episode # with an air date of October 31, 2001?
SELECT MIN(episode__number) FROM table_name_42 WHERE airdate = "october 31, 2001"
CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR)
Who were all the pictorials when the centerfold model was Rebekka Armstrong?
SELECT COUNT(pictorials) FROM table_1566848_7 WHERE centerfold_model = "Rebekka Armstrong"
CREATE TABLE table_name_1 (lost VARCHAR, against INTEGER)
How many losses have points against less than 15?
SELECT COUNT(lost) FROM table_name_1 WHERE against < 15
CREATE TABLE table_name_45 (venue VARCHAR, result VARCHAR)
Which venue has 1st as the result?
SELECT venue FROM table_name_45 WHERE result = "1st"
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
What is the away team score for the home team listed as Footscray?
SELECT away_team AS score FROM table_name_16 WHERE home_team = "footscray"
CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR)
Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891?
SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891"
CREATE TABLE table_name_61 (league_goals VARCHAR, club VARCHAR)
what was the total for the Wolverhampton Wanderers?
SELECT league_goals FROM table_name_61 WHERE club = "wolverhampton wanderers"
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)
What is the quarterfinal week for Austin Anderson?
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"
CREATE TABLE table_name_49 (city VARCHAR, july VARCHAR)
In what city is the July temperature 23/9°c (73/48°f)?
SELECT city FROM table_name_49 WHERE july = "23/9°c (73/48°f)"
CREATE TABLE table_name_7 (zx_spectrum VARCHAR, c64 VARCHAR, title VARCHAR, c VARCHAR)
Which ZX Spectrum has a C=64 of c64, and a Title of ankh?
SELECT zx_spectrum FROM table_name_7 WHERE c = 64 = c64 AND title = "ankh"
CREATE TABLE table_name_24 (votes__percentage VARCHAR, candidate VARCHAR)
What is the vote % for Cliff Breitkreuz?
SELECT votes__percentage FROM table_name_24 WHERE candidate = "cliff breitkreuz"
CREATE TABLE table_name_69 (attendance VARCHAR, home_team VARCHAR)
What was the attendance at the West Ham United home game?
SELECT attendance FROM table_name_69 WHERE home_team = "west ham united"
CREATE TABLE table_name_9 (goals_for INTEGER, draws VARCHAR, losses VARCHAR)
WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7?
SELECT AVG(goals_for) FROM table_name_9 WHERE draws < 6 AND losses < 7
CREATE TABLE table_name_54 (run_2 INTEGER, athlete VARCHAR, run_3 VARCHAR)
What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?
SELECT MAX(run_2) FROM table_name_54 WHERE athlete = "eric neilson" AND run_3 > 55.97
CREATE TABLE table_name_34 (rank VARCHAR, name VARCHAR)
What is the rank of the swimmer named Petria Thomas?
SELECT rank FROM table_name_34 WHERE name = "petria thomas"
CREATE TABLE table_name_30 (scored INTEGER, losses VARCHAR, draws VARCHAR, team VARCHAR)
What is the averaged scored number of team guaraní, which has less than 6 draws and less than 5 losses?
SELECT AVG(scored) FROM table_name_30 WHERE draws < 6 AND team = "guaraní" AND losses < 5
CREATE TABLE table_1638437_2 (english_name VARCHAR, simplified VARCHAR)
Name the english name for 崖城镇
SELECT english_name FROM table_1638437_2 WHERE simplified = "崖城镇"
CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR)
Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis?
SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24"
CREATE TABLE table_20424014_1 (mccain__percentage VARCHAR, obama__percentage VARCHAR)
what is the mccain % where obama got 19.3%
SELECT mccain__percentage FROM table_20424014_1 WHERE obama__percentage = "19.3%"
CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR)
what i the maximum number in the series where the production code is 3wab07?
SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = "3WAB07"
CREATE TABLE table_name_93 (car__number INTEGER, make VARCHAR, pos VARCHAR)
Which Car # has a Make of toyota, and a Pos of 7?
SELECT AVG(car__number) FROM table_name_93 WHERE make = "toyota" AND pos = 7
CREATE TABLE table_name_81 (year VARCHAR, game VARCHAR)
what is the year for borderlands 2?
SELECT year FROM table_name_81 WHERE game = "borderlands 2"
CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)
How many total viewers have April 21, 2010 as the original airing on channel 4?
SELECT COUNT(total_viewers) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "April 21, 2010"
CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR)
Who did the Colts play against on September 25, 1966?
SELECT opponent FROM table_name_8 WHERE date = "september 25, 1966"
CREATE TABLE table_name_83 (north_america VARCHAR, japan VARCHAR)
Tell me north america for january 23, 2013
SELECT north_america FROM table_name_83 WHERE japan = "january 23, 2013"
CREATE TABLE table_name_46 (location VARCHAR, team VARCHAR)
What is the location of South Adelaide?
SELECT location FROM table_name_46 WHERE team = "south adelaide"
CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR)
Tell me the result for week of 3
SELECT result FROM table_name_33 WHERE week = 3
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
What was the Score on January 30?
SELECT score FROM table_name_93 WHERE date = "january 30"
CREATE TABLE table_name_45 (fastest_lap VARCHAR, race_winner VARCHAR)
Who had the fastest lap where Joan Lascorz was the winner?
SELECT fastest_lap FROM table_name_45 WHERE race_winner = "joan lascorz"
CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR)
What is the Time of Driver Jan Heylen (r)?
SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)"
CREATE TABLE table_name_70 (silver INTEGER, gold INTEGER)
what is the lowest amount of silver when the gold is less than 0?
SELECT MIN(silver) FROM table_name_70 WHERE gold < 0
CREATE TABLE table_name_17 (year VARCHAR, laps INTEGER)
What year had less than 36 laps?
SELECT year FROM table_name_17 WHERE laps < 36
CREATE TABLE table_name_26 (mountain_range VARCHAR, province VARCHAR, location VARCHAR)
Name the mountain range for nunavut with location of 73.2294°n 78.6233°w
SELECT mountain_range FROM table_name_26 WHERE province = "nunavut" AND location = "73.2294°n 78.6233°w"
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)
Name the syrian christians for kollam
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Kollam"
CREATE TABLE table_name_25 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
Tell me the average gold for moldova and bronze less than 1
SELECT AVG(gold) FROM table_name_25 WHERE nation = "moldova" AND bronze < 1
CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
What was marlboro brm's lowest points by using brm p160b?
SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b"
CREATE TABLE table_name_64 (money___ INTEGER, player VARCHAR)
What is the lowest amount of money that Craig Stadler won?
SELECT MIN(money___) AS $__ FROM table_name_64 WHERE player = "craig stadler"
CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR)
What Nationality is Dave Hynes?
SELECT nationality FROM table_name_74 WHERE player = "dave hynes"
CREATE TABLE table_name_25 (winners VARCHAR, venue VARCHAR)
Who won at Krško?
SELECT winners FROM table_name_25 WHERE venue = "krško"
CREATE TABLE table_name_23 (to_par INTEGER, country VARCHAR, year_s__won VARCHAR)
What is the sum of To Par, when Country is "United States", and when Year(s) Won is "1973"?
SELECT SUM(to_par) FROM table_name_23 WHERE country = "united states" AND year_s__won = "1973"
CREATE TABLE table_name_89 (games VARCHAR, points VARCHAR, rank VARCHAR)
What is Games, when Points is less than 340, and when Rank is greater than 3?
SELECT games FROM table_name_89 WHERE points < 340 AND rank > 3
CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)
What other cadidate ran against Dave Treen?
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"
CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)
In Round 10, what was the Overall for Ed Tomlin?
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin"
CREATE TABLE table_1825751_14 (pageant VARCHAR, hometown VARCHAR)
How many pageants were in san fernando, pampanga?
SELECT COUNT(pageant) FROM table_1825751_14 WHERE hometown = "San Fernando, Pampanga"
CREATE TABLE table_name_65 (team VARCHAR, circuit VARCHAR)
Which team raced at Amaroo Park?
SELECT team FROM table_name_65 WHERE circuit = "amaroo park"
CREATE TABLE table_name_31 (label VARCHAR, catalogue VARCHAR)
What label has brol 34531 as it's catalogue?
SELECT label FROM table_name_31 WHERE catalogue = "brol 34531"
CREATE TABLE table_23242958_1 (no_in_series VARCHAR, written_by VARCHAR)
What number episode in the series was written by David Zuckerman?
SELECT no_in_series FROM table_23242958_1 WHERE written_by = "David Zuckerman"
CREATE TABLE table_name_40 (position VARCHAR, venue VARCHAR)
Which position has a venue of Helsinki, Finland?
SELECT position FROM table_name_40 WHERE venue = "helsinki, finland"
CREATE TABLE table_name_94 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR)
Who choreographed the smooth waltz with lacey schwimmer?
SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer"
CREATE TABLE table_18536769_1 (call_sign VARCHAR, owner VARCHAR)
When vista radio is the owner how many call signs are there?
SELECT COUNT(call_sign) FROM table_18536769_1 WHERE owner = "Vista Radio"
CREATE TABLE table_30008638_1 (miss_air INTEGER)
What is the least amount of Miss Airs any country has had?
SELECT MIN(miss_air) FROM table_30008638_1
CREATE TABLE table_name_88 (week VARCHAR, result VARCHAR)
What week's game had a result of l 35–37?
SELECT week FROM table_name_88 WHERE result = "l 35–37"
CREATE TABLE table_name_33 (captain VARCHAR, alternate__1_ VARCHAR)
Which captain has Gintare Karpaviciute as an alternate?
SELECT captain FROM table_name_33 WHERE alternate__1_ = "gintare karpaviciute"