instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Drew has a Lost larger than 14?
SELECT SUM Drew FROM table WHERE Lost > 14
Translate the following into a SQL query
Which Record has a Week smaller than 15, and an Opponent of at new york jets?
SELECT Record FROM table WHERE Week < 15 AND Opponent = at new york jets
Translate the following into a SQL query
Which Result has a Record of 5–4?
SELECT Result FROM table WHERE Record = 5–4
Translate the following into a SQL query
Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?
SELECT Record FROM table WHERE Time ( ET ) = 1:00pm AND Opponent = kansas city chiefs
Translate the following into a SQL query
What is the 7:30 feature with an 8:30 feature Melrose Place?
SELECT 7:30 FROM table WHERE 8:30 = melrose place
Translate the following into a SQL query
What is the 8:30 feature with a 7:00 feature Loft Story?
SELECT 8:30 FROM table WHERE 7:00 = loft story
Translate the following into a SQL query
What is the 8:00 feature with a 7:00 feature Air Farce?
SELECT 8:00 FROM table WHERE 7:00 = air farce
Translate the following into a SQL query
What is the 10:30 feature with Hercule as the 7:30 feature?
SELECT 10:30 FROM table WHERE 7:30 = hercule
Translate the following into a SQL query
What is the 8:00 feature with Mad About You as the 8:30 feature?
SELECT 8:00 FROM table WHERE 8:30 = mad about you
Translate the following into a SQL query
What is the 7:30 feature with an 8:00 feature of Cosby?
SELECT 7:30 FROM table WHERE 8:00 = cosby
Translate the following into a SQL query
What is the Hindi associated with a Domari of tærən?
SELECT Hindi FROM table WHERE Domari = tærən
Translate the following into a SQL query
What is the Lomavren associated with a Persian of se?
SELECT Lomavren FROM table WHERE Persian = se
Translate the following into a SQL query
What is the Romani associated with a Domari of na?
SELECT Romani FROM table WHERE Domari = na
Translate the following into a SQL query
What is the Domari associated with a Persian of yak, yek?
SELECT Domari FROM table WHERE Persian = yak, yek
Translate the following into a SQL query
What is the Lomavren associated with a Hindi of sāt?
SELECT Lomavren FROM table WHERE Hindi = sāt
Translate the following into a SQL query
What is the Version before 2001 with a Length of 7:42?
SELECT Version FROM table WHERE Year < 2001 AND Length = 7:42
Translate the following into a SQL query
In what Year is the length of the Song 7:42?
SELECT AVG Year FROM table WHERE Length = 7:42
Translate the following into a SQL query
Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3?
SELECT College/Junior/Club Team (League) FROM table WHERE Position = right wing AND Round < 3
Translate the following into a SQL query
What is the orbital regime of launches greater than 4 and failures less than 2?
SELECT Orbital regime FROM table WHERE Launches > 4 AND Failures < 2
Translate the following into a SQL query
What is the total of medium earth orbital regime, accidentally achieved and successes greater than 3?
SELECT SUM Accidentally Achieved FROM table WHERE Orbital regime = medium earth AND Successes > 3
Translate the following into a SQL query
What is the greatest successes that have failures greater than 1 and launches less than 28?
SELECT MAX Successes FROM table WHERE Failures > 1 AND Launches < 28
Translate the following into a SQL query
What is the total failures of heliocentric orbit orbital regimes and launches less than 1?
SELECT SUM Failures FROM table WHERE Orbital regime = heliocentric orbit AND Launches < 1
Translate the following into a SQL query
What was the rank of tris speaker when BB/SO was 7?
SELECT Rank FROM table WHERE Player = tris speaker AND BB/SO = 7
Translate the following into a SQL query
What is the average rank for team cle when the BB/SO is 10.89?
SELECT AVG Rank FROM table WHERE Team = cle AND BB/SO = 10.89
Translate the following into a SQL query
What is the name of a partner that played on a hard surface on 18 April 2011?
SELECT Partner FROM table WHERE Surface = hard AND Date = 18 april 2011
Translate the following into a SQL query
What was the score for the final played on 2 July 2012?
SELECT Score FROM table WHERE Date = 2 july 2012
Translate the following into a SQL query
What was the Score on February 18, 2008?
SELECT Score FROM table WHERE Date = february 18, 2008
Translate the following into a SQL query
What was the Opponent on the game played on a Hard Surface with a Score of 3–6, 6–3, [7–10]?
SELECT Opponent in the Final FROM table WHERE Surface = hard AND Score = 3–6, 6–3, [7–10]
Translate the following into a SQL query
On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)?
SELECT Surface FROM table WHERE Partner = david martin AND Score = 4–6, 6–7 (4-7)
Translate the following into a SQL query
What was the Outcome of the game with a Score of 3–6, 4–6?
SELECT Outcome FROM table WHERE Score = 3–6, 4–6
Translate the following into a SQL query
What was the Partner on June 17, 2012?
SELECT Partner FROM table WHERE Date = june 17, 2012
Translate the following into a SQL query
What record has Glenn Robinson (16) as the leading scorer?
SELECT Record FROM table WHERE Leading scorer = glenn robinson (16)
Translate the following into a SQL query
What date has 136-134 as the score?
SELECT Date FROM table WHERE Score = 136-134
Translate the following into a SQL query
What home has 136-134 as the score?
SELECT Home FROM table WHERE Score = 136-134
Translate the following into a SQL query
What is the most recent year that China won a bronze?
SELECT MAX Year FROM table WHERE Bronze = china
Translate the following into a SQL query
What is the oldest year that the location was at Guangzhou?
SELECT MIN Year FROM table WHERE Location = guangzhou
Translate the following into a SQL query
For how many years was the location at Beijing?
SELECT SUM Year FROM table WHERE Location = beijing
Translate the following into a SQL query
What location is previous to 1994?
SELECT Location FROM table WHERE Year < 1994
Translate the following into a SQL query
Who won the men's doubles before 1979 when carol silman prina ben shushan won the women's doubles?
SELECT Men's doubles FROM table WHERE Year < 1979 AND Women's doubles = carol silman prina ben shushan
Translate the following into a SQL query
What college(s) did the player(s) picked in round 4 with a pick number less than 98 play for?
SELECT College FROM table WHERE Pick # < 98 AND Round = round 4
Translate the following into a SQL query
What is the pick number for the player(s) drafted in round 8?
SELECT Pick # FROM table WHERE Round = round 8
Translate the following into a SQL query
What position(s) did the player(s) with a pick number of 125 play?
SELECT Position FROM table WHERE Pick # = 125
Translate the following into a SQL query
What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1?
SELECT AVG Extra points FROM table WHERE Player = james lawrence AND Touchdowns < 1
Translate the following into a SQL query
What is the smallest amount of touchdowns when there is a total player and a number of field goals of more than 0?
SELECT MIN Touchdowns FROM table WHERE Player = total AND Field goals > 0
Translate the following into a SQL query
On what Date were the Results¹ 4:0?
SELECT Date FROM table WHERE Results¹ = 4:0
Translate the following into a SQL query
On what Date were the Results¹ 5:1?
SELECT Date FROM table WHERE Results¹ = 5:1
Translate the following into a SQL query
On what Date were the Results¹ 4:0?
SELECT Date FROM table WHERE Results¹ = 4:0
Translate the following into a SQL query
What is the pseudoknot prediction of the software named tfold?
SELECT Knots Knots: Pseudoknot prediction, . FROM table WHERE Name = tfold
Translate the following into a SQL query
What Chilean word is used for the Castilian word ordenador?
SELECT Chilean FROM table WHERE Castilian = ordenador
Translate the following into a SQL query
What is the Italian word for the Mexican word frijol?
SELECT Italian FROM table WHERE Mexican = frijol
Translate the following into a SQL query
What word would a Castilian speaker use for the Italian word auto(mobile)?
SELECT Castilian FROM table WHERE Italian = auto(mobile)
Translate the following into a SQL query
What word would a Castilian speaker use for the Italian word auto(mobile)?
SELECT Castilian FROM table WHERE Italian = auto(mobile)
Translate the following into a SQL query
How would an Italian say the Andalusian word coche?
SELECT Italian FROM table WHERE Andalusian = coche
Translate the following into a SQL query
Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
SELECT Home FROM table WHERE Visitor = ny rangers AND Series = flyers win 4–3
Translate the following into a SQL query
Which Score has a Series of flyers lead 3–2?
SELECT Score FROM table WHERE Series = flyers lead 3–2
Translate the following into a SQL query
Which Decision has a Date of april 25?
SELECT Decision FROM table WHERE Date = april 25
Translate the following into a SQL query
Which Decision has a Date of april 30?
SELECT Decision FROM table WHERE Date = april 30
Translate the following into a SQL query
Which Home has a Series of series tied 3–3?
SELECT Home FROM table WHERE Series = series tied 3–3
Translate the following into a SQL query
Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)?
SELECT MIN Earnings ( $ ) FROM table WHERE Events = 22 AND Rank < 4
Translate the following into a SQL query
Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)?
SELECT MAX Earnings ( $ ) FROM table WHERE Player = corey pavin AND Rank > 4
Translate the following into a SQL query
Events larger than 22, and a Earnings ( $ ) of 1,543,192, and a Rank smaller than 2 has the lowest wins?
SELECT MIN Wins FROM table WHERE Events > 22 AND Earnings ( $ ) = 1,543,192 AND Rank < 2
Translate the following into a SQL query
Country of united states, and a Events of 22, and a Earnings ( $ ) larger than 1,340,079 has the highest rank?
SELECT MAX Rank FROM table WHERE Country = united states AND Events = 22 AND Earnings ( $ ) > 1,340,079
Translate the following into a SQL query
What is the mascot with an enrollment (2010) less than 980, and heritage as the school?
SELECT Mascot FROM table WHERE Enrollment (2010) < 980 AND School = heritage
Translate the following into a SQL query
What is the class of the player with a weight of 242 pounds?
SELECT Class FROM table WHERE Weight = 242
Translate the following into a SQL query
How many games were played by the player at FB?
SELECT COUNT Games↑ FROM table WHERE Position = fb
Translate the following into a SQL query
Which Name has a Round smaller than 5, and a Pick # larger than 13?
SELECT Name FROM table WHERE Round < 5 AND Pick # > 13
Translate the following into a SQL query
Which Pick # has a Round smaller than 6, and an Overall larger than 13, and a College of penn state?
SELECT Pick # FROM table WHERE Round < 6 AND Overall > 13 AND College = penn state
Translate the following into a SQL query
Which Name has an Overall of 235?
SELECT Name FROM table WHERE Overall = 235
Translate the following into a SQL query
How many cosponsors have a Date introduced of may 22, 2008?
SELECT COUNT # of cosponsors FROM table WHERE Date introduced = may 22, 2008
Translate the following into a SQL query
Which Congress has a # of cosponsors of 19?
SELECT Congress FROM table WHERE # of cosponsors = 19
Translate the following into a SQL query
On what date was a friendly match held at Auckland?
SELECT Date FROM table WHERE Competition = friendly match AND Venue = auckland
Translate the following into a SQL query
What were the goals at Sydney?
SELECT Goals FROM table WHERE Venue = sydney
Translate the following into a SQL query
How many sets lost have a sets won less than 0?
SELECT COUNT Sets Lost FROM table WHERE Sets Won < 0
Translate the following into a SQL query
What shows for IATA for the City of sapporo?
SELECT IATA FROM table WHERE City = sapporo
Translate the following into a SQL query
What is the ICAO when the IATA shows cts?
SELECT ICAO FROM table WHERE IATA = cts
Translate the following into a SQL query
What is the Country when the IATA shows cju?
SELECT Country FROM table WHERE IATA = cju
Translate the following into a SQL query
What is the ICAO when the IATA shows mfm?
SELECT ICAO FROM table WHERE IATA = mfm
Translate the following into a SQL query
What is the ICAO for Hong Kong?
SELECT ICAO FROM table WHERE Country = hong kong
Translate the following into a SQL query
What is the Airport when the ICAO shows rpvm?
SELECT Airport FROM table WHERE ICAO = rpvm
Translate the following into a SQL query
What is the lowest goals for value with fewer than 5 draws and under 70 points?
SELECT MIN Goals For FROM table WHERE Draw < 5 AND Points < 70
Translate the following into a SQL query
What is the lowest goals against value for a team with 83 points and a difference over 50?
SELECT MIN Goals Against FROM table WHERE Points = 83 AND Goal difference > 50
Translate the following into a SQL query
What is the earliest season that has a position over 12?
SELECT MIN Season FROM table WHERE Position > 12
Translate the following into a SQL query
What is the average goals for with a position under 12, draws over 1, and goals against under 28?
SELECT AVG Goals For FROM table WHERE Position < 12 AND Draw > 1 AND Goals Against < 28
Translate the following into a SQL query
Who was the Opponent with a Result of l 17–24?
SELECT Opponent FROM table WHERE Result = l 17–24
Translate the following into a SQL query
What Date has a Result of l 21–34?
SELECT Date FROM table WHERE Result = l 21–34
Translate the following into a SQL query
What Game Site has a Week smaller than 11, and a Date of october 21, 1973?
SELECT Game Site FROM table WHERE Week < 11 AND Date = october 21, 1973
Translate the following into a SQL query
What is the value of the lowest Week with a Record of 2–9?
SELECT MIN Week FROM table WHERE Record = 2–9
Translate the following into a SQL query
Who is the opponent for the game that occurred after week 13?
SELECT Opponent FROM table WHERE Week > 13
Translate the following into a SQL query
What day did the play on week 6?
SELECT Date FROM table WHERE Week = 6
Translate the following into a SQL query
Which tournament had a 2009 result of 1R?
SELECT Tournament FROM table WHERE 2009 = 1r
Translate the following into a SQL query
Which tournament had a 2010 result of QF and a 2012 result of SF?
SELECT Tournament FROM table WHERE 2012 = sf AND 2010 = qf
Translate the following into a SQL query
Which tournament had a result in 2010 and 2012 of a?
SELECT Tournament FROM table WHERE 2012 = a AND 2010 = a
Translate the following into a SQL query
Who was third during round 6 in Rybinsk?
SELECT Third FROM table WHERE Venue = rybinsk AND Round = 6
Translate the following into a SQL query
Who was third in round 14?
SELECT Third FROM table WHERE Round = 14
Translate the following into a SQL query
What was the venue with a 3.3km c prologue discipline?
SELECT Venue FROM table WHERE Discipline = 3.3km c prologue
Translate the following into a SQL query
Who was the winner on 28 December 2007?
SELECT Winner FROM table WHERE Date = 28 december 2007
Translate the following into a SQL query
Who was third at the 0.8km f sprint discipline?
SELECT Third FROM table WHERE Discipline = 0.8km f sprint
Translate the following into a SQL query
What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS?
SELECT MAX Total Cargo (Metric Tonnes) FROM table WHERE Code (IATA/ICAO) = bkk/vtbs AND Rank > 19
Translate the following into a SQL query
What is the rank of the airport with the BKK/VTBS code?
SELECT Rank FROM table WHERE Code (IATA/ICAO) = bkk/vtbs
Translate the following into a SQL query
Which Matches has champion Rank of 5?
SELECT MAX Matches as champion FROM table WHERE Rank = 5