instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency? | SELECT Enzyme FROM table WHERE Disorder = ornithine transcarbamylase deficiency |
Translate the following into a SQL query | What lab measurements can help diagnosie ornithine transcarbamylase deficiency? | SELECT Measurements FROM table WHERE Disorder = ornithine transcarbamylase deficiency |
Translate the following into a SQL query | What is the abbreviation of the enzyme involved in carbamoyl phosphate synthetase i deficiency? | SELECT Abb. FROM table WHERE Disorder = carbamoyl phosphate synthetase i deficiency |
Translate the following into a SQL query | what is the venue when the home team is melbourne? | SELECT Venue FROM table WHERE Home team = melbourne |
Translate the following into a SQL query | who is the away team when the away team score is 10.12 (72)? | SELECT Away team FROM table WHERE Away team score = 10.12 (72) |
Translate the following into a SQL query | what is the date when the home team is st kilda? | SELECT Date FROM table WHERE Home team = st kilda |
Translate the following into a SQL query | what is the date when the venue is junction oval? | SELECT Date FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What is the home team score when played at mcg? | SELECT Home team score FROM table WHERE Venue = mcg |
Translate the following into a SQL query | who is the away team when played at junction oval? | SELECT Away team FROM table WHERE Venue = junction oval |
Translate the following into a SQL query | What is the top speed of the model 1.8 20v t? | SELECT SUM top speed (km/h) FROM table WHERE model = 1.8 20v t |
Translate the following into a SQL query | What is the max torque of model 1.4 16v? | SELECT max. torque (Nm) at rpm FROM table WHERE model = 1.4 16v |
Translate the following into a SQL query | How many rounds did Ken Wharton go? | SELECT Rounds FROM table WHERE Driver = ken wharton |
Translate the following into a SQL query | What driver has a 166 c 500 chassis? | SELECT Driver FROM table WHERE Chassis = 166 c 500 |
Translate the following into a SQL query | What is the Onehunga school with a decile 3 and smaller than 310 rolls? | SELECT Name FROM table WHERE Decile = 3 AND Roll < 310 AND Area = onehunga |
Translate the following into a SQL query | What is the authority status of the school in Ellerslie with a decile of 7? | SELECT Authority FROM table WHERE Area = ellerslie AND Decile = 7 |
Translate the following into a SQL query | What is the biggest roll number of Sylvia Park School, which has a state authority? | SELECT MAX Roll FROM table WHERE Authority = state AND Name = sylvia park school |
Translate the following into a SQL query | What is the name of the school with a decile of 1, a state authority, and located in Otahuhu? | SELECT Name FROM table WHERE Decile = 1 AND Authority = state AND Area = otahuhu |
Translate the following into a SQL query | What is the special notes value for years under 2009? | SELECT Special Notes FROM table WHERE Year < 2009 |
Translate the following into a SQL query | How many years have a theme of Toronto Maple Leafs and an Issue Price of 24.95? | SELECT COUNT Year FROM table WHERE Theme = toronto maple leafs AND Issue Price = 24.95 |
Translate the following into a SQL query | Who was the winner for the Winton Motor Raceway circuit? | SELECT Winner FROM table WHERE Circuit = winton motor raceway |
Translate the following into a SQL query | What was the team that held the race title of Mallala? | SELECT Team FROM table WHERE Race Title = mallala |
Translate the following into a SQL query | Name the driver for Laps less than 9 and a grid of 13 | SELECT Driver FROM table WHERE Laps < 9 AND Grid = 13 |
Translate the following into a SQL query | Who was the winner in the competition in which the runner-up was Rosenborg? | SELECT Winners FROM table WHERE Runners-Up = rosenborg |
Translate the following into a SQL query | What was the year of the competition in which Odd Grenland was the runner-up? | SELECT Years FROM table WHERE Runners-Up = odd grenland |
Translate the following into a SQL query | Who was the winner in the competition in which Lyn took third place and LillestrΓΈm was the runner-up? | SELECT Winners FROM table WHERE Runners-Up = lillestrΓΈm AND Third = lyn |
Translate the following into a SQL query | What was the report in Buenos Aires? | SELECT Report FROM table WHERE Location = buenos aires |
Translate the following into a SQL query | What date was the Italian Grand Prix? | SELECT Date FROM table WHERE Race = italian grand prix |
Translate the following into a SQL query | What was the report when Mario Andretti held pole position and Jean-Pierre Jarier had the fastest lap? | SELECT Report FROM table WHERE Pole Position = mario andretti AND Fastest Lap = jean-pierre jarier |
Translate the following into a SQL query | What was the report in the Belgian Grand Prix? | SELECT Report FROM table WHERE Race = belgian grand prix |
Translate the following into a SQL query | Who was the winner when Niki Lauda held pole position? | SELECT Race Winner FROM table WHERE Pole Position = niki lauda |
Translate the following into a SQL query | Who had the fastest lap in the Monaco Grand Prix? | SELECT Fastest Lap FROM table WHERE Race = monaco grand prix |
Translate the following into a SQL query | Which Object type has a Constellation of cancer? | SELECT Object type FROM table WHERE Constellation = cancer |
Translate the following into a SQL query | Which NGC number has a Constellation of ursa major? | SELECT MAX NGC number FROM table WHERE Constellation = ursa major |
Translate the following into a SQL query | Which Constellation has a NGC number smaller than 2775, and a Declination (J2000) of Β°05β²07β³? | SELECT Constellation FROM table WHERE NGC number < 2775 AND Declination ( J2000 ) = Β°05β²07β³ |
Translate the following into a SQL query | Which Object type has a NGC number of 2787? | SELECT Object type FROM table WHERE NGC number = 2787 |
Translate the following into a SQL query | What is the average crowd size for an away team with a score of 14.2 (86)? | SELECT SUM Crowd FROM table WHERE Away team score = 14.2 (86) |
Translate the following into a SQL query | Where did St KIlda play their away game? | SELECT Venue FROM table WHERE Away team = st kilda |
Translate the following into a SQL query | Which team scored 14.14 (98) at an away game? | SELECT Away team FROM table WHERE Away team score = 14.14 (98) |
Translate the following into a SQL query | What country had a production capacity in 2009 of 1228 mw? | SELECT Country FROM table WHERE 2009 Capacity = 1228 mw |
Translate the following into a SQL query | What is the score when Philadelphia was the visitor with a Record of 7β4β0? | SELECT Score FROM table WHERE Visitor = philadelphia AND Record = 7β4β0 |
Translate the following into a SQL query | What was nominee nominated for outstanding featured actor in a musical? | SELECT Nominee FROM table WHERE Category = outstanding featured actor in a musical AND Result = nominated |
Translate the following into a SQL query | What is the result of nominee, Patricia McGourty, for the drama desk award? | SELECT Result FROM table WHERE Award = drama desk award AND Nominee = patricia mcgourty |
Translate the following into a SQL query | What year was Patricia Mcgourty nominated for a Tony award? | SELECT Year FROM table WHERE Nominee = patricia mcgourty AND Award = tony award |
Translate the following into a SQL query | I want the driver with Laps larger than 16 with a ferrari and grid less than 15 | SELECT Driver FROM table WHERE Laps > 16 AND Constructor = ferrari AND Grid < 15 |
Translate the following into a SQL query | What is the D 46 β with a D 43 β with r 3? | SELECT D 46 β FROM table WHERE D 43 β = r 3 |
Translate the following into a SQL query | What is the D 43 β with a D 49 β with d 49 β? | SELECT D 43 β FROM table WHERE D 49 β = d 49 β |
Translate the following into a SQL query | What is the D 48 β with a D 46 β with r 33 o? | SELECT D 48 β FROM table WHERE D 46 β = r 33 o |
Translate the following into a SQL query | What is the D 48 β with a D 49 β with r 9? | SELECT D 48 β FROM table WHERE D 49 β = r 9 |
Translate the following into a SQL query | What is the D 46 β with a D 41 β with d 38 β? | SELECT D 46 β FROM table WHERE D 41 β = d 38 β |
Translate the following into a SQL query | What is the D 45 β with a D 46 β with d 46 β? | SELECT D 45 β FROM table WHERE D 46 β = d 46 β |
Translate the following into a SQL query | Which constructor was there for the race with 25 laps? | SELECT Constructor FROM table WHERE Laps = 25 |
Translate the following into a SQL query | Which driver had brm as a constructor and a time/retired of engine? | SELECT Driver FROM table WHERE Constructor = brm AND Time/Retired = engine |
Translate the following into a SQL query | What is the call sign for a class of A? | SELECT Call sign FROM table WHERE Class = a |
Translate the following into a SQL query | What is the average frequency MHz for license of eastville, virginia? | SELECT AVG Frequency MHz FROM table WHERE City of license = eastville, virginia |
Translate the following into a SQL query | What is the average ERP W when the call sign is whre? | SELECT AVG ERP W FROM table WHERE Call sign = whre |
Translate the following into a SQL query | What is the name of the school in Hillcrest? | SELECT Name FROM table WHERE Area = hillcrest |
Translate the following into a SQL query | What are the years available at Bayview School, which has state authority and a roll number larger than 333? | SELECT Years FROM table WHERE Authority = state AND Roll > 333 AND Name = bayview school |
Translate the following into a SQL query | When was Tomokazu Soma born who plays for the wild knights? | SELECT Date of Birth (Age) FROM table WHERE Club/province = wild knights AND Player = tomokazu soma |
Translate the following into a SQL query | On November 19, 2008 what was the score? | SELECT Score FROM table WHERE Date = november 19, 2008 |
Translate the following into a SQL query | What is the score on February 23, 2005? | SELECT Score FROM table WHERE Date = february 23, 2005 |
Translate the following into a SQL query | What is the result foe October 12, 2005? | SELECT Result FROM table WHERE Date = october 12, 2005 |
Translate the following into a SQL query | How many events for orville moody, ranking below 3? | SELECT SUM Events FROM table WHERE Rank > 3 AND Player = orville moody |
Translate the following into a SQL query | What is the rank for don january with over 2 wins and over 17 events? | SELECT MIN Rank FROM table WHERE Wins > 2 AND Player = don january AND Events > 17 |
Translate the following into a SQL query | What is the score of the Home team of geelong? | SELECT Home team score FROM table WHERE Home team = geelong |
Translate the following into a SQL query | Which Away team has a Home team of south melbourne? | SELECT Away team FROM table WHERE Home team = south melbourne |
Translate the following into a SQL query | Which Away team has a Venue of arden street oval? | SELECT Away team FROM table WHERE Venue = arden street oval |
Translate the following into a SQL query | Which Away team score has a Venue of scg? | SELECT Away team score FROM table WHERE Venue = scg |
Translate the following into a SQL query | What school has the player of mike rosario? | SELECT School FROM table WHERE Player = mike rosario |
Translate the following into a SQL query | What was the nba draft for al-farouq aminu? | SELECT NBA Draft FROM table WHERE Player = al-farouq aminu |
Translate the following into a SQL query | What was the average attendance of a team with a 38β31β8 record? | SELECT AVG Attendance FROM table WHERE Record = 38β31β8 |
Translate the following into a SQL query | What is the smallest grid for Bob Anderson? | SELECT MIN Grid FROM table WHERE Driver = bob anderson |
Translate the following into a SQL query | What was the time when the score was 0β3? | SELECT Time FROM table WHERE Score = 0β3 |
Translate the following into a SQL query | What was the first set with a third set of 25β21? | SELECT Set 1 FROM table WHERE Set 3 = 25β21 |
Translate the following into a SQL query | How many total games associated with the Pac-12 of california and 117 years? | SELECT Total Games FROM table WHERE Years = 117 AND Pac-12 = california |
Translate the following into a SQL query | How many games tied for the team with over 94 years in the conference, lost under 5,297 games, and a percentage higher than 0.6106? | SELECT Tied FROM table WHERE Years > 94 AND Lost < 5,297 AND Pct. > 0.6106 |
Translate the following into a SQL query | What is the average number of years associated with 51 games tied and over 1184 total games? | SELECT AVG Years FROM table WHERE Tied = 51 AND Total Games > 1184 |
Translate the following into a SQL query | What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593? | SELECT MAX Tied FROM table WHERE Pct. < 0.5593 AND Lost = 551 |
Translate the following into a SQL query | Name the country for airline of gol | SELECT Country FROM table WHERE Airline = gol |
Translate the following into a SQL query | Name the airline for rank of 4 | SELECT Airline FROM table WHERE Rank = 4 |
Translate the following into a SQL query | What digital reaction has a hot 100 reaction of 4 (+4)? | SELECT Hot Digital Songs Reaction FROM table WHERE Hot 100 Reaction = 4 (+4) |
Translate the following into a SQL query | What digital reaction has hot 100 reaction of 2 (+1)? | SELECT Hot Digital Songs Reaction FROM table WHERE Hot 100 Reaction = 2 (+1) |
Translate the following into a SQL query | Which week has hot 100 reaction as did not debut for Natalie Cole? | SELECT Week FROM table WHERE Hot 100 Reaction = did not debut AND Performer(s) = natalie cole |
Translate the following into a SQL query | What is the hot 100 reaction in week of top 13 for Kanye West? | SELECT Hot 100 Reaction FROM table WHERE Week = top 13 AND Performer(s) = kanye west |
Translate the following into a SQL query | What is the digital reaction for week of top 5 for Taylor Hicks? | SELECT Hot Digital Songs Reaction FROM table WHERE Week = top 5 AND Performer(s) = taylor hicks |
Translate the following into a SQL query | Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill? | SELECT Time/Retired FROM table WHERE Grid > 1 AND Driver = damon hill |
Translate the following into a SQL query | Which lap number had Olivier Panis as a driver? | SELECT Laps FROM table WHERE Driver = olivier panis |
Translate the following into a SQL query | what is the grid when the time/retired is oil pressure and the laps are more than 50? | SELECT AVG Grid FROM table WHERE Time/Retired = oil pressure AND Laps > 50 |
Translate the following into a SQL query | what is the grid when the time/retired is 1:46:42.3? | SELECT SUM Grid FROM table WHERE Time/Retired = 1:46:42.3 |
Translate the following into a SQL query | What was the attendance when Fitzroy played as the away team? | SELECT COUNT Crowd FROM table WHERE Away team = fitzroy |
Translate the following into a SQL query | What did the home team score at Western Oval? | SELECT Home team score FROM table WHERE Venue = western oval |
Translate the following into a SQL query | Who was the home team when the attendance was more than 20,283? | SELECT Home team FROM table WHERE Crowd > 20,283 |
Translate the following into a SQL query | On April 29, with a game larger than 2, what is the high points? | SELECT High points FROM table WHERE Game > 2 AND Date = april 29 |
Translate the following into a SQL query | What was the score for Game 3? | SELECT Score FROM table WHERE Game = 3 |
Translate the following into a SQL query | What is the grid total for cars that went 17 laps? | SELECT SUM Grid FROM table WHERE Laps = 17 |
Translate the following into a SQL query | How many golds for the nation ranked below 5 and over 1 bronze medals? | SELECT MAX Gold FROM table WHERE Rank > 5 AND Bronze < 1 |
Translate the following into a SQL query | During footscray's home match, who was the away team? | SELECT Away team score FROM table WHERE Home team = footscray |
Translate the following into a SQL query | On which date did an away team score 9.16 (70)? | SELECT Date FROM table WHERE Away team score = 9.16 (70) |
Translate the following into a SQL query | Which format had a United States region and a date of August 11, 2009? | SELECT Format FROM table WHERE Region = united states AND Date = august 11, 2009 |
Translate the following into a SQL query | Which date had a Japan region? | SELECT Date FROM table WHERE Region = japan |
Translate the following into a SQL query | Which region had a catalogue number of 9362482872? | SELECT Region FROM table WHERE Catalogue = 9362482872 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.