instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What season was School/Club Team perpetual help in the guard position? | SELECT Season FROM table WHERE Position = guard AND School/Club Team = perpetual help |
Translate the following into a SQL query | What number was Rashad McCants? | SELECT Number FROM table WHERE Name = rashad mccants |
Translate the following into a SQL query | What season did School/Club Team, East have an Acquisition via of trade? | SELECT Season FROM table WHERE Acquisition via = trade AND School/Club Team = east |
Translate the following into a SQL query | What is the Date for the City/State of Sydney, New South Wales? | SELECT Date FROM table WHERE City / State = sydney, new south wales |
Translate the following into a SQL query | What is the Revenues during Tenure 1854-1855? | SELECT revenues FROM table WHERE Tenure = 1854-1855 |
Translate the following into a SQL query | What is the Revenues of Ukyo-Daiyu? | SELECT revenues FROM table WHERE Courtesy title = ukyo-daiyu |
Translate the following into a SQL query | What country was the player, rod pampling, from who placed t10? | SELECT Country FROM table WHERE Place = t10 AND Player = rod pampling |
Translate the following into a SQL query | What was the score that thomas levet got when he placed t10? | SELECT Score FROM table WHERE Place = t10 AND Player = thomas levet |
Translate the following into a SQL query | What country did the player who scored 73-73-65=211 come from? | SELECT Country FROM table WHERE Score = 73-73-65=211 |
Translate the following into a SQL query | What is the score that the player who placed t4 from the united states get? | SELECT Score FROM table WHERE Country = united states AND Place = t4 |
Translate the following into a SQL query | What country is phil mickelson from? | SELECT Country FROM table WHERE Player = phil mickelson |
Translate the following into a SQL query | What is the Team with a Machine that is nsr250 and has Points of 8? | SELECT Team FROM table WHERE Machine = nsr250 AND Points = 8 |
Translate the following into a SQL query | What is the total lost that has points greater than 8 and a difference of - 8 and a position of greater than 5? | SELECT SUM Lost FROM table WHERE Points > 8 AND Difference = - 8 AND Position > 5 |
Translate the following into a SQL query | What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12? | SELECT MAX Points FROM table WHERE Lost > 5 AND Difference = - 10 AND Played > 12 |
Translate the following into a SQL query | What is the Name with an Average that is 16.4? | SELECT Name FROM table WHERE Average = 16.4 |
Translate the following into a SQL query | What was the match number for Start Gniezno? | SELECT Match FROM table WHERE Team = start gniezno |
Translate the following into a SQL query | Who was the team that lost but had 10 points? | SELECT Lost FROM table WHERE Points = 10 |
Translate the following into a SQL query | What was the draw for Lpż Gdańsk with a match of 8? | SELECT Draw FROM table WHERE Match = 8 AND Team = lpż gdańsk |
Translate the following into a SQL query | What team had a draw of 0? | SELECT Team FROM table WHERE Draw = 0 |
Translate the following into a SQL query | What match had 8 points? | SELECT Match FROM table WHERE Points = 8 |
Translate the following into a SQL query | What is the draw for a match that had 10 points? | SELECT Draw FROM table WHERE Points = 10 |
Translate the following into a SQL query | What was the 1980-1981 team of the player born in Warroad, Minnesota? | SELECT 1980–1981 Team FROM table WHERE Birthplace = warroad, minnesota |
Translate the following into a SQL query | How many losses have a draw greater than 0? | SELECT SUM Lost FROM table WHERE Draw > 0 |
Translate the following into a SQL query | Which average match has points less than 6? | SELECT AVG Match FROM table WHERE Points < 6 |
Translate the following into a SQL query | Which average draw has points greater than 12? | SELECT AVG Draw FROM table WHERE Points > 12 |
Translate the following into a SQL query | What Trainer had Jockey William Jenkins in a race with Time of 1:44.80? | SELECT Trainer FROM table WHERE Time = 1:44.80 AND Jockey = william jenkins |
Translate the following into a SQL query | In what Year was the Purse $150,000 with a Time of 1:49.00? | SELECT MIN Year FROM table WHERE Purse = $150,000 AND Time = 1:49.00 |
Translate the following into a SQL query | What Owner's Trainer is Todd A. Pletcher? | SELECT Owner FROM table WHERE Trainer = todd a. pletcher |
Translate the following into a SQL query | What was the Purse for Owner Harold A. Allen prior to 2009? | SELECT Purse FROM table WHERE Year < 2009 AND Owner = harold a. allen |
Translate the following into a SQL query | What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600? | SELECT GDP (PPP) per capita 2012 euro FROM table WHERE Population in millions > 10.8 AND GDP (Nominal) per capita 2012 euro = 25,600 |
Translate the following into a SQL query | What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP (Nominal) Per Capita 2012 Euro is 20,700(p)? | SELECT GDP 2012 millions of euro FROM table WHERE Population in millions < 1.3 AND GDP (Nominal) per capita 2012 euro = 20,700(p) |
Translate the following into a SQL query | What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900? | SELECT GDP (PPP) per capita 2012 EU27 = 100 FROM table WHERE GDP 2012 millions of euro = 309,900 |
Translate the following into a SQL query | What is Population in Millions, when GDP 2012 Millions of Euro is 600,638? | SELECT Population in millions FROM table WHERE GDP 2012 millions of euro = 600,638 |
Translate the following into a SQL query | What was the Money for Player Ernie Els? | SELECT Money ( $ ) FROM table WHERE Player = ernie els |
Translate the following into a SQL query | What T9 Player had a Score of 70-74-69-70=283? | SELECT Player FROM table WHERE Place = t9 AND Score = 70-74-69-70=283 |
Translate the following into a SQL query | What is the Money for the T1 Player with a Score of 66-69-70-75=280? | SELECT Money ( $ ) FROM table WHERE Place = t1 AND Score = 66-69-70-75=280 |
Translate the following into a SQL query | What is Chris Riley's Money? | SELECT Money ( $ ) FROM table WHERE Player = chris riley |
Translate the following into a SQL query | What aired at 10:00 when Flashpoint aired at 9:30? | SELECT 10:00 FROM table WHERE 9:30 = flashpoint |
Translate the following into a SQL query | When Don't Forget the Lyrics aired at 8:30 what aired at 9:00? | SELECT 9:00 FROM table WHERE 8:30 = don't forget the lyrics |
Translate the following into a SQL query | What aired at 8:00 when The Goode Family aired at 8:30? | SELECT 8:00 FROM table WHERE 8:30 = the goode family |
Translate the following into a SQL query | When Surviving Suburbia aired at 8:00 what aired at 10:00? | SELECT 10:00 FROM table WHERE 8:00 = surviving suburbia |
Translate the following into a SQL query | What aired at 9:30 when Don't Forget the Lyrics aired at 8:00? | SELECT 9:30 FROM table WHERE 8:00 = don't forget the lyrics |
Translate the following into a SQL query | What is the lowest amount of Span metres when the year opened is 2007, the country is China, rank is less than 13, and the span feet is less than 1378? | SELECT MIN Span metres FROM table WHERE Year opened = 2007 AND Country = china AND Rank < 13 AND Span feet < 1378 |
Translate the following into a SQL query | Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943? | SELECT Country FROM table WHERE Material = concrete AND Span metres < 270 AND Span feet > 837 AND Year opened = 1943 |
Translate the following into a SQL query | What country won in 1993? | SELECT Country FROM table WHERE Year(s) won = 1993 |
Translate the following into a SQL query | What was the finish with a total larger than 286, a to par of +4 and Bob Tway played? | SELECT Finish FROM table WHERE Total > 286 AND To par = +4 AND Player = bob tway |
Translate the following into a SQL query | What player in the United States had a total of 286 and won in 2003? | SELECT Player FROM table WHERE Country = united states AND Total = 286 AND Year(s) won = 2003 |
Translate the following into a SQL query | What country has a total of 293? | SELECT Country FROM table WHERE Total = 293 |
Translate the following into a SQL query | What player is from Fiji? | SELECT Player FROM table WHERE Country = fiji |
Translate the following into a SQL query | What is the average year that the USD exchange of ¥88.54 had a gross domestic product larger than 477,327,134? | SELECT AVG Year FROM table WHERE US dollar exchange = ¥88.54 AND Gross domestic product > 477,327,134 |
Translate the following into a SQL query | How many years did the USD Exchange have ¥225.82 and a gross domestic product larger than 240,707,315? | SELECT COUNT Year FROM table WHERE US dollar exchange = ¥225.82 AND Gross domestic product > 240,707,315 |
Translate the following into a SQL query | Which method was used in the welterweight class with a preliminary card? | SELECT Method FROM table WHERE Weight Class = welterweight AND Card = preliminary |
Translate the following into a SQL query | Which method was used in a round greater than 3? | SELECT Method FROM table WHERE Round > 3 |
Translate the following into a SQL query | Which weight class had a time of 4:59? | SELECT Weight Class FROM table WHERE Time = 4:59 |
Translate the following into a SQL query | What was the time for a round less than 3? | SELECT Time FROM table WHERE Round < 3 |
Translate the following into a SQL query | What is the smallest round for the welterweight class with a preliminary card? | SELECT MIN Round FROM table WHERE Weight Class = welterweight AND Card = preliminary |
Translate the following into a SQL query | Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security? | SELECT Bulletins to all contacts FROM table WHERE Transport Layer Security = no AND License = proprietary AND Creator = microsoft |
Translate the following into a SQL query | Were there Bulletins to all contacts of the license created by GG Network? | SELECT Bulletins to all contacts FROM table WHERE Creator = gg network |
Translate the following into a SQL query | What is the name of the license created by IETF? | SELECT License FROM table WHERE Creator = ietf |
Translate the following into a SQL query | What is the envelopment for the rhabdoviridae family? | SELECT envelopment FROM table WHERE Family = rhabdoviridae |
Translate the following into a SQL query | Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family? | SELECT Baltimore group FROM table WHERE Virion shape = icosahedral AND envelopment = non-enveloped AND Replication site = cytoplasm AND Family = astroviridae |
Translate the following into a SQL query | Which Baltimore group is of the retroviridae family? | SELECT Baltimore group FROM table WHERE Family = retroviridae |
Translate the following into a SQL query | Which Baltimore group is of the togaviridae family? | SELECT Baltimore group FROM table WHERE Family = togaviridae |
Translate the following into a SQL query | Which Baltimore group is non-enveloped and is of the papillomaviridae family? | SELECT Baltimore group FROM table WHERE envelopment = non-enveloped AND Family = papillomaviridae |
Translate the following into a SQL query | What is the replication site when the species is enveloped and is of the bunyaviridae family? | SELECT Replication site FROM table WHERE envelopment = enveloped AND Family = bunyaviridae |
Translate the following into a SQL query | What is the highest League Cup with a Player that is steed malbranque? | SELECT MAX League Cup FROM table WHERE Player = steed malbranque |
Translate the following into a SQL query | What is the Manufacturer with a Fuel Type that is diesel? | SELECT Manufacturer FROM table WHERE Fuel Type = diesel |
Translate the following into a SQL query | What is the Higgins with a Scallon that is 2%? | SELECT Higgins FROM table WHERE Scallon = 2% |
Translate the following into a SQL query | What is the Higgins with a Davis that is 9%? | SELECT Higgins FROM table WHERE Davis = 9% |
Translate the following into a SQL query | What is the Source with a Norris that is 7%? | SELECT Source FROM table WHERE Norris = 7% |
Translate the following into a SQL query | What is the highest total attendance of the team with a game 1 attendance of 105,011 and a game 3 greater than 102,989? | SELECT MAX Total FROM table WHERE Game 1 = 105,011 AND Game 3 > 102,989 |
Translate the following into a SQL query | What is the average game 3 attendance of the team with a total attendance less than 524,005, a game 4 attendance of 70,585, and a game 1 attendance less than 70,585? | SELECT AVG Game 3 FROM table WHERE Total < 524,005 AND Game 4 = 70,585 AND Game 1 < 70,585 |
Translate the following into a SQL query | What is the game 2 sum attendance of the team with a total attendance of 759,997? | SELECT SUM Game 2 FROM table WHERE Total = 759,997 |
Translate the following into a SQL query | What position does Barry Rose play? | SELECT Position FROM table WHERE Player = barry rose |
Translate the following into a SQL query | Which Jersey # has a Height (cm) of 183, a Name of paul stastny, and a Weight (kg) smaller than 93? | SELECT COUNT Jersey # FROM table WHERE Height (cm) = 183 AND Name = paul stastny AND Weight (kg) < 93 |
Translate the following into a SQL query | When the Runner-up was Angaston, and the Year was less than 1927, who was the Captain? | SELECT Captain FROM table WHERE Year < 1927 AND Runner-up = angaston |
Translate the following into a SQL query | When the Score was kapunda 7-7-49 angaston 6-8-44, who was the Runner-up? | SELECT Runner-up FROM table WHERE Score = kapunda 7-7-49 angaston 6-8-44 |
Translate the following into a SQL query | Which year had a Score of kapunda 14-13-97 tanunda 5-14-44? | SELECT SUM Year FROM table WHERE Score = kapunda 14-13-97 tanunda 5-14-44 |
Translate the following into a SQL query | When the year is later than 1939 and the Runner-up is Tanunda, who is the Captain? | SELECT Captain FROM table WHERE Runner-up = tanunda AND Year > 1939 |
Translate the following into a SQL query | What's the tournamnet name that has a 2001 of 1r and 2011? | SELECT Tournament FROM table WHERE 2001 = 1r AND 2011 = a |
Translate the following into a SQL query | What is the 2001 tournament with a 2005 4r? | SELECT 2001 FROM table WHERE 2005 = 4r |
Translate the following into a SQL query | What french open tournament happened in 2010 and has a 2004 1r? | SELECT 2010 FROM table WHERE 2004 = 1r AND Tournament = french open |
Translate the following into a SQL query | What 2002 tournament has 2008 career statistics? | SELECT 2002 FROM table WHERE 2008 = career statistics |
Translate the following into a SQL query | Which season has a Staffel E of Stahl Riesa? | SELECT Season FROM table WHERE Staffel E = stahl riesa |
Translate the following into a SQL query | What is the Staffel D in the season 1983-84 with a Staffel E of Motor Suhl? | SELECT Staffel D FROM table WHERE Staffel E = motor suhl AND Season = 1983-84 |
Translate the following into a SQL query | What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin? | SELECT Staffel A FROM table WHERE Staffel D = energie cottbus AND Staffel C = chemie leipzig AND Staffel B = 1. fc union berlin |
Translate the following into a SQL query | What is the Staffel B that has Hallescher Fc Chemie as Staffel C? | SELECT Staffel B FROM table WHERE Staffel C = hallescher fc chemie |
Translate the following into a SQL query | Which week's date was September 27, 1953? | SELECT Week FROM table WHERE Date = september 27, 1953 |
Translate the following into a SQL query | What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4? | SELECT MAX Attendance FROM table WHERE Opponent = chicago cardinals AND Week < 4 |
Translate the following into a SQL query | When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up? | SELECT Runner-up FROM table WHERE Tier = tier ii AND Winner = gigi fernández natalia zvereva 6–2, 6–1 |
Translate the following into a SQL query | Who were the semi finalists when Alexia Dechaume-Balleret Sandrine testud was the runner-up? | SELECT Semi finalists FROM table WHERE Runner-up = alexia dechaume-balleret sandrine testud |
Translate the following into a SQL query | What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pierce? | SELECT Tier FROM table WHERE Semi finalists = sandrine testud mary pierce AND Runner-up = lisa raymond |
Translate the following into a SQL query | Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst? | SELECT Semi finalists FROM table WHERE Runner-up = alexandra fusai wiltrud probst |
Translate the following into a SQL query | What is the Label that shows on april 7, 1967? | SELECT Label FROM table WHERE Date = april 7, 1967 |
Translate the following into a SQL query | What is the Date when the Country shows uk, the Format is cd, and the Catalog of edcd 227? | SELECT Date FROM table WHERE Country = uk AND Format = cd AND Catalog = edcd 227 |
Translate the following into a SQL query | What is the Date for Catalog of lp 5060? | SELECT Date FROM table WHERE Catalog = lp 5060 |
Translate the following into a SQL query | What Date was the Country of japan, and a Label of sony? | SELECT Date FROM table WHERE Country = japan AND Label = sony |
Translate the following into a SQL query | What is the Catalog with a Format of lp, a Country of us, a Label of sundazed, and a Date of 2006? | SELECT Catalog FROM table WHERE Format = lp AND Country = us AND Label = sundazed AND Date = 2006 |
Translate the following into a SQL query | What is the Label name that has a Country of uk and the Catalog is bpg 62988? | SELECT Label FROM table WHERE Country = uk AND Catalog = bpg 62988 |
Translate the following into a SQL query | What were the Lyrics (l) and Music (m) for the Artist who was in a Position higher than 3 and who earned 1st Place? | SELECT Lyrics (l) / Music (m) FROM table WHERE Position > 3 AND Place = 1st |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.