instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the record of game 48?
SELECT Record FROM table WHERE Game = 48
Translate the following into a SQL query
What is the record of the game with a 110-106 score?
SELECT Record FROM table WHERE Score = 110-106
Translate the following into a SQL query
What is the score at the forum location?
SELECT Score FROM table WHERE Location = the forum
Translate the following into a SQL query
What is Method, when Location is "Tokyo , Japan", and when Event is "Rings: Millennium Combine 2"?
SELECT Method FROM table WHERE Location = tokyo , japan AND Event = rings: millennium combine 2
Translate the following into a SQL query
What is Method, when Opponent is "Chalid Arrab"?
SELECT Method FROM table WHERE Opponent = chalid arrab
Translate the following into a SQL query
What is the sum of Round, when Record is "19-25-5"?
SELECT SUM Round FROM table WHERE Record = 19-25-5
Translate the following into a SQL query
Which region has Stanford University as host?
SELECT Region FROM table WHERE Host = stanford university
Translate the following into a SQL query
Which state contains the University of Iowa in the mideast region?
SELECT State FROM table WHERE Region = mideast AND Host = university of iowa
Translate the following into a SQL query
Which state includes the city of Storrs?
SELECT State FROM table WHERE City = storrs
Translate the following into a SQL query
Which state includes the Harry A. Gampel Pavilion venue?
SELECT State FROM table WHERE Venue = harry a. gampel pavilion
Translate the following into a SQL query
Which city is in Georgia?
SELECT City FROM table WHERE State = georgia
Translate the following into a SQL query
What is the total number of rounds that had Jason Missiaen?
SELECT COUNT Round FROM table WHERE Player = jason missiaen
Translate the following into a SQL query
What player is from Russia?
SELECT Player FROM table WHERE Nationality = russia
Translate the following into a SQL query
What nationality is the pick from round 7?
SELECT Nationality FROM table WHERE Round = 7
Translate the following into a SQL query
what is the album when the year is later than 2008?
SELECT Album FROM table WHERE Year > 2008
Translate the following into a SQL query
What is the Championship Game that has 4 Bids and a .600 Win %?
SELECT Championship Game FROM table WHERE # of Bids = 4 AND Win % = .600
Translate the following into a SQL query
What is the team 2 with cobreloa as team 1?
SELECT Team 2 FROM table WHERE Team 1 = cobreloa
Translate the following into a SQL query
What is the team 1 with a 3-0 2nd leg?
SELECT Team 1 FROM table WHERE 2nd leg = 3-0
Translate the following into a SQL query
What is the team 1 with a 2-1 2nd leg?
SELECT Team 1 FROM table WHERE 2nd leg = 2-1
Translate the following into a SQL query
How many picks had a round smaller than 6 and an overall bigger than 153?
SELECT SUM Pick FROM table WHERE Round < 6 AND Overall > 153
Translate the following into a SQL query
What was the attendance on 31 January 2009 when the opponent was Airdrie United?
SELECT AVG Attendance FROM table WHERE Opponent = airdrie united AND Date = 31 january 2009
Translate the following into a SQL query
In what venue was the event held on 14 February 2009?
SELECT Venue FROM table WHERE Date = 14 february 2009
Translate the following into a SQL query
What was the result of the event on 20 September 2008, held at the Firhill venue, at which more than 3,303 were in attendance?
SELECT Result FROM table WHERE Attendance > 3,303 AND Venue = firhill AND Date = 20 september 2008
Translate the following into a SQL query
What is the average attendance for all events held at Palmerston Park venue?
SELECT AVG Attendance FROM table WHERE Venue = palmerston park
Translate the following into a SQL query
What is the total number of t (µm), when Technology is u c-si?
SELECT COUNT t (µm) FROM table WHERE Technology = u c-si
Translate the following into a SQL query
What is the V OC (V), when t (µm) is greater than 5, and when I SC (A) is 0.8?
SELECT V OC (V) FROM table WHERE t (µm) > 5 AND I SC (A) = 0.8
Translate the following into a SQL query
What is the sum of t (µm), when Technology is MJ?
SELECT SUM t (µm) FROM table WHERE Technology = mj
Translate the following into a SQL query
What is W/m², when η (%) is greater than 16.5, and when Technology is MJ?
SELECT W/m² FROM table WHERE η (%) > 16.5 AND Technology = mj
Translate the following into a SQL query
What type of Bridge is in Stanley?
SELECT Type FROM table WHERE Location = stanley
Translate the following into a SQL query
What type of bridge is Colton's Crossing Bridge?
SELECT Type FROM table WHERE Name = colton's crossing bridge
Translate the following into a SQL query
What bridge is a pratt pony through truss tyoe bridge?
SELECT Name FROM table WHERE Type = pratt pony through truss
Translate the following into a SQL query
What type of bridge is in Cooperstown?
SELECT Type FROM table WHERE Location = cooperstown
Translate the following into a SQL query
What bridge is in Mcville?
SELECT Name FROM table WHERE Location = mcville
Translate the following into a SQL query
Which tracking method supports MySQL databases and is named Open Web Analytics?
SELECT Tracking Method FROM table WHERE Supported databases = mysql AND Name = open web analytics
Translate the following into a SQL query
Which tracking method has a latest stable release of 2.23-05?
SELECT Tracking Method FROM table WHERE Latest stable release = 2.23-05
Translate the following into a SQL query
What is the latest stable release date for Crawltrack?
SELECT Latest stable release FROM table WHERE Name = crawltrack
Translate the following into a SQL query
Which tracking method has a latest stable release of 6.0?
SELECT Tracking Method FROM table WHERE Latest stable release = 6.0
Translate the following into a SQL query
What is the least passengers from the Dallas/Fort Worth International (DFW) airport?
SELECT MIN Passengers FROM table WHERE Airport = dallas/fort worth international (dfw)
Translate the following into a SQL query
What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE)
SELECT City FROM table WHERE Rank > 6 AND Airport = st. petersburg/clearwater (pie)
Translate the following into a SQL query
What is the total rank of the airport that has 79,290 passengers?
SELECT COUNT Rank FROM table WHERE Passengers = 79,290
Translate the following into a SQL query
Which Winner has a Country of norway, and a FIS Nordic World Ski Championships of 1924?
SELECT Winner FROM table WHERE Country = norway AND FIS Nordic World Ski Championships = 1924
Translate the following into a SQL query
Which Country has a FIS Nordic World Ski Championships of 1948, 1950?
SELECT Country FROM table WHERE FIS Nordic World Ski Championships = 1948, 1950
Translate the following into a SQL query
Which Holmenkollen has a Country of norway, and a Winner of tom sandberg?
SELECT Holmenkollen FROM table WHERE Country = norway AND Winner = tom sandberg
Translate the following into a SQL query
Which FIS Nordic World Ski Championships has Winter Olympics of 1960?
SELECT FIS Nordic World Ski Championships FROM table WHERE Winter Olympics = 1960
Translate the following into a SQL query
Which Country has a Winter Olympics of 1948?
SELECT Country FROM table WHERE Winter Olympics = 1948
Translate the following into a SQL query
Which Winner has a Winter Olympics of 1968?
SELECT Winner FROM table WHERE Winter Olympics = 1968
Translate the following into a SQL query
What was the result of the game when the attendance was 43,279?
SELECT Result FROM table WHERE Attendance = 43,279
Translate the following into a SQL query
What is the average Attendance, when Date is 1 October 1998?
SELECT AVG Attendance FROM table WHERE Date = 1 october 1998
Translate the following into a SQL query
What is Opponent, when Date is 17 September 1998?
SELECT Opponent FROM table WHERE Date = 17 september 1998
Translate the following into a SQL query
What is Opponent, when Date is 8 April 1999?
SELECT Opponent FROM table WHERE Date = 8 april 1999
Translate the following into a SQL query
WHAT IS THE HIGHEST POINTS FOR LOS ANGELES?
SELECT High points FROM table WHERE Opponent = los angeles
Translate the following into a SQL query
What was the Score F-A when the result was D?
SELECT Score F–A FROM table WHERE Result = d
Translate the following into a SQL query
On which date did they play Leicester City in Venue A?
SELECT Date FROM table WHERE Venue = a AND Opponents = leicester city
Translate the following into a SQL query
What was the result of the game played in Venue H?
SELECT Result FROM table WHERE Venue = h
Translate the following into a SQL query
What was the result of the game played on 17 July 2008?
SELECT Result FROM table WHERE Date = 17 july 2008
Translate the following into a SQL query
What Passenger has 16 Wins?
SELECT Passenger FROM table WHERE Wins = 16
Translate the following into a SQL query
Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday?
SELECT Time of broadcast FROM table WHERE Picture format = 4:3 AND Hours = 20:30 AND Days of the week = monday, wednesday, friday
Translate the following into a SQL query
Which Days of the week has a Time of broadcast in january–february, june 2002?
SELECT Days of the week FROM table WHERE Time of broadcast = january–february, june 2002
Translate the following into a SQL query
Which Outcome has a Championship of us championships, and a Score in the final of 5–7, 6–1, 6–3, 6–3?
SELECT Outcome FROM table WHERE Championship = us championships AND Score in the final = 5–7, 6–1, 6–3, 6–3
Translate the following into a SQL query
Which Outcome has a Year larger than 1939, and an Opponent in the final of frank kovacs?
SELECT Outcome FROM table WHERE Year > 1939 AND Opponent in the final = frank kovacs
Translate the following into a SQL query
Which Surface has an Opponent in the final of don mcneill, and a Year of 1940?
SELECT Surface FROM table WHERE Opponent in the final = don mcneill AND Year = 1940
Translate the following into a SQL query
How many years have an Opponent in the final of welby van horn?
SELECT SUM Year FROM table WHERE Opponent in the final = welby van horn
Translate the following into a SQL query
What is the score of player dick metz?
SELECT Score FROM table WHERE Player = dick metz
Translate the following into a SQL query
Which season had EV Bad Wörishofen in the West?
SELECT Season FROM table WHERE West = ev bad wörishofen
Translate the following into a SQL query
Who was in the South in the 2004-05 season?
SELECT South FROM table WHERE Season = 2004-05
Translate the following into a SQL query
Who was in the South when EV Bad Wörishofen was in the West?
SELECT South FROM table WHERE West = ev bad wörishofen
Translate the following into a SQL query
Who was in the South when TSV Kottern was in the West and EHF Passau was in the East?
SELECT South FROM table WHERE West = tsv kottern AND East = ehf passau
Translate the following into a SQL query
Who was in the East when TUS Geretsried II was in the South?
SELECT East FROM table WHERE South = tus geretsried ii
Translate the following into a SQL query
Who was in the West when ESV Gebensbach was in the East?
SELECT West FROM table WHERE East = esv gebensbach
Translate the following into a SQL query
What is the average Gold, when Nation is Hungary, and when Bronze is greater than 1?
SELECT AVG Gold FROM table WHERE Nation = hungary AND Bronze > 1
Translate the following into a SQL query
What is the average Total, when Nation is Soviet Union, and when Gold is greater than 9?
SELECT AVG Total FROM table WHERE Nation = soviet union AND Gold > 9
Translate the following into a SQL query
What is the total number of Bronze, when Silver is greater than 0, when Gold is greater than 3, and when Rank is 1?
SELECT COUNT Bronze FROM table WHERE Silver > 0 AND Gold > 3 AND Rank = 1
Translate the following into a SQL query
What is the highest Bronze, when Total is less than 3, and when Silver is less than 0?
SELECT MAX Bronze FROM table WHERE Total < 3 AND Silver < 0
Translate the following into a SQL query
What is the average Total, when Silver is greater than 4, and when Gold is greater than 16?
SELECT AVG Total FROM table WHERE Silver > 4 AND Gold > 16
Translate the following into a SQL query
What is the sum of Silver, when Total is less than 1?
SELECT SUM Silver FROM table WHERE Total < 1
Translate the following into a SQL query
What is day 4 when day 2 is PAAQ?
SELECT Day 4 FROM table WHERE Day 2 = paaq
Translate the following into a SQL query
What is the other value associated with a Christianity value of 10.24%?
SELECT Other FROM table WHERE Christianity = 10.24%
Translate the following into a SQL query
What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%?
SELECT Judaism FROM table WHERE Other = 0.13% AND Buddhism = 0.01%
Translate the following into a SQL query
What is the percentage of Atheism associated with an other percentage of 0.08%?
SELECT Atheism FROM table WHERE Other = 0.08%
Translate the following into a SQL query
What is the percentage of Buddhists associated with a Christianity percentage of 52.32%?
SELECT Buddhism FROM table WHERE Christianity = 52.32%
Translate the following into a SQL query
What is the percentage of Judaism associated with Christianity at 2.51%?
SELECT Judaism FROM table WHERE Christianity = 2.51%
Translate the following into a SQL query
What is the value of other religions associated with atheism at 1.86%?
SELECT Other FROM table WHERE Atheism = 1.86%
Translate the following into a SQL query
What is No. 2, when No. 9 is Mia?
SELECT No. 2 FROM table WHERE No. 9 = mia
Translate the following into a SQL query
What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?
SELECT No. 7 FROM table WHERE No. 4 = madison AND No. 10 = amelia
Translate the following into a SQL query
What is No.1, when No. 2 is Emma, and when No. 7 is Olivia?
SELECT No. 1 FROM table WHERE No. 2 = emma AND No. 7 = olivia
Translate the following into a SQL query
What is No. 5, when No. 2 is Olivia, when No. 4 is Ava, and when No. 6 is Abigail?
SELECT No. 5 FROM table WHERE No. 2 = olivia AND No. 4 = ava AND No. 6 = abigail
Translate the following into a SQL query
What is No. 3, when No. 7 is Abigail, and when No. 2 is Olivia?
SELECT No. 3 FROM table WHERE No. 7 = abigail AND No. 2 = olivia
Translate the following into a SQL query
What is No. 3, when No. 7 is Abigail, and when No. 4 is Ava?
SELECT No. 3 FROM table WHERE No. 7 = abigail AND No. 4 = ava
Translate the following into a SQL query
How many Laps have Grid larger than 14, and a Rider of sylvain guintoli?
SELECT COUNT Laps FROM table WHERE Grid > 14 AND Rider = sylvain guintoli
Translate the following into a SQL query
Which Grid has Laps of 24, and a Rider of marco melandri?
SELECT SUM Grid FROM table WHERE Laps = 24 AND Rider = marco melandri
Translate the following into a SQL query
Which Grid has Laps smaller than 24, and a Time of retirement?
SELECT MIN Grid FROM table WHERE Laps < 24 AND Time = retirement
Translate the following into a SQL query
Which Grid has a Rider of randy de puniet, and Laps smaller than 24?
SELECT MAX Grid FROM table WHERE Rider = randy de puniet AND Laps < 24
Translate the following into a SQL query
What was the type of surface played on for the week of March 17?
SELECT Surface FROM table WHERE Week = march 17
Translate the following into a SQL query
What was the tournament for the week of August 4?
SELECT Tournament FROM table WHERE Week = august 4
Translate the following into a SQL query
Which tournament had Richard Krajicek as a finalist?
SELECT Tournament FROM table WHERE Finalist = richard krajicek
Translate the following into a SQL query
On what date did Detroit play at home?
SELECT Date FROM table WHERE Home = detroit
Translate the following into a SQL query
Who was the home team on June 9?
SELECT Home FROM table WHERE Date = june 9
Translate the following into a SQL query
What was the money value that went along with the score of 68-67-69-76=280?
SELECT Money ( $ ) FROM table WHERE Score = 68-67-69-76=280
Translate the following into a SQL query
What score did Leonard Thompson have when he won $9,000?
SELECT Score FROM table WHERE Money ( $ ) = 9,000 AND Player = leonard thompson
Translate the following into a SQL query
What date had a record of 15-14-4?
SELECT Date FROM table WHERE Record = 15-14-4