context
stringlengths
27
489
question
stringlengths
12
244
answer
stringlengths
18
557
CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR)
What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki?
SELECT network FROM table_name_47 WHERE lap_by_lap = "bill flemming" AND pit_reporters = "chris economaki"
CREATE TABLE table_name_74 (lap_by_lap VARCHAR, year VARCHAR, pit_reporters VARCHAR)
Which lap-by-lap has a year after 1973, with pit reporter Bill Flemming?
SELECT lap_by_lap FROM table_name_74 WHERE year > 1973 AND pit_reporters = "bill flemming"
CREATE TABLE table_name_14 (round INTEGER, time VARCHAR, res VARCHAR, location VARCHAR)
What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38?
SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38"
CREATE TABLE table_name_64 (round VARCHAR, time VARCHAR)
How many rounds have a time of 2:18?
SELECT COUNT(round) FROM table_name_64 WHERE time = "2:18"
CREATE TABLE table_name_32 (grid INTEGER, laps VARCHAR, driver VARCHAR)
What is the lowest Grid with fewer than 65 Laps and with Driver Tim Schenken?
SELECT MIN(grid) FROM table_name_32 WHERE laps < 65 AND driver = "tim schenken"
CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR)
What Driver has 1 in Grid?
SELECT driver FROM table_name_98 WHERE grid = 1
CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR)
What is Driver Howden Ganley's Time/Retired?
SELECT time_retired FROM table_name_75 WHERE driver = "howden ganley"
CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR)
On what date was Hawthorn the home team?
SELECT date FROM table_name_45 WHERE home_team = "hawthorn"
CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR)
Who was the away team at Junction Oval?
SELECT away_team FROM table_name_2 WHERE venue = "junction oval"
CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)
Which home team played at MCG?
SELECT home_team FROM table_name_93 WHERE venue = "mcg"
CREATE TABLE table_name_95 (draws INTEGER, position VARCHAR, played VARCHAR)
Tell me the sum of draws for position less than 15 with played more than 38
SELECT SUM(draws) FROM table_name_95 WHERE position < 15 AND played > 38
CREATE TABLE table_name_34 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR)
Name the sum of played for position less than 9 and draws more than 19 with goals against more than 27
SELECT SUM(played) FROM table_name_34 WHERE position < 9 AND draws > 19 AND goals_against > 27
CREATE TABLE table_name_16 (recorded VARCHAR, translation VARCHAR)
Name the recorded for translation of sleep my love, good night
SELECT recorded FROM table_name_16 WHERE translation = "sleep my love, good night"
CREATE TABLE table_name_99 (winter VARCHAR, year VARCHAR)
What is the Winter in 1906?
SELECT winter FROM table_name_99 WHERE year = 1906
CREATE TABLE table_name_44 (driver VARCHAR, time_retired VARCHAR)
Which driver has a Time/Retired of 2:45:46.2?
SELECT driver FROM table_name_44 WHERE time_retired = "2:45:46.2"
CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
What position for the western michigan product picked ahead of 312?
SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = "western michigan"
CREATE TABLE table_name_32 (date VARCHAR, loser VARCHAR, location VARCHAR)
What date did the Chicago Bears beat the Green bay Packers 31-20?
SELECT date FROM table_name_32 WHERE loser = "green bay packers" AND location = "green bay"
CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR)
When were the boston bruins the home team?
SELECT date FROM table_name_95 WHERE home = "boston bruins"
CREATE TABLE table_name_50 (nat VARCHAR, moving_from VARCHAR)
In what nation is Bordeaux?
SELECT nat FROM table_name_50 WHERE moving_from = "bordeaux"
CREATE TABLE table_name_89 (lead VARCHAR, nation VARCHAR)
Who has the lead in Norway?
SELECT lead FROM table_name_89 WHERE nation = "norway"
CREATE TABLE table_name_83 (skip VARCHAR, second VARCHAR)
Which Skip will play Joan Mccusker?
SELECT skip FROM table_name_83 WHERE second = "joan mccusker"
CREATE TABLE table_name_58 (alternate VARCHAR, nation VARCHAR)
Who is the Alternate for Sweden?
SELECT alternate FROM table_name_58 WHERE nation = "sweden"
CREATE TABLE table_name_56 (third VARCHAR, nation VARCHAR)
Who is the third alternate for Germany?
SELECT third FROM table_name_56 WHERE nation = "germany"
CREATE TABLE table_name_78 (translation VARCHAR, date VARCHAR)
Which translation was published in 1986?
SELECT translation FROM table_name_78 WHERE date = 1986
CREATE TABLE table_name_86 (title VARCHAR, content VARCHAR, translation VARCHAR)
Which title has content including mysticism, spiritualism, and a translation of the minaret of light?
SELECT title FROM table_name_86 WHERE content = "mysticism, spiritualism" AND translation = "the minaret of light"
CREATE TABLE table_name_60 (employees__world_ VARCHAR, revenue__mil€_ VARCHAR)
What is hte nuumber of employees that has a revenue of 104.000?
SELECT employees__world_ FROM table_name_60 WHERE revenue__mil€_ = "104.000"
CREATE TABLE table_name_23 (headquarters VARCHAR, employees__world_ VARCHAR)
Which HQ is associated with a number of employees of 100?
SELECT headquarters FROM table_name_23 WHERE employees__world_ = 100
CREATE TABLE table_name_80 (silver INTEGER, bronze VARCHAR, rank VARCHAR)
What is the low silver medal total for nations with over 1 bronze ranked above 11?
SELECT MIN(silver) FROM table_name_80 WHERE bronze > 1 AND rank < 11
CREATE TABLE table_name_55 (total INTEGER, gold VARCHAR, bronze VARCHAR)
What is the high total for nations with 1 gold and over 1 bronze?
SELECT MAX(total) FROM table_name_55 WHERE gold = 1 AND bronze > 1
CREATE TABLE table_name_13 (home VARCHAR, record VARCHAR)
What was the home team with a 4-6-0 record?
SELECT home FROM table_name_13 WHERE record = "4-6-0"
CREATE TABLE table_name_96 (decision VARCHAR, visitor VARCHAR, date VARCHAR)
What was the decision of the game with Washington as the visitor team on October 13?
SELECT decision FROM table_name_96 WHERE visitor = "washington" AND date = "october 13"
CREATE TABLE table_name_7 (ngc_number INTEGER, right_ascension___j2000__ VARCHAR)
What is the average NGC number of everything with a Right ascension (J2000) of 05h33m30s?
SELECT AVG(ngc_number) FROM table_name_7 WHERE right_ascension___j2000__ = "05h33m30s"
CREATE TABLE table_name_55 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, ngc_number VARCHAR, constellation VARCHAR)
What is the right ascension (J2000) with a Declination (J2000) of °12′43″, is a constellation of dorado, and has an NGC number larger than 2068?
SELECT right_ascension___j2000__ FROM table_name_55 WHERE ngc_number > 2068 AND constellation = "dorado" AND declination___j2000__ = "°12′43″"
CREATE TABLE table_name_61 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)
What type of object has an NGC number higher than 2090 and has a right ascension (J2000) of 05h52m19s?
SELECT object_type FROM table_name_61 WHERE ngc_number > 2090 AND right_ascension___j2000__ = "05h52m19s"
CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR)
How is the crowd of the team Geelong?
SELECT AVG(crowd) FROM table_name_35 WHERE away_team = "geelong"
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
Who has the smallest crowd in the Venue of Arden Street Oval?
SELECT MIN(crowd) FROM table_name_56 WHERE venue = "arden street oval"
CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
What team has a Venue at Lake Oval?
SELECT away_team FROM table_name_35 WHERE venue = "lake oval"
CREATE TABLE table_name_30 (date VARCHAR, race_title VARCHAR)
What day is the grand prix de trois-rivières?
SELECT date FROM table_name_30 WHERE race_title = "grand prix de trois-rivières"
CREATE TABLE table_name_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR)
What race is on aug 4 with ron fellows?
SELECT race_title FROM table_name_24 WHERE drivers = "ron fellows" AND date = "aug 4"
CREATE TABLE table_name_3 (distance_duration VARCHAR, date VARCHAR, race_title VARCHAR)
What is the distance/duration on sept 5 of le grand prix de trois-rivières?
SELECT distance_duration FROM table_name_3 WHERE date = "sept 5" AND race_title = "le grand prix de trois-rivières"
CREATE TABLE table_name_21 (record VARCHAR, opponent VARCHAR)
What is terry's record when he fights julio paulino?
SELECT record FROM table_name_21 WHERE opponent = "julio paulino"
CREATE TABLE table_name_78 (time VARCHAR, method VARCHAR, opponent VARCHAR)
How long is the ko (punch) fight against scott smith?
SELECT time FROM table_name_78 WHERE method = "ko (punch)" AND opponent = "scott smith"
CREATE TABLE table_name_11 (feet INTEGER, latitude__n_ VARCHAR, metres VARCHAR)
What is the average feet that has a Latitude (N) of 35°48′35″, and under 8,047m?
SELECT AVG(feet) FROM table_name_11 WHERE latitude__n_ = "35°48′35″" AND metres < 8 OFFSET 047
CREATE TABLE table_name_22 (feet INTEGER, longitude__e_ VARCHAR, prominence__m_ VARCHAR)
What is the lowest feet total with a Longitude (E) of 76°34′06″, and a Prominence (m) under 1,701?
SELECT MIN(feet) FROM table_name_22 WHERE longitude__e_ = "76°34′06″" AND prominence__m_ < 1 OFFSET 701
CREATE TABLE table_name_75 (player VARCHAR, hometown VARCHAR)
What Player comes from the Hometown of Wichita, KS?
SELECT player FROM table_name_75 WHERE hometown = "wichita, ks"
CREATE TABLE table_name_99 (nba_draft VARCHAR, hometown VARCHAR)
For the Player from Brampton, ON what is their NBA Draft status?
SELECT nba_draft FROM table_name_99 WHERE hometown = "brampton, on"
CREATE TABLE table_name_69 (college VARCHAR, player VARCHAR)
What was the College of Player Perry Ellis?
SELECT college FROM table_name_69 WHERE player = "perry ellis"
CREATE TABLE table_name_24 (figures INTEGER, free VARCHAR)
What is the lowest figure score when the free is 556?
SELECT MIN(figures) FROM table_name_24 WHERE free = 556
CREATE TABLE table_name_39 (crowd INTEGER, away_team VARCHAR)
What is the size of the crowd for the game where the away team South Melbourne played?
SELECT AVG(crowd) FROM table_name_39 WHERE away_team = "south melbourne"
CREATE TABLE table_name_11 (home_team VARCHAR, crowd INTEGER)
What is the home team score when the crowd was larger than 30,100?
SELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100
CREATE TABLE table_name_5 (home_team VARCHAR)
How much did the home team Hawthorn score?
SELECT home_team AS score FROM table_name_5 WHERE home_team = "hawthorn"
CREATE TABLE table_name_2 (crowd VARCHAR, away_team VARCHAR)
What was the crowd size for the game at Footscray?
SELECT COUNT(crowd) FROM table_name_2 WHERE away_team = "footscray"
CREATE TABLE table_name_35 (visitor VARCHAR, home VARCHAR)
Who was the visitor when phoenix was at home?
SELECT visitor FROM table_name_35 WHERE home = "phoenix"
CREATE TABLE table_name_31 (date VARCHAR, visitor VARCHAR)
What day did philadelphia visit?
SELECT date FROM table_name_31 WHERE visitor = "philadelphia"
CREATE TABLE table_name_86 (song VARCHAR, picturization VARCHAR)
Which song has a Picturization of Vijay?
SELECT song FROM table_name_86 WHERE picturization = "vijay"
CREATE TABLE table_name_64 (original_air_date VARCHAR, production_code VARCHAR)
What is the air date for the episode with production code ad1c13?
SELECT original_air_date FROM table_name_64 WHERE production_code = "ad1c13"
CREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)
Who wrote the episode that has the production code ad1c05?
SELECT written_by FROM table_name_4 WHERE production_code = "ad1c05"
CREATE TABLE table_name_99 (title VARCHAR, production_code VARCHAR)
What is the title of the episode with production code ad1c07?
SELECT title FROM table_name_99 WHERE production_code = "ad1c07"
CREATE TABLE table_name_98 (draws INTEGER, against VARCHAR, wins VARCHAR, mid_gippsland_fl VARCHAR)
What is the low draw total for yarragon teams with over 3 wins, and under 966 against?
SELECT MIN(draws) FROM table_name_98 WHERE wins > 3 AND mid_gippsland_fl = "yarragon" AND against < 966
CREATE TABLE table_name_47 (general_classification VARCHAR, points_classification VARCHAR)
What is the General classification for a points classification leader of Bradley Wiggins?
SELECT general_classification FROM table_name_47 WHERE points_classification = "bradley wiggins"
CREATE TABLE table_name_94 (general_classification VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)
What is the general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?
SELECT general_classification FROM table_name_94 WHERE mountains_classification = "christophe moreau" AND team_classification = "team csc"
CREATE TABLE table_name_76 (frequency VARCHAR, call_sign VARCHAR)
What is the frequency of KQLX?
SELECT frequency FROM table_name_76 WHERE call_sign = "kqlx"
CREATE TABLE table_name_9 (call_sign VARCHAR, frequency VARCHAR)
What is the call sign of 1200 am?
SELECT call_sign FROM table_name_9 WHERE frequency = "1200 am"
CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR)
What is the frequency of the talk station?
SELECT frequency FROM table_name_67 WHERE format = "talk"
CREATE TABLE table_name_36 (frequency VARCHAR, call_sign VARCHAR)
What is the frequency of KFNW?
SELECT frequency FROM table_name_36 WHERE call_sign = "kfnw"
CREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)
What is the constructor for the VII Race of Champions?
SELECT constructor FROM table_name_34 WHERE race_name = "vii race of champions"
CREATE TABLE table_name_72 (race_name VARCHAR, winning_driver VARCHAR)
What is the name of the race won by driver Carlos Reutemann?
SELECT race_name FROM table_name_72 WHERE winning_driver = "carlos reutemann"
CREATE TABLE table_name_30 (date VARCHAR, home VARCHAR)
what is the date when the home is st. louis?
SELECT date FROM table_name_30 WHERE home = "st. louis"
CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR)
Where is the home on march 12?
SELECT home FROM table_name_34 WHERE date = "march 12"
CREATE TABLE table_name_8 (decision VARCHAR, date VARCHAR)
what is the decision on the date march 18?
SELECT decision FROM table_name_8 WHERE date = "march 18"
CREATE TABLE table_name_9 (tckl VARCHAR, year VARCHAR, p_ko_ret VARCHAR)
What is the total of TCKL in 2000 with a P/KO RET less than 14?
SELECT COUNT(tckl) FROM table_name_9 WHERE year = "2000" AND p_ko_ret < 14
CREATE TABLE table_name_61 (yards INTEGER, tckl VARCHAR, sack VARCHAR)
What is the highest YARDS with a TCKL more than 51 and less than 2 SACK?
SELECT MAX(yards) FROM table_name_61 WHERE tckl > 51 AND sack < 2
CREATE TABLE table_name_31 (yards VARCHAR, sack VARCHAR, p_ko_ret VARCHAR)
What is the total of all YARDS with 0 SACK and less than 14 P/KO RET?
SELECT COUNT(yards) FROM table_name_31 WHERE sack = 0 AND p_ko_ret < 14
CREATE TABLE table_name_91 (pick VARCHAR, college VARCHAR)
What is the pick for West Virginia college?
SELECT pick FROM table_name_91 WHERE college = "west virginia"
CREATE TABLE table_name_56 (round VARCHAR, position VARCHAR, college VARCHAR)
What round has a position of F/C from Iowa College?
SELECT round FROM table_name_56 WHERE position = "f/c" AND college = "iowa"
CREATE TABLE table_name_49 (nationality VARCHAR, pick VARCHAR)
What nationality has a pick of 1?
SELECT nationality FROM table_name_49 WHERE pick = "1"
CREATE TABLE table_name_15 (nationality VARCHAR, college VARCHAR, round VARCHAR, position VARCHAR)
Which nationality has a round of 1, and F position from Louisville?
SELECT nationality FROM table_name_15 WHERE round = "1" AND position = "f" AND college = "louisville"
CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR)
Which team plays at the Arden Street Oval?
SELECT away_team FROM table_name_97 WHERE venue = "arden street oval"
CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)
Where does Carlton play?
SELECT venue FROM table_name_82 WHERE home_team = "carlton"
CREATE TABLE table_name_7 (date VARCHAR, home VARCHAR, visitor VARCHAR)
What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves?
SELECT date FROM table_name_7 WHERE home = "grizzlies" AND visitor = "timberwolves"
CREATE TABLE table_name_91 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
What is the airing date for costume comedy that has 20 episodes?
SELECT airing_date FROM table_name_91 WHERE number_of_episodes = 20 AND genre = "costume comedy"
CREATE TABLE table_name_24 (year VARCHAR, film VARCHAR)
What year was 7th heaven made?
SELECT year FROM table_name_24 WHERE film = "7th heaven"
CREATE TABLE table_name_27 (film VARCHAR, year VARCHAR)
What film was made in 1999?
SELECT film FROM table_name_27 WHERE year = "1999"
CREATE TABLE table_name_14 (city VARCHAR, floors VARCHAR, height__m_ VARCHAR, height__ft_ VARCHAR, rank VARCHAR)
what is the city with the height (ft) more than 328.1, rank higher than 56, a height (m) of 103 and floors less than 28?
SELECT city FROM table_name_14 WHERE height__ft_ > 328.1 AND rank > 56 AND height__m_ = 103 AND floors < 28
CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR, rank VARCHAR)
what is the total of floors when the name is kölntriangle and rank is less thank 63?
SELECT SUM(floors) FROM table_name_10 WHERE name = "kölntriangle" AND rank < 63
CREATE TABLE table_name_55 (height__ft_ INTEGER, name VARCHAR, floors VARCHAR)
what is the lowest height (ft) for messeturm and more than 55 floors?
SELECT MIN(height__ft_) FROM table_name_55 WHERE name = "messeturm" AND floors > 55
CREATE TABLE table_name_90 (rank VARCHAR, height__ft_ VARCHAR, city VARCHAR, floors VARCHAR)
what is the rank for the city of cologne, floors is 34 and height (ft) is more than 452.8?
SELECT COUNT(rank) FROM table_name_90 WHERE city = "cologne" AND floors = 34 AND height__ft_ > 452.8
CREATE TABLE table_name_50 (group_position VARCHAR, result_f_a VARCHAR, date VARCHAR)
Which Group position has Result F–A of 0–1 on 1 november 2006?
SELECT group_position FROM table_name_50 WHERE result_f_a = "0–1" AND date = "1 november 2006"
CREATE TABLE table_name_41 (club VARCHAR, bowling_style VARCHAR, name VARCHAR)
What club is R. H. C. Human who has a right arm medium pace bowling style a member of?
SELECT club FROM table_name_41 WHERE bowling_style = "right arm medium pace" AND name = "r. h. c. human"
CREATE TABLE table_name_57 (birth_date VARCHAR, batting_style VARCHAR, name VARCHAR)
What is the birth date of A. J. Holmes who has a right-handed batting style?
SELECT birth_date FROM table_name_57 WHERE batting_style = "right-handed" AND name = "a. j. holmes"
CREATE TABLE table_name_75 (batting_style VARCHAR, bowling_style VARCHAR, birth_date VARCHAR)
What is the batting style of the person who has a right arm medium pace bowling style and a birth date of 10 February 1910 (aged 29)?
SELECT batting_style FROM table_name_75 WHERE bowling_style = "right arm medium pace" AND birth_date = "10 february 1910 (aged 29)"
CREATE TABLE table_name_91 (weight VARCHAR, name_v_t_e VARCHAR)
What is the weight for the v t e of živko gocić category:articles with hcards?
SELECT weight FROM table_name_91 WHERE name_v_t_e = "živko gocić category:articles with hcards"
CREATE TABLE table_name_26 (weight VARCHAR, name_v_t_e VARCHAR)
What is the weight of the v t e of duško pijetlović category:articles with hcards?
SELECT weight FROM table_name_26 WHERE name_v_t_e = "duško pijetlović category:articles with hcards"
CREATE TABLE table_name_45 (total INTEGER, player VARCHAR, tally VARCHAR)
What was the total for David O'Callaghan, and a Tally of 1-9?
SELECT SUM(total) FROM table_name_45 WHERE player = "david o'callaghan" AND tally = "1-9"
CREATE TABLE table_name_25 (opposition VARCHAR, tally VARCHAR)
What is the opposition when the tally was 0-11?
SELECT opposition FROM table_name_25 WHERE tally = "0-11"
CREATE TABLE table_name_44 (tally VARCHAR, opposition VARCHAR, county VARCHAR, total VARCHAR)
What is the tally in Kilkenny county with 10 as the total and opposition of Waterford?
SELECT tally FROM table_name_44 WHERE county = "kilkenny" AND total = 10 AND opposition = "waterford"
CREATE TABLE table_name_40 (weeks_on_chart INTEGER, position VARCHAR, year VARCHAR)
What is the average weeks of a song with a larger than 3 position after 1977?
SELECT AVG(weeks_on_chart) FROM table_name_40 WHERE position > 3 AND year > 1977
CREATE TABLE table_name_92 (weeks_on_chart INTEGER, position INTEGER)
What is the sum of the weeks on a chart a song with a position less than 1 haas?
SELECT SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1
CREATE TABLE table_name_5 (year INTEGER, position INTEGER)
What is the earliest year a song with a position less than 1 has?
SELECT MIN(year) FROM table_name_5 WHERE position < 1
CREATE TABLE table_name_81 (tyre VARCHAR, entrant VARCHAR)
what is the tyre when the entrant is scuderia milano?
SELECT tyre FROM table_name_81 WHERE entrant = "scuderia milano"