instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Where is the school with nickname Tigers located? | SELECT Location FROM table WHERE Nickname = Tigers |
Translate the following into a SQL query | What's the nickname of the students of the school that joined the Conference in 2010? | SELECT Nickname FROM table WHERE Joined = 2010 |
Translate the following into a SQL query | When was Daniel Webster College founded? | SELECT Founded FROM table WHERE Institution = Daniel Webster College |
Translate the following into a SQL query | Where is Southern Vermont College located? | SELECT Location FROM table WHERE Institution = Southern Vermont College |
Translate the following into a SQL query | In what year did the school with enrollment of 650 leave? | SELECT Left FROM table WHERE Enrollment = 650 |
Translate the following into a SQL query | What was the number of races in the season in which the team placed on the 14th position? | SELECT MIN Races FROM table WHERE Position = 14th |
Translate the following into a SQL query | What is the lowest number of wins of a team? | SELECT MIN Wins FROM table |
Translate the following into a SQL query | What's the minimal number of wins of a team? | SELECT MIN Wins FROM table |
Translate the following into a SQL query | Name the institution for statesmen | SELECT Institution FROM table WHERE Nickname = Statesmen |
Translate the following into a SQL query | Name the institution for yellowjackets | SELECT Institution FROM table WHERE Nickname = Yellowjackets |
Translate the following into a SQL query | Name the type for hobart college | SELECT Type FROM table WHERE Institution = Hobart College |
Translate the following into a SQL query | Name the location for 1829 | SELECT Location FROM table WHERE Founded = 1829 |
Translate the following into a SQL query | Name the location of statesmen | SELECT Location FROM table WHERE Nickname = Statesmen |
Translate the following into a SQL query | What location was the congressional service of which the term ended in January 3, 2011? | SELECT Location FROM table WHERE Term ended = January 3, 2011 |
Translate the following into a SQL query | What branch was involved when the term began in January 3, 1985? | SELECT Branch FROM table WHERE Term began = January 3, 1985 |
Translate the following into a SQL query | What year was the congressional service elected for a term beginning on January 3, 1989? | SELECT Elected FROM table WHERE Term began = January 3, 1989 |
Translate the following into a SQL query | What group was in office when the term ended in January 3, 1993? | SELECT Office FROM table WHERE Term ended = January 3, 1993 |
Translate the following into a SQL query | How many terms began when the term ended in January 3, 1989? | SELECT COUNT Term began FROM table WHERE Term ended = January 3, 1989 |
Translate the following into a SQL query | How many different total points does the couple ranked at number 5 have? | SELECT COUNT Total FROM table WHERE Rank = 5 |
Translate the following into a SQL query | What couple had vote percentage of 21.843%? | SELECT Couple FROM table WHERE Vote percentage = 21.843% |
Translate the following into a SQL query | How many judges points did the couple ranked at number 5 have? | SELECT MAX Judges FROM table WHERE Rank = 5 |
Translate the following into a SQL query | What couple had less than 2.0 points from the public? | SELECT Couple FROM table WHERE Public < 2.0 |
Translate the following into a SQL query | What was the total result for couple Ellery and Frankie? | SELECT COUNT Result FROM table WHERE Couple = Ellery and Frankie |
Translate the following into a SQL query | If the vote percentage is 2.111%, what was the minimum rank? | SELECT MIN Rank FROM table WHERE Vote percentage = 2.111% |
Translate the following into a SQL query | If the total is 17, what was the maximum rank amount? | SELECT MAX Rank FROM table WHERE Total = 17 |
Translate the following into a SQL query | For couple Todd and Susie, what was the vote percentage? | SELECT Vote percentage FROM table WHERE Couple = Todd and Susie |
Translate the following into a SQL query | When 9 is the rank who are the couple? | SELECT Couple FROM table WHERE Rank = 9 |
Translate the following into a SQL query | When roxanne and daniel are the couple what is the highest rank? | SELECT MAX Rank FROM table WHERE Couple = Roxanne and Daniel |
Translate the following into a SQL query | When ellery and frankie are the couple what is the highest total? | SELECT MAX Total FROM table WHERE Couple = Ellery and Frankie |
Translate the following into a SQL query | When 8 is the public what are the results? | SELECT Result FROM table WHERE Public = 8 |
Translate the following into a SQL query | When 8 is the public and the result is safe what is the highest rank? | SELECT MAX Rank FROM table WHERE Result = Safe AND Public = 8 |
Translate the following into a SQL query | Name the karen when nicky is 2.5 | SELECT Karen FROM table WHERE Nicky = 2.5 |
Translate the following into a SQL query | What is the capacity for the school that has the Owl Athletic Complex baseball stadium? | SELECT Capacity FROM table WHERE Baseball stadium = Owl Athletic Complex |
Translate the following into a SQL query | What is the name of the softball stadium for the school that has Eastern Baseball Stadium? | SELECT Softball stadium FROM table WHERE Baseball stadium = Eastern Baseball Stadium |
Translate the following into a SQL query | What is the name of UMass Boston's softball stadium? | SELECT Softball stadium FROM table WHERE School = UMass Boston |
Translate the following into a SQL query | What is the name of Rhode Island College's softball stadium? | SELECT Softball stadium FROM table WHERE School = Rhode Island College |
Translate the following into a SQL query | How many basketball arenas are there that belong to a school with a capacity of 3,000? | SELECT COUNT Basketball arena FROM table WHERE Capacity = 3,000 |
Translate the following into a SQL query | What is the name of the baseball stadium for the school with the Murray Center basketball arena? | SELECT Baseball stadium FROM table WHERE Basketball arena = The Murray Center |
Translate the following into a SQL query | Where is the Westfield State University located? | SELECT Location FROM table WHERE Institution = Westfield State University |
Translate the following into a SQL query | When was the school in Salem, Massachusetts located? | SELECT Founded FROM table WHERE Location = Salem, Massachusetts |
Translate the following into a SQL query | What's the nickname of Westfield State University's students? | SELECT Nickname FROM table WHERE Institution = Westfield State University |
Translate the following into a SQL query | What's Fitchburg State University's LEC sport? | SELECT LEC Sport FROM table WHERE Institution = Fitchburg State University |
Translate the following into a SQL query | Where is the school whose students are nicknamed falcons located? | SELECT Location FROM table WHERE Nickname = Falcons |
Translate the following into a SQL query | What's Salem State University's primary conference? | SELECT Primary Conference FROM table WHERE Institution = Salem State University |
Translate the following into a SQL query | Name the incumbent for north carolina 9 | SELECT Incumbent FROM table WHERE District = North Carolina 9 |
Translate the following into a SQL query | Name the total party for north carolina 7 | SELECT COUNT Party FROM table WHERE District = North Carolina 7 |
Translate the following into a SQL query | Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0% | SELECT Incumbent FROM table WHERE Candidates = Sue Myrick (R) 69.0% Jeff Doctor (D) 31.0% |
Translate the following into a SQL query | Name the result for north carolina 7 | SELECT Result FROM table WHERE District = North Carolina 7 |
Translate the following into a SQL query | Name the incumbent for north carolina 9 | SELECT Incumbent FROM table WHERE District = North Carolina 9 |
Translate the following into a SQL query | What's Babson College's enrollment? | SELECT MAX Enrollment FROM table WHERE Institution = Babson College |
Translate the following into a SQL query | When has Clark University joined the Conference? | SELECT MAX Joined FROM table WHERE Institution = Clark University |
Translate the following into a SQL query | What's the type of the school in New London, Connecticut? | SELECT Type FROM table WHERE Location = New London, Connecticut |
Translate the following into a SQL query | When was the school in Springfield, Massachusetts founded? | SELECT MAX Founded FROM table WHERE Location = Springfield, Massachusetts |
Translate the following into a SQL query | What school is located in Worcester, Massachusetts? | SELECT Institution FROM table WHERE Location = Worcester, Massachusetts |
Translate the following into a SQL query | Who are the candidates in Florida 13 district? | SELECT Candidates FROM table WHERE District = Florida 13 |
Translate the following into a SQL query | How many different pairs of candidates were there for the district first elected in 1988? | SELECT COUNT Candidates FROM table WHERE First elected = 1988 |
Translate the following into a SQL query | Who were candidates in Florida 10 district? | SELECT Candidates FROM table WHERE District = Florida 10 |
Translate the following into a SQL query | What party got elected in Florida 9 district? | SELECT Party FROM table WHERE District = Florida 9 |
Translate the following into a SQL query | What is the first round that had #67 the racer's group with the fastest lap? | SELECT MIN Rnd FROM table WHERE Fastest Lap = #67 The Racer's Group |
Translate the following into a SQL query | How many races had #99 gainsco/bob stallings racing in round 10? | SELECT COUNT Fastest Lap FROM table WHERE Rnd = 10 AND Pole Position = #99 GAINSCO/Bob Stallings Racing |
Translate the following into a SQL query | What incumbent was first elected in 2009? | SELECT Incumbent FROM table WHERE First elected = 2009 |
Translate the following into a SQL query | How many were first elected in California 7? | SELECT First elected FROM table WHERE District = California 7 |
Translate the following into a SQL query | What district did George Miller belong to? | SELECT District FROM table WHERE Incumbent = George Miller |
Translate the following into a SQL query | When mark critz (d) 50.8% tim burns (r) 49.2% are the candidates what is the party? | SELECT Party FROM table WHERE Candidates = Mark Critz (D) 50.8% Tim Burns (R) 49.2% |
Translate the following into a SQL query | When chris carney is the incumbent what are the results? | SELECT Result FROM table WHERE Incumbent = Chris Carney |
Translate the following into a SQL query | When 1994 is the first elected what is the district? | SELECT District FROM table WHERE First elected = 1994 |
Translate the following into a SQL query | When pennsylvania 3 is the district who is the incumbent? | SELECT Incumbent FROM table WHERE District = Pennsylvania 3 |
Translate the following into a SQL query | When 1984 is the first elected who are the candidates? | SELECT Candidates FROM table WHERE First elected = 1984 |
Translate the following into a SQL query | What is Salva Ortega's result? | SELECT Result FROM table WHERE Artist = Salva Ortega |
Translate the following into a SQL query | How many televotes are there for "Lujuria"? | SELECT Televotes FROM table WHERE Song = "Lujuria" |
Translate the following into a SQL query | How many televotes are there where there is 4 jury votes? | SELECT Televotes FROM table WHERE Jury votes = 4 |
Translate the following into a SQL query | How many jury votes for the televote of 7? | SELECT Jury votes FROM table WHERE Televotes = 7 |
Translate the following into a SQL query | What is the result for Normativa Vigente? | SELECT Result FROM table WHERE Artist = Normativa Vigente |
Translate the following into a SQL query | What song has 24 votes? | SELECT Song FROM table WHERE Total votes = 24 |
Translate the following into a SQL query | What is the least total votes? | SELECT MIN Total votes FROM table |
Translate the following into a SQL query | How many votes does Carlos Ferrer Eai have? | SELECT Total votes FROM table WHERE Artist = Carlos Ferrer EAI |
Translate the following into a SQL query | How many players are on this list? | SELECT MAX # FROM table |
Translate the following into a SQL query | Who won the French Open in 1999? | SELECT Player FROM table WHERE French Open = 1999 |
Translate the following into a SQL query | Who won the US Open in 1937? | SELECT Player FROM table WHERE US Open = 1937 |
Translate the following into a SQL query | How many times did Roy Emerson win the Australian Open? | SELECT COUNT Australian Open FROM table WHERE Player = Roy Emerson |
Translate the following into a SQL query | At what age did Roy Emerson complete the Grand Slam? | SELECT MAX Age FROM table WHERE Player = Roy Emerson |
Translate the following into a SQL query | Name the least rank for 2 | SELECT MIN Rank FROM table WHERE Total = 2 |
Translate the following into a SQL query | Name the total for jamie carragher | SELECT Total FROM table WHERE Player = Jamie Carragher |
Translate the following into a SQL query | Name the total number of club worl cup for djibril cisse | SELECT COUNT Club World Cup FROM table WHERE Player = Djibril Cisse |
Translate the following into a SQL query | What's the post code of the county with the Chinese name 潜山县 / 潛山縣? | SELECT MIN Post Code FROM table WHERE Chinese Name (Simplified / Traditional) = 潜山县 / 潛山縣 |
Translate the following into a SQL query | What's the English name of the county called 太湖县 / 太湖縣 in Chinese? | SELECT English Name FROM table WHERE Chinese Name (Simplified / Traditional) = 太湖县 / 太湖縣 |
Translate the following into a SQL query | What's the English name of the county with a postcode 246400? | SELECT English Name FROM table WHERE Post Code = 246400 |
Translate the following into a SQL query | What's the Chinese (simplified/traditional) name of Susong County? | SELECT Chinese Name (Simplified / Traditional) FROM table WHERE English Name = Susong County |
Translate the following into a SQL query | What's the Pinyin name of the county with a postcode 246500? | SELECT Pinyin FROM table WHERE Post Code = 246500 |
Translate the following into a SQL query | On how many different dates was a game against Houston played? | SELECT COUNT Date FROM table WHERE Opponent = Houston |
Translate the following into a SQL query | How many different players did the high assists in games where the high rebounds were done by Sales (10)? | SELECT COUNT High assists FROM table WHERE High rebounds = Sales (10) |
Translate the following into a SQL query | What's the number of the game played on June 22? | SELECT MAX Game FROM table WHERE Date = June 22 |
Translate the following into a SQL query | Who was game number 8 played against? | SELECT Opponent FROM table WHERE Game = 8 |
Translate the following into a SQL query | Who did the high rebounds in the game in which five players (3) did the high assists? | SELECT High rebounds FROM table WHERE High assists = Five Players (3) |
Translate the following into a SQL query | What are all the conjugated forms of the verb where the el/ ella/usted verb is piense? | SELECT Nosotros / Nosotras FROM table WHERE Él / Ella / Usted = piense |
Translate the following into a SQL query | What are all the conjugated forms of the verb moler where the vosotros / vosotras is moláis for the yo tense? | SELECT Yo FROM table WHERE Vosotros / Vosotras = moláis |
Translate the following into a SQL query | how many verbs have the yo form as sienta? | SELECT COUNT Verbs FROM table WHERE Yo = sienta |
Translate the following into a SQL query | What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás? | SELECT Él / Ella / Usted FROM table WHERE Vos (*) = muelas / molás |
Translate the following into a SQL query | What are the forms of the conjucated vos(*) where él / ella / usted is muela | SELECT Vos (*) FROM table WHERE Él / Ella / Usted = muela |
Translate the following into a SQL query | How many have the Till Agra of 500? | SELECT COUNT Till Mathura FROM table WHERE Till Agra = 500 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.