instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what is the technology when the gel pouring is no and the analysis time is 8 days? | SELECT Technology FROM table WHERE Gel Pouring = no AND Analysis Time = 8 days |
Translate the following into a SQL query | what is the throughput (including analysis) when the analysis time is 4 hours? | SELECT Throughput (including analysis) FROM table WHERE Analysis Time = 4 hours |
Translate the following into a SQL query | What is Geust, when Result is 0:9? | SELECT Geust FROM table WHERE Result = 0:9 |
Translate the following into a SQL query | What is Home, when Time is 18:00, and when Geust is Servette FC (CHL)? | SELECT Home FROM table WHERE Time = 18:00 AND Geust = servette fc (chl) |
Translate the following into a SQL query | What is Time, when Geust is AC Bellinzona (CHL)? | SELECT Time FROM table WHERE Geust = ac bellinzona (chl) |
Translate the following into a SQL query | What was the transfer fee when winter was the transfer window? | SELECT Transfer fee FROM table WHERE Transfer window = winter |
Translate the following into a SQL query | What transfer fee has both winter as the transfer window, and Madureira as the moving to? | SELECT Transfer fee FROM table WHERE Transfer window = winter AND Moving to = madureira |
Translate the following into a SQL query | What was the moving that has a free transfer fee, and the nationality of CYP, and winter as the transfer window? | SELECT Moving to FROM table WHERE Transfer fee = free AND Nat. = cyp AND Transfer window = winter |
Translate the following into a SQL query | Who is moving to Metalurh Donetsk? | SELECT Name FROM table WHERE Moving to = metalurh donetsk |
Translate the following into a SQL query | The player moving to Villa Rio has what transfer fee? | SELECT Transfer fee FROM table WHERE Moving to = villa rio |
Translate the following into a SQL query | Emerson has what transfer window? | SELECT Transfer window FROM table WHERE Name = emerson |
Translate the following into a SQL query | Where was the fight located that lasted a time of 2:33? | SELECT Location FROM table WHERE Time = 2:33 |
Translate the following into a SQL query | What is the total number of Game, when Attendance is "18,568"? | SELECT COUNT Game FROM table WHERE Attendance = 18,568 |
Translate the following into a SQL query | What is the sum of Game, when Attendance is greater than 18,007, and when Opponent is "Minnesota Wild"? | SELECT SUM Game FROM table WHERE Attendance > 18,007 AND Opponent = minnesota wild |
Translate the following into a SQL query | In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found? | SELECT MAX Rank FROM table WHERE County and State = silver bow county, montana AND Capacity (thousands of metric tons) > 45 |
Translate the following into a SQL query | In Pinal County, Arizona, when there's a capacity of over 5 metric tons, and the rank is under 14, what's the mine called? | SELECT Mine FROM table WHERE Rank < 14 AND Capacity (thousands of metric tons) > 5 AND County and State = pinal county, arizona |
Translate the following into a SQL query | How many sets lost have a loss smaller than 3 and a rank larger than 1? | SELECT SUM Sets Lost FROM table WHERE Loss < 3 AND Rank > 1 |
Translate the following into a SQL query | What is Bids, when Champions is "1"? | SELECT Bids FROM table WHERE Champions = 1 |
Translate the following into a SQL query | Which finalist played in the week of October 21? | SELECT Finalist FROM table WHERE Week = october 21 |
Translate the following into a SQL query | On what surface did they play the match in the week of October 21? | SELECT Surface FROM table WHERE Week = october 21 |
Translate the following into a SQL query | Who was the finalist in the Monte Carlo Tournament? | SELECT Finalist FROM table WHERE Tournament = monte carlo |
Translate the following into a SQL query | What is the Rank of the Nation with more than 1 Gold and a more than 4 Total medals? | SELECT SUM Rank FROM table WHERE Gold > 1 AND Total > 4 |
Translate the following into a SQL query | What is the Gold for the Nation in Rank 4 with less than 1 Silver? | SELECT MIN Gold FROM table WHERE Rank = 4 AND Silver < 1 |
Translate the following into a SQL query | What is the transfer window for Steven Thompson? | SELECT Transfer window FROM table WHERE Name = steven thompson |
Translate the following into a SQL query | What type is Kevin Muscat? | SELECT Type FROM table WHERE Name = kevin muscat |
Translate the following into a SQL query | What is the freestyle leg for the Netherlands? | SELECT Freestyle leg FROM table WHERE Country = netherlands |
Translate the following into a SQL query | How much is the lowest glucose(mmol/L) with [Na +] under 0? | SELECT MIN [Glucose](mmol/L) FROM table WHERE [Na + ](mmol/L) < 0 |
Translate the following into a SQL query | What is the highest glucose(mg/dl) with a solution of 2/3d & 1/3s and glucose(mmol/L) less than 185? | SELECT MAX [Glucose](mg/dl) FROM table WHERE Solution = 2/3d & 1/3s AND [Glucose](mmol/L) < 185 |
Translate the following into a SQL query | What is the largest [Cl -](mmol/L) with a solution of D5NS and [Na+](mmol/L) less than 154? | SELECT MAX [Cl - ](mmol/L) FROM table WHERE Solution = d5ns AND [Na + ](mmol/L) < 154 |
Translate the following into a SQL query | What is the release date when the location is Europe? | SELECT Release Date FROM table WHERE Location = europe |
Translate the following into a SQL query | What is the location when the name is "I feel free" b/w "n.s.u.", with a release date of December 1966, on the Atco 6462 label? | SELECT Location FROM table WHERE Name = "i feel free" b/w "n.s.u." AND Release Date = december 1966 AND Record Label = atco 6462 |
Translate the following into a SQL query | What is the release in Germany? | SELECT Release Date FROM table WHERE Location = germany |
Translate the following into a SQL query | What is the name with a release date of December 1966, and a Location of UK? | SELECT Name FROM table WHERE Release Date = december 1966 AND Location = uk |
Translate the following into a SQL query | What is the US release date? | SELECT Release Date FROM table WHERE Location = us |
Translate the following into a SQL query | What is the name in the UK, with a release date of December 1966? | SELECT Name FROM table WHERE Location = uk AND Release Date = december 1966 |
Translate the following into a SQL query | What away team scored 107-104? | SELECT Away team FROM table WHERE Score = 107-104 |
Translate the following into a SQL query | What was the away team for the New Zealand breakers? | SELECT Report FROM table WHERE Away team = new zealand breakers |
Translate the following into a SQL query | What was the away team that scored 63-69? | SELECT Away team FROM table WHERE Score = 63-69 |
Translate the following into a SQL query | Where is the player Davis Love III? | SELECT Place FROM table WHERE Player = davis love iii |
Translate the following into a SQL query | What is the second qualifying time for the dale coyne racing team with a first qualifying time of 1:00.081? | SELECT Qual 2 FROM table WHERE Team = dale coyne racing AND Qual 1 = 1:00.081 |
Translate the following into a SQL query | Which team had a second qualifying time of 58.539? | SELECT Team FROM table WHERE Qual 2 = 58.539 |
Translate the following into a SQL query | What is the best time from patrick carpentier from the forsythe racing team? | SELECT Best FROM table WHERE Team = forsythe racing AND Name = patrick carpentier |
Translate the following into a SQL query | What is the best time for a team with a first-qualifying time of 59.448? | SELECT Best FROM table WHERE Qual 1 = 59.448 |
Translate the following into a SQL query | What is the name of the racer with a best time of 57.546? | SELECT Name FROM table WHERE Best = 57.546 |
Translate the following into a SQL query | What is the name of the racer with a first-qualifying time of 58.991? | SELECT Name FROM table WHERE Qual 1 = 58.991 |
Translate the following into a SQL query | What is the average Points, when Played is greater than 126? | SELECT AVG Points FROM table WHERE Played > 126 |
Translate the following into a SQL query | What is the sum of Average, when 2006 is "36/40", and when Played is greater than 126? | SELECT SUM Average FROM table WHERE 2006 = 36/40 AND Played > 126 |
Translate the following into a SQL query | What is 2006, when Team is "Tacuary"? | SELECT 2006 FROM table WHERE Team = tacuary |
Translate the following into a SQL query | Which Rank has a Bronze of 3? | SELECT Rank FROM table WHERE Bronze = 3 |
Translate the following into a SQL query | What are the Runner(s)-up of the 1956 Championship? | SELECT Runner(s)-up FROM table WHERE Year = 1956 |
Translate the following into a SQL query | What are the Runner(s)-up of the 1972 Championship? | SELECT Runner(s)-up FROM table WHERE Year = 1972 |
Translate the following into a SQL query | What is the Country of the Championship with a Score of 293? | SELECT Country FROM table WHERE Score = 293 |
Translate the following into a SQL query | What is the total enrollment at the school that has the nickname of the Fightin' Blue Hens? | SELECT COUNT Enrollment FROM table WHERE Nickname = fightin' blue hens |
Translate the following into a SQL query | What was the score for set 3 when set 1 was 14–25? | SELECT Set 3 FROM table WHERE Set 1 = 14–25 |
Translate the following into a SQL query | What is the time when the set 3 score is 31–29? | SELECT Time FROM table WHERE Set 3 = 31–29 |
Translate the following into a SQL query | What is the total when the score for set 1 is 14–25? | SELECT Total FROM table WHERE Set 1 = 14–25 |
Translate the following into a SQL query | What is the total when the score for set 2 is 20–25? | SELECT Total FROM table WHERE Set 2 = 20–25 |
Translate the following into a SQL query | What is the total when the score for set 2 is 25–22? | SELECT Total FROM table WHERE Set 2 = 25–22 |
Translate the following into a SQL query | What is the price of 150 mbps downstread? | SELECT Price FROM table WHERE Downstream = 150 mbps |
Translate the following into a SQL query | What is the upstream with the price 65 chf? | SELECT Upstream FROM table WHERE Price = 65 chf |
Translate the following into a SQL query | What is the price of the internet 150 plans? | SELECT Price FROM table WHERE Internet Plan = internet 150 |
Translate the following into a SQL query | What is the upstream for the 100 mbps downstream? | SELECT Upstream FROM table WHERE Downstream = 100 mbps |
Translate the following into a SQL query | What is the price of 60 mbps downstream? | SELECT Price FROM table WHERE Downstream = 60 mbps |
Translate the following into a SQL query | What is the upstream for the internet 100 plans? | SELECT Upstream FROM table WHERE Internet Plan = internet 100 |
Translate the following into a SQL query | Which club team was the player from who was selected in a round under 4? | SELECT Club Team FROM table WHERE Round < 4 |
Translate the following into a SQL query | What was the club team for Kyle de Coste? | SELECT Club Team FROM table WHERE Player = kyle de coste |
Translate the following into a SQL query | What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578? | SELECT MAX W plyf FROM table WHERE First Yr < 1960 AND G plyf > 0 AND G > .500 < 43 AND W-L% < 0.578 |
Translate the following into a SQL query | What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 0? | SELECT SUM Yr plyf FROM table WHERE G plyf = 0 AND Coach = ed robinson |
Translate the following into a SQL query | What is the total number of yr plyf with a G plyf less than 0? | SELECT COUNT Yr plyf FROM table WHERE G plyf < 0 |
Translate the following into a SQL query | Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr in 1967? | SELECT Coach FROM table WHERE W-L% > 0.516 AND First Yr < 1925 AND Yr plyf > 2 AND Last Yr = 1967 |
Translate the following into a SQL query | What is the average last yr with an l plyf less than 0? | SELECT AVG Last Yr FROM table WHERE L plyf < 0 |
Translate the following into a SQL query | What is the earliest last year with a yr plyf less than 0? | SELECT MIN Last Yr FROM table WHERE Yr plyf < 0 |
Translate the following into a SQL query | What is the To par of the Player with a Score of 69-70=139? | SELECT To par FROM table WHERE Score = 69-70=139 |
Translate the following into a SQL query | What is Bob Gilder in Place T3's To par? | SELECT To par FROM table WHERE Place = t3 AND Player = bob gilder |
Translate the following into a SQL query | What is High Points, when Game is less than 82, when Location Attendance is "Quicken Loans Arena 20,562", and when High Rebounds is "Žydrūnas Ilgauskas (13)"? | SELECT High points FROM table WHERE Game < 82 AND Location Attendance = quicken loans arena 20,562 AND High rebounds = žydrūnas ilgauskas (13) |
Translate the following into a SQL query | What is the lowest Game, when High Assists is "Maurice Williams (8)"? | SELECT MIN Game FROM table WHERE High assists = maurice williams (8) |
Translate the following into a SQL query | What is the lowest Game, when Date is "April 12"? | SELECT MIN Game FROM table WHERE Date = april 12 |
Translate the following into a SQL query | What is Winner, when Date is 5 Sep? | SELECT Winner FROM table WHERE Date = 5 sep |
Translate the following into a SQL query | What is Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander? | SELECT Team FROM table WHERE Circuit = queensland raceway AND Winner = garth tander |
Translate the following into a SQL query | What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway? | SELECT Date FROM table WHERE Team = holden racing team AND Circuit = eastern creek raceway |
Translate the following into a SQL query | What is Team, when Circuit is Phillip Island Grand Prix Circuit? | SELECT Team FROM table WHERE Circuit = phillip island grand prix circuit |
Translate the following into a SQL query | What is Circuit, when Series is ASTC Round 4? | SELECT Circuit FROM table WHERE Series = astc round 4 |
Translate the following into a SQL query | What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2? | SELECT COUNT React FROM table WHERE Name = sean wroe AND Lane > 2 |
Translate the following into a SQL query | What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251? | SELECT MAX Lane FROM table WHERE Mark = 46.65 AND React > 0.251 |
Translate the following into a SQL query | What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6? | SELECT MIN React FROM table WHERE Mark = 46.26 sb AND Lane > 6 |
Translate the following into a SQL query | What is Mark, when Lane is greater than 2, and when Country is Bahamas? | SELECT Mark FROM table WHERE Lane > 2 AND Country = bahamas |
Translate the following into a SQL query | What is the number of the belarusian language? | SELECT Number FROM table WHERE Language = belarusian |
Translate the following into a SQL query | What is the number with an 80.62 percentage? | SELECT Number FROM table WHERE percentage (%) = 80.62 |
Translate the following into a SQL query | How many males have a percentage of 80.62? | SELECT males FROM table WHERE percentage (%) = 80.62 |
Translate the following into a SQL query | What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68? | SELECT Name FROM table WHERE Team = new york knicks AND WSU Year(s) = 1965-68 |
Translate the following into a SQL query | What is Name, when WSU Year(s) is 1981-82? | SELECT Name FROM table WHERE WSU Year(s) = 1981-82 |
Translate the following into a SQL query | What is WSU Year(s), when Pro Year(s) is 1974-77? | SELECT WSU Year(s) FROM table WHERE Pro Year(s) = 1974-77 |
Translate the following into a SQL query | What is Pro Year(s), when Team is Cincinnati Royals? | SELECT Pro Year(s) FROM table WHERE Team = cincinnati royals |
Translate the following into a SQL query | What is Position, when Team is Cincinnati Royals? | SELECT Position FROM table WHERE Team = cincinnati royals |
Translate the following into a SQL query | What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82? | SELECT Name FROM table WHERE Team = detroit pistons AND WSU Year(s) = 1979-82 |
Translate the following into a SQL query | What is Position, when Overallis less than 314, and when Pick is less than 8? | SELECT Position FROM table WHERE Overall < 314 AND Pick < 8 |
Translate the following into a SQL query | What is the average value of Overall, when Round is greater than 11, and when Pick is greater than 10? | SELECT AVG Overall FROM table WHERE Round > 11 AND Pick > 10 |
Translate the following into a SQL query | What is Name, when Overall is greater than 132, and when Round is 12? | SELECT Name FROM table WHERE Overall > 132 AND Round = 12 |
Translate the following into a SQL query | What is College, when Pick is 20? | SELECT College FROM table WHERE Pick = 20 |
Translate the following into a SQL query | What is average Overall, when Pick is 19? | SELECT AVG Overall FROM table WHERE Pick = 19 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.