instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the Competition On 26 jan 2005 | SELECT Competition FROM table WHERE Date = 26 jan 2005 |
Translate the following into a SQL query | What is the Score of West Asian Games 2005 on 10 dec 2005? | SELECT Score FROM table WHERE Competition = west asian games 2005 AND Date = 10 dec 2005 |
Translate the following into a SQL query | How many matches were drawn by a team with 447 points? | SELECT Drawn FROM table WHERE Points for = 447 |
Translate the following into a SQL query | For teams with 22 matches played, a losing bonus of 3, and 45 tries against, what was the number of points against? | SELECT Points against FROM table WHERE Played = 22 AND Losing bonus = 3 AND Tries against = 45 |
Translate the following into a SQL query | For a team with 332 points for, what was the try bonus? | SELECT Try bonus FROM table WHERE Points for = 332 |
Translate the following into a SQL query | Which club has a try bonus of 9 and 43 tries against? | SELECT Club FROM table WHERE Tries against = 43 AND Try bonus = 9 |
Translate the following into a SQL query | How many matches were played by the team that has 473 points for? | SELECT Played FROM table WHERE Points for = 473 |
Translate the following into a SQL query | What is the qual when there are 125 laps? | SELECT Qual FROM table WHERE Laps = 125 |
Translate the following into a SQL query | What is the rank when there are more than 107 laps and the qual is 137.825? | SELECT Rank FROM table WHERE Laps > 107 AND Qual = 137.825 |
Translate the following into a SQL query | What is the rank with more than 40 laps and a 23 finish? | SELECT Rank FROM table WHERE Laps > 40 AND Finish = 23 |
Translate the following into a SQL query | What is the finish in 1953? | SELECT Finish FROM table WHERE Year = 1953 |
Translate the following into a SQL query | In what year was the rank 24? | SELECT Year FROM table WHERE Rank = 24 |
Translate the following into a SQL query | Which To par has $100 in money played by Vic Ghezzi? | SELECT To par FROM table WHERE Money ( $ ) = 100 AND Player = vic ghezzi |
Translate the following into a SQL query | What is the monetary sum with a score of 75-71-75-72=293? | SELECT SUM Money ( $ ) FROM table WHERE Score = 75-71-75-72=293 |
Translate the following into a SQL query | Which Wednesday has a Saturday of གཟའ་སྤེན་པ།? | SELECT Wednesday FROM table WHERE Saturday = གཟའ་སྤེན་པ། |
Translate the following into a SQL query | Which Wednesday has a Sunday of གཟའ་ཉི་མ།? | SELECT Wednesday FROM table WHERE Sunday = གཟའ་ཉི་མ། |
Translate the following into a SQL query | Which Tuesday has a Saturday of 土曜日 doyōbi? | SELECT Tuesday FROM table WHERE Saturday = 土曜日 doyōbi |
Translate the following into a SQL query | Which Thursday has a Wednesday of 星期三 xingqisen? | SELECT Thursday FROM table WHERE Wednesday = 星期三 xingqisen |
Translate the following into a SQL query | Which Wednesday has a Monday of 月曜日 getsuyōbi? | SELECT Wednesday FROM table WHERE Monday = 月曜日 getsuyōbi |
Translate the following into a SQL query | Which Saturday has a Thursday of 木曜日 mokuyōbi | SELECT Saturday FROM table WHERE Thursday = 木曜日 mokuyōbi |
Translate the following into a SQL query | What loss was against the angels with a 50-31 record? | SELECT Loss FROM table WHERE Opponent = angels AND Record = 50-31 |
Translate the following into a SQL query | Who is the pilot on September 27, 1972? | SELECT Pilot FROM table WHERE Date = september 27, 1972 |
Translate the following into a SQL query | What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17? | SELECT MIN Altitude (ft) FROM table WHERE Mach > 0.905 AND Duration = 00:06:17 |
Translate the following into a SQL query | Which wicket had a 100 (45) Runs (balls) amount? | SELECT Wicket FROM table WHERE Runs (Balls) = 100 (45) |
Translate the following into a SQL query | Which Wicket was it that had a 104 (69) Runs (balls) amount? | SELECT Wicket FROM table WHERE Runs (Balls) = 104 (69) |
Translate the following into a SQL query | What is the item for Leagues entering, when the value for Clubs is 8 → 4? | SELECT Leagues entering FROM table WHERE Clubs = 8 → 4 |
Translate the following into a SQL query | What is the Round when the value for Fixtures is 2? | SELECT Round FROM table WHERE Fixtures = 2 |
Translate the following into a SQL query | What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2? | SELECT New entries FROM table WHERE Fixtures < 16 AND Clubs = 4 → 2 |
Translate the following into a SQL query | What is the value for New entries, when the value for Fixtures is 2? | SELECT New entries FROM table WHERE Fixtures = 2 |
Translate the following into a SQL query | Which date has a format's album? | SELECT Date FROM table WHERE Format(s) = album |
Translate the following into a SQL query | What is the title for year 1991 and a date of March 21? | SELECT Title FROM table WHERE Year = 1991 AND Date = march 21 |
Translate the following into a SQL query | What is the average year with an award of platinum? | SELECT AVG Year FROM table WHERE Award description(s) = platinum |
Translate the following into a SQL query | What are the results of Format single on March 21? | SELECT Result(s) FROM table WHERE Format(s) = single AND Date = march 21 |
Translate the following into a SQL query | What are the award description with Format album? | SELECT Award description(s) FROM table WHERE Format(s) = album |
Translate the following into a SQL query | What is the largest number of goals with less than 101 assists and 172 points? | SELECT MAX Goals FROM table WHERE Assists < 101 AND Points < 172 |
Translate the following into a SQL query | How many total points does Mike Hyndman have with more than 119 assists? | SELECT SUM Points FROM table WHERE Player = mike hyndman AND Assists > 119 |
Translate the following into a SQL query | How many assists does David Tomlinson have? | SELECT SUM Assists FROM table WHERE Player = david tomlinson |
Translate the following into a SQL query | How many points does Shawn Mceachern with less than 79 goals? | SELECT SUM Points FROM table WHERE Player = shawn mceachern AND Goals < 79 |
Translate the following into a SQL query | How many goals does Mike Eruzione have in total? | SELECT Goals FROM table WHERE Player = mike eruzione |
Translate the following into a SQL query | Which rider had fewer than 10 laps for the Aprilia manufacturer, finishing in retirement? | SELECT Rider FROM table WHERE Laps < 10 AND Manufacturer = aprilia AND Time/Retired = retirement |
Translate the following into a SQL query | What is the time for a grid greater than 20, fewer than 26 laps, and the Aprilia manufacturer? | SELECT Time/Retired FROM table WHERE Grid > 20 AND Laps < 26 AND Manufacturer = aprilia |
Translate the following into a SQL query | Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14 | SELECT Rider FROM table WHERE Laps > 23 AND Manufacturer = aprilia AND Grid = 14 |
Translate the following into a SQL query | When was Walter Evans a representative? | SELECT Years FROM table WHERE Representative = walter evans |
Translate the following into a SQL query | Name the catalog with cd format | SELECT Catalog FROM table WHERE Format = cd |
Translate the following into a SQL query | Name the label with catalog of mhcl-20005 | SELECT Label FROM table WHERE Catalog = mhcl-20005 |
Translate the following into a SQL query | Name the date with catalog of alca-9198 | SELECT Date FROM table WHERE Catalog = alca-9198 |
Translate the following into a SQL query | Name the note for catalog of 32xa-106 | SELECT Note FROM table WHERE Catalog = 32xa-106 |
Translate the following into a SQL query | Name the catalog for alfa records and cd format | SELECT Catalog FROM table WHERE Label = alfa records AND Format = cd |
Translate the following into a SQL query | Name the format for 12cm note and catalog of alca-9198 | SELECT Format FROM table WHERE Note = 12cm AND Catalog = alca-9198 |
Translate the following into a SQL query | Which Monday Mona/Mani also had a Thursday Thunor/Thor of Tongersdei? | SELECT Monday Mona/ Máni FROM table WHERE Thursday Thunor / Thor = tongersdei |
Translate the following into a SQL query | Which Tuesday Tiw/Tyr has a Sunday Sunna/Sol of sondag? | SELECT Tuesday Tiw/ Tyr FROM table WHERE Sunday Sunna/Sól = sondag |
Translate the following into a SQL query | What is the 1995 Album? | SELECT Album FROM table WHERE Year = 1995 |
Translate the following into a SQL query | What album was recorded by the rca label? | SELECT Album FROM table WHERE Record label = rca |
Translate the following into a SQL query | What's the sum of years when the Artist of the queen were less than 1? | SELECT COUNT Year FROM table WHERE Artist = queen AND Weeks at number one < 1 |
Translate the following into a SQL query | What is the 1990 Album? | SELECT Album FROM table WHERE Year = 1990 |
Translate the following into a SQL query | What is the result of the game that was played at Soldier Field? | SELECT Result FROM table WHERE Game site = soldier field |
Translate the following into a SQL query | Who lost the game with a record of 20-13? | SELECT Loss FROM table WHERE Record = 20-13 |
Translate the following into a SQL query | Who lost the game on May 28? | SELECT Loss FROM table WHERE Date = may 28 |
Translate the following into a SQL query | Who lost the game on May 26? | SELECT Loss FROM table WHERE Date = may 26 |
Translate the following into a SQL query | Which date has the record time of 3:01? | SELECT Record FROM table WHERE Time = 3:01 |
Translate the following into a SQL query | What is the score of the Devil Rays on April 24? | SELECT Score FROM table WHERE Opponent = devil rays AND Date = april 24 |
Translate the following into a SQL query | What is Ips-provectus transmittance/contrast ratio? | SELECT Transmittance/ contrast ratio FROM table WHERE Name = ips-provectus |
Translate the following into a SQL query | What is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total? | SELECT AVG Silver FROM table WHERE Rank < 8 AND Total = 12 AND Bronze < 4 |
Translate the following into a SQL query | How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total? | SELECT SUM Gold FROM table WHERE Total < 7 AND Nation = gabon AND Rank < 17 |
Translate the following into a SQL query | Name the opponent for april 24 | SELECT Opponent FROM table WHERE Date = april 24 |
Translate the following into a SQL query | Name the score for attendance of 13,617 | SELECT Score FROM table WHERE Attendance = 13,617 |
Translate the following into a SQL query | Name the opponent for Score of postponed (rain) not rescheduled | SELECT Opponent FROM table WHERE Score = postponed (rain) not rescheduled |
Translate the following into a SQL query | What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? | SELECT H. S. Asst. Principal FROM table WHERE Glendale Principal = joyce brace AND Year = 2002-2003 |
Translate the following into a SQL query | Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal? | SELECT H.S. Principal FROM table WHERE W.R. Principal = dave lovering AND M.S. Principal = marty pizur |
Translate the following into a SQL query | Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007? | SELECT Glendale Principal FROM table WHERE M.S. Principal = greg smorel AND H.S. Principal = joleen reinholz AND Year = 2006-2007 |
Translate the following into a SQL query | Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal? | SELECT H.H. Principal FROM table WHERE H.S. Principal = jim haught AND Maplemere Principal = charlie taylor AND W.R. Principal = rich auerbach |
Translate the following into a SQL query | Who is the h.h. principal with James Finch as the superintendent and Charlie Taylor as the maplemere principal? | SELECT H.H. Principal FROM table WHERE Superintendent = james finch AND Maplemere Principal = charlie taylor |
Translate the following into a SQL query | Who is the h.s. principal during 1973-1974? | SELECT H.S. Principal FROM table WHERE Year = 1973-1974 |
Translate the following into a SQL query | what is the engine for year less than 1959 and points more than 4? | SELECT Engine FROM table WHERE Year < 1959 AND Points > 4 |
Translate the following into a SQL query | what is the least year for 4 points? | SELECT MIN Year FROM table WHERE Points = 4 |
Translate the following into a SQL query | what is the entrant for the ferrari v8 with points less than 4? | SELECT Entrant FROM table WHERE Engine = ferrari v8 AND Points < 4 |
Translate the following into a SQL query | what is the average year for 0 points and ferrari v8? | SELECT AVG Year FROM table WHERE Points = 0 AND Engine = ferrari v8 |
Translate the following into a SQL query | When did channel 83 in singapore launch? | SELECT Launched FROM table WHERE Territory = singapore AND Channel = 83 |
Translate the following into a SQL query | Where is channel 83 broadcasted? | SELECT Territory FROM table WHERE Channel = 83 |
Translate the following into a SQL query | Who broadcasts in malaysia? | SELECT Broadcaster FROM table WHERE Territory = malaysia |
Translate the following into a SQL query | What are the engines for 1983? | SELECT Engine(s) FROM table WHERE Year = 1983 |
Translate the following into a SQL query | Which of the Chassis has Tyres of g, is after 1976, and has 1 point? | SELECT Chassis FROM table WHERE Tyres = g AND Year > 1976 AND Points = 1 |
Translate the following into a SQL query | How many appearances did Gary Depalma make when he scored less than 30 goals? | SELECT Appearances FROM table WHERE Goals < 30 AND Name = gary depalma |
Translate the following into a SQL query | In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.? | SELECT Intergiro classification FROM table WHERE Trofeo Fast Team = asics-c.g.a. AND Stage = 13 |
Translate the following into a SQL query | Which intergiro classification is there for team Polti at stage 14? | SELECT Intergiro classification FROM table WHERE Trofeo Fast Team = team polti AND Stage = 14 |
Translate the following into a SQL query | Who was the winner in stage 7 with a general classification of Pavel Tonkov? | SELECT Winner FROM table WHERE General classification = pavel tonkov AND Stage = 7 |
Translate the following into a SQL query | Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli? | SELECT Winner FROM table WHERE Trofeo Fast Team = asics-c.g.a. AND Mountains classification = mariano piccoli |
Translate the following into a SQL query | Which points classification was used in stage 15? | SELECT Points classification FROM table WHERE Stage = 15 |
Translate the following into a SQL query | Which winner of stage 1 was not awarded a mountains classification? | SELECT Winner FROM table WHERE Mountains classification = not awarded AND Stage = 1 |
Translate the following into a SQL query | Name the muzzel device with barrel twist of 1:10 | SELECT Muzzle device FROM table WHERE Barrel twist = 1:10 |
Translate the following into a SQL query | Name the bayonet lug with ar-15 lightweight | SELECT Bayonet Lug FROM table WHERE Name = ar-15 lightweight |
Translate the following into a SQL query | Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9 | SELECT Hand guards FROM table WHERE Name = ar-15a2 government carbine AND Barrel twist = 1:9 |
Translate the following into a SQL query | Name the barrel length for barrel twist of 1:7 | SELECT Barrel length FROM table WHERE Barrel twist = 1:7 |
Translate the following into a SQL query | What is the three-mora word with a low tone accented mora and a one mora of 2? | SELECT three-mora word FROM table WHERE !accented mora = low tone AND one mora = 2 |
Translate the following into a SQL query | What is the one mora for the three-mora word /kaze/ [kázé]? | SELECT one mora FROM table WHERE three-mora word = /kaze/ [kázé] |
Translate the following into a SQL query | What is the one mora for the three-mora word /˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂]? | SELECT one mora FROM table WHERE three-mora word = /˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂] |
Translate the following into a SQL query | What is the two-mora word with a low tone accented mora and a gloss of /˩kusuꜜri/ [kɯ̀sɯ́ɽì]? | SELECT two-mora word FROM table WHERE !accented mora = low tone AND gloss = /˩kusuꜜri/ [kɯ̀sɯ́ɽì] |
Translate the following into a SQL query | What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]? | SELECT one mora FROM table WHERE !accented mora = low tone AND gloss = /˩okiru/ [òkìɽɯ́] |
Translate the following into a SQL query | What is the highest Total Medals that has 0 Gold Medal and a Ensemble of east 80 indoor percussion? | SELECT MAX Total Medals FROM table WHERE Gold Medals = 0 AND Ensemble = east 80 indoor percussion |
Translate the following into a SQL query | What is the lowest Total Medals that has madison independent and Bronze Medals larger than 0 | SELECT MIN Total Medals FROM table WHERE Ensemble = madison independent AND Bronze Medals > 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.