answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT -time AS rank FROM table_name_55 WHERE rank < 9 AND debut_year = 1994
CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR, debut_year VARCHAR)
What is the all-time rank associated with a rank less than 9 and a debut in 1994?
SELECT tournament FROM table_name_52 WHERE surface = "clay" AND score = "4–6, 6–1, 6–4"
CREATE TABLE table_name_52 (tournament VARCHAR, surface VARCHAR, score VARCHAR)
Which tournament was played on clay and there was a score of 4–6, 6–1, 6–4?
SELECT score FROM table_name_60 WHERE partner = "albert montañés"
CREATE TABLE table_name_60 (score VARCHAR, partner VARCHAR)
What is the score for the match where albert montañés was the partner?
SELECT score FROM table_name_5 WHERE opponents_in_the_final = "james cerretani todd perry"
CREATE TABLE table_name_5 (score VARCHAR, opponents_in_the_final VARCHAR)
What is the score for the match where the opponent in the final was james cerretani todd perry?
SELECT date FROM table_name_22 WHERE opponents_in_the_final = "gastón etlis martín rodríguez"
CREATE TABLE table_name_22 (date VARCHAR, opponents_in_the_final VARCHAR)
What is the date when the opponent in the final is gastón etlis martín rodríguez?
SELECT score FROM table_name_95 WHERE opponents_in_the_final = "james cerretani todd perry"
CREATE TABLE table_name_95 (score VARCHAR, opponents_in_the_final VARCHAR)
What was the score for the match were the opponent in the final was james cerretani todd perry?
SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city"
CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)
Who is Birmingham City's outgoing manager?
SELECT replaced_by FROM table_name_2 WHERE team = "bolton wanderers"
CREATE TABLE table_name_2 (replaced_by VARCHAR, team VARCHAR)
What is the name of the replacement manager for the Bolton Wanderers?
SELECT position_in_table FROM table_name_49 WHERE outgoing_manager = "sammy lee"
CREATE TABLE table_name_49 (position_in_table VARCHAR, outgoing_manager VARCHAR)
How was Sammy Lee's team doing on the table before being replaced?
SELECT team FROM table_name_63 WHERE replaced_by = "gary megson"
CREATE TABLE table_name_63 (team VARCHAR, replaced_by VARCHAR)
Which team hired Gary Megson as the replacement manager?
SELECT date FROM table_name_86 WHERE venue = "mcg"
CREATE TABLE table_name_86 (date VARCHAR, venue VARCHAR)
What was the date of the match played at MCG?
SELECT home_team AS score FROM table_name_65 WHERE home_team = "carlton"
CREATE TABLE table_name_65 (home_team VARCHAR)
What was Carlton's score as the home team?
SELECT home_team FROM table_name_62 WHERE venue = "princes park"
CREATE TABLE table_name_62 (home_team VARCHAR, venue VARCHAR)
What home team plays at Princes Park?
SELECT MIN(crowd) FROM table_name_21 WHERE away_team = "collingwood"
CREATE TABLE table_name_21 (crowd INTEGER, away_team VARCHAR)
WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM?
SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "essendon"
CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR)
WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM?
SELECT away_team AS score FROM table_name_50 WHERE away_team = "hawthorn"
CREATE TABLE table_name_50 (away_team VARCHAR)
WHAT DID HAWTHORN SCORE AT ITS AWAY GAME?
SELECT opponent FROM table_name_86 WHERE date = "november 26, 1989"
CREATE TABLE table_name_86 (opponent VARCHAR, date VARCHAR)
Who was the opponent on November 26, 1989?
SELECT result FROM table_name_41 WHERE date = "october 29, 1989"
CREATE TABLE table_name_41 (result VARCHAR, date VARCHAR)
What was the result on October 29, 1989?
SELECT result FROM table_name_15 WHERE date = "october 1, 1989"
CREATE TABLE table_name_15 (result VARCHAR, date VARCHAR)
What was the result on October 1, 1989?
SELECT MAX(losses) FROM table_name_6 WHERE away = "1-6" AND wins > 4
CREATE TABLE table_name_6 (losses INTEGER, away VARCHAR, wins VARCHAR)
What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had?
SELECT home_team AS score FROM table_name_66 WHERE venue = "corio oval"
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
What is the home team's score at corio oval?
SELECT service FROM table_name_88 WHERE language = "bengali"
CREATE TABLE table_name_88 (service VARCHAR, language VARCHAR)
What network is in the language of Bengali?
SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali"
CREATE TABLE table_name_20 (network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
What network has an origin in India, a genre of general, and broadcasts in Bengali?
SELECT language FROM table_name_98 WHERE network = "ary digital"
CREATE TABLE table_name_98 (language VARCHAR, network VARCHAR)
What language does the Ary Digital network broadcast in?
SELECT AVG(crowd) FROM table_name_59 WHERE away_team = "carlton"
CREATE TABLE table_name_59 (crowd INTEGER, away_team VARCHAR)
What is the average crowd for Carlton?
SELECT home_team AS score FROM table_name_41 WHERE away_team = "carlton"
CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)
How many points did Carlton score?
SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "north melbourne"
CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)
What was the largest crowd for North Melbourne
SELECT away_team AS score FROM table_name_6 WHERE away_team = "footscray"
CREATE TABLE table_name_6 (away_team VARCHAR)
What is the score for Footscray?
SELECT result FROM table_name_33 WHERE week = 5
CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR)
What is the result of week 5?
SELECT name FROM table_name_45 WHERE shoulder = "10.688 (.420)"
CREATE TABLE table_name_45 (name VARCHAR, shoulder VARCHAR)
What is the name of the gun with a shoulder that measures 10.688 (.420)?
SELECT shoulder FROM table_name_36 WHERE length = "57.85 (2.278)"
CREATE TABLE table_name_36 (shoulder VARCHAR, length VARCHAR)
What is the shoulder measurement of the gun with a length of 57.85 (2.278)?
SELECT neck FROM table_name_16 WHERE shoulder = "10.688 (.420)"
CREATE TABLE table_name_16 (neck VARCHAR, shoulder VARCHAR)
What is the neck measurement of the gun with a shoulder measurement of 10.688 (.420)?
SELECT length FROM table_name_35 WHERE shoulder = "12.18 (.480)"
CREATE TABLE table_name_35 (length VARCHAR, shoulder VARCHAR)
What is the length of the gun that has a shoulder measurement of 12.18 (.480)?
SELECT bullet FROM table_name_51 WHERE shoulder = "12.5 (.491)"
CREATE TABLE table_name_51 (bullet VARCHAR, shoulder VARCHAR)
What bullet does the gun with a shoulder measurement of 12.5 (.491)?
SELECT attendance FROM table_name_25 WHERE week < 5 AND date = "september 18, 1994"
CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR, date VARCHAR)
What was the attendance for the game held on September 18, 1994, with a week less than 5?
SELECT AVG(attendance) FROM table_name_34 WHERE week > 6 AND opponent = "at philadelphia eagles"
CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6?
SELECT COUNT(attendance) FROM table_name_54 WHERE week > 2 AND date = "october 30, 1994"
CREATE TABLE table_name_54 (attendance VARCHAR, week VARCHAR, date VARCHAR)
What was the attendance for the game on October 30, 1994 for a week after week 2?
SELECT title FROM table_name_23 WHERE podcast_date = "september 25, 2005"
CREATE TABLE table_name_23 (title VARCHAR, podcast_date VARCHAR)
What is the title of the episode that aired on September 25, 2005?
SELECT run_time FROM table_name_66 WHERE podcast_date = "september 4, 2005"
CREATE TABLE table_name_66 (run_time VARCHAR, podcast_date VARCHAR)
What is the run time of the episode that aired on September 4, 2005?
SELECT historical_references FROM table_name_38 WHERE podcast_date = "october 23, 2005"
CREATE TABLE table_name_38 (historical_references VARCHAR, podcast_date VARCHAR)
What is the historical reference of the episode that aired on October 23, 2005?
SELECT podcast_date FROM table_name_92 WHERE episode_number < 307 AND historical_references = "p.t. barnum" AND run_time = "5:48"
CREATE TABLE table_name_92 (podcast_date VARCHAR, run_time VARCHAR, episode_number VARCHAR, historical_references VARCHAR)
What is the date of the episode that is before 307, run time equals 5:48 and has P.T. Barnum as the topic?
SELECT historical_references FROM table_name_7 WHERE run_time = "6:07"
CREATE TABLE table_name_7 (historical_references VARCHAR, run_time VARCHAR)
What is the topic of the episode that runs 6:07?
SELECT episode_number FROM table_name_17 WHERE podcast_date = "august 8, 2005"
CREATE TABLE table_name_17 (episode_number VARCHAR, podcast_date VARCHAR)
What is the episode number of the episode that aired on August 8, 2005?
SELECT date FROM table_name_21 WHERE away_team = "south melbourne"
CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR)
What day is south melbourne the away side?
SELECT res FROM table_name_62 WHERE opponent = "ryo takigawa"
CREATE TABLE table_name_62 (res VARCHAR, opponent VARCHAR)
Did the fighter beat Ryo Takigawa?
SELECT incident_no FROM table_name_8 WHERE place = "dantewada, chattisgarh"
CREATE TABLE table_name_8 (incident_no VARCHAR, place VARCHAR)
What is the incident number of the incident that occurred in Dantewada, Chattisgarh?
SELECT province FROM table_name_12 WHERE iata = "uyn"
CREATE TABLE table_name_12 (province VARCHAR, iata VARCHAR)
WHich province has an IATA of UYN?
SELECT city FROM table_name_61 WHERE icao = "zsxz"
CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR)
Which city has an ICAO of ZSXZ?
SELECT province FROM table_name_63 WHERE airport = "luogang international airport"
CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR)
Which province is Luogang International Airport located in?
SELECT province FROM table_name_7 WHERE iata = "wnz"
CREATE TABLE table_name_7 (province VARCHAR, iata VARCHAR)
WHich province has an IATA of WNZ?
SELECT iata FROM table_name_33 WHERE airport = "korla airport"
CREATE TABLE table_name_33 (iata VARCHAR, airport VARCHAR)
What is the IATA for Korla Airport.
SELECT division FROM table_name_27 WHERE position = "4th"
CREATE TABLE table_name_27 (division VARCHAR, position VARCHAR)
In what division did they place 4th?
SELECT top_scorer FROM table_name_31 WHERE season = "1890-91"
CREATE TABLE table_name_31 (top_scorer VARCHAR, season VARCHAR)
What was the top scorer in the 1890-91 season?
SELECT position FROM table_name_95 WHERE school_club_team = "arizona state"
CREATE TABLE table_name_95 (position VARCHAR, school_club_team VARCHAR)
Which position has a player at Arizona state?
SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller"
CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR)
Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller?
SELECT AVG(round) FROM table_name_56 WHERE position = "tight end" AND player = "randy bethel"
CREATE TABLE table_name_56 (round INTEGER, position VARCHAR, player VARCHAR)
What is the average round at which is the position of Tight End and Randy Bethel?
SELECT date FROM table_name_35 WHERE opponent = "new orleans saints"
CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR)
What day did they play the New Orleans Saints?
SELECT overall_win_percentage FROM table_name_5 WHERE coach = "dick bennett"
CREATE TABLE table_name_5 (overall_win_percentage VARCHAR, coach VARCHAR)
What was coach Dick Bennett's overall win percentage?
SELECT notes FROM table_name_57 WHERE shirt_printing = "pavv" AND year < 2005
CREATE TABLE table_name_57 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR)
What are the notes for the shirt that said Pavv before 2005?
SELECT notes FROM table_name_31 WHERE shirt_printing = "pavv" AND year > 2007
CREATE TABLE table_name_31 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR)
What are the notes for the shirt that said Pavv after 2007?
SELECT AVG(year) FROM table_name_36 WHERE notes = "electronics brand"
CREATE TABLE table_name_36 (year INTEGER, notes VARCHAR)
What is the average of all the years when the notes are “electronics brand?”
SELECT notes FROM table_name_85 WHERE kit_supplier = "rapido" AND shirt_printing = "名品+1"
CREATE TABLE table_name_85 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR)
What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido?
SELECT MAX(crowd) FROM table_name_52 WHERE venue = "lake oval"
CREATE TABLE table_name_52 (crowd INTEGER, venue VARCHAR)
What is the largest crowd at Lake Oval?
SELECT home_team FROM table_name_70 WHERE crowd > 25 OFFSET 000
CREATE TABLE table_name_70 (home_team VARCHAR, crowd INTEGER)
What was the home team for the game with more than 25,000 crowd?
SELECT away_team AS score FROM table_name_66 WHERE away_team = "footscray"
CREATE TABLE table_name_66 (away_team VARCHAR)
What was the score for Footscray when they were the away team?
SELECT result FROM table_name_26 WHERE date = "march 14, 2007"
CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
What is the result from March 14, 2007?
SELECT COUNT(goals) FROM table_name_48 WHERE result = "0-1" AND date = "march 28, 2007"
CREATE TABLE table_name_48 (goals VARCHAR, result VARCHAR, date VARCHAR)
How many goals have a result of 0-1 on march 28, 2007?
SELECT venue FROM table_name_73 WHERE result = "3-0"
CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR)
What venue has a Result of 3-0?
SELECT home_team AS score FROM table_name_54 WHERE home_team = "collingwood"
CREATE TABLE table_name_54 (home_team VARCHAR)
What was Collingwood's score as the home team?
SELECT venue FROM table_name_40 WHERE home_team = "carlton"
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)
What venue features carlton as the home side?
SELECT date FROM table_name_79 WHERE home_team = "collingwood"
CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)
What day is collingwood the home side?
SELECT event FROM table_name_71 WHERE record = "1-0"
CREATE TABLE table_name_71 (event VARCHAR, record VARCHAR)
The event that has a record of 1-0 is none of the above.
SELECT SUM(year) FROM table_name_81 WHERE name = "leon blevins"
CREATE TABLE table_name_81 (year INTEGER, name VARCHAR)
What year was Leon Blevins picked?
SELECT MIN(year) FROM table_name_70 WHERE overall_pick = "8" AND name = "jordan hill"
CREATE TABLE table_name_70 (year INTEGER, overall_pick VARCHAR, name VARCHAR)
What year was Jordan Hill picked overall number 8?
SELECT team FROM table_name_8 WHERE year = 1981 AND overall_pick = "148"
CREATE TABLE table_name_8 (team VARCHAR, year VARCHAR, overall_pick VARCHAR)
In 1981 which team picked overall 148?
SELECT attendance FROM table_name_69 WHERE date = "december 2, 1951"
CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR)
How many people attended the game on December 2, 1951?
SELECT venue FROM table_name_30 WHERE away_team = "st kilda"
CREATE TABLE table_name_30 (venue VARCHAR, away_team VARCHAR)
What venue does st kilda play at as the away team?
SELECT home_team AS score FROM table_name_97 WHERE home_team = "melbourne"
CREATE TABLE table_name_97 (home_team VARCHAR)
What is melbourne's home team score?
SELECT COUNT(crowd) FROM table_name_4 WHERE home_team = "collingwood"
CREATE TABLE table_name_4 (crowd VARCHAR, home_team VARCHAR)
How many games is collingwood the home side?
SELECT AVG(week) FROM table_name_41 WHERE date = "november 29, 1970" AND attendance < 31 OFFSET 427
CREATE TABLE table_name_41 (week INTEGER, date VARCHAR, attendance VARCHAR)
Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?
SELECT date FROM table_name_54 WHERE week > 4 AND opponent = "new york giants"
CREATE TABLE table_name_54 (date VARCHAR, week VARCHAR, opponent VARCHAR)
On what date was the game where is was later than Week 4 of the season and the opponent was the New York Giants?
SELECT COUNT(attendance) FROM table_name_34 WHERE date = "december 13, 1970" AND week > 13
CREATE TABLE table_name_34 (attendance VARCHAR, date VARCHAR, week VARCHAR)
What was the attendance of the game on December 13, 1970?
SELECT date FROM table_name_48 WHERE week < 13 AND opponent = "miami dolphins"
CREATE TABLE table_name_48 (date VARCHAR, week VARCHAR, opponent VARCHAR)
What is the date before week 13 and Miami Dolphins as an opponent?
SELECT attendance FROM table_name_59 WHERE week = 11
CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR)
What is the attendance for week 11?
SELECT home_team AS score FROM table_name_57 WHERE home_team = "north melbourne"
CREATE TABLE table_name_57 (home_team VARCHAR)
What is the home team's score for north melbourne?
SELECT sponsor_s_ FROM table_name_60 WHERE rounds = "all" AND driver_s_ = "josele garza"
CREATE TABLE table_name_60 (sponsor_s_ VARCHAR, rounds VARCHAR, driver_s_ VARCHAR)
Who sponsors Josele Garza in all rounds?
SELECT rounds FROM table_name_77 WHERE team = "walther"
CREATE TABLE table_name_77 (rounds VARCHAR, team VARCHAR)
Which rounds did the team Walther participate in?
SELECT team FROM table_name_8 WHERE driver_s_ = "tom sneva" AND rounds = "1-9"
CREATE TABLE table_name_8 (team VARCHAR, driver_s_ VARCHAR, rounds VARCHAR)
What team was Tom Sneva on in rounds 1-9?
SELECT rounds FROM table_name_7 WHERE sponsor_s_ = "arciero wines" AND chassis = "march 85c"
CREATE TABLE table_name_7 (rounds VARCHAR, sponsor_s_ VARCHAR, chassis VARCHAR)
Which rounds do Arciero Wines sponsor a March 85c chassis?
SELECT charter_range FROM table_name_15 WHERE status = "inactive" AND state = "north carolina"
CREATE TABLE table_name_15 (charter_range VARCHAR, status VARCHAR, state VARCHAR)
What years were the inactive North Carolina chapter active?
SELECT charter_range FROM table_name_99 WHERE status = "inactive" AND state = "idaho"
CREATE TABLE table_name_99 (charter_range VARCHAR, status VARCHAR, state VARCHAR)
What years were the inactive Idaho chapter active?
SELECT chapter FROM table_name_5 WHERE charter_range = "1906-1991"
CREATE TABLE table_name_5 (chapter VARCHAR, charter_range VARCHAR)
Which chapter was active from 1906-1991?
SELECT charter_range FROM table_name_85 WHERE school = "montana state university"
CREATE TABLE table_name_85 (charter_range VARCHAR, school VARCHAR)
What are the active dates for the Montana State University chapter?
SELECT state FROM table_name_36 WHERE charter_range = "1906-1991"
CREATE TABLE table_name_36 (state VARCHAR, charter_range VARCHAR)
What state had an active chapter from 1906-1991?
SELECT attendance FROM table_name_50 WHERE record = "6-1"
CREATE TABLE table_name_50 (attendance VARCHAR, record VARCHAR)
How many people were at the game with a record of 6-1?
SELECT date FROM table_name_72 WHERE opponent = "indianapolis colts"
CREATE TABLE table_name_72 (date VARCHAR, opponent VARCHAR)
When was there a game against the Indianapolis colts?
SELECT MIN(crowd) FROM table_name_91 WHERE venue = "mcg"
CREATE TABLE table_name_91 (crowd INTEGER, venue VARCHAR)
What is the lowest crowd size at MCG?
SELECT AVG(crowd) FROM table_name_36 WHERE home_team = "north melbourne"
CREATE TABLE table_name_36 (crowd INTEGER, home_team VARCHAR)
What is the average crowd size when the home team is North Melbourne?
SELECT away_team AS score FROM table_name_52 WHERE home_team = "north melbourne"
CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR)
What is the away team score when the home team is North Melbourne?
SELECT pole_position FROM table_name_47 WHERE race_name = "marlboro challenge"
CREATE TABLE table_name_47 (pole_position VARCHAR, race_name VARCHAR)
What is the pole position for marlboro challenge?