instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What country did Dmitriy Karpov represent? | SELECT Country FROM table WHERE Name = dmitriy karpov |
Translate the following into a SQL query | What is Plural, when Singular is tor (your)? | SELECT Plural FROM table WHERE Singular = tor (your) |
Translate the following into a SQL query | What is Proximity, when Honor is P, and when Singular is ẽr (his/her/its)? | SELECT Proximity FROM table WHERE Honor = p AND Singular = ẽr (his/her/its) |
Translate the following into a SQL query | What is the lowest Subject, when Plural is tãder (their)? | SELECT MIN Subject FROM table WHERE Plural = tãder (their) |
Translate the following into a SQL query | What is Proximity, when Plural is amader (our)? | SELECT Proximity FROM table WHERE Plural = amader (our) |
Translate the following into a SQL query | What is Honor, when Singular is ẽr (his/her/its)? | SELECT Honor FROM table WHERE Singular = ẽr (his/her/its) |
Translate the following into a SQL query | what is the f/laps when the season is 2011 and races is 18? | SELECT F/Laps FROM table WHERE Season = 2011 AND Races = 18 |
Translate the following into a SQL query | what is the wins when the f/laps is test driver and team is lotus racing? | SELECT Wins FROM table WHERE F/Laps = test driver AND Team = lotus racing |
Translate the following into a SQL query | what is the poles when the wins is 0 and points is 0? | SELECT Poles FROM table WHERE Wins = 0 AND Points = 0 |
Translate the following into a SQL query | What score won $36,090? | SELECT Score FROM table WHERE Money ( $ ) = 36,090 |
Translate the following into a SQL query | What was Larry Nelson's final score? | SELECT Score FROM table WHERE Player = larry nelson |
Translate the following into a SQL query | What is the average attendance of the game with 38 opponent and less than 14 Falcons points? | SELECT AVG Attendance FROM table WHERE Opponents = 38 AND Falcons points < 14 |
Translate the following into a SQL query | What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School? | SELECT COUNT Losses FROM table WHERE Games < 14 AND Wins < 3 AND Conference = maac AND School = fairfield |
Translate the following into a SQL query | What is number 4's title? | SELECT Title FROM table WHERE Number = 4 |
Translate the following into a SQL query | How many people were born in 1368? | SELECT COUNT Number FROM table WHERE Born = 1368 |
Translate the following into a SQL query | Who was number 12's mother? | SELECT Mother FROM table WHERE Number = 12 |
Translate the following into a SQL query | What was the week number when they played on Dec. 19? | SELECT COUNT Week FROM table WHERE Date = dec. 19 |
Translate the following into a SQL query | What is the average number of students in East Lansing, MI? | SELECT AVG Founded FROM table WHERE Location = east lansing, mi |
Translate the following into a SQL query | What is the lowest number of students at the community college? | SELECT MIN Founded FROM table WHERE Affiliation = community college |
Translate the following into a SQL query | What is Joanne Carner's average score in Canadian Women's Open games that she has won? | SELECT AVG Score FROM table WHERE Champion = joanne carner |
Translate the following into a SQL query | What country does jocelyne bourassa play for? | SELECT Country FROM table WHERE Champion = jocelyne bourassa |
Translate the following into a SQL query | Which Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6? | SELECT Performance FROM table WHERE Test Standard = bs en779 AND Particulate size approaching 100% retention = >2µm AND Class = f6 |
Translate the following into a SQL query | Which Performance has a Usage of hepa and a Class of h14? | SELECT Performance FROM table WHERE Usage = hepa AND Class = h14 |
Translate the following into a SQL query | Which Particulate size approaching 100% retention has a Usage of semi hepa and a Class of h12? | SELECT Particulate size approaching 100% retention FROM table WHERE Usage = semi hepa AND Class = h12 |
Translate the following into a SQL query | Which Test Standard has a Usage of secondary filters, and a Class of f5? Question 4 | SELECT Test Standard FROM table WHERE Usage = secondary filters AND Class = f5 |
Translate the following into a SQL query | Which Performance has a Performance test of average value, and a Class of f6? | SELECT Performance FROM table WHERE Performance test = average value AND Class = f6 |
Translate the following into a SQL query | Which Class has a Performance test of minimum value, and a Usage of semi hepa, and a Performance of 99.5%? | SELECT Class FROM table WHERE Performance test = minimum value AND Usage = semi hepa AND Performance = 99.5% |
Translate the following into a SQL query | Which Score has a To par of –1, and a Player of mick soli? | SELECT Score FROM table WHERE To par = –1 AND Player = mick soli |
Translate the following into a SQL query | Which Score has a Place of t1, and a Player of hubert green? | SELECT AVG Score FROM table WHERE Place = t1 AND Player = hubert green |
Translate the following into a SQL query | Which Country has a Score of 69, and a Player of mick soli? | SELECT Country FROM table WHERE Score = 69 AND Player = mick soli |
Translate the following into a SQL query | Which Country has a Place of t1? | SELECT Country FROM table WHERE Place = t1 |
Translate the following into a SQL query | Where is the moving from location with a transfer window of summer and the source kerkida.net? | SELECT Moving from FROM table WHERE Transfer window = summer AND Source = kerkida.net |
Translate the following into a SQL query | Which name has the source apoelfc.com.cy and a type of transfer? | SELECT Name FROM table WHERE Source = apoelfc.com.cy AND Type = transfer |
Translate the following into a SQL query | What is the Fate of the San Pablo ship? | SELECT Fate FROM table WHERE Name = san pablo |
Translate the following into a SQL query | What is the date of attack of the Circe Shell Ship? | SELECT Date FROM table WHERE Name = circe shell |
Translate the following into a SQL query | What fuel system was used in 1960-62? | SELECT Fuel system FROM table WHERE Years = 1960-62 |
Translate the following into a SQL query | How much power does the 1500 model have with a displacement of 1490cc? | SELECT Power FROM table WHERE Model = 1500 AND Displacement = 1490cc |
Translate the following into a SQL query | Which years have a displacement of 1816cc? | SELECT Years FROM table WHERE Displacement = 1816cc |
Translate the following into a SQL query | How much power does the fuel injection system have with a displacement of 1991cc? | SELECT Power FROM table WHERE Fuel system = fuel injection AND Displacement = 1991cc |
Translate the following into a SQL query | Which fuel system has a displacement of 1490cc? | SELECT Fuel system FROM table WHERE Displacement = 1490cc |
Translate the following into a SQL query | Which fuel system has a displacement of 1500cc for the Berlina model? | SELECT Fuel system FROM table WHERE Displacement = 1500cc AND Model = berlina |
Translate the following into a SQL query | What is the lowest Industry, when Year is greater than 2005, and when Agriculture is greater than 11? | SELECT MIN Industry FROM table WHERE Year > 2005 AND Agriculture > 11 |
Translate the following into a SQL query | What is the average Industry, when Agriculture is greater than 11? | SELECT AVG Industry FROM table WHERE Agriculture > 11 |
Translate the following into a SQL query | What is the average Services, when Year is greater than 2003, when Industry is greater than 1,465, and when Regional GVA is greater than 9,432? | SELECT AVG Services FROM table WHERE Year > 2003 AND Industry > 1,465 AND Regional GVA > 9,432 |
Translate the following into a SQL query | What is the sum of Agriculture, when Regional GVA is greater than 6,584, when Services is greater than 7,502, and when Industry is greater than 1,565? | SELECT SUM Agriculture FROM table WHERE Regional GVA > 6,584 AND Services > 7,502 AND Industry > 1,565 |
Translate the following into a SQL query | What is the sum of Year, when Regional GVA is 6,584, and when Services is less than 5,277? | SELECT SUM Year FROM table WHERE Regional GVA = 6,584 AND Services < 5,277 |
Translate the following into a SQL query | What is the highest Regional GVA, when Year is greater than 2000, when Services is 7,502, and when Agriculture is greater than 11? | SELECT MAX Regional GVA FROM table WHERE Year > 2000 AND Services = 7,502 AND Agriculture > 11 |
Translate the following into a SQL query | When the points scored was over 110.25%, what's the average amount lost? | SELECT AVG Lost FROM table WHERE % Pts > 110.25 |
Translate the following into a SQL query | If the points scored were 93.45%, what's the lowest amount of games lost? | SELECT MIN Lost FROM table WHERE % Pts = 93.45 |
Translate the following into a SQL query | What is the rank of the film directed by Kevin Costner? | SELECT COUNT Rank FROM table WHERE Director = kevin costner |
Translate the following into a SQL query | What director grossed $200,512,643 | SELECT Director FROM table WHERE Gross = $200,512,643 |
Translate the following into a SQL query | What is the average rank of the movie from Paramount Studios that grossed $200,512,643? | SELECT AVG Rank FROM table WHERE Studio = paramount AND Gross = $200,512,643 |
Translate the following into a SQL query | Who directed Teenage Mutant Ninja Turtles? | SELECT Director FROM table WHERE Title = teenage mutant ninja turtles |
Translate the following into a SQL query | What director ranked higher than 1 from Universal Studios and grossed $201,957,688? | SELECT Director FROM table WHERE Rank > 1 AND Studio = universal AND Gross = $201,957,688 |
Translate the following into a SQL query | When the rider is Garry Mccoy and the manufacturer was Kawasaki, what was the time retired? | SELECT Time/Retired FROM table WHERE Manufacturer = kawasaki AND Rider = garry mccoy |
Translate the following into a SQL query | What's the highest amount of laps Garry Mccoy drove? | SELECT MAX Laps FROM table WHERE Rider = garry mccoy |
Translate the following into a SQL query | If the manufacturer is Proton Kr and the grid was over 10, what was the time retired? | SELECT Time/Retired FROM table WHERE Grid > 10 AND Manufacturer = proton kr |
Translate the following into a SQL query | The year 1974 has what listed as the Height? | SELECT Height FROM table WHERE Year = 1974 |
Translate the following into a SQL query | The OMEGA transmitter Chabrier has what country listed? | SELECT Country FROM table WHERE Structure = omega transmitter chabrier |
Translate the following into a SQL query | Listed with a continent of Africa and before 2009 this structure is called what? | SELECT Structure FROM table WHERE Year < 2009 AND Continent = africa |
Translate the following into a SQL query | The year 1972 has what written in Height column? | SELECT Height FROM table WHERE Year = 1972 |
Translate the following into a SQL query | What is the Continent that also has the United States listed as a country? | SELECT Continent FROM table WHERE Country = united states |
Translate the following into a SQL query | What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73? | SELECT MAX Ends Won FROM table WHERE Ends Lost = 47 AND Shot % < 73 |
Translate the following into a SQL query | What Poll was on April 14 of 13? | SELECT Poll FROM table WHERE April 14 = 13 |
Translate the following into a SQL query | What is the rank for Mar 17 when the April 21 rank is 10? | SELECT Mar 17 FROM table WHERE April 21 = 10 |
Translate the following into a SQL query | What is the Mar 24 rank when the May 26 is 13, and the May 12 is 6? | SELECT Mar 24 FROM table WHERE May 26 = 13 AND May 12 = 6 |
Translate the following into a SQL query | What is the April 28 rank when the Mar 24 is 17? | SELECT April 28 FROM table WHERE Mar 24 = 17 |
Translate the following into a SQL query | What is the April 14 rank when the Mar 3rd is nr, and the April 21 is 13? | SELECT April 14 FROM table WHERE Mar 3 = nr AND April 21 = 13 |
Translate the following into a SQL query | What is the April 28th rank when the Final is 20, and Mar 17 is 22? | SELECT April 28 FROM table WHERE Final = 20 AND Mar 17 = 22 |
Translate the following into a SQL query | What is the total number of Podiums, when Position is "2nd", when Wins is less than 6, and when Poles is greater than 0? | SELECT COUNT Podiums FROM table WHERE Position = 2nd AND Wins < 6 AND Poles > 0 |
Translate the following into a SQL query | What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1? | SELECT SUM Poles FROM table WHERE Season < 2004 AND Podiums < 1 |
Translate the following into a SQL query | What is the average Poles, when Wins is 0, when Position is "nc", and when Season is before 2004? | SELECT AVG Poles FROM table WHERE Wins = 0 AND Position = nc AND Season < 2004 |
Translate the following into a SQL query | What is the sum of Poles, when Season is before 2005, when Position is "2nd", and when Wins is less than 6? | SELECT SUM Poles FROM table WHERE Season < 2005 AND Position = 2nd AND Wins < 6 |
Translate the following into a SQL query | What is the 2012 club of the cf pos. player? | SELECT 2012 club FROM table WHERE Pos. = cf |
Translate the following into a SQL query | What are the years in the ACC of an institution that was founded before 1885 and is located in College Park, Maryland? | SELECT Years in the ACC FROM table WHERE Founded < 1885 AND Location = college park, maryland |
Translate the following into a SQL query | Who was the partner for the tournament in Lyon, France? | SELECT Partnering FROM table WHERE Tournament = lyon, france |
Translate the following into a SQL query | Who were the opponents for the event in Milan, Italy? | SELECT Opponent FROM table WHERE Tournament = milan, italy |
Translate the following into a SQL query | What was the record on the date of december 1, 1968? | SELECT Record FROM table WHERE Date = december 1, 1968 |
Translate the following into a SQL query | What was the record on the date of september 15, 1968? | SELECT Record FROM table WHERE Date = september 15, 1968 |
Translate the following into a SQL query | What was the record on the date of november 10, 1968? | SELECT Record FROM table WHERE Date = november 10, 1968 |
Translate the following into a SQL query | What was the first game played on February 28? | SELECT MIN Game FROM table WHERE Date = february 28 |
Translate the following into a SQL query | What is the sum of Altrincham's Points 2 when they had more than 52 Goals For? | SELECT SUM Points 2 FROM table WHERE Goals For > 52 AND Team = altrincham |
Translate the following into a SQL query | What date was the team @ Detroit? | SELECT Date FROM table WHERE Team = @ detroit |
Translate the following into a SQL query | What was the score of the game when Maurice Williams (7) had the high assists? | SELECT Score FROM table WHERE High assists = maurice williams (7) |
Translate the following into a SQL query | What was the record of the game when Lebron James (4) had the high assists? | SELECT Record FROM table WHERE High assists = lebron james (4) |
Translate the following into a SQL query | What is the total of the game that the team was @ new york? | SELECT COUNT Game FROM table WHERE Team = @ new york |
Translate the following into a SQL query | Which round was Joe Taylor selected in? | SELECT SUM Round FROM table WHERE Player = joe taylor |
Translate the following into a SQL query | Which player went to Wake Forest and was selected with a pick after 145? | SELECT Player FROM table WHERE Pick > 145 AND College = wake forest |
Translate the following into a SQL query | How many picks were from round 6? | SELECT COUNT Pick FROM table WHERE Round = 6 |
Translate the following into a SQL query | What is the largest round of a pick smaller than 92 from Toledo University? | SELECT MAX Round FROM table WHERE College = toledo AND Pick < 92 |
Translate the following into a SQL query | Which nationality is Dick Walker? | SELECT Nationality FROM table WHERE Player = dick walker |
Translate the following into a SQL query | What college has a pick greater than 4 and an overall of 21? | SELECT College FROM table WHERE Pick > 4 AND Overall = 21 |
Translate the following into a SQL query | What is the overall sum of round 3? | SELECT SUM Overall FROM table WHERE Round = 3 |
Translate the following into a SQL query | What is the position of the player with a round less than 8 and an overall of 48? | SELECT Position FROM table WHERE Round < 8 AND Overall = 48 |
Translate the following into a SQL query | What is the position of the player from the college of North Carolina with an overall less than 100? | SELECT Position FROM table WHERE Overall < 100 AND College = north carolina |
Translate the following into a SQL query | What is the sum of the pick in round 17? | SELECT SUM Pick FROM table WHERE Round = 17 |
Translate the following into a SQL query | What was the 1st leg when team 2 was nov milenium? | SELECT 1st leg FROM table WHERE Team 2 = nov milenium |
Translate the following into a SQL query | What was the 1st leg for a team 1 of Teteks? | SELECT 1st leg FROM table WHERE Team 1 = teteks |
Translate the following into a SQL query | What is the sum of Date of Official Foundation of Municipality, when Province is "Kermān", when 2006 us "167014", and when Rank is less than 46? | SELECT SUM Date of Official Foundation of Municipality FROM table WHERE Province = kermān AND 2006 = 167014 AND Rank < 46 |
Translate the following into a SQL query | What is the total number of Rank, when Date of Official Foundation of Municipality is after 1926, when Province is "Sistan and Baluchestan", and when 2006 is greater than 567449? | SELECT COUNT Rank FROM table WHERE Date of Official Foundation of Municipality > 1926 AND Province = sistan and baluchestan AND 2006 > 567449 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.