answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT alternate FROM table_name_58 WHERE nation = "sweden"
CREATE TABLE table_name_58 (alternate VARCHAR, nation VARCHAR)
Who is the Alternate for Sweden?
SELECT third FROM table_name_56 WHERE nation = "germany"
CREATE TABLE table_name_56 (third VARCHAR, nation VARCHAR)
Who is the third alternate for Germany?
SELECT translation FROM table_name_78 WHERE date = 1986
CREATE TABLE table_name_78 (translation VARCHAR, date VARCHAR)
Which translation was published in 1986?
SELECT title FROM table_name_86 WHERE content = "mysticism, spiritualism" AND translation = "the minaret of light"
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 employees__world_ FROM table_name_60 WHERE revenue__mil€_ = "104.000"
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 headquarters FROM table_name_23 WHERE employees__world_ = 100
CREATE TABLE table_name_23 (headquarters VARCHAR, employees__world_ VARCHAR)
Which HQ is associated with a number of employees of 100?
SELECT MIN(silver) FROM table_name_80 WHERE bronze > 1 AND rank < 11
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 MAX(total) FROM table_name_55 WHERE gold = 1 AND bronze > 1
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 home FROM table_name_13 WHERE record = "4-6-0"
CREATE TABLE table_name_13 (home VARCHAR, record VARCHAR)
What was the home team with a 4-6-0 record?
SELECT decision FROM table_name_96 WHERE visitor = "washington" AND date = "october 13"
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 AVG(ngc_number) FROM table_name_7 WHERE right_ascension___j2000__ = "05h33m30s"
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 right_ascension___j2000__ FROM table_name_55 WHERE ngc_number > 2068 AND constellation = "dorado" AND declination___j2000__ = "°12′43″"
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 object_type FROM table_name_61 WHERE ngc_number > 2090 AND right_ascension___j2000__ = "05h52m19s"
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 AVG(crowd) FROM table_name_35 WHERE away_team = "geelong"
CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR)
How is the crowd of the team Geelong?
SELECT MIN(crowd) FROM table_name_56 WHERE venue = "arden street oval"
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
Who has the smallest crowd in the Venue of Arden Street Oval?
SELECT away_team FROM table_name_35 WHERE venue = "lake oval"
CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
What team has a Venue at Lake Oval?
SELECT date FROM table_name_30 WHERE race_title = "grand prix de trois-rivières"
CREATE TABLE table_name_30 (date VARCHAR, race_title VARCHAR)
What day is the grand prix de trois-rivières?
SELECT race_title FROM table_name_24 WHERE drivers = "ron fellows" AND date = "aug 4"
CREATE TABLE table_name_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR)
What race is on aug 4 with ron fellows?
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_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 record FROM table_name_21 WHERE opponent = "julio paulino"
CREATE TABLE table_name_21 (record VARCHAR, opponent VARCHAR)
What is terry's record when he fights julio paulino?
SELECT time FROM table_name_78 WHERE method = "ko (punch)" AND opponent = "scott smith"
CREATE TABLE table_name_78 (time VARCHAR, method VARCHAR, opponent VARCHAR)
How long is the ko (punch) fight against scott smith?
SELECT AVG(feet) FROM table_name_11 WHERE latitude__n_ = "35°48′35″" AND metres < 8 OFFSET 047
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 MIN(feet) FROM table_name_22 WHERE longitude__e_ = "76°34′06″" AND prominence__m_ < 1 OFFSET 701
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 player FROM table_name_75 WHERE hometown = "wichita, ks"
CREATE TABLE table_name_75 (player VARCHAR, hometown VARCHAR)
What Player comes from the Hometown of Wichita, KS?
SELECT nba_draft FROM table_name_99 WHERE hometown = "brampton, on"
CREATE TABLE table_name_99 (nba_draft VARCHAR, hometown VARCHAR)
For the Player from Brampton, ON what is their NBA Draft status?
SELECT college FROM table_name_69 WHERE player = "perry ellis"
CREATE TABLE table_name_69 (college VARCHAR, player VARCHAR)
What was the College of Player Perry Ellis?
SELECT MIN(figures) FROM table_name_24 WHERE free = 556
CREATE TABLE table_name_24 (figures INTEGER, free VARCHAR)
What is the lowest figure score when the free is 556?
SELECT AVG(crowd) FROM table_name_39 WHERE away_team = "south melbourne"
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 home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100
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_5 WHERE home_team = "hawthorn"
CREATE TABLE table_name_5 (home_team VARCHAR)
How much did the home team Hawthorn score?
SELECT COUNT(crowd) FROM table_name_2 WHERE away_team = "footscray"
CREATE TABLE table_name_2 (crowd VARCHAR, away_team VARCHAR)
What was the crowd size for the game at Footscray?
SELECT visitor FROM table_name_35 WHERE home = "phoenix"
CREATE TABLE table_name_35 (visitor VARCHAR, home VARCHAR)
Who was the visitor when phoenix was at home?
SELECT date FROM table_name_31 WHERE visitor = "philadelphia"
CREATE TABLE table_name_31 (date VARCHAR, visitor VARCHAR)
What day did philadelphia visit?
SELECT song FROM table_name_86 WHERE picturization = "vijay"
CREATE TABLE table_name_86 (song VARCHAR, picturization VARCHAR)
Which song has a Picturization of Vijay?
SELECT original_air_date FROM table_name_64 WHERE production_code = "ad1c13"
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 written_by FROM table_name_4 WHERE production_code = "ad1c05"
CREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)
Who wrote the episode that has the production code ad1c05?
SELECT title FROM table_name_99 WHERE production_code = "ad1c07"
CREATE TABLE table_name_99 (title VARCHAR, production_code VARCHAR)
What is the title of the episode with production code ad1c07?
SELECT MIN(draws) FROM table_name_98 WHERE wins > 3 AND mid_gippsland_fl = "yarragon" AND against < 966
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 general_classification FROM table_name_47 WHERE points_classification = "bradley wiggins"
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_94 WHERE mountains_classification = "christophe moreau" AND team_classification = "team csc"
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 frequency FROM table_name_76 WHERE call_sign = "kqlx"
CREATE TABLE table_name_76 (frequency VARCHAR, call_sign VARCHAR)
What is the frequency of KQLX?
SELECT call_sign FROM table_name_9 WHERE frequency = "1200 am"
CREATE TABLE table_name_9 (call_sign VARCHAR, frequency VARCHAR)
What is the call sign of 1200 am?
SELECT frequency FROM table_name_67 WHERE format = "talk"
CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR)
What is the frequency of the talk station?
SELECT frequency FROM table_name_36 WHERE call_sign = "kfnw"
CREATE TABLE table_name_36 (frequency VARCHAR, call_sign VARCHAR)
What is the frequency of KFNW?
SELECT constructor FROM table_name_34 WHERE race_name = "vii race of champions"
CREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)
What is the constructor for the VII Race of Champions?
SELECT race_name FROM table_name_72 WHERE winning_driver = "carlos reutemann"
CREATE TABLE table_name_72 (race_name VARCHAR, winning_driver VARCHAR)
What is the name of the race won by driver Carlos Reutemann?
SELECT date FROM table_name_30 WHERE home = "st. louis"
CREATE TABLE table_name_30 (date VARCHAR, home VARCHAR)
what is the date when the home is st. louis?
SELECT home FROM table_name_34 WHERE date = "march 12"
CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR)
Where is the home on march 12?
SELECT decision FROM table_name_8 WHERE date = "march 18"
CREATE TABLE table_name_8 (decision VARCHAR, date VARCHAR)
what is the decision on the date march 18?
SELECT COUNT(tckl) FROM table_name_9 WHERE year = "2000" AND p_ko_ret < 14
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 MAX(yards) FROM table_name_61 WHERE tckl > 51 AND sack < 2
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 COUNT(yards) FROM table_name_31 WHERE sack = 0 AND p_ko_ret < 14
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 pick FROM table_name_91 WHERE college = "west virginia"
CREATE TABLE table_name_91 (pick VARCHAR, college VARCHAR)
What is the pick for West Virginia college?
SELECT round FROM table_name_56 WHERE position = "f/c" AND college = "iowa"
CREATE TABLE table_name_56 (round VARCHAR, position VARCHAR, college VARCHAR)
What round has a position of F/C from Iowa College?
SELECT nationality FROM table_name_49 WHERE pick = "1"
CREATE TABLE table_name_49 (nationality VARCHAR, pick VARCHAR)
What nationality has a pick of 1?
SELECT nationality FROM table_name_15 WHERE round = "1" AND position = "f" AND college = "louisville"
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 away_team FROM table_name_97 WHERE venue = "arden street oval"
CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR)
Which team plays at the Arden Street Oval?
SELECT venue FROM table_name_82 WHERE home_team = "carlton"
CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)
Where does Carlton play?
SELECT date FROM table_name_7 WHERE home = "grizzlies" AND visitor = "timberwolves"
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 airing_date FROM table_name_91 WHERE number_of_episodes = 20 AND genre = "costume comedy"
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 year FROM table_name_24 WHERE film = "7th heaven"
CREATE TABLE table_name_24 (year VARCHAR, film VARCHAR)
What year was 7th heaven made?
SELECT film FROM table_name_27 WHERE year = "1999"
CREATE TABLE table_name_27 (film VARCHAR, year VARCHAR)
What film was made in 1999?
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_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 SUM(floors) FROM table_name_10 WHERE name = "kölntriangle" AND rank < 63
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 MIN(height__ft_) FROM table_name_55 WHERE name = "messeturm" AND floors > 55
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 COUNT(rank) FROM table_name_90 WHERE city = "cologne" AND floors = 34 AND height__ft_ > 452.8
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 group_position FROM table_name_50 WHERE result_f_a = "0–1" AND date = "1 november 2006"
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 club FROM table_name_41 WHERE bowling_style = "right arm medium pace" AND name = "r. h. c. human"
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 birth_date FROM table_name_57 WHERE batting_style = "right-handed" AND name = "a. j. holmes"
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 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_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 weight FROM table_name_91 WHERE name_v_t_e = "živko gocić category:articles with hcards"
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_26 WHERE name_v_t_e = "duško pijetlović 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 SUM(total) FROM table_name_45 WHERE player = "david o'callaghan" AND tally = "1-9"
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 opposition FROM table_name_25 WHERE tally = "0-11"
CREATE TABLE table_name_25 (opposition VARCHAR, tally VARCHAR)
What is the opposition when the tally was 0-11?
SELECT tally FROM table_name_44 WHERE county = "kilkenny" AND total = 10 AND opposition = "waterford"
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 AVG(weeks_on_chart) FROM table_name_40 WHERE position > 3 AND year > 1977
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 SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1
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 MIN(year) FROM table_name_5 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 tyre FROM table_name_81 WHERE entrant = "scuderia milano"
CREATE TABLE table_name_81 (tyre VARCHAR, entrant VARCHAR)
what is the tyre when the entrant is scuderia milano?
SELECT driver FROM table_name_17 WHERE engine = "era 1.5 l6 s" AND chassis = "era b"
CREATE TABLE table_name_17 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)
who is the driver with the engine era 1.5 l6 s and the chassis is era b?
SELECT constructor FROM table_name_75 WHERE tyre = "d" AND engine = "talbot 23cv 4.5 l6" AND chassis = "talbot-lago t26c" AND entrant = "ecurie belge"
CREATE TABLE table_name_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR)
who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?
SELECT kk___1 FROM table_name_79 WHERE kk___3 = "1,100"
CREATE TABLE table_name_79 (kk___1 VARCHAR, kk___3 VARCHAR)
What is KK -1 if KK -3 is 1,100?
SELECT kk___5 FROM table_name_38 WHERE kk___3 = "310"
CREATE TABLE table_name_38 (kk___5 VARCHAR, kk___3 VARCHAR)
What is KK -5 if KK - 3 is 310?
SELECT kk___5 FROM table_name_42 WHERE kk___1 = "1,067"
CREATE TABLE table_name_42 (kk___5 VARCHAR, kk___1 VARCHAR)
What is KK - 5 if KK - 1 is 1,067?
SELECT winner FROM table_name_74 WHERE time = "1:12.00" AND jockey = "melvin a. holland"
CREATE TABLE table_name_74 (winner VARCHAR, time VARCHAR, jockey VARCHAR)
Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey?
SELECT year FROM table_name_71 WHERE purse = "$83,925"
CREATE TABLE table_name_71 (year VARCHAR, purse VARCHAR)
Which Year has a Purse of $83,925?
SELECT purse FROM table_name_10 WHERE year = "1998"
CREATE TABLE table_name_10 (purse VARCHAR, year VARCHAR)
What is the Purse listed for the Year of 1998?
SELECT winner FROM table_name_9 WHERE year = "2000"
CREATE TABLE table_name_9 (winner VARCHAR, year VARCHAR)
What's the Winner in the Year of 2000?
SELECT winner FROM table_name_43 WHERE time = "1:10.60" AND owner = "leslie combs ii"
CREATE TABLE table_name_43 (winner VARCHAR, time VARCHAR, owner VARCHAR)
What's the WInner with a TIme of 1:10.60, and Owner of Leslie Combs II?
SELECT trainer FROM table_name_33 WHERE year = "2013"
CREATE TABLE table_name_33 (trainer VARCHAR, year VARCHAR)
Who is the Trainer with the Year of 2013?
SELECT away_team AS score FROM table_name_84 WHERE away_team = "st kilda"
CREATE TABLE table_name_84 (away_team VARCHAR)
How many points did the away team of st kilda score?
SELECT date FROM table_name_94 WHERE result = "l 13–9"
CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR)
Tell me the date with result of l 13–9
SELECT COUNT(week) FROM table_name_67 WHERE result = "w 35–7"
CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR)
Tell me the total number of week for w 35–7
SELECT AVG(week) FROM table_name_70 WHERE result = "l 34–24"
CREATE TABLE table_name_70 (week INTEGER, result VARCHAR)
Tell me the average week for result of l 34–24
SELECT czechoslovak_president FROM table_name_99 WHERE tenure_begin = "1950"
CREATE TABLE table_name_99 (czechoslovak_president VARCHAR, tenure_begin VARCHAR)
Who was the President of Czechoslovakia when an ambassador's tenure began in 1950?
SELECT SUM(share) FROM table_name_2 WHERE air_date = "november 19, 2007"
CREATE TABLE table_name_2 (share INTEGER, air_date VARCHAR)
What is the total share for an episode with an air date of November 19, 2007?
SELECT manufacturer FROM table_name_35 WHERE time_retired = "+15.665"
CREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR)
Which manufacturer has a Time/Retired of +15.665?
SELECT laps FROM table_name_72 WHERE manufacturer = "aprilia" AND grid = 10
CREATE TABLE table_name_72 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
What were the laps of aprilia with a grid of 10?
SELECT AVG(crowd) FROM table_name_66 WHERE venue = "junction oval"
CREATE TABLE table_name_66 (crowd INTEGER, venue VARCHAR)
What was the size of the crowd at the game played at Junction Oval?
SELECT date FROM table_name_35 WHERE home_team = "north melbourne"
CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR)
When was the game when North Melbourne was the home team?