messages
stringlengths 82
562
| __index_level_0__
int64 0
56.4k
|
---|---|
Generate a SQL for the following text:
What is the season year where the rank is 39?
SQL:
SELECT TV season FROM table WHERE Rank = 39 | 100 |
Generate a SQL for the following text:
What is the number of season premieres were 10.17 people watched?
SQL:
SELECT COUNT Season premiere FROM table WHERE Viewers (millions) = 10.17 | 101 |
Generate a SQL for the following text:
What is the year of the season that was 12?
SQL:
SELECT TV season FROM table WHERE Season = 12 | 102 |
Generate a SQL for the following text:
In 2012 what was the average finish?
SQL:
SELECT Avg. Finish FROM table WHERE Year = 2012 | 103 |
Generate a SQL for the following text:
How many wins happened in 1983?
SQL:
SELECT MIN Wins FROM table WHERE Year = 1983 | 104 |
Generate a SQL for the following text:
How many top tens had an average start of 29.4?
SQL:
SELECT COUNT Top 10 FROM table WHERE Avg. Start = 29.4 | 105 |
Generate a SQL for the following text:
How many poles had an average finish of 19.1?
SQL:
SELECT MAX Poles FROM table WHERE Avg. Finish = 19.1 | 106 |
Generate a SQL for the following text:
How many starts did Hendrick motorsports have?
SQL:
SELECT MIN Starts FROM table WHERE Team(s) = Hendrick Motorsports | 107 |
Generate a SQL for the following text:
NHL players are all centre in Florida panthers.
SQL:
SELECT Player FROM table WHERE Position = Centre AND NHL team = Florida Panthers | 108 |
Generate a SQL for the following text:
NHL team player San Jose Sharks is United States nationally.
SQL:
SELECT Player FROM table WHERE NHL team = San Jose Sharks AND Nationality = United States | 109 |
Generate a SQL for the following text:
All players are position mark polak.
SQL:
SELECT Position FROM table WHERE Player = Mark Polak | 110 |
Generate a SQL for the following text:
Position in nhl team centre are all smaller pick than 243.0
SQL:
SELECT NHL team FROM table WHERE Position = Centre AND Pick < 243.0 | 111 |
Generate a SQL for the following text:
What college/junior/club teams do the players from the St. Louis Blues come from?
SQL:
SELECT College/junior/club team FROM table WHERE NHL team = St. Louis Blues | 112 |
Generate a SQL for the following text:
What teams do the players from TPS (Finland) play for?
SQL:
SELECT NHL team FROM table WHERE College/junior/club team = TPS (Finland) | 113 |
Generate a SQL for the following text:
What high school team did Doug Nolan play for?
SQL:
SELECT College/junior/club team FROM table WHERE Player = Doug Nolan | 114 |
Generate a SQL for the following text:
What club team is Per Gustafsson play for?
SQL:
SELECT College/junior/club team FROM table WHERE Player = Per Gustafsson | 115 |
Generate a SQL for the following text:
What is the nationality of Shayne Wright?
SQL:
SELECT Nationality FROM table WHERE Player = Shayne Wright | 116 |
Generate a SQL for the following text:
How many votes did Southern England cast whilst Northern Ireland cast 3?
SQL:
SELECT Southern England FROM table WHERE Northern Ireland = 3 | 117 |
Generate a SQL for the following text:
What was the lowest number of votes Scotland cast?
SQL:
SELECT MIN Scotland FROM table | 118 |
Generate a SQL for the following text:
What is the total number of votes if Scotland cast 35?
SQL:
SELECT COUNT Scotland FROM table WHERE Total = 35 | 119 |
Generate a SQL for the following text:
How many votes did Northern Ireland cast if the total was 35?
SQL:
SELECT Northern Ireland FROM table WHERE Total = 35 | 120 |
Generate a SQL for the following text:
How many votes did Wales cast when Northern England cast 6?
SQL:
SELECT MIN Wales FROM table WHERE Northern England = 6 | 121 |
Generate a SQL for the following text:
What teams had 9 in the top 5 and 1 wins?
SQL:
SELECT Team(s) FROM table WHERE Top 5 = 9 AND Wins = 1 | 122 |
Generate a SQL for the following text:
What teams did the player vadim sharifijanov play for?
SQL:
SELECT College/junior/club team FROM table WHERE Player = Vadim Sharifijanov | 123 |
Generate a SQL for the following text:
What positions do the hartford whalers nhl team have?
SQL:
SELECT Position FROM table WHERE NHL team = Hartford Whalers | 124 |
Generate a SQL for the following text:
What is the smallest pick for the player, brett lindros?
SQL:
SELECT MIN Pick FROM table WHERE Player = Brett Lindros | 125 |
Generate a SQL for the following text:
What positions does the college/junior/club team, molot perm (russia) have?
SQL:
SELECT Position FROM table WHERE College/junior/club team = Molot Perm (Russia) | 126 |
Generate a SQL for the following text:
The nhl team new york islanders is what nationality?
SQL:
SELECT Nationality FROM table WHERE NHL team = New York Islanders | 127 |
Generate a SQL for the following text:
What is the name of the vacator for district Louisiana 1st?
SQL:
SELECT Vacator FROM table WHERE District = Louisiana 1st | 128 |
Generate a SQL for the following text:
What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8
SQL:
SELECT Notation FROM table WHERE Crystal structure = Tetragonal AND Formula = Bi 2 Sr 2 CaCu 2 O 8 | 129 |
Generate a SQL for the following text:
How many times is the formula tl 2 ba 2 cuo 6?
SQL:
SELECT No. of Cu-O planes in unit cell FROM table WHERE Formula = Tl 2 Ba 2 CuO 6 | 130 |
Generate a SQL for the following text:
What is the crystal structure for the formula yba 2 cu 3 o 7?
SQL:
SELECT Crystal structure FROM table WHERE Formula = YBa 2 Cu 3 O 7 | 131 |
Generate a SQL for the following text:
What is the number for t c (k) when the notation is tl-2212?
SQL:
SELECT COUNT T c (K) FROM table WHERE Notation = Tl-2212 | 132 |
Generate a SQL for the following text:
How many 2010 estimations have been done in the city of Cremona?
SQL:
SELECT COUNT 2010 Est. FROM table WHERE City = Cremona | 133 |
Generate a SQL for the following text:
What's the 2001 census of the region of Abruzzo where the 1871 census is bigger than 51092.0?
SQL:
SELECT MIN 2001 Census FROM table WHERE Region = Abruzzo AND 1981 Census > 51092.0 | 134 |
Generate a SQL for the following text:
What's the 1991 census of the city of Carpi?
SQL:
SELECT MAX 1991 Census FROM table WHERE City = Carpi | 135 |
Generate a SQL for the following text:
How many 2001 censuses are there on number 13?
SQL:
SELECT COUNT 2001 Census FROM table WHERE # = 13 | 136 |
Generate a SQL for the following text:
What's the 1981 census of Livorno?
SQL:
SELECT 1981 Census FROM table WHERE City = Livorno | 137 |
Generate a SQL for the following text:
Which NHL team has player Mike Loach?
SQL:
SELECT NHL team FROM table WHERE Player = Mike Loach | 138 |
Generate a SQL for the following text:
What is the NHL team that has Peter Strom?
SQL:
SELECT NHL team FROM table WHERE Player = Peter Strom | 139 |
Generate a SQL for the following text:
What team is Keith Mccambridge on?
SQL:
SELECT College/junior/club team FROM table WHERE Player = Keith McCambridge | 140 |
Generate a SQL for the following text:
How many nationalities are the pick 193?
SQL:
SELECT COUNT Nationality FROM table WHERE Pick = 193 | 141 |
Generate a SQL for the following text:
Who was the succesor that was formally installed on November 8, 1978?
SQL:
SELECT Successor FROM table WHERE Date of successors formal installation = November 8, 1978 | 142 |
Generate a SQL for the following text:
How many songs received a 10 from Goodman and were rated by Tonioli?
SQL:
SELECT COUNT Tonioli FROM table WHERE Goodman = 10 | 143 |
Generate a SQL for the following text:
What score did Goodman give to all songs with safe results, which received a 7 from Horwood and have a total score of 31?
SQL:
SELECT Goodman FROM table WHERE Total = 31 AND Horwood = 7 AND Result = Safe | 144 |
Generate a SQL for the following text:
What score did Dixon give to the song "samba / young hearts run free", which was in second place?
SQL:
SELECT Dixon FROM table WHERE Dance/song = Samba / Young Hearts Run Free AND Result = Second place | 145 |
Generate a SQL for the following text:
How many scores did Goodman give to "samba / young hearts run free", which was in second place?
SQL:
SELECT COUNT Goodman FROM table WHERE Result = Second place AND Dance/song = Samba / Young Hearts Run Free | 146 |
Generate a SQL for the following text:
What year was number 7 built?
SQL:
SELECT Year Built FROM table WHERE No. Built = 7 | 147 |
Generate a SQL for the following text:
What is we two when the case/suffix is loc.?
SQL:
SELECT we two FROM table WHERE Case/Suffix = loc. | 148 |
Generate a SQL for the following text:
What is them two (the two) when we two is ngalbelpa?
SQL:
SELECT them two (the two) FROM table WHERE we two = ngalbelpa | 149 |
Generate a SQL for the following text:
What is them two (the two) when you and i is ngœbalngu?
SQL:
SELECT them two (the two) FROM table WHERE you and I = ngœbalngu | 150 |
Generate a SQL for the following text:
What is who-two where you and i is ngœban?
SQL:
SELECT who-two FROM table WHERE you and I = ngœban | 151 |
Generate a SQL for the following text:
What is we two where you two is ngipen?
SQL:
SELECT we two FROM table WHERE you two = ngipen | 152 |
Generate a SQL for the following text:
What is who-two when you two is ngipelngu?
SQL:
SELECT who-two FROM table WHERE you two = ngipelngu | 153 |
Generate a SQL for the following text:
what's the points with driver mark martin
SQL:
SELECT Points FROM table WHERE Driver = Mark Martin | 154 |
Generate a SQL for the following text:
what's the points with driver rusty wallace
SQL:
SELECT Points FROM table WHERE Driver = Rusty Wallace | 155 |
Generate a SQL for the following text:
what's the total number of position with driver robby gordon
SQL:
SELECT COUNT Position FROM table WHERE Driver = Robby Gordon | 156 |
Generate a SQL for the following text:
what's the maximum position with winnings $50,000
SQL:
SELECT MAX Position FROM table WHERE Winnings = $50,000 | 157 |
Generate a SQL for the following text:
What actor was nominted for an award in the film Anastasiya Slutskaya?
SQL:
SELECT Actors Name FROM table WHERE Film Name = Anastasiya Slutskaya | 158 |
Generate a SQL for the following text:
What was the film Falling up nominated for?
SQL:
SELECT Nomination FROM table WHERE Film Name = Falling Up | 159 |
Generate a SQL for the following text:
What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?
SQL:
SELECT Actors Name FROM table WHERE Film Name = Chopin: Desire for Love AND Nomination = Best Actress in a Leading Role | 160 |
Generate a SQL for the following text:
What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?
SQL:
SELECT Actors Name FROM table WHERE Film Name = Chopin: Desire for Love AND Nomination = Best Actress in a Leading Role | 161 |
Generate a SQL for the following text:
Which films does the actor Alla Sergiyko star in?
SQL:
SELECT Film Name FROM table WHERE Actors Name = Alla Sergiyko | 162 |
Generate a SQL for the following text:
Which nominations was the film 27 Stolen Kisses nominated for?
SQL:
SELECT Nomination FROM table WHERE Film Name = 27 Stolen Kisses | 163 |
Generate a SQL for the following text:
Which actor from Serbia was nominated for best actor in a supporting role?
SQL:
SELECT Actors Name FROM table WHERE Nomination = Best Actor in a Supporting Role AND Country = Serbia | 164 |
Generate a SQL for the following text:
Vsevolod Shilovskiy is from what country?
SQL:
SELECT Country FROM table WHERE Actors Name = Vsevolod Shilovskiy | 165 |
Generate a SQL for the following text:
Which nominations are connected to the film Totalitarian Romance?
SQL:
SELECT Nomination FROM table WHERE Film Name = Totalitarian Romance | 166 |
Generate a SQL for the following text:
Srdjan Dragojevic worked on a film which earned what nomination?
SQL:
SELECT Nomination FROM table WHERE Director = Srdjan Dragojevic | 167 |
Generate a SQL for the following text:
Which actors are from Ukraine?
SQL:
SELECT Actors Name FROM table WHERE Country = Ukraine | 168 |
Generate a SQL for the following text:
What was the film that vadim ilyenko directed?
SQL:
SELECT Film Name FROM table WHERE Director = Vadim Ilyenko | 169 |
Generate a SQL for the following text:
What was the actors name that vadim ilyenko directed?
SQL:
SELECT Actors Name FROM table WHERE Director = Vadim Ilyenko | 170 |
Generate a SQL for the following text:
What was the actors name for fuchzhou and nomination was best non-professional actor?
SQL:
SELECT Actors Name FROM table WHERE Film Name = Fuchzhou AND Nomination = Best Non-Professional Actor | 171 |
Generate a SQL for the following text:
What film did michaylo ilyenko make with best actor in a supporting role?
SQL:
SELECT Film Name FROM table WHERE Director = Michaylo Ilyenko AND Nomination = Best Actor in a Supporting Role | 172 |
Generate a SQL for the following text:
What was the actor's name for best debut?
SQL:
SELECT Actors Name FROM table WHERE Nomination = Best Debut | 173 |
Generate a SQL for the following text:
What was the number of nominations for natalia raskokoha?
SQL:
SELECT COUNT Nomination FROM table WHERE Actors Name = Natalia Raskokoha | 174 |
Generate a SQL for the following text:
What is the highest value of Total Goals?
SQL:
SELECT MAX Total Goals FROM table | 175 |
Generate a SQL for the following text:
When FA Cup Apps is 9 what is the smallest number of FA Cup Goals?
SQL:
SELECT MIN FA Cup Goals FROM table WHERE FA Cup Apps = 9 | 176 |
Generate a SQL for the following text:
What is the smallest number of Total Goals?
SQL:
SELECT MIN Total Goals FROM table | 177 |
Generate a SQL for the following text:
What circuit was the race where Hideki Mutoh had the fastest lap?
SQL:
SELECT Circuit FROM table WHERE Fastest Lap = Hideki Mutoh | 178 |
Generate a SQL for the following text:
what is the minimum production code with title "foreign exchange problem / turn about"
SQL:
SELECT MIN Production code FROM table WHERE Title = "Foreign Exchange Problem / Turn About" | 179 |
Generate a SQL for the following text:
what is the episode # for title "the yindianapolis 500 / personality problem"
SQL:
SELECT Episode # FROM table WHERE Title = "The Yindianapolis 500 / Personality Problem" | 180 |
Generate a SQL for the following text:
what is the episode # for production code 227
SQL:
SELECT Episode # FROM table WHERE Production code = 227 | 181 |
Generate a SQL for the following text:
who directed the movie written by is sib ventress / aydrea ten bosch
SQL:
SELECT Directed by FROM table WHERE Written by = Sib Ventress / Aydrea ten Bosch | 182 |
Generate a SQL for the following text:
what is the production code with title "skirting the issue / moon over my yinnie"
SQL:
SELECT Production code FROM table WHERE Title = "Skirting the Issue / Moon Over my Yinnie" | 183 |
Generate a SQL for the following text:
Whatis the number of total goals maximum?
SQL:
SELECT MAX Total Goals FROM table | 184 |
Generate a SQL for the following text:
HOW MANY TEMPERATURE INTERVALS ARE POSSIBLE TO USE WITH ACRYL?
SQL:
SELECT COUNT Temp (°C) FROM table WHERE Adhesive Type = Acryl | 185 |
Generate a SQL for the following text:
How many matches where played with Jim Pugh?
SQL:
SELECT COUNT Opponents FROM table WHERE Partner = Jim Pugh | 186 |
Generate a SQL for the following text:
What is the score with partner Jim Pugh?
SQL:
SELECT Score FROM table WHERE Partner = Jim Pugh | 187 |
Generate a SQL for the following text:
How many matched scored 3–6, 7–6(5), 6–3?
SQL:
SELECT COUNT Surface FROM table WHERE Score = 3–6, 7–6(5), 6–3 | 188 |
Generate a SQL for the following text:
What is the score of the match with partner Jim Pugh?
SQL:
SELECT Score FROM table WHERE Partner = Jim Pugh | 189 |
Generate a SQL for the following text:
What year was the championship in Wimbledon (2)?
SQL:
SELECT Year FROM table WHERE Championship = Wimbledon (2) | 190 |
Generate a SQL for the following text:
What is the score of the match with opponents Gretchen Magers Kelly Jones?
SQL:
SELECT Score FROM table WHERE Opponents = Gretchen Magers Kelly Jones | 191 |
Generate a SQL for the following text:
How many birthdays does Earl Hanley Beshlin have?
SQL:
SELECT COUNT Date of birth FROM table WHERE Representative = Earl Hanley Beshlin | 192 |
Generate a SQL for the following text:
Which politican party has a birthday of November 10, 1880
SQL:
SELECT Party FROM table WHERE Date of birth = November 10, 1880 | 193 |
Generate a SQL for the following text:
Which representative has a birthday of January 31, 1866?
SQL:
SELECT Representative FROM table WHERE Date of birth = January 31, 1866 | 194 |
Generate a SQL for the following text:
What is the Singles W-L for the players named Laurynas Grigelis?
SQL:
SELECT Singles W–L FROM table WHERE Player = Laurynas Grigelis | 195 |
Generate a SQL for the following text:
What is the Current singles ranking for the player named Mantas Bugailiškis?
SQL:
SELECT Current singles ranking FROM table WHERE Player = Mantas Bugailiškis | 196 |
Generate a SQL for the following text:
How many playerd Mrs. Darling in the 1999 Broadway?
SQL:
SELECT COUNT 1999 Broadway FROM table WHERE Character = Mrs. Darling | 197 |
Generate a SQL for the following text:
Who played Peter Pan in the 1990 Broadway?
SQL:
SELECT 1990 Broadway FROM table WHERE Character = Peter Pan | 198 |
Generate a SQL for the following text:
Who played in the 1991 Broadway before Barbara McCulloh played the part in the 1999 Broadway?
SQL:
SELECT 1991 Broadway FROM table WHERE 1999 Broadway = Barbara McCulloh | 199 |