instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What's the tallest height for c position in current club unicaja malaga?
|
SELECT MAX Height FROM table WHERE Position = c AND Current Club = unicaja malaga
|
Translate the following into a SQL query
|
What was the attendance when the Southend United was the home team?
|
SELECT Attendance FROM table WHERE Home team = southend united
|
Translate the following into a SQL query
|
Who was the away team that played Northampton Town at home with a tie number of replay?
|
SELECT Away team FROM table WHERE Tie no = replay AND Home team = northampton town
|
Translate the following into a SQL query
|
Which Outcome has an Opponent in the final of simone colombo?
|
SELECT Outcome FROM table WHERE Opponent in the final = simone colombo
|
Translate the following into a SQL query
|
What is the sum of the glyph with a binary less than 111001, an octal less than 65, and a hexadecimal less than 30?
|
SELECT SUM Glyph FROM table WHERE Binary < 111001 AND Octal < 65 AND Hexadecimal < 30
|
Translate the following into a SQL query
|
What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a glyph greater than 0?
|
SELECT AVG Hexadecimal FROM table WHERE Decimal < 53 AND Octal < 61 AND Glyph > 0
|
Translate the following into a SQL query
|
What is the lowest octal with a 30 hexadecimal and less than 0 glyphs?
|
SELECT MIN Octal FROM table WHERE Hexadecimal = 30 AND Glyph < 0
|
Translate the following into a SQL query
|
What is the average hexadecimal with a decimal greater than 57?
|
SELECT AVG Hexadecimal FROM table WHERE Decimal > 57
|
Translate the following into a SQL query
|
What is the average decimal with a 110010 binary and a glyph greater than 2?
|
SELECT AVG Decimal FROM table WHERE Binary = 110010 AND Glyph > 2
|
Translate the following into a SQL query
|
What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000?
|
SELECT SUM Glyph FROM table WHERE Hexadecimal = 38 AND Binary < 111000
|
Translate the following into a SQL query
|
What was the record in the game where the opponent wasd the atlanta falcons?
|
SELECT Record FROM table WHERE Opponent = atlanta falcons
|
Translate the following into a SQL query
|
What was the highest attendance at a game that was played in tulane stadium?
|
SELECT MAX Attendance FROM table WHERE Game site = tulane stadium
|
Translate the following into a SQL query
|
What is the category for the year when Brioude started and the stage is less than 7?
|
SELECT COUNT Category FROM table WHERE Start = brioude AND Stage < 7
|
Translate the following into a SQL query
|
What is the stage number when the category is less than 1?
|
SELECT COUNT Stage FROM table WHERE Category < 1
|
Translate the following into a SQL query
|
For the 1948-49 season, what was the At Home record?
|
SELECT Home FROM table WHERE Season = 1948-49
|
Translate the following into a SQL query
|
In which season was the Away record 2-2 and At Home record 1-0?
|
SELECT Season FROM table WHERE Away = 2-2 AND Home = 1-0
|
Translate the following into a SQL query
|
In the 1958-59 season, what league did the team play in?
|
SELECT League FROM table WHERE Season = 1958-59
|
Translate the following into a SQL query
|
What team played in the Bundesliga league with an Away record of 2-1?
|
SELECT Teams FROM table WHERE League = bundesliga AND Away = 2-1
|
Translate the following into a SQL query
|
What team(s) played in the 1995-96 season?
|
SELECT Teams FROM table WHERE Season = 1995-96
|
Translate the following into a SQL query
|
Playing in the Bundesliga league, what was the Away record for the team with an At Home record of 1-2?
|
SELECT Away FROM table WHERE Home = 1-2 AND League = bundesliga
|
Translate the following into a SQL query
|
Which Date performed has a Main contestant of karanvir bohra?
|
SELECT Date performed FROM table WHERE Main contestant = karanvir bohra
|
Translate the following into a SQL query
|
Which Date performed has a Position of bottom 3, and Scores by each individual judge of 5 + 5 + 4 = 14?
|
SELECT Date performed FROM table WHERE Position = bottom 3 AND Scores by each individual judge = 5 + 5 + 4 = 14
|
Translate the following into a SQL query
|
Which Status has a Co-contestant (Yaar vs. Pyaar) of tina sachdev?
|
SELECT Status FROM table WHERE Co-contestant (Yaar vs. Pyaar) = tina sachdev
|
Translate the following into a SQL query
|
Which Status has a Co-contestant (Yaar vs. Pyaar) of tina parekh?
|
SELECT Status FROM table WHERE Co-contestant (Yaar vs. Pyaar) = tina parekh
|
Translate the following into a SQL query
|
Which Total score/week has a Status of eliminated, and Scores by each individual judge of 5 + 5 + 4 = 14?
|
SELECT Total score/week FROM table WHERE Status = eliminated AND Scores by each individual judge = 5 + 5 + 4 = 14
|
Translate the following into a SQL query
|
Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra?
|
SELECT Scores by each individual judge FROM table WHERE Date performed = august 7 AND Main contestant = karanvir bohra
|
Translate the following into a SQL query
|
Who is moving to Triestina?
|
SELECT Name FROM table WHERE Moving to = triestina
|
Translate the following into a SQL query
|
What is the transfer window of the player moving to Panionios?
|
SELECT Transfer window FROM table WHERE Moving to = panionios
|
Translate the following into a SQL query
|
What is the type for the Panionios moving to?
|
SELECT Type FROM table WHERE Moving to = panionios
|
Translate the following into a SQL query
|
Where is the nationality of Arg Esp moving to?
|
SELECT Moving to FROM table WHERE Nat. = arg esp
|
Translate the following into a SQL query
|
Who is moving to Chelsea on loan?
|
SELECT Name FROM table WHERE Type = loan AND Moving to = chelsea
|
Translate the following into a SQL query
|
What is the digital of Virgin [analogue]?
|
SELECT Digital FROM table WHERE Provider = virgin [analogue]
|
Translate the following into a SQL query
|
Which provider is pay with analogue cable?
|
SELECT Provider FROM table WHERE Free or pay = pay AND Transmission = analogue cable
|
Translate the following into a SQL query
|
How many analogue satellite channels does Sky [Analogue] have?
|
SELECT No. of channels FROM table WHERE Transmission = analogue satellite AND Provider = sky [analogue]
|
Translate the following into a SQL query
|
What years are listed for analogue cable with 35 channels?
|
SELECT Years FROM table WHERE Transmission = analogue cable AND No. of channels = 35
|
Translate the following into a SQL query
|
What was Week 14 when Week 13 was Nebraska (8-2)?
|
SELECT Week 14 Nov 27 FROM table WHERE Week 13 Nov 20 = nebraska (8-2)
|
Translate the following into a SQL query
|
What was Week 15 when Week 12 was Notre Dame (7-2)?
|
SELECT Week 15 (Final) Dec 3 FROM table WHERE Week 12 Nov 13 = notre dame (7-2)
|
Translate the following into a SQL query
|
What was Week 11 when Week 10 had Nebraska (7-1)?
|
SELECT Week 11 Nov 6 FROM table WHERE Week 10 Oct 30 = nebraska (7-1)
|
Translate the following into a SQL query
|
What was Week 15 when Week 12 was Washington (9-1)?
|
SELECT Week 15 (Final) Dec 3 FROM table WHERE Week 12 Nov 13 = washington (9-1)
|
Translate the following into a SQL query
|
What Surface has a Date of 15 february 1988?
|
SELECT Surface FROM table WHERE Date = 15 february 1988
|
Translate the following into a SQL query
|
What Date has a Score in the final of 3–6, 2–6, 4–6?
|
SELECT Date FROM table WHERE Score in the final = 3–6, 2–6, 4–6
|
Translate the following into a SQL query
|
What Opponent in the final has a Date of 19 september 1988?
|
SELECT Opponent in the final FROM table WHERE Date = 19 september 1988
|
Translate the following into a SQL query
|
What Championship has a Date of 26 may 1986?
|
SELECT Championship FROM table WHERE Date = 26 may 1986
|
Translate the following into a SQL query
|
What Championship has a Score in the final of 2–6, 6–2, 7–5?
|
SELECT Championship FROM table WHERE Score in the final = 2–6, 6–2, 7–5
|
Translate the following into a SQL query
|
What was the lowest pick number with an overall 86?
|
SELECT MIN Pick # FROM table WHERE Overall = 86
|
Translate the following into a SQL query
|
What is the name of a pick more than 5 at Washington College?
|
SELECT Name FROM table WHERE Pick # > 5 AND College = washington
|
Translate the following into a SQL query
|
What is the sum of the Pick # Anthony Maddox?
|
SELECT SUM Pick # FROM table WHERE Name = anthony maddox
|
Translate the following into a SQL query
|
Which number is 國殤?
|
SELECT Standard order FROM table WHERE Traditional Chinese = 國殤
|
Translate the following into a SQL query
|
What is the Traditional Chinese of 国殇 which is over 9?
|
SELECT Traditional Chinese FROM table WHERE Standard order > 9 AND Simplified Chinese = 国殇
|
Translate the following into a SQL query
|
What is the English translation of 山鬼?
|
SELECT English translation FROM table WHERE Simplified Chinese = 山鬼
|
Translate the following into a SQL query
|
What is the total where there are 4 MLS Cups and more US Open Cups than 1?
|
SELECT COUNT Total FROM table WHERE MLS Cup = 4 AND U.S. Open Cup > 1
|
Translate the following into a SQL query
|
Which race 3 has points greater than 36, and 2 as the race 1?
|
SELECT Race 3 FROM table WHERE Points > 36 AND Race 1 = 2
|
Translate the following into a SQL query
|
How many race 1's have 5 as the race 3, with points less than 59?
|
SELECT SUM Race 1 FROM table WHERE Race 3 = 5 AND Points < 59
|
Translate the following into a SQL query
|
What driver has points less than 17?
|
SELECT Driver FROM table WHERE Points < 17
|
Translate the following into a SQL query
|
Who is from south africa and has a score of 76-75-73-71=295?
|
SELECT Player FROM table WHERE Country = south africa AND Score = 76-75-73-71=295
|
Translate the following into a SQL query
|
What is the lowest to par of a player from australia with a score of 76-70-75-72=293?
|
SELECT MIN To par FROM table WHERE Country = australia AND Score = 76-70-75-72=293
|
Translate the following into a SQL query
|
What is the money with a Score of 76-70-75-72=293?
|
SELECT Money ( £ ) FROM table WHERE Score = 76-70-75-72=293
|
Translate the following into a SQL query
|
What is Title, when Developer is "2Play Mobile", and when Genre is "Action"?
|
SELECT Title FROM table WHERE Developer = 2play mobile AND Genre = action
|
Translate the following into a SQL query
|
What is the highest Version, when Release Date is "2011-04-01"?
|
SELECT MAX Version FROM table WHERE Release date = 2011-04-01
|
Translate the following into a SQL query
|
What is Version, when Genre is "Action", and when Title is "Hairball"?
|
SELECT Version FROM table WHERE Genre = action AND Title = hairball
|
Translate the following into a SQL query
|
What is the Set 1 of the 45:40 Total?
|
SELECT Set 1 FROM table WHERE Total = 45:40
|
Translate the following into a SQL query
|
What is the Total of the 24:26 Set 1?
|
SELECT Total FROM table WHERE Set 1 = 24:26
|
Translate the following into a SQL query
|
What is the Total of Set 2 of 21:12?
|
SELECT Total FROM table WHERE Set 2 = 21:12
|
Translate the following into a SQL query
|
What is the Total of Set 2 of 24:22?
|
SELECT Total FROM table WHERE Set 2 = 24:22
|
Translate the following into a SQL query
|
What is the date of the 21:12 Set 2?
|
SELECT Date FROM table WHERE Set 2 = 21:12
|
Translate the following into a SQL query
|
What is the torque of the 5.8l v12 engine?
|
SELECT Torque FROM table WHERE Engine = 5.8l v12
|
Translate the following into a SQL query
|
What is the torque of the 6.3l v12 engine?
|
SELECT Torque FROM table WHERE Engine = 6.3l v12
|
Translate the following into a SQL query
|
What is the 0-100km/h (62mph) of the supercharged 5.4l v8 engine?
|
SELECT 0–100km/h (62mph) FROM table WHERE Engine = supercharged 5.4l v8
|
Translate the following into a SQL query
|
What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485?
|
SELECT SUM Population FROM table WHERE Per capita income = $18,884 AND Number of households < 14,485
|
Translate the following into a SQL query
|
What is Place, when Player is "Ben Crenshaw"?
|
SELECT Place FROM table WHERE Player = ben crenshaw
|
Translate the following into a SQL query
|
What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576?
|
SELECT MAX Kneel FROM table WHERE Stand < 187 AND Prone = 197 AND Qual > 576
|
Translate the following into a SQL query
|
What is the sum of the stand with a qual more than 589?
|
SELECT SUM Stand FROM table WHERE Qual > 589
|
Translate the following into a SQL query
|
What is the 1st leg in the match where Remo (PA) is team 1?
|
SELECT 1st leg FROM table WHERE Team 1 = remo (pa)
|
Translate the following into a SQL query
|
Who is team 1 where team 2 is Fluminense (RJ)?
|
SELECT Team 1 FROM table WHERE Team 2 = fluminense (rj)
|
Translate the following into a SQL query
|
What is the venue for the friendly competition at Dreisamstadion, Freiburg?
|
SELECT Score FROM table WHERE Competition = friendly AND Venue = dreisamstadion, freiburg
|
Translate the following into a SQL query
|
What is the result at Dreisamstadion, Freiburg?
|
SELECT Result FROM table WHERE Venue = dreisamstadion, freiburg
|
Translate the following into a SQL query
|
What is Team, when Position is "LHP", and when Pick is "23"?
|
SELECT Team FROM table WHERE Position = lhp AND Pick = 23
|
Translate the following into a SQL query
|
What is the highest Pick, when Player is "Todd Van Poppel"?
|
SELECT MAX Pick FROM table WHERE Player = todd van poppel
|
Translate the following into a SQL query
|
What is Player, when Pick is "26"?
|
SELECT Player FROM table WHERE Pick = 26
|
Translate the following into a SQL query
|
What is Posititon, when Hometown/School is "Westlake, California"?
|
SELECT Position FROM table WHERE Hometown/School = westlake, california
|
Translate the following into a SQL query
|
What is Player, when Position is "SS", and when Pick is "11"?
|
SELECT Player FROM table WHERE Position = ss AND Pick = 11
|
Translate the following into a SQL query
|
What is the Population of Sargent County?
|
SELECT Population FROM table WHERE County = sargent
|
Translate the following into a SQL query
|
What is the rank for the nation with 0 silver medals and a total larger than 2?
|
SELECT SUM Rank FROM table WHERE Silver = 0 AND Total > 2
|
Translate the following into a SQL query
|
What is the least silvers where there are 39 bronzes and the total is less than 120?
|
SELECT MIN Silver FROM table WHERE Bronze = 39 AND Total < 120
|
Translate the following into a SQL query
|
What's the general classification of stage 3 with David Loosli as the mountains classification?
|
SELECT General Classification FROM table WHERE Mountains Classification = david loosli AND Stage = 3
|
Translate the following into a SQL query
|
What's the points classification when the stage was final?
|
SELECT Points Classification FROM table WHERE Stage = final
|
Translate the following into a SQL query
|
What is the stage of Gerolsteiner?
|
SELECT Stage FROM table WHERE Team Classification = gerolsteiner
|
Translate the following into a SQL query
|
What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
|
SELECT Mountains Classification FROM table WHERE General Classification = kim kirchen AND Stage = 7
|
Translate the following into a SQL query
|
What was Kim Kirchen's team classification?
|
SELECT Team Classification FROM table WHERE General Classification = kim kirchen
|
Translate the following into a SQL query
|
What Player has a To par of +1 and a Score of 73-71-71=217?
|
SELECT Player FROM table WHERE To par = +1 AND Score = 73-71-71=217
|
Translate the following into a SQL query
|
What Player's had a To par of +1 and a Score of 73-71-73=217?
|
SELECT Player FROM table WHERE To par = +1 AND Score = 73-71-73=217
|
Translate the following into a SQL query
|
What is Fuzzy Zoeller's Score?
|
SELECT Score FROM table WHERE Player = fuzzy zoeller
|
Translate the following into a SQL query
|
What is the Country of the Player with a Score of 71-73-71=215?
|
SELECT Country FROM table WHERE Score = 71-73-71=215
|
Translate the following into a SQL query
|
What is the Country of the Player with a To par of –4?
|
SELECT Country FROM table WHERE To par = –4
|
Translate the following into a SQL query
|
What is the Country of the Player with a To par of +1 and a Score of 75-69-73=217?
|
SELECT Country FROM table WHERE To par = +1 AND Score = 75-69-73=217
|
Translate the following into a SQL query
|
Which Position has 24 Goals against, and a Played smaller than 30?
|
SELECT MAX Position FROM table WHERE Goals against = 24 AND Played < 30
|
Translate the following into a SQL query
|
Which Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3?
|
SELECT MAX Points FROM table WHERE Club = cf calvo sotelo AND Goal Difference > -3
|
Translate the following into a SQL query
|
Which Draws have a Position of 16, and less than 58 Goals against?
|
SELECT MIN Draws FROM table WHERE Position = 16 AND Goals against < 58
|
Translate the following into a SQL query
|
Which Losses have Draws larger than 6, and a Club of cd mestalla, and Goals against larger than 44?
|
SELECT MIN Losses FROM table WHERE Draws > 6 AND Club = cd mestalla AND Goals against > 44
|
Translate the following into a SQL query
|
How many Goals against have Goals for smaller than 33, and Points smaller than 16?
|
SELECT SUM Goals against FROM table WHERE Goals for < 33 AND Points < 16
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.