instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the height of the player from club vk primorac kotor who plays gk? | SELECT Height FROM table WHERE Pos. = gk AND Club = vk primorac kotor |
Translate the following into a SQL query | What is Team 1 where Team 2 is gombe united f.c.? | SELECT Team 1 FROM table WHERE Team 2 = gombe united f.c. |
Translate the following into a SQL query | What is Team 1 where Team 2 is al tahrir? | SELECT Team 1 FROM table WHERE Team 2 = al tahrir |
Translate the following into a SQL query | What is the 2nd leg where Team 2 is fc 105 libreville? | SELECT 2nd leg FROM table WHERE Team 2 = fc 105 libreville |
Translate the following into a SQL query | What was the course called that had an Edition of 117th? | SELECT Course FROM table WHERE Edition = 117th |
Translate the following into a SQL query | What was the earliest year that had a location of Brookline, Massachusetts? | SELECT MIN Year FROM table WHERE Location = brookline, massachusetts |
Translate the following into a SQL query | What year had an edition of 115th? | SELECT AVG Year FROM table WHERE Edition = 115th |
Translate the following into a SQL query | How many points did ginger have when she was ranked 5th on a 350cc class bike? | SELECT COUNT Points FROM table WHERE Class = 350cc AND Rank = 5th |
Translate the following into a SQL query | What year was she ranked 16th with over 12 points? | SELECT COUNT Year FROM table WHERE Rank = 16th AND Points > 12 |
Translate the following into a SQL query | What year was she on a 350cc class bike, ranked 16th, with over 0 wins? | SELECT SUM Year FROM table WHERE Class = 350cc AND Rank = 16th AND Wins > 0 |
Translate the following into a SQL query | How many points did she have with team bultaco, ranked 6th? | SELECT SUM Points FROM table WHERE Team = bultaco AND Rank = 6th |
Translate the following into a SQL query | What is the Kashmiri word for the Indonesian word senin? | SELECT Kashmiri FROM table WHERE Indonesian = senin |
Translate the following into a SQL query | What is the Turkish word for the Bangla word shombar সোমবার? | SELECT Turkish FROM table WHERE Bangla = shombar সোমবার |
Translate the following into a SQL query | What is the Pashto word for the Somali word talaado? | SELECT Pashto FROM table WHERE Somali = talaado |
Translate the following into a SQL query | What is the Punjabi (Pakistan) word for the Kurdish word یـــەک شـەمـمـە yak sham? | SELECT Punjabi (Pakistan) FROM table WHERE Kurdish = یـــەک شـەمـمـە yak sham |
Translate the following into a SQL query | What is the Maltese word for the Malay word rabu? | SELECT Maltese FROM table WHERE Malay = rabu |
Translate the following into a SQL query | What is the Pashto word for the Malayalam word വ്യാഴം vyazham? | SELECT Pashto FROM table WHERE Malayalam = വ്യാഴം vyazham |
Translate the following into a SQL query | Which Score has a Date of june 22? | SELECT Score FROM table WHERE Date = june 22 |
Translate the following into a SQL query | How much Attendance has an Opponent of rockies, and a Record of 32-30? | SELECT SUM Attendance FROM table WHERE Opponent = rockies AND Record = 32-30 |
Translate the following into a SQL query | Who was the opponent in which the bout ended in round 2? | SELECT Opponent FROM table WHERE Round = 2 |
Translate the following into a SQL query | What was the method of the bout lasting 4:15? | SELECT Method FROM table WHERE Time = 4:15 |
Translate the following into a SQL query | What was the record after the bout lasting 4:15? | SELECT Record FROM table WHERE Time = 4:15 |
Translate the following into a SQL query | How many Pick has a Round smaller than 13, and a Position of fullback? | SELECT COUNT Pick FROM table WHERE Round < 13 AND Position = fullback |
Translate the following into a SQL query | WHo has a Position of end and a School/Club Team of oregon state? | SELECT Player FROM table WHERE Position = end AND School/Club Team = oregon state |
Translate the following into a SQL query | Which Round has a Player of brunel christensen and a Pick smaller than 293? | SELECT MIN Round FROM table WHERE Player = brunel christensen AND Pick < 293 |
Translate the following into a SQL query | What score was on July 25? | SELECT Score FROM table WHERE Date = july 25 |
Translate the following into a SQL query | Who is the opponent on July 2 with more than 39,290 attendance? | SELECT Opponent FROM table WHERE Attendance > 39,290 AND Date = july 2 |
Translate the following into a SQL query | Which rule has The Event of n/a, The Result of loss, and The Location of winsford england? | SELECT Rules FROM table WHERE Event = n/a AND Result = loss AND Location = winsford england |
Translate the following into a SQL query | Which Opponent has a Round of 4, and a Rules of thai boxing? | SELECT Opponent FROM table WHERE Round = 4 AND Rules = thai boxing |
Translate the following into a SQL query | Which Opponent has a Round of 3, a Time of n/a, and a Rules of n/a? | SELECT Opponent FROM table WHERE Round = 3 AND Time = n/a AND Rules = n/a |
Translate the following into a SQL query | Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everton crawford? | SELECT Location FROM table WHERE Rules = thai boxing AND Round = n/a AND Opponent = everton crawford |
Translate the following into a SQL query | WHich Rules has a Method of ko (punch)? | SELECT Rules FROM table WHERE Method = ko (punch) |
Translate the following into a SQL query | What torque does a 1905 cc capacity have? | SELECT Torque FROM table WHERE Capacity = 1905 cc |
Translate the following into a SQL query | What torque does 1.9 diesel with 1905 cc have? | SELECT Torque FROM table WHERE Name = 1.9 diesel AND Capacity = 1905 cc |
Translate the following into a SQL query | What torque does daewoo have? | SELECT Torque FROM table WHERE Type = daewoo |
Translate the following into a SQL query | Score of 3–4, and a Attendance larger than 34,609 happened on what date? | SELECT Date FROM table WHERE Score = 3–4 AND Attendance > 34,609 |
Translate the following into a SQL query | Record of 12–15 happened on what date? | SELECT Date FROM table WHERE Record = 12–15 |
Translate the following into a SQL query | Date of april 9 had what score? | SELECT Score FROM table WHERE Date = april 9 |
Translate the following into a SQL query | Record of 11–12 involved what average attendance figures? | SELECT AVG Attendance FROM table WHERE Record = 11–12 |
Translate the following into a SQL query | What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date? | SELECT Predecessor FROM table WHERE District < 11 AND Congress = 68th AND Date = may 1, 1923 |
Translate the following into a SQL query | What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth? | SELECT HyperTransport version FROM table WHERE Max. aggregate bandwidth (bi-directional) = 22.4 gb/s |
Translate the following into a SQL query | What is the Max Aggregate bandwidth with a HyperTransport of 2? | SELECT Max. aggregate bandwidth (bi-directional) FROM table WHERE HyperTransport version = 2 |
Translate the following into a SQL query | Who was the opposing team during the game in Zagreb? | SELECT Opponent FROM table WHERE City = zagreb |
Translate the following into a SQL query | The record of 35-31 has what score? | SELECT Score FROM table WHERE Record = 35-31 |
Translate the following into a SQL query | On June 12 what score had an attendance larger than 43,191? | SELECT Score FROM table WHERE Attendance > 43,191 AND Date = june 12 |
Translate the following into a SQL query | Which Manufacturer has 1 lap and had an accident? | SELECT Manufacturer FROM table WHERE Laps = 1 AND Time/Retired = accident |
Translate the following into a SQL query | Which rider has a Manufacturer of honda with a time of +44.814? | SELECT Rider FROM table WHERE Manufacturer = honda AND Time/Retired = +44.814 |
Translate the following into a SQL query | How many grids have a time of +1:21.239 and more than 25 laps? | SELECT COUNT Grid FROM table WHERE Time/Retired = +1:21.239 AND Laps > 25 |
Translate the following into a SQL query | What is the average episode number on 19 March 1993 with Jim Sweeney as performer 1? | SELECT AVG Episode FROM table WHERE Performer 1 = jim sweeney AND Date = 19 march 1993 |
Translate the following into a SQL query | Who is performer 2 of the episode on 9 April 1993 with Josie Lawrence as performer 4? | SELECT Performer 2 FROM table WHERE Performer 4 = josie lawrence AND Date = 9 april 1993 |
Translate the following into a SQL query | What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4? | SELECT Date FROM table WHERE Performer 2 = ryan stiles AND Performer 3 = colin mochrie AND Performer 4 = tony slattery |
Translate the following into a SQL query | Who is performer 4 on episode 3, where Jim Sweeney was performer 1? | SELECT Performer 4 FROM table WHERE Performer 1 = jim sweeney AND Episode = 3 |
Translate the following into a SQL query | What is the episode number where Jim Sweeney was performer 1 and Mike Mcshane was performer 4? | SELECT SUM Episode FROM table WHERE Performer 1 = jim sweeney AND Performer 4 = mike mcshane |
Translate the following into a SQL query | Which Wrestler has an Entered of 5, and a Pinned of mvp? | SELECT Wrestler FROM table WHERE Entered = 5 AND Pinned = mvp |
Translate the following into a SQL query | What route with the line color brown has the lowest number of stations served? | SELECT MIN Stations served FROM table WHERE Line color = brown |
Translate the following into a SQL query | Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)? | SELECT MAX Round FROM table WHERE College/Junior/Club Team (League) = torpedo yaroslavl (rus) |
Translate the following into a SQL query | Which Round has a Player of todd fedoruk? | SELECT SUM Round FROM table WHERE Player = todd fedoruk |
Translate the following into a SQL query | How much Grid has a Time/Retired of +1 lap, and a Driver of sébastien bourdais, and Laps larger than 70? | SELECT COUNT Grid FROM table WHERE Time/Retired = +1 lap AND Driver = sébastien bourdais AND Laps > 70 |
Translate the following into a SQL query | How many Laps have a Driver of david coulthard, and a Grid smaller than 14? | SELECT SUM Laps FROM table WHERE Driver = david coulthard AND Grid < 14 |
Translate the following into a SQL query | How many Laps have a Grid of 15? | SELECT COUNT Laps FROM table WHERE Grid = 15 |
Translate the following into a SQL query | Which Catalogno was #160 us? | SELECT Catalogno FROM table WHERE Remark = #160 us |
Translate the following into a SQL query | What title was released in 1971? | SELECT Title FROM table WHERE Year = 1971 |
Translate the following into a SQL query | Whati s the format for the catalogno of st 491? | SELECT Format FROM table WHERE Catalogno = st 491 |
Translate the following into a SQL query | What year was remark #104 us? | SELECT Year FROM table WHERE Remark = #104 us |
Translate the following into a SQL query | What title had a remark of #21 us [riaa certified gold january 3, 1990]? | SELECT Title FROM table WHERE Remark = #21 us [riaa certified gold january 3, 1990] |
Translate the following into a SQL query | What catalogno was in 1971 and had a remark of #27 us? | SELECT Catalogno FROM table WHERE Year = 1971 AND Remark = #27 us |
Translate the following into a SQL query | what AAAAA class has the school year of 1990-91? | SELECT Class AAAAA FROM table WHERE School Year = 1990-91 |
Translate the following into a SQL query | what AAA class has a school year of 1989-90? | SELECT Class AAA FROM table WHERE School Year = 1989-90 |
Translate the following into a SQL query | What school year has a AAAA class of college station a&m consolidated? | SELECT School Year FROM table WHERE Class AAAA = college station a&m consolidated |
Translate the following into a SQL query | what AA class has a AAA class of commerce? | SELECT Class AA FROM table WHERE Class AAA = commerce |
Translate the following into a SQL query | What is the average week for the game against baltimore colts with less than 41,062 in attendance? | SELECT AVG Week FROM table WHERE Opponent = baltimore colts AND Attendance < 41,062 |
Translate the following into a SQL query | What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance? | SELECT AVG Week FROM table WHERE Opponent = philadelphia eagles AND Attendance < 31,066 |
Translate the following into a SQL query | What is the highest attendance for the game after week 1 on November 12, 1961? | SELECT MAX Attendance FROM table WHERE Week > 1 AND Date = november 12, 1961 |
Translate the following into a SQL query | What was the result of the game on week 4? | SELECT Result FROM table WHERE Week = 4 |
Translate the following into a SQL query | What is the lowest Round of joe patterson? | SELECT MIN Round FROM table WHERE Player = joe patterson |
Translate the following into a SQL query | Which School/Club Team has a Round larger than 16? | SELECT School/Club Team FROM table WHERE Round > 16 |
Translate the following into a SQL query | What is listed as the highest Points that's got a Position that's smaller than 1? | SELECT MAX Points FROM table WHERE Position < 1 |
Translate the following into a SQL query | What is the Draws average that has a Played that's smaller than 18? | SELECT AVG Draws FROM table WHERE Played < 18 |
Translate the following into a SQL query | What is the lowest Wins that has the Team of Olimpia and Draws that's smaller than 4? | SELECT MIN Wins FROM table WHERE Team = olimpia AND Draws < 4 |
Translate the following into a SQL query | What is the highest Played that's for the Team of Cerro Porteño, with a Position that's larger than 1? | SELECT MAX Played FROM table WHERE Team = cerro porteño AND Position > 1 |
Translate the following into a SQL query | Which tournament included an opponent of Marinko Matosevic? | SELECT Tournament FROM table WHERE Opponent = marinko matosevic |
Translate the following into a SQL query | Who was the opponent when the score was 6-3, 6-3? | SELECT Opponent FROM table WHERE Score = 6-3, 6-3 |
Translate the following into a SQL query | Can you tell me the Record that has the Home of ny islanders? | SELECT Record FROM table WHERE Home = ny islanders |
Translate the following into a SQL query | Can you tell me the Record that has the Date of december 15? | SELECT Record FROM table WHERE Date = december 15 |
Translate the following into a SQL query | Can you tell me the Record that has the Home of detroit, and the Visitor of phoenix? | SELECT Record FROM table WHERE Home = detroit AND Visitor = phoenix |
Translate the following into a SQL query | Can you tell me the Date that has the Visitor of florida? | SELECT Date FROM table WHERE Visitor = florida |
Translate the following into a SQL query | Which position had f/laps that was test driver? | SELECT Position FROM table WHERE F/Laps = test driver |
Translate the following into a SQL query | Which poles were there for the 8th position? | SELECT Poles FROM table WHERE Position = 8th |
Translate the following into a SQL query | What race was there in the formula one series when there was a test driver? | SELECT Races FROM table WHERE Series = formula one AND Poles = test driver |
Translate the following into a SQL query | Which Extra points 1 point has a Total Points smaller than 30, and Touchdowns (5 points) of 5? | SELECT AVG Extra points 1 point FROM table WHERE Total Points < 30 AND Touchdowns (5 points) = 5 |
Translate the following into a SQL query | How many Touchdowns (5 points) have an Extra points 1 point of 0, and a Field goals (5 points) larger than 0? | SELECT COUNT Touchdowns (5 points) FROM table WHERE Extra points 1 point = 0 AND Field goals (5 points) > 0 |
Translate the following into a SQL query | Which Extra points 1 point is the highest one that has a Total Points smaller than 8? | SELECT MAX Extra points 1 point FROM table WHERE Total Points < 8 |
Translate the following into a SQL query | Which Extra points 1 point is the lowest one that has a Player of walter shaw? | SELECT MIN Extra points 1 point FROM table WHERE Player = walter shaw |
Translate the following into a SQL query | How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13? | SELECT COUNT Field goals (5 points) FROM table WHERE Total Points = 123 AND Touchdowns (5 points) > 13 |
Translate the following into a SQL query | When did the Mixed double Women's singles of isabel rocha, from the year 1970, and a Women's doubles of isabel rocha ana margarida? | SELECT Mixed doubles FROM table WHERE Women's singles = isabel rocha AND Year > 1970 AND Women's doubles = isabel rocha ana margarida |
Translate the following into a SQL query | What was the Mixed doubles that has a Women's players of maria gomes zamy gomes, and men's players of fernando silva ricardo fernandes? | SELECT Mixed doubles FROM table WHERE Women's doubles = maria gomes zamy gomes AND Men's doubles = fernando silva ricardo fernandes |
Translate the following into a SQL query | What was the Men's singles from the Year of 1966? | SELECT Men's singles FROM table WHERE Year = 1966 |
Translate the following into a SQL query | What was the Women's doubles that has a Men's singles of fernando silva, and in the year 1996? | SELECT Women's doubles FROM table WHERE Men's singles = fernando silva AND Year < 1996 |
Translate the following into a SQL query | What happened in the Men's doubles that had a Men's singles of marco vasconcelos, and a Year larger than 2000, and a Mixed doubles of alexandre paixão filipa lamy, and a Women's singles of telma santos? | SELECT Men's doubles FROM table WHERE Men's singles = marco vasconcelos AND Year > 2000 AND Mixed doubles = alexandre paixão filipa lamy AND Women's singles = telma santos |
Translate the following into a SQL query | How many people attended the game with parent recording the decision and a Record of 42–18–10? | SELECT SUM Attendance FROM table WHERE Decision = parent AND Record = 42–18–10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.