context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_97 (code VARCHAR, cr VARCHAR) | What code has a C.R of 16.7:1? | SELECT code FROM table_name_97 WHERE cr = "16.7:1" |
CREATE TABLE table_name_61 (outcome VARCHAR, date VARCHAR) | What Outcome happened on a Date that was 20 november 2011? | SELECT outcome FROM table_name_61 WHERE date = "20 november 2011" |
CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR) | Which Away team has a Score of 0–3? | SELECT away_team FROM table_name_4 WHERE score = "0–3" |
CREATE TABLE table_name_63 (attendance VARCHAR, tie_no VARCHAR) | Which Attendance has a Tie number of 5? | SELECT attendance FROM table_name_63 WHERE tie_no = "5" |
CREATE TABLE table_name_74 (score VARCHAR, attendance VARCHAR, tie_no VARCHAR) | Which Score has an Attendance of 23 january 1999, and a Tie # of 6? | SELECT score FROM table_name_74 WHERE attendance = "23 january 1999" AND tie_no = "6" |
CREATE TABLE table_name_16 (tie_no VARCHAR, attendance VARCHAR) | Which Tie #has an Attendance of 54,591? | SELECT tie_no FROM table_name_16 WHERE attendance = "54,591" |
CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR) | Which Home team has a Score of 1–1, and an Away team of tottenham hotspur? | SELECT home_team FROM table_name_68 WHERE score = "1–1" AND away_team = "tottenham hotspur" |
CREATE TABLE table_name_25 (attendance VARCHAR, tie_no VARCHAR) | Which Attendance has a Tie # of 15? | SELECT attendance FROM table_name_25 WHERE tie_no = "15" |
CREATE TABLE table_name_80 (year VARCHAR, position VARCHAR) | In what Year was the Position 11th? | SELECT COUNT(year) FROM table_name_80 WHERE position = "11th" |
CREATE TABLE table_name_46 (competition VARCHAR, venue VARCHAR) | What was the name of the Competition in Rome, Italy? | SELECT competition FROM table_name_46 WHERE venue = "rome, italy" |
CREATE TABLE table_name_64 (notes VARCHAR, year VARCHAR, position VARCHAR) | What Notes after 1983 have a Position of 18th? | SELECT notes FROM table_name_64 WHERE year > 1983 AND position = "18th" |
CREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR) | After 1983, what was the Position in Seoul, South Korea? | SELECT position FROM table_name_92 WHERE year > 1983 AND venue = "seoul, south korea" |
CREATE TABLE table_name_57 (gold VARCHAR, rank VARCHAR, total VARCHAR) | How many Gold medals for the country with a Rank of 1 and less than 2 Total medals? | SELECT COUNT(gold) FROM table_name_57 WHERE rank = "1" AND total < 2 |
CREATE TABLE table_name_11 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) | How many Gold medals does the country with 2 Silver and more than 2 Bronze have? | SELECT COUNT(gold) FROM table_name_11 WHERE silver = 2 AND bronze > 2 |
CREATE TABLE table_name_18 (age_as_of_1_february_2014 VARCHAR, name VARCHAR) | What is the Age of dorothy Peel as of 1 February 2014 ? | SELECT age_as_of_1_february_2014 FROM table_name_18 WHERE name = "dorothy peel" |
CREATE TABLE table_name_86 (name VARCHAR, age_as_of_1_february_2014 VARCHAR) | Who is 111years, 358days Age as of 1 February 2014? | SELECT name FROM table_name_86 WHERE age_as_of_1_february_2014 = "111years, 358days" |
CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR, stadium VARCHAR) | Which Capacity has a City of london, and a Stadium of queen's club? | SELECT AVG(capacity) FROM table_name_85 WHERE city = "london" AND stadium = "queen's club" |
CREATE TABLE table_name_38 (rank INTEGER, name VARCHAR, points VARCHAR) | Which Rank has a Name of thomas morgenstern, and Points larger than 368.9? | SELECT AVG(rank) FROM table_name_38 WHERE name = "thomas morgenstern" AND points > 368.9 |
CREATE TABLE table_name_64 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | What is the lowest total for bronzes over 1, golds over 8, and fewer than 10 silvers? | SELECT MIN(total) FROM table_name_64 WHERE bronze > 1 AND gold > 8 AND silver < 10 |
CREATE TABLE table_name_88 (silver INTEGER, rank INTEGER) | What is the highest number of silvers for ranks over 7? | SELECT MAX(silver) FROM table_name_88 WHERE rank > 7 |
CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR) | Who was the opponent when the record recorded was 64-78? | SELECT opponent FROM table_name_51 WHERE record = "64-78" |
CREATE TABLE table_name_55 (score VARCHAR, record VARCHAR) | When the record was 67-82, what was the final score recorded? | SELECT score FROM table_name_55 WHERE record = "67-82" |
CREATE TABLE table_name_38 (opponent VARCHAR, attendance VARCHAR) | Who was the opponent for the game played with 54,136 people in attendance? | SELECT opponent FROM table_name_38 WHERE attendance = "54,136" |
CREATE TABLE table_name_19 (position VARCHAR, player VARCHAR) | Which position does bert coan play? | SELECT position FROM table_name_19 WHERE player = "bert coan" |
CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR) | What is round 1's position? | SELECT position FROM table_name_13 WHERE round = 1 |
CREATE TABLE table_name_14 (round INTEGER, position VARCHAR) | Which Round is the highest one that has a Position of running back? | SELECT MAX(round) FROM table_name_14 WHERE position = "running back" |
CREATE TABLE table_name_85 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) | Which Position has a Pick smaller than 29, and a School/Club Team of arizona? | SELECT position FROM table_name_85 WHERE pick < 29 AND school_club_team = "arizona" |
CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) | Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43? | SELECT MIN(round) FROM table_name_87 WHERE school_club_team = "alabama" AND pick > 43 |
CREATE TABLE table_name_94 (venue VARCHAR, team VARCHAR) | what is the venue of belshina | SELECT venue FROM table_name_94 WHERE team = "belshina" |
CREATE TABLE table_name_23 (venue VARCHAR, team VARCHAR) | what is the venue of neman | SELECT venue FROM table_name_23 WHERE team = "neman" |
CREATE TABLE table_name_47 (venue VARCHAR, team VARCHAR) | what is the venue of neman | SELECT venue FROM table_name_47 WHERE team = "neman" |
CREATE TABLE table_name_46 (pick__number VARCHAR, round VARCHAR, overall VARCHAR) | Name the total number of pick with round less than 6 and overall of 102 | SELECT COUNT(pick__number) FROM table_name_46 WHERE round < 6 AND overall = 102 |
CREATE TABLE table_name_30 (outcome VARCHAR, score VARCHAR) | Which Outcome has a Score of 4–6 3–6? | SELECT outcome FROM table_name_30 WHERE score = "4–6 3–6" |
CREATE TABLE table_name_43 (tournament VARCHAR, score VARCHAR) | Which Tournament has a Score of 3–6 6–4 4–6? | SELECT tournament FROM table_name_43 WHERE score = "3–6 6–4 4–6" |
CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR) | Which Date has a Score of 6–1 7–6 (8–6)? | SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–6)" |
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR) | Which Score has a Date of 26 september 2004? | SELECT score FROM table_name_71 WHERE date = "26 september 2004" |
CREATE TABLE table_name_90 (outcome VARCHAR, score VARCHAR) | Which Outcome has a Score of 3–6 2–6? | SELECT outcome FROM table_name_90 WHERE score = "3–6 2–6" |
CREATE TABLE table_name_5 (surface VARCHAR, opponent_in_the_final VARCHAR) | Which Surface has an Opponent in the final of daniella dominikovic? | SELECT surface FROM table_name_5 WHERE opponent_in_the_final = "daniella dominikovic" |
CREATE TABLE table_name_80 (time_to_ft__m__at_40 VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR) | What is the amount of time (sum) at 40° that it takes a 16 lb shell to reach a maximum of no more than 22,000 ft? | SELECT COUNT(time_to_ft__m__at_40) AS °__seconds_ FROM table_name_80 WHERE shell__lb_ = 16 AND max_height__ft_ < 22 OFFSET 000 |
CREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR, m_v_ft_s VARCHAR) | What is the average maximum height of a shell that travels for more than 16.3 seconds at 55° and has a maximum velocity of 2200 ft/s? | SELECT AVG(max_height__ft_) FROM table_name_19 WHERE time_to_ft__m__at_55°__seconds_ > 16.3 AND m_v_ft_s = 2200 |
CREATE TABLE table_name_47 (time_to_ft__m__at_55 INTEGER, time_to_ft__m__at_40°__seconds_ INTEGER) | What is the maximum amount of time a shell travels at 55° when it traveled less than 9.6 seconds at 40°? | SELECT MAX(time_to_ft__m__at_55) AS °__seconds_ FROM table_name_47 WHERE time_to_ft__m__at_40°__seconds_ < 9.6 |
CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR) | What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds? | SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6 |
CREATE TABLE table_name_24 (max_height__ft_ INTEGER, time_to_ft__m__at_25°__seconds_ VARCHAR, shell__lb_ VARCHAR) | What is the average maximum height of the shell smaller than 12.5 lb that reached its maximum height at 25° in 10.1 seconds? | SELECT AVG(max_height__ft_) FROM table_name_24 WHERE time_to_ft__m__at_25°__seconds_ = "10.1" AND shell__lb_ < 12.5 |
CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR, week VARCHAR) | What is the highest attendance for the game that was before week 6 on October 22, 1967? | SELECT MAX(attendance) FROM table_name_74 WHERE date = "october 22, 1967" AND week < 6 |
CREATE TABLE table_name_63 (state VARCHAR, talent VARCHAR, hometown VARCHAR) | What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY? | SELECT state FROM table_name_63 WHERE talent = "classical piano" AND hometown = "lancaster, ny" |
CREATE TABLE table_name_56 (name VARCHAR, talent VARCHAR) | Whose talent was ballet en pointe? | SELECT name FROM table_name_56 WHERE talent = "ballet en pointe" |
CREATE TABLE table_name_43 (state VARCHAR, hometown VARCHAR) | What is the state represented by the contestant from Mesa, AZ? | SELECT state FROM table_name_43 WHERE hometown = "mesa, az" |
CREATE TABLE table_name_82 (talent VARCHAR, hometown VARCHAR) | What is the talent of the contestant from Lexington, SC? | SELECT talent FROM table_name_82 WHERE hometown = "lexington, sc" |
CREATE TABLE table_name_55 (age_1 VARCHAR, hometown VARCHAR) | What is the age of the contestant from Reno, NV? | SELECT age_1 FROM table_name_55 WHERE hometown = "reno, nv" |
CREATE TABLE table_name_29 (writer_s_ VARCHAR, episode VARCHAR) | Which writer wrote episode 18-09 (652)? | SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)" |
CREATE TABLE table_name_97 (episode VARCHAR, writer_s_ VARCHAR) | What episode was written by jonathan lewis? | SELECT episode FROM table_name_97 WHERE writer_s_ = "jonathan lewis" |
CREATE TABLE table_name_81 (position VARCHAR, school_club_team VARCHAR, round VARCHAR) | What position does Maryland have a player for Round 3? | SELECT position FROM table_name_81 WHERE school_club_team = "maryland" AND round = 3 |
CREATE TABLE table_name_23 (pick VARCHAR, position VARCHAR, round VARCHAR) | How many picks are there for defensive back for rounds larger than 11? | SELECT COUNT(pick) FROM table_name_23 WHERE position = "defensive back" AND round > 11 |
CREATE TABLE table_name_64 (game INTEGER, date VARCHAR) | What is the highest game that has april 21 as the date? | SELECT MAX(game) FROM table_name_64 WHERE date = "april 21" |
CREATE TABLE table_name_2 (score VARCHAR, game VARCHAR, date VARCHAR) | What score has a game less than 4, and april 19 as the date? | SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19" |
CREATE TABLE table_name_4 (opponent VARCHAR, game VARCHAR, date VARCHAR) | What opponent has a game less than 6, and april 17 as the date? | SELECT opponent FROM table_name_4 WHERE game < 6 AND date = "april 17" |
CREATE TABLE table_name_18 (home_team VARCHAR, away_team VARCHAR) | What is the home team that played Derby County as the away team? | SELECT home_team FROM table_name_18 WHERE away_team = "derby county" |
CREATE TABLE table_name_87 (home_team VARCHAR, tie_no VARCHAR) | Which home team is ranked no. 7 by tie no.? | SELECT home_team FROM table_name_87 WHERE tie_no = "7" |
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR) | What is the score for the game in which Manchester United was the home team? | SELECT score FROM table_name_85 WHERE home_team = "manchester united" |
CREATE TABLE table_name_62 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | How many golds does the nation having a rank of 8, fewer than 5 bronzes and more than 1 silver have? | SELECT COUNT(gold) FROM table_name_62 WHERE bronze < 5 AND silver > 1 AND rank > 8 |
CREATE TABLE table_name_99 (country VARCHAR, language_s_ VARCHAR, literary_tradition VARCHAR) | What nation was the film from that was in english and had a Literary tradition of canadian literature? | SELECT country FROM table_name_99 WHERE language_s_ = "english" AND literary_tradition = "canadian literature" |
CREATE TABLE table_name_74 (literary_tradition VARCHAR, language_s_ VARCHAR, year VARCHAR) | What is the literary traidtion for the film in english in 2011? | SELECT literary_tradition FROM table_name_74 WHERE language_s_ = "english" AND year = 2011 |
CREATE TABLE table_name_10 (country VARCHAR, year INTEGER) | What country was the film made in that was made after 2011? | SELECT country FROM table_name_10 WHERE year > 2011 |
CREATE TABLE table_name_62 (team VARCHAR, rebounds VARCHAR) | Which team has 48 rebounds? | SELECT team FROM table_name_62 WHERE rebounds = 48 |
CREATE TABLE table_name_1 (rank INTEGER, games VARCHAR, rebounds VARCHAR) | What's the lowest amount of 12 games and less than 48 rebounds? | SELECT MIN(rank) FROM table_name_1 WHERE games = 12 AND rebounds < 48 |
CREATE TABLE table_name_21 (rebounds INTEGER, name VARCHAR, rank VARCHAR) | How many rebounds does Fedor likholitov have with a rank greater than 8? | SELECT SUM(rebounds) FROM table_name_21 WHERE name = "fedor likholitov" AND rank > 8 |
CREATE TABLE table_name_76 (games INTEGER, rank VARCHAR, rebounds VARCHAR) | Which game has more than 112 rebounds and a rank greater than 3? | SELECT MAX(games) FROM table_name_76 WHERE rank > 3 AND rebounds = 112 |
CREATE TABLE table_name_25 (score VARCHAR, place VARCHAR, nation VARCHAR) | What was the score in a place of t5 in the United States? | SELECT score FROM table_name_25 WHERE place = "t5" AND nation = "united states" |
CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) | What was the score for a match where Sophie Gustafson played? | SELECT score FROM table_name_44 WHERE player = "sophie gustafson" |
CREATE TABLE table_name_12 (rebounds INTEGER, games INTEGER) | with games more than 22 what is the rebound total? | SELECT SUM(rebounds) FROM table_name_12 WHERE games > 22 |
CREATE TABLE table_name_81 (location VARCHAR, tournament VARCHAR) | What is the location of the b.c. open? | SELECT location FROM table_name_81 WHERE tournament = "b.c. open" |
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR) | What is the location of the tallahassee open, with a Score of 269 (–19)? | SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open" |
CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR) | What date did Lanny Wadkins (6) win? | SELECT date FROM table_name_12 WHERE winner = "lanny wadkins (6)" |
CREATE TABLE table_name_40 (location VARCHAR, tournament VARCHAR) | What is the Location for the buick-goodwrench open? | SELECT location FROM table_name_40 WHERE tournament = "buick-goodwrench open" |
CREATE TABLE table_name_98 (netflix VARCHAR, series_ep VARCHAR) | What is the Netflix episode that has a series episode of 6-02? | SELECT netflix FROM table_name_98 WHERE series_ep = "6-02" |
CREATE TABLE table_name_80 (segment_a VARCHAR, segment_d VARCHAR) | Which segment A item that has a Segment D of wigs? | SELECT segment_a FROM table_name_80 WHERE segment_d = "wigs" |
CREATE TABLE table_name_55 (series_ep VARCHAR, netflix VARCHAR) | Which series episode has a Netflix episode of S03E16? | SELECT series_ep FROM table_name_55 WHERE netflix = "s03e16" |
CREATE TABLE table_name_92 (netflix VARCHAR, episode VARCHAR, segment_d VARCHAR) | Which Netflix episode has an overall episode number under 69 and a Segment D of S Trombone? | SELECT netflix FROM table_name_92 WHERE episode < 69 AND segment_d = "s trombone" |
CREATE TABLE table_name_29 (species_specific VARCHAR, link VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR) | Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode? | SELECT species_specific FROM table_name_29 WHERE comparative = "no" AND intra_molecular_structure = "no" AND link = "sourcecode" |
CREATE TABLE table_name_76 (intra_molecular_structure VARCHAR, comparative VARCHAR, name VARCHAR) | Which Intra-molecular structure has a Comparative of no, and a Name of mitarget? | SELECT intra_molecular_structure FROM table_name_76 WHERE comparative = "no" AND name = "mitarget" |
CREATE TABLE table_name_71 (comparative VARCHAR, name VARCHAR) | Which Comparative has a Name of pictar? | SELECT comparative FROM table_name_71 WHERE name = "pictar" |
CREATE TABLE table_name_63 (name VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR, link VARCHAR) | Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no? | SELECT name FROM table_name_63 WHERE intra_molecular_structure = "no" AND link = "webserver" AND comparative = "no" |
CREATE TABLE table_name_43 (comparative VARCHAR, link VARCHAR) | Which Comparative has a Link of sourcecode webserver? | SELECT comparative FROM table_name_43 WHERE link = "sourcecode webserver" |
CREATE TABLE table_name_53 (species_specific VARCHAR, link VARCHAR) | Which Species Specific has a Link of server/sourcecode? | SELECT species_specific FROM table_name_53 WHERE link = "server/sourcecode" |
CREATE TABLE table_name_45 (home__2nd_leg_ VARCHAR) | What is the 1st leg for Instituto? | SELECT 1 AS st_leg FROM table_name_45 WHERE home__2nd_leg_ = "instituto" |
CREATE TABLE table_name_87 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) | What is the home of aggregate's 3-4? | SELECT home__2nd_leg_ FROM table_name_87 WHERE aggregate = "3-4" |
CREATE TABLE table_name_74 (round VARCHAR, opponent VARCHAR) | What round did the fight against Sofia Bagherdai go to? | SELECT round FROM table_name_74 WHERE opponent = "sofia bagherdai" |
CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR) | What was the method of fight completion for the Mars: Attack 1 event? | SELECT method FROM table_name_4 WHERE event = "mars: attack 1" |
CREATE TABLE table_name_88 (country VARCHAR, score VARCHAR) | what had a score of 70-71-68-72=281? | SELECT country FROM table_name_88 WHERE score = 70 - 71 - 68 - 72 = 281 |
CREATE TABLE table_name_97 (score VARCHAR, player VARCHAR) | what had a score like roberto devicenzo | SELECT score FROM table_name_97 WHERE player = "roberto devicenzo" |
CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR) | What was the total number who attended during week 11? | SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11 |
CREATE TABLE table_name_33 (week VARCHAR, result VARCHAR) | What was the total number of weeks with a result of l 31-21? | SELECT COUNT(week) FROM table_name_33 WHERE result = "l 31-21" |
CREATE TABLE table_name_24 (Id VARCHAR) | Which 2003 has a 2012 of 1–4? | SELECT 2003 FROM table_name_24 WHERE 2012 = "1–4" |
CREATE TABLE table_name_90 (Id VARCHAR) | Which 2007 has a 2008 of 0 / 4? | SELECT 2007 FROM table_name_90 WHERE 2008 = "0 / 4" |
CREATE TABLE table_name_7 (Id VARCHAR) | Which 2007 has a 2003 of 2r, and a 2004 of 1r? | SELECT 2007 FROM table_name_7 WHERE 2003 = "2r" AND 2004 = "1r" |
CREATE TABLE table_name_86 (Id VARCHAR) | Which 2010 has a 2009 of 0 / 4? | SELECT 2010 FROM table_name_86 WHERE 2009 = "0 / 4" |
CREATE TABLE table_name_96 (career_sr VARCHAR) | Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10? | SELECT 2011 FROM table_name_96 WHERE 1999 = "a" AND 2004 = "2r" AND career_sr = "0 / 10" |
CREATE TABLE table_name_37 (Id VARCHAR) | Which 2005 has a 1999 of 0–0? | SELECT 2005 FROM table_name_37 WHERE 1999 = "0–0" |
CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR) | what is the date of week 7 | SELECT date FROM table_name_92 WHERE week = 7 |
CREATE TABLE table_name_96 (visitor VARCHAR, record VARCHAR) | Who was the visitor in the game that led to a 39-20-6 record? | SELECT visitor FROM table_name_96 WHERE record = "39-20-6" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.