instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the main legion base for the Romans when the notes were "primigenia goddess of fate. xx in batavi revolt"? | SELECT Main legion base FROM table WHERE Notes = Primigenia goddess of Fate. XX in Batavi revolt |
Translate the following into a SQL query | What are the notes during 57 bc caesar? | SELECT Notes FROM table WHERE Date founded/ founder = 57 BC Caesar |
Translate the following into a SQL query | What are the notes when castra legionaria (legion bases) is 39-c.300 moguntiacum * (gs)? | SELECT Notes FROM table WHERE Castra legionaria (legion bases) * = main base. Start date 31 BC if unspecified = 39-c.300 Moguntiacum * (GS) |
Translate the following into a SQL query | What is the date founded/founder when the emblem was Hercules? | SELECT Date founded/ founder FROM table WHERE Emblem = Hercules |
Translate the following into a SQL query | What is the main legion base that disbanded 70 xx? | SELECT Main legion base FROM table WHERE Date disband = 70 XX |
Translate the following into a SQL query | When did svishtov , bulgaria disband? | SELECT Date disband FROM table WHERE Main legionary base = Svishtov , Bulgaria |
Translate the following into a SQL query | when notes are prima italica:raised for aborted caucasus war, when was that founded? | SELECT Date founded/ founder FROM table WHERE Notes = prima Italica:raised for aborted Caucasus war |
Translate the following into a SQL query | What are the notes for svishtov , bulgaria? | SELECT Notes FROM table WHERE Main legionary base = Svishtov , Bulgaria |
Translate the following into a SQL query | Name the team ranked 4 | SELECT COUNT Team FROM table WHERE Overall Rank = 4 |
Translate the following into a SQL query | Name the league for strikeouts being 451 | SELECT League FROM table WHERE Strikeouts = 451 |
Translate the following into a SQL query | Name the most overall rank for nl/ua league | SELECT MAX Overall Rank FROM table WHERE League = NL/UA |
Translate the following into a SQL query | Name the total number of pitcher for 9 overall rank | SELECT COUNT Pitcher FROM table WHERE Overall Rank = 9 |
Translate the following into a SQL query | Name the most season for old hoss radbourn | SELECT MAX Season FROM table WHERE Pitcher = Old Hoss Radbourn |
Translate the following into a SQL query | What week did they play the amsterdam admirals? | SELECT MAX Week FROM table WHERE Opponent = Amsterdam Admirals |
Translate the following into a SQL query | What date did the team play on week 8? | SELECT Date FROM table WHERE Week = 8 |
Translate the following into a SQL query | What country has the most height in the northwestern peak of rysy? | SELECT Country or region FROM table WHERE Highest point = Northwestern peak of Rysy |
Translate the following into a SQL query | What are the highest point in latvia | SELECT Highest point FROM table WHERE Country or region = Latvia |
Translate the following into a SQL query | What is the maximum elevation in netherlands? | SELECT Maximum elevation FROM table WHERE Country or region = Netherlands |
Translate the following into a SQL query | In what country is mont sokbaro a highest point | SELECT Country or region FROM table WHERE Highest point = Mont Sokbaro |
Translate the following into a SQL query | how many times was third place held by drnovice? | SELECT COUNT Club FROM table WHERE Third Place = Drnovice |
Translate the following into a SQL query | Who is the top goalscorer for the season 2010-11? | SELECT Top Goalscorer FROM table WHERE Season = 2010-11 |
Translate the following into a SQL query | Who had third place when the champions is baník ostrava (1)? | SELECT Third Place FROM table WHERE Champions = Baník Ostrava (1) |
Translate the following into a SQL query | Who was the top goalscorer for season 2001-02? | SELECT Top Goalscorer FROM table WHERE Season = 2001-02 |
Translate the following into a SQL query | Who is the runner-up for the season 2008-09? | SELECT Runner-up FROM table WHERE Season = 2008-09 |
Translate the following into a SQL query | Who is the top goalscorer for season 1998-99? | SELECT Top Goalscorer FROM table WHERE Season = 1998-99 |
Translate the following into a SQL query | In what tournament was the difference only 1 stroke and 54 holes with a 2 shot deficit? | SELECT Championship FROM table WHERE Margin = 1 stroke AND 54 holes = 2 shot deficit |
Translate the following into a SQL query | Name the total number directed by for " france : cap gris-nez to mont-saint-michel " | SELECT COUNT Directed by FROM table WHERE Title = " France : Cap Gris-Nez to Mont-Saint-Michel " |
Translate the following into a SQL query | Name the written by for john trefor | SELECT Written by FROM table WHERE Directed by = John Trefor |
Translate the following into a SQL query | How many directors worked on the episode with 2.27m (5) is the ratings? | SELECT COUNT Directed by FROM table WHERE UK Ratings (BBC2 Rank) = 2.27m (5) |
Translate the following into a SQL query | What is the title of episode 2? | SELECT Title FROM table WHERE Episode No. = 2 |
Translate the following into a SQL query | Who wrote the episode what had the rating 2.27m (5)? | SELECT Written by FROM table WHERE UK Ratings (BBC2 Rank) = 2.27m (5) |
Translate the following into a SQL query | Name the name for 14.5 2013 rev | SELECT Name FROM table WHERE 2013 rev (bil. USD ) = 14.5 |
Translate the following into a SQL query | Name the 2013 profit for assets being 11.2 | SELECT 2013 Profit (mil. USD ) FROM table WHERE Assets 2013 (bil.$) = 11.2 |
Translate the following into a SQL query | Name the assets when the rank is 1435 | SELECT Assets 2013 (bil.$) FROM table WHERE Rank 2013 = 1435 |
Translate the following into a SQL query | Name the number of rank for april 2013 for 2012 ran kbeing 225 | SELECT COUNT April 2013 Cum. Rank FROM table WHERE Rank 2012 = 225 |
Translate the following into a SQL query | Name the market cap where 2013 rev is 2.8 | SELECT Market cap March 15 (mil.$) FROM table WHERE 2013 rev (bil. USD ) = 2.8 |
Translate the following into a SQL query | Name the number of assets for australia | SELECT COUNT Assets 2013 (bil.$) FROM table WHERE Base = Australia |
Translate the following into a SQL query | What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event? | SELECT Position FROM table WHERE Event 6 Atlas Stones = 6 (4 in 34.49s) |
Translate the following into a SQL query | Who are all the players from the united states? | SELECT Name FROM table WHERE Nationality = United States |
Translate the following into a SQL query | What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event? | SELECT COUNT Event 6 Atlas Stones FROM table WHERE Event 3 Dead Lift = 2 (6 in 30.89s) |
Translate the following into a SQL query | What is the position of the player with a 5 (4 in 32.66s) in the 6 atlas stones event? | SELECT Position FROM table WHERE Event 6 Atlas Stones = 5 (4 in 32.66s) |
Translate the following into a SQL query | What is the score in the 2 truck pull of the player who got 1 (5 in 33.84s) in the 4 fingals fingers? | SELECT Event 2 Truck Pull FROM table WHERE Event 4 Fingals Fingers = 1 (5 in 33.84s) |
Translate the following into a SQL query | When 0 is the top 10's what is the highest amount of cuts made? | SELECT MAX Cuts made FROM table WHERE Top 10s = 0 |
Translate the following into a SQL query | What is the lowest overall amount of times they've been in 3rd? | SELECT MIN 3rd FROM table |
Translate the following into a SQL query | When 2011 is the year what is the lowest money list rank? | SELECT MIN Money list rank FROM table WHERE Year = 2011 |
Translate the following into a SQL query | What is the lowest overall money list rank? | SELECT MIN Money list rank FROM table |
Translate the following into a SQL query | When t3 is the best finish what is the lowest amount of tournaments played? | SELECT MIN Tournaments played FROM table WHERE Best finish = T3 |
Translate the following into a SQL query | What is the latest amount of won legs in the payoffs when the prize money was £2,350? | SELECT MAX Winners Play-Off Legs won FROM table WHERE Total money won = £2,350 |
Translate the following into a SQL query | How many group legs were won with player Mark Dudbridge? | SELECT Winners Group Legs won FROM table WHERE Player = Mark Dudbridge |
Translate the following into a SQL query | What is the highest amount of group legs won when the prize money was £21,850? | SELECT MAX Winners Group Legs won FROM table WHERE Total money won = £21,850 |
Translate the following into a SQL query | How many play-off legs were won when the prize money was £10,300? | SELECT COUNT Winners Play-Off Legs won FROM table WHERE Total money won = £10,300 |
Translate the following into a SQL query | What is the least amount of playoff legs won? | SELECT MIN Winners Play-Off Legs won FROM table |
Translate the following into a SQL query | Who directed episode 53 in the series? | SELECT Directed by FROM table WHERE No. in series = 53 |
Translate the following into a SQL query | What as the production code for the episode directed by Robert Duncan McNeill? | SELECT Production code FROM table WHERE Directed by = Robert Duncan McNeill |
Translate the following into a SQL query | What episode number of the season had BCW410 as a production code? | SELECT No. in season FROM table WHERE Production code = BCW410 |
Translate the following into a SQL query | What episode number in the series had 2.77 million U.S. viewers? | SELECT MAX No. in series FROM table WHERE U.S. viewers (million) = 2.77 |
Translate the following into a SQL query | Name the most times contested for montgomeryshire | SELECT MAX Times contested FROM table WHERE County = Montgomeryshire |
Translate the following into a SQL query | Name the fate in 1832 for pembrokeshire | SELECT Fate in 1832 FROM table WHERE County = Pembrokeshire |
Translate the following into a SQL query | what is the least number of podiums for a formula BMW Americas series? | SELECT MIN Podiums FROM table WHERE Series = Formula BMW Americas |
Translate the following into a SQL query | What is the maximum number of wins in the formula 3 euro series? | SELECT MAX Wins FROM table WHERE Series = Formula 3 Euro Series |
Translate the following into a SQL query | How many positions were given when 30 points were won? | SELECT COUNT Position FROM table WHERE Points = 30 |
Translate the following into a SQL query | How many pole positions were there for the 2011 season? | SELECT MAX Poles FROM table WHERE Season = 2011 |
Translate the following into a SQL query | List the tournament that kent state won? | SELECT Conference Tournament FROM table WHERE Tournament Winner = Kent State |
Translate the following into a SQL query | List the team that won the 2001 mwc men's basketball tournament | SELECT Tournament Winner FROM table WHERE Conference Tournament = 2001 MWC Men's Basketball Tournament |
Translate the following into a SQL query | What team won the regular season when georgia state won the tournament? | SELECT Regular Season Winner FROM table WHERE Tournament Winner = Georgia State |
Translate the following into a SQL query | In what city did oklahoma win the tournament. | SELECT Tournament Venue (City) FROM table WHERE Tournament Winner = Oklahoma |
Translate the following into a SQL query | List the players of the year for the tournament held in matadome ( northridge, california )? | SELECT Conference Player of the Year FROM table WHERE Tournament Venue (City) = Matadome ( Northridge, California ) |
Translate the following into a SQL query | List the number of tournament winners when iona , siena & niagara won in the regular season. | SELECT COUNT Tournament Winner FROM table WHERE Regular Season Winner = Iona , Siena & Niagara |
Translate the following into a SQL query | What is the population of Mogilev? | SELECT MIN Total Population FROM table WHERE Guberniya * = Mogilev |
Translate the following into a SQL query | What are the polish population where guberniya is vitebsk? | SELECT Polish (Польскій) FROM table WHERE Guberniya * = Vitebsk |
Translate the following into a SQL query | What is the population of polish where guberniya is grodno? | SELECT MIN Polish (Польскій) FROM table WHERE Guberniya * = Grodno |
Translate the following into a SQL query | Name the real life for eventual outcome is amtrak | SELECT Real-Life Eventual Outcome FROM table WHERE Currently¹ Part Of... = Amtrak |
Translate the following into a SQL query | Name the real life years of operation for amtrak | SELECT Real-Life Years of Operation FROM table WHERE Currently¹ Part Of... = Amtrak |
Translate the following into a SQL query | Name the game coast for chicago and north western | SELECT Game Cost FROM table WHERE Railroad = Chicago and North Western |
Translate the following into a SQL query | Name the game cost for merged with new york central to form penn central | SELECT Game Cost FROM table WHERE Real-Life Eventual Outcome = Merged with New York Central to form Penn Central |
Translate the following into a SQL query | What is the minimum 2007 USD in Kabardino-Balkaria? | SELECT MIN 2007 (USD) FROM table WHERE Federal Subjects = Kabardino-Balkaria |
Translate the following into a SQL query | What is the Russian name for the area with 139995 RUB in 2005? | SELECT Russian Name FROM table WHERE 2005 (RUB) = 139995 |
Translate the following into a SQL query | What is the 2008 USD figure for the subject with 2849 USD in 2005? | SELECT 2008 (USD) FROM table WHERE 2005 (USD) = 2849 |
Translate the following into a SQL query | Who is every contestant for the position of 4th? | SELECT Contestant FROM table WHERE Position (out of Eliminated Contestants) = 4th |
Translate the following into a SQL query | What is every amount for weight lost if the starting weight is 97.4? | SELECT Weight Lost (kg) FROM table WHERE Starting Weight (kg) = 97.4 |
Translate the following into a SQL query | Who is every contestant for the position of 3rd? | SELECT Contestant FROM table WHERE Position (out of Eliminated Contestants) = 3rd |
Translate the following into a SQL query | What is the starting weight if weight lost is 54.6? | SELECT Starting Weight (kg) FROM table WHERE Weight Lost (kg) = 54.6 |
Translate the following into a SQL query | What is the position for starting weight of 130.6? | SELECT Position (out of Eliminated Contestants) FROM table WHERE Starting Weight (kg) = 130.6 |
Translate the following into a SQL query | What is the final weight for contestant Chris? | SELECT Final Weight (kg) FROM table WHERE Contestant = Chris |
Translate the following into a SQL query | How many times did the sounddock series II aux in? | SELECT COUNT AUX In FROM table WHERE Version = SoundDock series II |
Translate the following into a SQL query | Was the sounddock series I v2 iphone certified? | SELECT iPhone Certified FROM table WHERE Version = SoundDock series I v2 |
Translate the following into a SQL query | How many connections aux in using FIrewire? | SELECT COUNT AUX In FROM table WHERE Dock Connection = FireWire |
Translate the following into a SQL query | how many video out connections does the sounddock portable have? | SELECT COUNT Video Out FROM table WHERE Version = SoundDock Portable |
Translate the following into a SQL query | Does the sounddock series I v2 have dual voltage? | SELECT Dual Voltage FROM table WHERE Version = SoundDock series I v2 |
Translate the following into a SQL query | What type of dock connection does the sounddock series III have? | SELECT Dock Connection FROM table WHERE Version = SoundDock series III |
Translate the following into a SQL query | Where was the game played that started at 7:00 p.m.? | SELECT Game site FROM table WHERE Kickoff = 7:00 p.m. |
Translate the following into a SQL query | how many varsity teams are in west roxbury, ma? | SELECT MAX Varsity Teams FROM table WHERE Location = West Roxbury, MA |
Translate the following into a SQL query | what is the mascot of st. paul's school? | SELECT Mascot FROM table WHERE School = St. Paul's School |
Translate the following into a SQL query | where are dragons used as mascots? | SELECT Location FROM table WHERE Mascot = Dragons |
Translate the following into a SQL query | when was lawrence academy at groton established? | SELECT MIN Founded FROM table WHERE School = Lawrence Academy at Groton |
Translate the following into a SQL query | name the school located at Milton, ma. | SELECT School FROM table WHERE Location = Milton, MA |
Translate the following into a SQL query | how many places have 17 varsity teams? | SELECT COUNT Location FROM table WHERE Varsity Teams = 17 |
Translate the following into a SQL query | Which episode had bbc ranking and canle ranking of n/a? | SELECT COUNT Episode no. FROM table WHERE BBC Three weekly ranking = N/A AND Cable rank = N/A |
Translate the following into a SQL query | List the number of bbc rankings with cable rankings of 6. | SELECT BBC Three weekly ranking FROM table WHERE Cable rank = 6 |
Translate the following into a SQL query | List the number of viewers when the cable rank for Russell Howard's Good New was 5. | SELECT Viewers FROM table WHERE Cable rank = 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.