instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: When the record was 67-82, what was the final score recorded? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_55 WHERE record = "67-82" |
Write a SQL query that answers the following question: Who was the opponent for the game played with 54,136 people in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_38 WHERE attendance = "54,136" |
Write a SQL query that answers the following question: Which position does bert coan play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_19 WHERE player = "bert coan" |
Write a SQL query that answers the following question: What is round 1's position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_13 WHERE round = 1 |
Write a SQL query that answers the following question: Which Round is the highest one that has a Position of running back? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (round INTEGER, position VARCHAR) | SELECT MAX(round) FROM table_name_14 WHERE position = "running back" |
Write a SQL query that answers the following question: Which Position has a Pick smaller than 29, and a School/Club Team of arizona? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_85 WHERE pick < 29 AND school_club_team = "arizona" |
Write a SQL query that answers the following question: Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) | SELECT MIN(round) FROM table_name_87 WHERE school_club_team = "alabama" AND pick > 43 |
Write a SQL query that answers the following question: what is the venue of belshina | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (venue VARCHAR, team VARCHAR) | SELECT venue FROM table_name_94 WHERE team = "belshina" |
Write a SQL query that answers the following question: what is the venue of neman | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (venue VARCHAR, team VARCHAR) | SELECT venue FROM table_name_23 WHERE team = "neman" |
Write a SQL query that answers the following question: what is the venue of neman | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (venue VARCHAR, team VARCHAR) | SELECT venue FROM table_name_47 WHERE team = "neman" |
Write a SQL query that answers the following question: Name the total number of pick with round less than 6 and overall of 102 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (pick__number VARCHAR, round VARCHAR, overall VARCHAR) | SELECT COUNT(pick__number) FROM table_name_46 WHERE round < 6 AND overall = 102 |
Write a SQL query that answers the following question: Which Outcome has a Score of 4β6 3β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_30 WHERE score = "4β6 3β6" |
Write a SQL query that answers the following question: Which Tournament has a Score of 3β6 6β4 4β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_43 WHERE score = "3β6 6β4 4β6" |
Write a SQL query that answers the following question: Which Date has a Score of 6β1 7β6 (8β6)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_11 WHERE score = "6β1 7β6 (8β6)" |
Write a SQL query that answers the following question: Which Score has a Date of 26 september 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_71 WHERE date = "26 september 2004" |
Write a SQL query that answers the following question: Which Outcome has a Score of 3β6 2β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_90 WHERE score = "3β6 2β6" |
Write a SQL query that answers the following question: Which Surface has an Opponent in the final of daniella dominikovic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT surface FROM table_name_5 WHERE opponent_in_the_final = "daniella dominikovic" |
Write a SQL query that answers the following question: 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? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (time_to_ft__m__at_40 VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR) | 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 |
Write a SQL query that answers the following question: 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? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55Β°__seconds_ VARCHAR, m_v_ft_s VARCHAR) | 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 |
Write a SQL query that answers the following question: What is the maximum amount of time a shell travels at 55Β° when it traveled less than 9.6 seconds at 40Β°? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (time_to_ft__m__at_55 INTEGER, time_to_ft__m__at_40Β°__seconds_ INTEGER) | SELECT MAX(time_to_ft__m__at_55) AS Β°__seconds_ FROM table_name_47 WHERE time_to_ft__m__at_40Β°__seconds_ < 9.6 |
Write a SQL query that answers the following question: What is the weight of the shell that reached its maximum height at 40Β° in 12.6 seconds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40Β°__seconds_ VARCHAR) | SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40Β°__seconds_ = 12.6 |
Write a SQL query that answers the following question: 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? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (max_height__ft_ INTEGER, time_to_ft__m__at_25Β°__seconds_ VARCHAR, shell__lb_ VARCHAR) | SELECT AVG(max_height__ft_) FROM table_name_24 WHERE time_to_ft__m__at_25Β°__seconds_ = "10.1" AND shell__lb_ < 12.5 |
Write a SQL query that answers the following question: What is the highest attendance for the game that was before week 6 on October 22, 1967? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_74 WHERE date = "october 22, 1967" AND week < 6 |
Write a SQL query that answers the following question: What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (state VARCHAR, talent VARCHAR, hometown VARCHAR) | SELECT state FROM table_name_63 WHERE talent = "classical piano" AND hometown = "lancaster, ny" |
Write a SQL query that answers the following question: Whose talent was ballet en pointe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (name VARCHAR, talent VARCHAR) | SELECT name FROM table_name_56 WHERE talent = "ballet en pointe" |
Write a SQL query that answers the following question: What is the state represented by the contestant from Mesa, AZ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (state VARCHAR, hometown VARCHAR) | SELECT state FROM table_name_43 WHERE hometown = "mesa, az" |
Write a SQL query that answers the following question: What is the talent of the contestant from Lexington, SC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (talent VARCHAR, hometown VARCHAR) | SELECT talent FROM table_name_82 WHERE hometown = "lexington, sc" |
Write a SQL query that answers the following question: What is the age of the contestant from Reno, NV? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (age_1 VARCHAR, hometown VARCHAR) | SELECT age_1 FROM table_name_55 WHERE hometown = "reno, nv" |
Write a SQL query that answers the following question: Which writer wrote episode 18-09 (652)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (writer_s_ VARCHAR, episode VARCHAR) | SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)" |
Write a SQL query that answers the following question: What episode was written by jonathan lewis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (episode VARCHAR, writer_s_ VARCHAR) | SELECT episode FROM table_name_97 WHERE writer_s_ = "jonathan lewis" |
Write a SQL query that answers the following question: What position does Maryland have a player for Round 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (position VARCHAR, school_club_team VARCHAR, round VARCHAR) | SELECT position FROM table_name_81 WHERE school_club_team = "maryland" AND round = 3 |
Write a SQL query that answers the following question: How many picks are there for defensive back for rounds larger than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (pick VARCHAR, position VARCHAR, round VARCHAR) | SELECT COUNT(pick) FROM table_name_23 WHERE position = "defensive back" AND round > 11 |
Write a SQL query that answers the following question: What is the highest game that has april 21 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (game INTEGER, date VARCHAR) | SELECT MAX(game) FROM table_name_64 WHERE date = "april 21" |
Write a SQL query that answers the following question: What score has a game less than 4, and april 19 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (score VARCHAR, game VARCHAR, date VARCHAR) | SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19" |
Write a SQL query that answers the following question: What opponent has a game less than 6, and april 17 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (opponent VARCHAR, game VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_4 WHERE game < 6 AND date = "april 17" |
Write a SQL query that answers the following question: What is the home team that played Derby County as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_18 WHERE away_team = "derby county" |
Write a SQL query that answers the following question: Which home team is ranked no. 7 by tie no.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_87 WHERE tie_no = "7" |
Write a SQL query that answers the following question: What is the score for the game in which Manchester United was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_85 WHERE home_team = "manchester united" |
Write a SQL query that answers the following question: How many golds does the nation having a rank of 8, fewer than 5 bronzes and more than 1 silver have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT COUNT(gold) FROM table_name_62 WHERE bronze < 5 AND silver > 1 AND rank > 8 |
Write a SQL query that answers the following question: What nation was the film from that was in english and had a Literary tradition of canadian literature? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (country VARCHAR, language_s_ VARCHAR, literary_tradition VARCHAR) | SELECT country FROM table_name_99 WHERE language_s_ = "english" AND literary_tradition = "canadian literature" |
Write a SQL query that answers the following question: What is the literary traidtion for the film in english in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (literary_tradition VARCHAR, language_s_ VARCHAR, year VARCHAR) | SELECT literary_tradition FROM table_name_74 WHERE language_s_ = "english" AND year = 2011 |
Write a SQL query that answers the following question: What country was the film made in that was made after 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (country VARCHAR, year INTEGER) | SELECT country FROM table_name_10 WHERE year > 2011 |
Write a SQL query that answers the following question: Which team has 48 rebounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (team VARCHAR, rebounds VARCHAR) | SELECT team FROM table_name_62 WHERE rebounds = 48 |
Write a SQL query that answers the following question: What's the lowest amount of 12 games and less than 48 rebounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (rank INTEGER, games VARCHAR, rebounds VARCHAR) | SELECT MIN(rank) FROM table_name_1 WHERE games = 12 AND rebounds < 48 |
Write a SQL query that answers the following question: How many rebounds does Fedor likholitov have with a rank greater than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (rebounds INTEGER, name VARCHAR, rank VARCHAR) | SELECT SUM(rebounds) FROM table_name_21 WHERE name = "fedor likholitov" AND rank > 8 |
Write a SQL query that answers the following question: Which game has more than 112 rebounds and a rank greater than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (games INTEGER, rank VARCHAR, rebounds VARCHAR) | SELECT MAX(games) FROM table_name_76 WHERE rank > 3 AND rebounds = 112 |
Write a SQL query that answers the following question: What was the score in a place of t5 in the United States? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (score VARCHAR, place VARCHAR, nation VARCHAR) | SELECT score FROM table_name_25 WHERE place = "t5" AND nation = "united states" |
Write a SQL query that answers the following question: What was the score for a match where Sophie Gustafson played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_44 WHERE player = "sophie gustafson" |
Write a SQL query that answers the following question: with games more than 22 what is the rebound total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (rebounds INTEGER, games INTEGER) | SELECT SUM(rebounds) FROM table_name_12 WHERE games > 22 |
Write a SQL query that answers the following question: What is the location of the b.c. open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (location VARCHAR, tournament VARCHAR) | SELECT location FROM table_name_81 WHERE tournament = "b.c. open" |
Write a SQL query that answers the following question: What is the location of the tallahassee open, with a Score of 269 (β19)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR) | SELECT location FROM table_name_83 WHERE score = "269 (β19)" AND tournament = "tallahassee open" |
Write a SQL query that answers the following question: What date did Lanny Wadkins (6) win? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_12 WHERE winner = "lanny wadkins (6)" |
Write a SQL query that answers the following question: What is the Location for the buick-goodwrench open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (location VARCHAR, tournament VARCHAR) | SELECT location FROM table_name_40 WHERE tournament = "buick-goodwrench open" |
Write a SQL query that answers the following question: What is the Netflix episode that has a series episode of 6-02? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (netflix VARCHAR, series_ep VARCHAR) | SELECT netflix FROM table_name_98 WHERE series_ep = "6-02" |
Write a SQL query that answers the following question: Which segment A item that has a Segment D of wigs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (segment_a VARCHAR, segment_d VARCHAR) | SELECT segment_a FROM table_name_80 WHERE segment_d = "wigs" |
Write a SQL query that answers the following question: Which series episode has a Netflix episode of S03E16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (series_ep VARCHAR, netflix VARCHAR) | SELECT series_ep FROM table_name_55 WHERE netflix = "s03e16" |
Write a SQL query that answers the following question: Which Netflix episode has an overall episode number under 69 and a Segment D of S Trombone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (netflix VARCHAR, episode VARCHAR, segment_d VARCHAR) | SELECT netflix FROM table_name_92 WHERE episode < 69 AND segment_d = "s trombone" |
Write a SQL query that answers the following question: Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (species_specific VARCHAR, link VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR) | SELECT species_specific FROM table_name_29 WHERE comparative = "no" AND intra_molecular_structure = "no" AND link = "sourcecode" |
Write a SQL query that answers the following question: Which Intra-molecular structure has a Comparative of no, and a Name of mitarget? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (intra_molecular_structure VARCHAR, comparative VARCHAR, name VARCHAR) | SELECT intra_molecular_structure FROM table_name_76 WHERE comparative = "no" AND name = "mitarget" |
Write a SQL query that answers the following question: Which Comparative has a Name of pictar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (comparative VARCHAR, name VARCHAR) | SELECT comparative FROM table_name_71 WHERE name = "pictar" |
Write a SQL query that answers the following question: Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (name VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR, link VARCHAR) | SELECT name FROM table_name_63 WHERE intra_molecular_structure = "no" AND link = "webserver" AND comparative = "no" |
Write a SQL query that answers the following question: Which Comparative has a Link of sourcecode webserver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (comparative VARCHAR, link VARCHAR) | SELECT comparative FROM table_name_43 WHERE link = "sourcecode webserver" |
Write a SQL query that answers the following question: Which Species Specific has a Link of server/sourcecode? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (species_specific VARCHAR, link VARCHAR) | SELECT species_specific FROM table_name_53 WHERE link = "server/sourcecode" |
Write a SQL query that answers the following question: What is the 1st leg for Instituto? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (home__2nd_leg_ VARCHAR) | SELECT 1 AS st_leg FROM table_name_45 WHERE home__2nd_leg_ = "instituto" |
Write a SQL query that answers the following question: What is the home of aggregate's 3-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) | SELECT home__2nd_leg_ FROM table_name_87 WHERE aggregate = "3-4" |
Write a SQL query that answers the following question: What round did the fight against Sofia Bagherdai go to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_74 WHERE opponent = "sofia bagherdai" |
Write a SQL query that answers the following question: What was the method of fight completion for the Mars: Attack 1 event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_4 WHERE event = "mars: attack 1" |
Write a SQL query that answers the following question: what had a score of 70-71-68-72=281? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_88 WHERE score = 70 - 71 - 68 - 72 = 281 |
Write a SQL query that answers the following question: what had a score like roberto devicenzo | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_97 WHERE player = "roberto devicenzo" |
Write a SQL query that answers the following question: What was the total number who attended during week 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11 |
Write a SQL query that answers the following question: What was the total number of weeks with a result of l 31-21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (week VARCHAR, result VARCHAR) | SELECT COUNT(week) FROM table_name_33 WHERE result = "l 31-21" |
Write a SQL query that answers the following question: Which 2003 has a 2012 of 1β4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (Id VARCHAR) | SELECT 2003 FROM table_name_24 WHERE 2012 = "1β4" |
Write a SQL query that answers the following question: Which 2007 has a 2008 of 0 / 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (Id VARCHAR) | SELECT 2007 FROM table_name_90 WHERE 2008 = "0 / 4" |
Write a SQL query that answers the following question: Which 2007 has a 2003 of 2r, and a 2004 of 1r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (Id VARCHAR) | SELECT 2007 FROM table_name_7 WHERE 2003 = "2r" AND 2004 = "1r" |
Write a SQL query that answers the following question: Which 2010 has a 2009 of 0 / 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (Id VARCHAR) | SELECT 2010 FROM table_name_86 WHERE 2009 = "0 / 4" |
Write a SQL query that answers the following question: Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (career_sr VARCHAR) | SELECT 2011 FROM table_name_96 WHERE 1999 = "a" AND 2004 = "2r" AND career_sr = "0 / 10" |
Write a SQL query that answers the following question: Which 2005 has a 1999 of 0β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 2005 FROM table_name_37 WHERE 1999 = "0β0" |
Write a SQL query that answers the following question: what is the date of week 7 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_92 WHERE week = 7 |
Write a SQL query that answers the following question: Who was the visitor in the game that led to a 39-20-6 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_96 WHERE record = "39-20-6" |
Write a SQL query that answers the following question: What was the date of the game that led to a 48-21-6 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_33 WHERE record = "48-21-6" |
Write a SQL query that answers the following question: Name the average attendance from june 11 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11" |
Write a SQL query that answers the following question: What is south africa's margin of victory? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR) | SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa" |
Write a SQL query that answers the following question: Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR) | SELECT score FROM table_name_68 WHERE year > 1980 AND margin_of_victory = "2 strokes" AND country = "united states" AND player = "jim furyk" |
Write a SQL query that answers the following question: What year was the Beaudesert suburb club founded | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR) | SELECT founded FROM table_name_95 WHERE suburb = "beaudesert" |
Write a SQL query that answers the following question: What year did the Nerang Suburb get founded? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (founded VARCHAR, suburb VARCHAR) | SELECT COUNT(founded) FROM table_name_96 WHERE suburb = "nerang" |
Write a SQL query that answers the following question: Who was the opponent when the Phillies played on April 28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_77 WHERE date = "april 28" |
Write a SQL query that answers the following question: What is the run rate for rank 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (run_rate INTEGER, rank VARCHAR) | SELECT MAX(run_rate) FROM table_name_61 WHERE rank = 4 |
Write a SQL query that answers the following question: Chinese title of εζ£ εζθ± had what released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (released VARCHAR, chinese_title VARCHAR) | SELECT released FROM table_name_44 WHERE chinese_title = "εζ£ εζθ±" |
Write a SQL query that answers the following question: Album # of 5th is what chinese title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (chinese_title VARCHAR, album_number VARCHAR) | SELECT chinese_title FROM table_name_94 WHERE album_number = "5th" |
Write a SQL query that answers the following question: Album # of 1st was released on what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (released VARCHAR, album_number VARCHAR) | SELECT released FROM table_name_6 WHERE album_number = "1st" |
Write a SQL query that answers the following question: Album # of 3rd is what chinese title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (chinese_title VARCHAR, album_number VARCHAR) | SELECT chinese_title FROM table_name_57 WHERE album_number = "3rd" |
Write a SQL query that answers the following question: English title of oxygenie of happiness has what release date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (released VARCHAR, english_title VARCHAR) | SELECT released FROM table_name_41 WHERE english_title = "oxygenie of happiness" |
Write a SQL query that answers the following question: Which Score has a Home of quebec nordiques on april 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR) | SELECT score FROM table_name_83 WHERE home = "quebec nordiques" AND date = "april 16" |
Write a SQL query that answers the following question: WHich Record has a Visitor of quebec nordiques with a Score of 7β5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (record VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT record FROM table_name_37 WHERE visitor = "quebec nordiques" AND score = "7β5" |
Write a SQL query that answers the following question: Who is the Visitor on april 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_94 WHERE date = "april 8" |
Write a SQL query that answers the following question: When has Score of 4β5 and quebec nordiques as Visitor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_92 WHERE score = "4β5" AND visitor = "quebec nordiques" |
Write a SQL query that answers the following question: WHo is the Visitor on april 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_78 WHERE date = "april 14" |
Write a SQL query that answers the following question: Which Record has a Visitor of quebec nordiques with a Score of 4β5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (record VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT record FROM table_name_58 WHERE visitor = "quebec nordiques" AND score = "4β5" |
Write a SQL query that answers the following question: What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT MAX(december) FROM table_name_61 WHERE game > 27 AND opponent = "pittsburgh penguins" AND points < 41 |
Write a SQL query that answers the following question: What's the score for December of 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (score VARCHAR, december VARCHAR) | SELECT score FROM table_name_48 WHERE december = 30 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.