instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Best Film has a Best Supporting Actress of shamaine buencamino for niño?
SELECT Best Film FROM table WHERE Best Supporting Actress = shamaine buencamino for niño
Translate the following into a SQL query
Score of 0–0, and a Date of 02-jan-64 had what result?
SELECT Result FROM table WHERE Score = 0–0 AND Date = 02-jan-64
Translate the following into a SQL query
Result of l, and a Competition of 1966 asian games, and a Score of 0–1 had what date?
SELECT Date FROM table WHERE Result = l AND Competition = 1966 asian games AND Score = 0–1
Translate the following into a SQL query
Competition of friendly, and a Date of 03-jun-62 had what score?
SELECT Score FROM table WHERE Competition = friendly AND Date = 03-jun-62
Translate the following into a SQL query
Result of w, and a Competition of 1968 asian cup happened on what date?
SELECT Date FROM table WHERE Result = w AND Competition = 1968 asian cup
Translate the following into a SQL query
Result of l, and a Date of 15-oct-64 had what score?
SELECT Score FROM table WHERE Result = l AND Date = 15-oct-64
Translate the following into a SQL query
What incumbent was re-elected in the district in california 3?
SELECT Incumbent FROM table WHERE Result = re-elected AND District = california 3
Translate the following into a SQL query
What is the district of the incumbent Thomas Larkin Thompson?
SELECT District FROM table WHERE Incumbent = thomas larkin thompson
Translate the following into a SQL query
What incumbent has a re-elected result and first elected larger than 1884?
SELECT Incumbent FROM table WHERE Result = re-elected AND First elected > 1884
Translate the following into a SQL query
Which Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿತ್ತ?
SELECT Telugu తెలుగు FROM table WHERE Kannada ಕನ್ನಡ = chitra ಚಿತ್ತ
Translate the following into a SQL query
Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்?
SELECT Telugu తెలుగు FROM table WHERE Tamil தமிழ் = pūrāṭam பூராடம்
Translate the following into a SQL query
Which Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்?
SELECT Telugu తెలుగు FROM table WHERE Tamil தமிழ் = pūsam பூசம்
Translate the following into a SQL query
Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?
SELECT Mongolian FROM table WHERE Tamil தமிழ் = pūrāṭam பூராடம்
Translate the following into a SQL query
What kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ of uttara ಉತ್ತರಾ?
SELECT Sanskrit संस्कृतम् FROM table WHERE Kannada ಕನ್ನಡ = uttara ಉತ್ತರಾ
Translate the following into a SQL query
What kind of Sanskrit संस्कृतम् has a Tamil தமிழ் of rōkiṇi ரோகிணி?
SELECT Sanskrit संस्कृतम् FROM table WHERE Tamil தமிழ் = rōkiṇi ரோகிணி
Translate the following into a SQL query
What is the frequency for katherine?
SELECT Frequency FROM table WHERE Area served = katherine
Translate the following into a SQL query
Which band has a current freq of 8tab (hpon)?
SELECT Band FROM table WHERE Freq currently = 8tab (hpon)
Translate the following into a SQL query
Which freq currently has 0 657?
SELECT Freq currently FROM table WHERE Frequency = 0 657
Translate the following into a SQL query
What is the purpose for the katherine freq of 8rn?
SELECT Purpose FROM table WHERE Freq currently = 8rn AND Area served = katherine
Translate the following into a SQL query
Which freq currently has 0 684?
SELECT Freq currently FROM table WHERE Frequency = 0 684
Translate the following into a SQL query
Which band serves darwin for commercial purpose?
SELECT Band FROM table WHERE Area served = darwin AND Purpose = commercial
Translate the following into a SQL query
What is the points difference for a loss less than 6, and points less than 11?
SELECT Points difference FROM table WHERE Lost < 6 AND Points < 11
Translate the following into a SQL query
Which Opponent has a Loss of báez (5-5)?
SELECT Opponent FROM table WHERE Loss = báez (5-5)
Translate the following into a SQL query
Which Score has an Opponent of @ rockies, and a Record of 33-35?
SELECT Score FROM table WHERE Opponent = @ rockies AND Record = 33-35
Translate the following into a SQL query
Which Attendance has an Opponent of phillies, and a Record of 30-33?
SELECT SUM Attendance FROM table WHERE Opponent = phillies AND Record = 30-33
Translate the following into a SQL query
Which Attendance is the highest one that has a Loss of batista (4-5)?
SELECT MAX Attendance FROM table WHERE Loss = batista (4-5)
Translate the following into a SQL query
What is the frequency MHz of the ERP W's greater than 250?
SELECT AVG Frequency MHz FROM table WHERE ERP W > 250
Translate the following into a SQL query
What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170?
SELECT Call sign FROM table WHERE Frequency MHz < 94.9 AND ERP W = 170
Translate the following into a SQL query
What is the FCC info for the city of Tribune, Kansas?
SELECT FCC info FROM table WHERE City of license = tribune, kansas
Translate the following into a SQL query
What is the city of license with an ERP W less than 170?
SELECT City of license FROM table WHERE ERP W < 170
Translate the following into a SQL query
What is the smallest ERP W with a frequency MHz of 94.9?
SELECT MIN ERP W FROM table WHERE Frequency MHz = 94.9
Translate the following into a SQL query
What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas?
SELECT ERP W FROM table WHERE Frequency MHz > 89.5 AND City of license = washburn, texas
Translate the following into a SQL query
What is the total number of bronze medals the U.S. Virgin Islands, which has less than 0 golds, has?
SELECT COUNT Bronze FROM table WHERE Nation = u.s. virgin islands AND Gold < 0
Translate the following into a SQL query
What is the rank of the team with 11 total medals and more than 4 silver medals has?
SELECT SUM Rank FROM table WHERE Total = 11 AND Silver > 4
Translate the following into a SQL query
What is the lowest total medals the team with more than 0 bronze, 6 silver, and a rank higher than 3 has?
SELECT MIN Total FROM table WHERE Bronze > 0 AND Silver = 6 AND Rank < 3
Translate the following into a SQL query
What is the highest rank of Venezuela, which has more than 9 bronze medals?
SELECT MIN Rank FROM table WHERE Nation = venezuela AND Bronze > 9
Translate the following into a SQL query
What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold?
SELECT MIN Rank FROM table WHERE Bronze = 0 AND Silver = 1 AND Gold > 0
Translate the following into a SQL query
What round has mathieu garon as the player?
SELECT Round FROM table WHERE Player = mathieu garon
Translate the following into a SQL query
What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?
SELECT Nationality FROM table WHERE Position = left wing AND Round > 4 AND Player = mattia baldi
Translate the following into a SQL query
How many rounds have goalie as the position?
SELECT SUM Round FROM table WHERE Position = goalie
Translate the following into a SQL query
Which Competition has a Date of may 2, 1993?
SELECT Competition FROM table WHERE Date = may 2, 1993
Translate the following into a SQL query
Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998?
SELECT Result FROM table WHERE Goal > 6 AND Score = 1–0 AND Competition = friendly AND Date = may 31, 1998
Translate the following into a SQL query
What was the score on april 4, 1993?
SELECT Score FROM table WHERE Date = april 4, 1993
Translate the following into a SQL query
What is listed for the 3 credits that also has a 2 credits of 99.7%?
SELECT 3 credits FROM table WHERE 2 credits = 99.7%
Translate the following into a SQL query
What's the listed Hand has 3 credits of 6?
SELECT Hand FROM table WHERE 3 credits = 6
Translate the following into a SQL query
What is listed for the 4 credits that has 5 credits of 125?
SELECT 4 credits FROM table WHERE 5 credits = 125
Translate the following into a SQL query
What is listed for 5 credits that has 1 credit of 300?
SELECT 5 credits FROM table WHERE 1 credit = 300
Translate the following into a SQL query
What's the 1 credit with a Hand of Theoretical Return?
SELECT 1 credit FROM table WHERE Hand = theoretical return
Translate the following into a SQL query
What is listed for the Hand that has a 1 credit of 1?
SELECT Hand FROM table WHERE 1 credit = 1
Translate the following into a SQL query
What is the games number when the Position was wr, and a Number larger than 17?
SELECT COUNT Games↑ FROM table WHERE Position = wr AND Number > 17
Translate the following into a SQL query
What is the number when the height shows 6'6"', and a Games number smaller than 4?
SELECT AVG Number FROM table WHERE Height = 6'6"' AND Games↑ < 4
Translate the following into a SQL query
What is the class for the position of lg?
SELECT Class FROM table WHERE Position = lg
Translate the following into a SQL query
What is the highest weight for the Farnley Stakes race?
SELECT MAX Weight (kg) FROM table WHERE Race = farnley stakes
Translate the following into a SQL query
What time is associated with the event that happened in Tokyo, Japan, ending in a draw, with 3 rounds?
SELECT Time FROM table WHERE Location = tokyo, japan AND Round = 3 AND Res. = draw
Translate the following into a SQL query
Which 2012 has a 2007 of 0 / 4?
SELECT 2012 FROM table WHERE 2007 = 0 / 4
Translate the following into a SQL query
Which 2011 has a Career Win-Loss of 7–10?
SELECT 2011 FROM table WHERE Career Win-Loss = 7–10
Translate the following into a SQL query
Which 1998 has a 2002 of 2–4?
SELECT 1998 FROM table WHERE 2002 = 2–4
Translate the following into a SQL query
Which 2002 has a 2008 of 3–3?
SELECT 2002 FROM table WHERE 2008 = 3–3
Translate the following into a SQL query
Which 2003 has a 2012 of 1r, and a 2008 of 1r?
SELECT 2003 FROM table WHERE 2012 = 1r AND 2008 = 1r
Translate the following into a SQL query
What club is robert gallery a part of
SELECT NFL Club FROM table WHERE Player = robert gallery
Translate the following into a SQL query
How many attendance numbers had more than 15 games, and sellouts of more than 8 in the 2011-12 season?
SELECT COUNT Attendance FROM table WHERE Games > 15 AND Sellouts > 8 AND Season = 2011-12
Translate the following into a SQL query
What's the mean attendance number when the record is 12-4 and the average is less than 10,027?
SELECT AVG Attendance FROM table WHERE Record = 12-4 AND Average < 10,027
Translate the following into a SQL query
What is the full amount of averages when the sellouts are less than 14, the season is 2011-12, and attendance is less than 162,474?
SELECT COUNT Average FROM table WHERE Sellouts < 14 AND Season = 2011-12 AND Attendance < 162,474
Translate the following into a SQL query
What medal was awarded in the men's freestyle 52 kg?
SELECT Medal FROM table WHERE Event = men's freestyle 52 kg
Translate the following into a SQL query
Events smaller than 1 had what highest cuts made?
SELECT MAX Cuts made FROM table WHERE Events < 1
Translate the following into a SQL query
What position was played with a Difference of - 5, and a Played larger than 14?
SELECT AVG Position FROM table WHERE Difference = - 5 AND Played > 14
Translate the following into a SQL query
How many games lost associated with under 14 played?
SELECT COUNT Lost FROM table WHERE Played < 14
Translate the following into a SQL query
How many games against for team guarani with under 3 draws?
SELECT SUM Against FROM table WHERE Team = guarani AND Drawn < 3
Translate the following into a SQL query
What Congress had less than 23 cosponsors and had June 30, 2005 as the date of introduction of the bill?
SELECT Congress FROM table WHERE # of cosponsors < 23 AND Date introduced = june 30, 2005
Translate the following into a SQL query
Who sponsored the bill introduced on June 9, 2011?
SELECT Sponsor(s) FROM table WHERE Date introduced = june 9, 2011
Translate the following into a SQL query
Who sponsored the bill that was introduced on June 2, 2009?
SELECT Sponsor(s) FROM table WHERE Date introduced = june 2, 2009
Translate the following into a SQL query
What is the Outcome of the Melbourne Tournament?
SELECT Outcome FROM table WHERE Tournament = melbourne
Translate the following into a SQL query
In what Tournament was Janet Young a Partner?
SELECT Tournament FROM table WHERE Partner = janet young
Translate the following into a SQL query
What was the Outcome of the match with a Score of w/o?
SELECT Outcome FROM table WHERE Score = w/o
Translate the following into a SQL query
Which Date has a Result of win, and a Streak of won 2, and 76ers points of 96, and a Record of 20-50?
SELECT Date FROM table WHERE Result = win AND Streak = won 2 AND 76ers points = 96 AND Record = 20-50
Translate the following into a SQL query
Which Date has a Streak of lost 1, and 76ers points smaller than 94, and a Game larger than 13, and a Record of 14-40?
SELECT Date FROM table WHERE Streak = lost 1 AND 76ers points < 94 AND Game > 13 AND Record = 14-40
Translate the following into a SQL query
Which school or club team has a pick of 139?
SELECT School/Club Team FROM table WHERE Pick = 139
Translate the following into a SQL query
What is the pick number for the player playing tackle position, and a round less than 15?
SELECT SUM Pick FROM table WHERE Position = tackle AND Round < 15
Translate the following into a SQL query
Which school of club team has a pick of 46?
SELECT School/Club Team FROM table WHERE Pick = 46
Translate the following into a SQL query
Who got 59.486 for Qual 2?
SELECT Name FROM table WHERE Qual 2 = 59.486
Translate the following into a SQL query
Who got 59.578 for Qual 1?
SELECT Name FROM table WHERE Qual 1 = 59.578
Translate the following into a SQL query
What team was Andrew Ranger in?
SELECT Team FROM table WHERE Name = andrew ranger
Translate the following into a SQL query
What team has 59.372 for qual 1?
SELECT Team FROM table WHERE Qual 1 = 59.372
Translate the following into a SQL query
What did Alex Tagliani get for Qual 1?
SELECT Qual 1 FROM table WHERE Name = alex tagliani
Translate the following into a SQL query
What was the result of the game on November 7, 1999?
SELECT Result FROM table WHERE Date = november 7, 1999
Translate the following into a SQL query
When was the game before week 15 with the result of bye?
SELECT Date FROM table WHERE Week < 15 AND Result = bye
Translate the following into a SQL query
Who is the writer of Wallace & Gromit: A Close Shave, a short film from before 2008?
SELECT Writer FROM table WHERE Year < 2008 AND Notes = short film AND Title = wallace & gromit: a close shave
Translate the following into a SQL query
What notes did the creature comforts film have?
SELECT Notes FROM table WHERE Title = creature comforts
Translate the following into a SQL query
Who is the director of Wallace & Gromit: The Curse of the Were-Rabbit?
SELECT Director FROM table WHERE Title = wallace & gromit: the curse of the were-rabbit
Translate the following into a SQL query
What is the earliest year of Wallace & Gromit: The Curse of the Were-Rabbit?
SELECT MIN Year FROM table WHERE Title = wallace & gromit: the curse of the were-rabbit
Translate the following into a SQL query
what was the length of the game on may 19
SELECT Length FROM table WHERE Date = may 19
Translate the following into a SQL query
March of 26 has what lowest game?
SELECT MIN Game FROM table WHERE March = 26
Translate the following into a SQL query
March of 29 involves what highest scoring game?
SELECT MAX Game FROM table WHERE March = 29
Translate the following into a SQL query
Game larger than 76, and a March larger than 26 involves what score?
SELECT Score FROM table WHERE Game > 76 AND March > 26
Translate the following into a SQL query
What was the time when the laps were smaller than 66 and the grid was 15?
SELECT Time/Retired FROM table WHERE Laps < 66 AND Grid = 15
Translate the following into a SQL query
What was the grid for anthony davidson when the laps were less than 8?
SELECT COUNT Grid FROM table WHERE Driver = anthony davidson AND Laps < 8
Translate the following into a SQL query
What team did carlos cardus drive for in 1983 when he got less than 21 points?
SELECT Team FROM table WHERE Points < 21 AND Year = 1983
Translate the following into a SQL query
What is the sum of the points when Carlos drove for repsol honda in 8th place?
SELECT SUM Points FROM table WHERE Team = repsol honda AND Rank = 8th
Translate the following into a SQL query
What is the average points won when Carlos had 0 wins?
SELECT AVG Points FROM table WHERE Wins < 0
Translate the following into a SQL query
What is the highest year that Carlos drove for repsol honda and had less than 4 wins and less than 162 points?
SELECT MAX Year FROM table WHERE Team = repsol honda AND Wins < 4 AND Points < 162