instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | WHICH Outcome IS ON 18 july 1993? | SELECT Outcome FROM table WHERE Date = 18 july 1993 |
Translate the following into a SQL query | WHICH Outcome has aN Opponent of pascale paradis-mangon? | SELECT Outcome FROM table WHERE Opponent = pascale paradis-mangon |
Translate the following into a SQL query | Which Score has aN Outcome of winner on 4 november 1990? | SELECT Score FROM table WHERE Outcome = winner AND Date = 4 november 1990 |
Translate the following into a SQL query | Which Tournament has an Opponent of susan sloane? | SELECT Tournament FROM table WHERE Opponent = susan sloane |
Translate the following into a SQL query | Which Tournament has an Opponent of meike babel? | SELECT Tournament FROM table WHERE Opponent = meike babel |
Translate the following into a SQL query | Which Game has a November of 29? | SELECT SUM Game FROM table WHERE November = 29 |
Translate the following into a SQL query | Which Points have a Record of 12–2–4–1, and a November larger than 22? | SELECT AVG Points FROM table WHERE Record = 12–2–4–1 AND November > 22 |
Translate the following into a SQL query | Which Record has a Game of 19? | SELECT Record FROM table WHERE Game = 19 |
Translate the following into a SQL query | How many Novembers have a Game larger than 14, and an Opponent of minnesota wild? | SELECT COUNT November FROM table WHERE Game > 14 AND Opponent = minnesota wild |
Translate the following into a SQL query | Which November is the lowest one that has a Record of 12–2–4–1? | SELECT MIN November FROM table WHERE Record = 12–2–4–1 |
Translate the following into a SQL query | What day has a record of 25–30–13 and less than 63 points? | SELECT AVG March FROM table WHERE Record = 25–30–13 AND Points < 63 |
Translate the following into a SQL query | Which opponent has 63 points? | SELECT Opponent FROM table WHERE Points = 63 |
Translate the following into a SQL query | Which Alpha contains ia64 with discontinued 3.5-3.8 4.1-4.7? | SELECT alpha FROM table WHERE ia64 = discontinued 3.5-3.8 4.1-4.7 |
Translate the following into a SQL query | Which s390x contains a yes ia64 and a no for alpha? | SELECT s390x FROM table WHERE ia64 = yes AND alpha = no |
Translate the following into a SQL query | Which hppa contains a ppc64 of yes 3+, no for mips and no for alpha? | SELECT hppa FROM table WHERE mips = no AND alpha = no AND ppc64 = yes 3+ |
Translate the following into a SQL query | Who is the runner-up of the season with Tanel Sokk as the finals MVP and Alar Varrak as the champion's coach? | SELECT Runner-up FROM table WHERE Finals MVP = tanel sokk AND Champion's Coach = alar varrak |
Translate the following into a SQL query | Which 1991 has an A 1993 ? | SELECT 1991 FROM table WHERE 1993 = a |
Translate the following into a SQL query | Which 992 has a 1–2 of 1989 ? | SELECT 1992 FROM table WHERE 1989 = 1–2 |
Translate the following into a SQL query | WHICH 1990 has a 1993 of 1r? | SELECT 1990 FROM table WHERE 1993 = 1r |
Translate the following into a SQL query | Which 1994 has a 1998 of 0–1? | SELECT 1994 FROM table WHERE 1998 = 0–1 |
Translate the following into a SQL query | Which 1995 has a 1993 of 3r? | SELECT 1995 FROM table WHERE 1993 = 3r |
Translate the following into a SQL query | Which 1992 has a 1996 of sf and a 1993 of a? | SELECT 1992 FROM table WHERE 1996 = sf AND 1993 = a |
Translate the following into a SQL query | Which school picked a back in round 16, after pick 89? | SELECT School FROM table WHERE Pick > 89 AND Position = back AND Round = 16 |
Translate the following into a SQL query | Who was the visitor in the game that had Ottawa as the home team? | SELECT Visitor FROM table WHERE Home = ottawa |
Translate the following into a SQL query | What was the score in the game where Carolina was the home team and Niittymaki received the decision? | SELECT Score FROM table WHERE Decision = niittymaki AND Home = carolina |
Translate the following into a SQL query | What was the date of the game that had a loss of Johnson (9-8)? | SELECT Date FROM table WHERE Loss = johnson (9-8) |
Translate the following into a SQL query | Who had a Run 1 smaller than 51.96, a Run 2 larger than 51.13, and a Run 3 of 52.53? | SELECT Athlete FROM table WHERE Run 1 < 51.96 AND Run 2 > 51.13 AND Run 3 = 52.53 |
Translate the following into a SQL query | Who had a run 2 of 50.67? | SELECT Athlete FROM table WHERE Run 2 = 50.67 |
Translate the following into a SQL query | What was john farrow's run 2 associated with a run 1 of greater than 52.25? | SELECT MAX Run 2 FROM table WHERE Run 1 > 52.25 AND Athlete = john farrow |
Translate the following into a SQL query | What was the Score in the game against the Buffalo Sabres? | SELECT Score FROM table WHERE Opponent = buffalo sabres |
Translate the following into a SQL query | Rank smaller than 4, and a Name of dalma iványi involved which lowest game? | SELECT MIN Games FROM table WHERE Rank < 4 AND Name = dalma iványi |
Translate the following into a SQL query | Name of sue bird that involves what team? | SELECT Team FROM table WHERE Name = sue bird |
Translate the following into a SQL query | Which episode was directed by Bob Anderson with a production code of KABF16 and a season before than 25? | SELECT Episode FROM table WHERE Season < 25 AND Directed by = bob anderson AND Production code = kabf16 |
Translate the following into a SQL query | Who was the director of the episode with a season after 8 and an episode of XVI? | SELECT Directed by FROM table WHERE Season > 8 AND Episode = xvi |
Translate the following into a SQL query | Date of 7 september 1996 includes which highest rank athlete? | SELECT MAX Rank FROM table WHERE Date = 7 september 1996 |
Translate the following into a SQL query | Time of 10.82 has what location? | SELECT Location FROM table WHERE Time = 10.82 |
Translate the following into a SQL query | Date of 10 july 2009 includes what athlete? | SELECT Athlete FROM table WHERE Date = 10 july 2009 |
Translate the following into a SQL query | Rank smaller than 5, and a Time larger than 10.7, and a Date of 10 july 2009 has what location? | SELECT Location FROM table WHERE Rank < 5 AND Time > 10.7 AND Date = 10 july 2009 |
Translate the following into a SQL query | Faith of rc, and a Opened larger than 1966 which has the highest DCSF number? | SELECT MAX DCSF number FROM table WHERE Faith = rc AND Opened > 1966 |
Translate the following into a SQL query | Faith of –, and a Name of greenway has what type? | SELECT Type FROM table WHERE Faith = – AND Name = greenway |
Translate the following into a SQL query | Who was the opponent that played at Launceston Cricket Club Ground, launceston during the season of 1853/54? | SELECT Opponent FROM table WHERE Venue = launceston cricket club ground, launceston AND Season = 1853/54 |
Translate the following into a SQL query | What was the rank of the team during season 2006/07? | SELECT Rank FROM table WHERE Season = 2006/07 |
Translate the following into a SQL query | What was the venue where there were 55 runs? | SELECT Venue FROM table WHERE Runs = 55 |
Translate the following into a SQL query | What was the venue where there were 62 runs? | SELECT Venue FROM table WHERE Runs = 62 |
Translate the following into a SQL query | Which driver had an accident and laps smaller than 53? | SELECT Driver FROM table WHERE Laps < 53 AND Time/Retired = accident |
Translate the following into a SQL query | What language has a publication range from 1955–1999? | SELECT Language FROM table WHERE Publication range = 1955–1999 |
Translate the following into a SQL query | What is the status for a journal with the ISSN of 0149-1830? | SELECT Status FROM table WHERE ISSN = 0149-1830 |
Translate the following into a SQL query | What is the language with a France publication range of 1992–2003? | SELECT Language FROM table WHERE Country = france AND Publication range = 1992–2003 |
Translate the following into a SQL query | What is the ISSN number of a publication range of 1984-? | SELECT ISSN FROM table WHERE Publication range = 1984- |
Translate the following into a SQL query | What is the language for a journal that has a frequency of 3 times per year and has an ISSN number of 1136-7385? | SELECT Language FROM table WHERE Frequency = 3 times per year AND ISSN = 1136-7385 |
Translate the following into a SQL query | What is the region 4 release that has july 20, 2009 as the region 2? | SELECT Region 4 release FROM table WHERE Region 2 release = july 20, 2009 |
Translate the following into a SQL query | What is the region 1 release that has july 20, 2009 as the region 2? | SELECT Region 1 release FROM table WHERE Region 2 release = july 20, 2009 |
Translate the following into a SQL query | What is the average episode that has September 11, 2007 as a region 1? | SELECT AVG Episodes FROM table WHERE Region 1 release = september 11, 2007 |
Translate the following into a SQL query | What is the scheduled value for the farm having a capacity under 32.5MW, type of Nordex n90 2.5MW, and a farm of Glenough Extension? | SELECT Scheduled FROM table WHERE Capacity (MW) < 32.5 AND Type = nordex n90 2.5mw AND Wind Farm = glenough extension |
Translate the following into a SQL query | What is the type of turbine having fewer than 17 units and located in County Laois? | SELECT Type FROM table WHERE Turbines < 17 AND Location = county laois |
Translate the following into a SQL query | When is the scheduled date for the farm having 17 turbines? | SELECT Scheduled FROM table WHERE Turbines = 17 |
Translate the following into a SQL query | What is the average capacity for the farm at Gortahile having more than 8 turbines? | SELECT AVG Capacity (MW) FROM table WHERE Wind Farm = gortahile AND Turbines > 8 |
Translate the following into a SQL query | What is the title of the king who left office in 982 and entered office in 949? | SELECT Title FROM table WHERE Left office = 982 AND Entered office = 949 |
Translate the following into a SQL query | When did the king who entered office in 1012 leave office? | SELECT Left office FROM table WHERE Entered office = 1012 |
Translate the following into a SQL query | What are the family relations of the king with the throne name 303? | SELECT Family Relations FROM table WHERE Throne Name = 303 |
Translate the following into a SQL query | What is teh born-died dates of the king with a throne name 315 and left office in 1021? | SELECT Born-Died FROM table WHERE Left office = 1021 AND Throne Name = 315 |
Translate the following into a SQL query | Which Opponents have a Partner of irina-camelia begu, and a Surface of hard? | SELECT Opponents FROM table WHERE Partner = irina-camelia begu AND Surface = hard |
Translate the following into a SQL query | Which Surface has a Partner of galina voskoboeva? | SELECT Surface FROM table WHERE Partner = galina voskoboeva |
Translate the following into a SQL query | Which Opponents have a Surface of hard, and an Outcome of runner-up, and a Partner of jarmila gajdošová? | SELECT Opponents FROM table WHERE Surface = hard AND Outcome = runner-up AND Partner = jarmila gajdošová |
Translate the following into a SQL query | Which Partner has a Date of 12 july 2009? | SELECT Partner FROM table WHERE Date = 12 july 2009 |
Translate the following into a SQL query | Which Surface has a Partner of sorana cîrstea? | SELECT Surface FROM table WHERE Partner = sorana cîrstea |
Translate the following into a SQL query | Name the least overall with pick number more than 27 | SELECT MIN Overall FROM table WHERE Pick # > 27 |
Translate the following into a SQL query | what's the first leg with gran canaria as team #2? | SELECT 1st leg FROM table WHERE Team #2 = gran canaria |
Translate the following into a SQL query | with team #1 as lukoil academic what is team #2? | SELECT Team #2 FROM table WHERE Team #1 = lukoil academic |
Translate the following into a SQL query | with team #2 as akasvayu girona what is team #1? | SELECT Team #1 FROM table WHERE Team #2 = akasvayu girona |
Translate the following into a SQL query | Which virtue is acedia(Latin)? | SELECT Virtue FROM table WHERE (Latin) = acedia |
Translate the following into a SQL query | Which Virtue has a (vice) of lust? | SELECT Virtue FROM table WHERE (Vice) = lust |
Translate the following into a SQL query | Which virtue is Invidia(Latin)? | SELECT Virtue FROM table WHERE (Latin) = invidia |
Translate the following into a SQL query | What's the gloss with Castitas(Latin)? | SELECT Gloss FROM table WHERE Latin = castitas |
Translate the following into a SQL query | What is the Diligence Virtues Gloss? | SELECT Gloss FROM table WHERE Virtue = diligence |
Translate the following into a SQL query | What is the Virtue of Temperance in Latin? | SELECT Latin FROM table WHERE Virtue = temperance |
Translate the following into a SQL query | In what year(s) did South Korea win silver? | SELECT Year FROM table WHERE Silver = south korea |
Translate the following into a SQL query | Which nation(s) won silver in Doha? | SELECT Silver FROM table WHERE Location = doha |
Translate the following into a SQL query | What was the first year that South Korea won gold and Malaysia won bronze? | SELECT MIN Year FROM table WHERE Gold = south korea AND Bronze = malaysia |
Translate the following into a SQL query | What country won gold in the year(s) that Chinese Taipei won bronze? | SELECT Gold FROM table WHERE Bronze = chinese taipei |
Translate the following into a SQL query | Which European competitions have a Pos of 6? | SELECT European competitions FROM table WHERE Pos. = 6 |
Translate the following into a SQL query | Which Pos has a Dutch Cup of winner, and a Tier larger than 1? | SELECT AVG Pos. FROM table WHERE Dutch Cup = winner AND Tier > 1 |
Translate the following into a SQL query | What is the average Frequency MHz that is on farwell, texas? | SELECT AVG Frequency MHz FROM table WHERE City of license = farwell, texas |
Translate the following into a SQL query | WHich City of license has a FCC info of fcc, and 10,000 horizontal 3,000 vertical ERP W | SELECT City of license FROM table WHERE FCC info = fcc AND ERP W = 10,000 horizontal 3,000 vertical |
Translate the following into a SQL query | WHich FCC info has 3,000 ERP W? | SELECT FCC info FROM table WHERE ERP W = 3,000 |
Translate the following into a SQL query | What's the average game against the New Jersey Devils with 19 points? | SELECT AVG Game FROM table WHERE Points = 19 AND Opponent = new jersey devils |
Translate the following into a SQL query | Opponent of at boston patriots, and a Week larger than 3 had what average attendance? | SELECT AVG Attendance FROM table WHERE Opponent = at boston patriots AND Week > 3 |
Translate the following into a SQL query | Name the average fall 07 for fall 07 more than 219 | SELECT AVG Fall 07 FROM table WHERE Fall 06 > 219 |
Translate the following into a SQL query | Name the player for fc dallas pick number less than 3 | SELECT Player FROM table WHERE Pick # < 3 AND MLS Team = fc dallas |
Translate the following into a SQL query | Name the most pick number for real salt lake and affiliation of ucla los angeles storm | SELECT MAX Pick # FROM table WHERE MLS Team = real salt lake AND Affiliation = ucla los angeles storm |
Translate the following into a SQL query | Name the player with pick number of 7 | SELECT Player FROM table WHERE Pick # = 7 |
Translate the following into a SQL query | Which Game has a March smaller than 12, and a Score of 10–1? | SELECT MIN Game FROM table WHERE March < 12 AND Score = 10–1 |
Translate the following into a SQL query | Which Score has Points of 88, and a Record of 38–22–12? | SELECT Score FROM table WHERE Points = 88 AND Record = 38–22–12 |
Translate the following into a SQL query | Which Game has an Opponent of detroit red wings, and a March smaller than 12? | SELECT COUNT Game FROM table WHERE Opponent = detroit red wings AND March < 12 |
Translate the following into a SQL query | Which Points have a Game smaller than 70, and a Score of 4–8? | SELECT MIN Points FROM table WHERE Game < 70 AND Score = 4–8 |
Translate the following into a SQL query | Which segment a's Netflix is S05E22? | SELECT Segment A FROM table WHERE Netflix = s05e22 |
Translate the following into a SQL query | Which series episode has a segment c that is Electric pole s transformer? | SELECT Series Ep. FROM table WHERE Segment C = electric pole s transformer |
Translate the following into a SQL query | What largest episode number's Netflix is S05E23? | SELECT MAX Episode FROM table WHERE Netflix = s05e23 |
Translate the following into a SQL query | Which segment c's segment b is refrigerators? | SELECT Segment C FROM table WHERE Segment B = refrigerators |
Translate the following into a SQL query | Which races did they accumulate at least 125 points? | SELECT Races FROM table WHERE Points = 125 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.