instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What year had Kim Gevaert as the female winner and Xavier de Baerdemaeker as the male talent? | SELECT Year FROM table WHERE Winner (Female) = kim gevaert AND Talent (Male) = xavier de baerdemaeker |
Translate the following into a SQL query | Who is the female talent in 1999? | SELECT Talent (Female) FROM table WHERE Year = 1999 |
Translate the following into a SQL query | Who is the male talent in 1991? | SELECT Talent (Male) FROM table WHERE Year = 1991 |
Translate the following into a SQL query | Who is the male winner the year after 1998 with Marleen Renders as the female winner? | SELECT Winner (Male) FROM table WHERE Winner (Female) = marleen renders AND Year > 1998 |
Translate the following into a SQL query | What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name? | SELECT MIN Avg/G FROM table WHERE Effic > 34.36 AND Name = wesley carroll |
Translate the following into a SQL query | What is the lowest avg/g that has 2-9-0 for the att-cmp-int? | SELECT MIN Avg/G FROM table WHERE Att-Cmp-Int = 2-9-0 |
Translate the following into a SQL query | What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g? | SELECT Att-Cmp-Int FROM table WHERE GP-GS = 12 AND Avg/G = 174.3 |
Translate the following into a SQL query | What is the Song with an Issue Date(s) that is 19 june? | SELECT Song FROM table WHERE Issue Date(s) = 19 june |
Translate the following into a SQL query | What is the minimum Height of the Little Switzerland Tunnel? | SELECT Minimum Height FROM table WHERE Name of the tunnel = little switzerland tunnel |
Translate the following into a SQL query | What is the Milepost of the Twin Tunnel #1 North? | SELECT COUNT Milepost FROM table WHERE Name of the tunnel = twin tunnel #1 north |
Translate the following into a SQL query | WHat is the number of Population has a Density of 50.09 and a Rank larger than 30? | SELECT SUM Population FROM table WHERE Density = 50.09 AND Rank > 30 |
Translate the following into a SQL query | What is the Density that has a Population larger than 290,458, and an Area of 91.6? | SELECT SUM Density FROM table WHERE Population > 290,458 AND Area = 91.6 |
Translate the following into a SQL query | What is the Icelandic word for the English word bride? | SELECT Icelandic FROM table WHERE English = bride |
Translate the following into a SQL query | What is the ENglish word for the Icelandic word hlaupa? | SELECT English FROM table WHERE Icelandic = hlaupa |
Translate the following into a SQL query | What is the Russian word for the Greek word greek? | SELECT Russian FROM table WHERE Greek = greek |
Translate the following into a SQL query | What is the English word for the Latin word uxor? | SELECT English FROM table WHERE Latin = uxor |
Translate the following into a SQL query | What is the Latin word for the English word bone? | SELECT Latin FROM table WHERE English = bone |
Translate the following into a SQL query | What is the lowest against that has bacchus marsh as a ballarat fl, with wins less than 1? | SELECT MIN Against FROM table WHERE Ballarat FL = bacchus marsh AND Wins < 1 |
Translate the following into a SQL query | What is the lowest draws that have losses greater than 0, an against less than 1728, melton as the ballarat fl, and byes less than 2? | SELECT MIN Draws FROM table WHERE Losses > 0 AND Against < 1728 AND Ballarat FL = melton AND Byes < 2 |
Translate the following into a SQL query | How many losses have byes greater than 2? | SELECT COUNT Losses FROM table WHERE Byes > 2 |
Translate the following into a SQL query | What is the lowest draws that have losses less than 0, an against greater than 1353, 2 as the wins, and ballarat as ballarat fl? | SELECT MIN Draws FROM table WHERE Losses > 0 AND Against > 1353 AND Wins = 2 AND Ballarat FL = ballarat |
Translate the following into a SQL query | What is the total year of the winner who plays the halfback position with a % of points possible of 80.64%? | SELECT COUNT Year FROM table WHERE Position = halfback AND % of Points Possible = 80.64% |
Translate the following into a SQL query | What is the year of the winner from the army school, plays the halfback position, and has a % of points possible of 39.01%? | SELECT SUM Year FROM table WHERE School = army AND Position = halfback AND % of Points Possible = 39.01% |
Translate the following into a SQL query | What position does the winner from Ohio State with 412 points play? | SELECT Position FROM table WHERE School = ohio state AND Points = 412 |
Translate the following into a SQL query | What is the % of points possible of the winner from Penn State? | SELECT % of Points Possible FROM table WHERE School = penn state |
Translate the following into a SQL query | What is the position of the winner with 792 points? | SELECT Position FROM table WHERE Points = 792 |
Translate the following into a SQL query | How many were in Attendance on February 21, 1988 against the New Jersey Saints? | SELECT SUM Attendance FROM table WHERE Opponent' = new jersey saints AND Date = february 21, 1988 |
Translate the following into a SQL query | What was the Opponent on February 6, 1988? | SELECT Opponent' FROM table WHERE Date = february 6, 1988 |
Translate the following into a SQL query | What is the highest Top-10, when Top-25 is 4, and when Top-5 is greater than 1? | SELECT MAX Top-10 FROM table WHERE Top-25 = 4 AND Top-5 > 1 |
Translate the following into a SQL query | What is Wins, when Top-25 is less than 4, and when Top-5 is greater than 0? | SELECT Wins FROM table WHERE Top-25 < 4 AND Top-5 > 0 |
Translate the following into a SQL query | What is the total number of Wins, when Top-25 is less than 4, and when Top-10 is less than 1? | SELECT COUNT Wins FROM table WHERE Top-25 < 4 AND Top-10 < 1 |
Translate the following into a SQL query | Which home team played in the matchup with an away team of Liverpool? | SELECT Home team FROM table WHERE Away team = liverpool |
Translate the following into a SQL query | What was the date of tie number 5? | SELECT Date FROM table WHERE Tie no = 5 |
Translate the following into a SQL query | Who was the away team for tie number 9? | SELECT Away team FROM table WHERE Tie no = 9 |
Translate the following into a SQL query | What was the score of the replay at Millwall? | SELECT Score FROM table WHERE Tie no = replay AND Home team = millwall |
Translate the following into a SQL query | Who was the home team for tie number 16? | SELECT Home team FROM table WHERE Tie no = 16 |
Translate the following into a SQL query | What is the sum of the golds of the nation with 5 total and less than 0 bronze medals? | SELECT SUM Gold FROM table WHERE Total = 5 AND Bronze < 0 |
Translate the following into a SQL query | What is the sum of the gold medals of the total nation, which has more than 19 silver medals? | SELECT SUM Gold FROM table WHERE Nation = total AND Silver > 19 |
Translate the following into a SQL query | What is the average number of silver medals of the nation with 3 bronzes and more than 4 total medals? | SELECT AVG Silver FROM table WHERE Bronze = 3 AND Total > 4 |
Translate the following into a SQL query | Which label's year was 1990? | SELECT Label FROM table WHERE Year = 1990 |
Translate the following into a SQL query | Which result's genre was jazz when its label was columbia and its title was requiem? | SELECT Result FROM table WHERE Genre = jazz AND Label = columbia AND Title = requiem |
Translate the following into a SQL query | Which year's label was label? | SELECT Year FROM table WHERE Label = label |
Translate the following into a SQL query | Which title's genre was jazz when it was nominated in 1996? | SELECT Title FROM table WHERE Genre = jazz AND Result = nominated AND Year = 1996 |
Translate the following into a SQL query | Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy? | SELECT Year FROM table WHERE Genre = jazz AND Label = columbia AND Result = nominated AND Title = trio jeepy |
Translate the following into a SQL query | Which label's year is 1993? | SELECT Label FROM table WHERE Year = 1993 |
Translate the following into a SQL query | What company focuses on Engine Overhaul for their principal activity? | SELECT Company FROM table WHERE Principal activities = engine overhaul |
Translate the following into a SQL query | What is the group equity shareholding for abacus distribution systems (malaysia) sdn bhd? | SELECT Group's Equity Shareholding FROM table WHERE Company = abacus distribution systems (malaysia) sdn bhd |
Translate the following into a SQL query | What company has a Group Equity Shareholding value of 60%? | SELECT Company FROM table WHERE Group's Equity Shareholding = 60% |
Translate the following into a SQL query | What is the Group Equity shareholding of the company that has their principal activities as catering, and is of the Associate type? | SELECT Group's Equity Shareholding FROM table WHERE Principal activities = catering AND Type = associate |
Translate the following into a SQL query | What is the highest yield when the ASK is greater than 88,252.7, an RPK of 74,183.2, and a load factor less than 74.5? | SELECT MAX Yield (S¢/km) FROM table WHERE ASK (million) > 88,252.7 AND RPK (million) = 74,183.2 AND Load factor (%) < 74.5 |
Translate the following into a SQL query | When Date has a Game larger than 4 and a Team of san antonio, and a Record of 4-3? | SELECT Date FROM table WHERE Game > 4 AND Team = san antonio AND Record = 4-3 |
Translate the following into a SQL query | Which Team has a Score of 108-105 (ot)? | SELECT Team FROM table WHERE Score = 108-105 (ot) |
Translate the following into a SQL query | Which Game has a Team of at san antonio, and a Record of 3-3? | SELECT Game FROM table WHERE Team = at san antonio AND Record = 3-3 |
Translate the following into a SQL query | Which Record has a Score of 105-115? | SELECT Record FROM table WHERE Score = 105-115 |
Translate the following into a SQL query | What's the average amount of ties had when a team wins 6 and it's past the 2004 season? | SELECT AVG Ties FROM table WHERE Wins = 6 AND Season > 2004 |
Translate the following into a SQL query | What was the result of the race that had a group of G1 at Moonee Valley? | SELECT Result FROM table WHERE Group = g1 AND Venue = moonee valley |
Translate the following into a SQL query | What was the result of the race that was a 2000m distance? | SELECT Result FROM table WHERE Distance = 2000m |
Translate the following into a SQL query | Which Opponent has a Date of november 21, 1999? | SELECT Opponent FROM table WHERE Date = november 21, 1999 |
Translate the following into a SQL query | Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles? | SELECT Attendance FROM table WHERE Week < 8 AND Opponent = philadelphia eagles |
Translate the following into a SQL query | Which Attendance has a Result of l 26–16? | SELECT Attendance FROM table WHERE Result = l 26–16 |
Translate the following into a SQL query | What was the highest attendance on week 13? | SELECT MAX Attendance FROM table WHERE Week = 13 |
Translate the following into a SQL query | Which Result has a Round of 6? | SELECT Result FROM table WHERE Round = 6 |
Translate the following into a SQL query | When is a Type of tko, and an Opponent of jesse brinkley | SELECT Date FROM table WHERE Type = tko AND Opponent = jesse brinkley |
Translate the following into a SQL query | Which Result has an Opponent of steve walker? | SELECT Result FROM table WHERE Opponent = steve walker |
Translate the following into a SQL query | Which Opponent has a Type of ud and a Round of 10 on 2008-06-11? | SELECT Opponent FROM table WHERE Type = ud AND Round = 10 AND Date = 2008-06-11 |
Translate the following into a SQL query | Which Opponent has a Type of tko, and a Round of 2 (6) on 2006-09-20? | SELECT Opponent FROM table WHERE Type = tko AND Round = 2 (6) AND Date = 2006-09-20 |
Translate the following into a SQL query | When has a Type of tko, and a Round of 1 (6) | SELECT Date FROM table WHERE Type = tko AND Round = 1 (6) |
Translate the following into a SQL query | How many positions have a played greater than 12? | SELECT COUNT Position FROM table WHERE Played > 12 |
Translate the following into a SQL query | What is the lowest played that has points greater than 11, 1 as the position, and a loss less than 1? | SELECT MIN Played FROM table WHERE Points > 11 AND Position = 1 AND Lost < 1 |
Translate the following into a SQL query | What is the Date that has a Outcome of winner, and çağla büyükakçay was the opponent in the final? | SELECT Date FROM table WHERE Outcome = winner AND Opponent in the final = çağla büyükakçay |
Translate the following into a SQL query | What is the Outcome when çağla büyükakçay was the opponent in the final? | SELECT Outcome FROM table WHERE Opponent in the final = çağla büyükakçay |
Translate the following into a SQL query | What is the Score when the opponent in the final is alicia pillay on a hard surface? | SELECT Score FROM table WHERE Surface = hard AND Opponent in the final = alicia pillay |
Translate the following into a SQL query | What is the Opponent in the final when the outcome was runner-up? | SELECT Opponent in the final FROM table WHERE Outcome = runner-up |
Translate the following into a SQL query | What is the Opponent in the final with an outcome of winner on 14-may-2007? | SELECT Opponent in the final FROM table WHERE Outcome = winner AND Date = 14-may-2007 |
Translate the following into a SQL query | What is the Score for 09-oct-2006? | SELECT Score FROM table WHERE Date = 09-oct-2006 |
Translate the following into a SQL query | What shows for 10:00 PM when the 11:00 PM is to ma dauy kan (vj ja)? | SELECT 10:00 PM FROM table WHERE 11:00 PM = to ma dauy kan (vj ja) |
Translate the following into a SQL query | What is the 08:00 PM when the 07:00 PM is I am siam (rerun)? | SELECT 08:00 PM FROM table WHERE 07:00 PM = i am siam (rerun) |
Translate the following into a SQL query | What is the 10:30 PM when the 08:00 PM is [v] play & learn, and a Time of Sunday? | SELECT 10:30 PM FROM table WHERE 08:00 PM = [v] play & learn AND Time = sunday |
Translate the following into a SQL query | What was the time of the bout against Dave Menne? | SELECT Time FROM table WHERE Opponent = dave menne |
Translate the following into a SQL query | What was the time of the bout that ended in a TKO (strikes)? | SELECT Time FROM table WHERE Method = tko (strikes) |
Translate the following into a SQL query | What is the number of matches for the player in rank 8? | SELECT MAX Matches FROM table WHERE Rank = 8 |
Translate the following into a SQL query | Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25? | SELECT Set 3 FROM table WHERE Set 1 = 19-25 AND Set 2 = 19-25 |
Translate the following into a SQL query | What is the set 5 if the Date is jun 7, and a Set 4 is 21-25? | SELECT Set 5 FROM table WHERE Date = jun 7 AND Set 4 = 21-25 |
Translate the following into a SQL query | What is the Set 5 if Set 2 is 25-20? | SELECT Set 5 FROM table WHERE Set 2 = 25-20 |
Translate the following into a SQL query | Which driver's grid was 24? | SELECT Driver FROM table WHERE Grid = 24 |
Translate the following into a SQL query | What is the mean number of laps when the grid is less than 19 and time/retired is +21.3 secs? | SELECT AVG Laps FROM table WHERE Grid < 19 AND Time/Retired = +21.3 secs |
Translate the following into a SQL query | What is the smallest number of laps for Team Green when the grid is 1? | SELECT MIN Laps FROM table WHERE Team = team green AND Grid = 1 |
Translate the following into a SQL query | What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354? | SELECT COUNT 1876 FROM table WHERE 1872 < 1921 AND 1891 < 354 |
Translate the following into a SQL query | What is the sum of 1886(s), when 1886 is greater than 1070, and when 1891 is less than 1946? | SELECT SUM 1886 FROM table WHERE 1866 > 1070 AND 1891 < 1946 |
Translate the following into a SQL query | What is the sum of 1891(s), when 1872 is less than 685, and when 1881 is less than 348? | SELECT SUM 1891 FROM table WHERE 1872 < 685 AND 1881 < 348 |
Translate the following into a SQL query | What is the sum of 1872(s), when 1866 is greater than 856, when 1861 is greater than 1906, and when 1876 is greater than 1990? | SELECT SUM 1872 FROM table WHERE 1866 > 856 AND 1861 > 1906 AND 1876 > 1990 |
Translate the following into a SQL query | What is the Record with a Date that is december 20? | SELECT Record FROM table WHERE Date = december 20 |
Translate the following into a SQL query | In what round was the first outside linebacker picked? | SELECT MIN Round FROM table WHERE Position = outside linebacker |
Translate the following into a SQL query | Which Venue resulted in AUS by 229 runs? | SELECT Venue FROM table WHERE Result = aus by 229 runs |
Translate the following into a SQL query | Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground? | SELECT Away captain FROM table WHERE Venue = melbourne cricket ground AND Home captain = joe darling |
Translate the following into a SQL query | Who was the Home Captain and the Result for AUS by 4 wkts? | SELECT Home captain FROM table WHERE Result = aus by 4 wkts |
Translate the following into a SQL query | What was the highest match when the away opponent was Dalian Shide Siwu? | SELECT MAX Match FROM table WHERE Opponent team = dalian shide siwu AND Home/Away = away |
Translate the following into a SQL query | Which Home/Away was on April 27, 2008? | SELECT Home/Away FROM table WHERE Date = april 27, 2008 |
Translate the following into a SQL query | What was the score on March 3, 2008? | SELECT Score FROM table WHERE Date = march 3, 2008 |
Translate the following into a SQL query | What is the McCune-Reischauer when the 2000 n South Korea population * is more than 6,796,227 people, and a Hangul of 송? | SELECT McCune-Reischauer FROM table WHERE 2000 n South Korea population * > 6,796,227 AND Hangul = 송 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.