instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who was the opponent with a 32-25 record?
SELECT Opponent FROM table WHERE Record = 32-25
Translate the following into a SQL query
What is the location/ attendance for a 35-28 record?
SELECT Location/Attendance FROM table WHERE Record = 35-28
Translate the following into a SQL query
What is the latest year when Neal Baer was a nominee, and the result was nominated?
SELECT MAX Year FROM table WHERE Result = nominated AND Nominee(s) = neal baer
Translate the following into a SQL query
That is the total year that Neal Baer is a nominee?
SELECT SUM Year FROM table WHERE Nominee(s) = neal baer
Translate the following into a SQL query
For what episode was the nominee (s) Walon Green, Joe Sachs nominated as a result?
SELECT Episode FROM table WHERE Result = nominated AND Nominee(s) = walon green, joe sachs
Translate the following into a SQL query
Nominee Neal Baer had what result?
SELECT Result FROM table WHERE Nominee(s) = neal baer
Translate the following into a SQL query
What episode after 1998 had John Wells as the nominee?
SELECT Episode FROM table WHERE Year > 1998 AND Nominee(s) = john wells
Translate the following into a SQL query
Who has the world record of 153kg in the clean & jerk?
SELECT 153kg FROM table WHERE World record = clean & jerk
Translate the following into a SQL query
What's the release date for the processor spec number SLBEQ(d0)?
SELECT Release date FROM table WHERE sSpec number = slbeq(d0)
Translate the following into a SQL query
What's the release date of model number CORE I7-940?
SELECT Release date FROM table WHERE Model number = core i7-940
Translate the following into a SQL query
What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O?
SELECT Release price ( USD ) FROM table WHERE I/O bus = 1 × 6.4 gt/s qpi AND Part number(s) = bx80601975at80601002274aa
Translate the following into a SQL query
What's the release price of a processor that has a frequency of 3.2 ghz and 1 × 6.4 gt/s qpi I/O?
SELECT Release price ( USD ) FROM table WHERE Frequency = 3.2 ghz AND I/O bus = 1 × 6.4 gt/s qpi
Translate the following into a SQL query
Who is the creator of the title 애장판 홍차왕자, aejangpan hongchawangja?
SELECT Creator FROM table WHERE Localized Title = 애장판 홍차왕자, aejangpan hongchawangja
Translate the following into a SQL query
What is the title in English for 애장판 홍차왕자, aejangpan hongchawangja?
SELECT Title FROM table WHERE Localized Title = 애장판 홍차왕자, aejangpan hongchawangja
Translate the following into a SQL query
What years did 홍차왕자 air?
SELECT Years FROM table WHERE Localized Title = 홍차왕자
Translate the following into a SQL query
What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, and the Paternal (Total) is larger than 442,000?
SELECT SUM AIDS Orphans as % of Orphans FROM table WHERE Double (AIDS Related) = 41,000 AND Paternal (Total) > 442,000
Translate the following into a SQL query
What is the Total Orphans number when the number of Total Orphans (AIDS Related) is < 100, and the Maternal (Total) is smaller than 31,000?
SELECT MIN Total Orphans (Total) FROM table WHERE Total Orphans (AIDS Related) = < 100 AND Maternal (Total) < 31,000
Translate the following into a SQL query
What's the term start date for Meretz?
SELECT Term start FROM table WHERE Party = meretz
Translate the following into a SQL query
How many clubs are involved when the clubs remaining are 2?
SELECT SUM Clubs involved FROM table WHERE Clubs remaining = 2
Translate the following into a SQL query
How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league?
SELECT New entries this round FROM table WHERE Leagues entering at this round = tff third league & turkish regional amateur league
Translate the following into a SQL query
What is the number of clubs remaining in the second round?
SELECT MIN Clubs remaining FROM table WHERE Round = second round
Translate the following into a SQL query
Which round has 4 clubs involved?
SELECT Round FROM table WHERE Clubs involved = 4
Translate the following into a SQL query
How many clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs remaining?
SELECT MIN Clubs involved FROM table WHERE Winners from previous round = 4 AND Clubs remaining > 4
Translate the following into a SQL query
What is the Away team at the game with a Score of 4 – 2?
SELECT Away team FROM table WHERE Score = 4 – 2
Translate the following into a SQL query
What is the Tie no of the game with an Attendance of 4,658?
SELECT Tie no FROM table WHERE Attendance = 4,658
Translate the following into a SQL query
What is the Home team at the Lincoln City Away game?
SELECT Home team FROM table WHERE Away team = lincoln city
Translate the following into a SQL query
What is the Away team at the game with a Score of 1 – 0 and Attendance of 1,791?
SELECT Away team FROM table WHERE Score = 1 – 0 AND Attendance = 1,791
Translate the following into a SQL query
What is the Home team of the game with a Score of 2 – 2?
SELECT Home team FROM table WHERE Score = 2 – 2
Translate the following into a SQL query
What is the Attendance of the game with a Score of 0 – 0?
SELECT Attendance FROM table WHERE Score = 0 – 0
Translate the following into a SQL query
What is the weight for Iraklis in 2008?
SELECT Weight FROM table WHERE 2008 club = iraklis
Translate the following into a SQL query
What year had Nintendo EAD, Monolith Soft as developers?
SELECT SUM Year FROM table WHERE Developer(s) = nintendo ead, monolith soft
Translate the following into a SQL query
what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos?
SELECT Location FROM table WHERE Designer = glen peloso AND Restaurant Name = joe boo's cookoos
Translate the following into a SQL query
Is the restaurant still open that had the original name of n/a, location of toronto, on and the designer meredith heron?
SELECT Still Open? FROM table WHERE Original Name = n/a AND Location = toronto, on AND Designer = meredith heron
Translate the following into a SQL query
is the restaurant locavore still open?
SELECT Still Open? FROM table WHERE Restaurant Name = locavore
Translate the following into a SQL query
is the restaurant bacchus roti with meredith heron as the designer still open?
SELECT Still Open? FROM table WHERE Designer = meredith heron AND Restaurant Name = bacchus roti
Translate the following into a SQL query
What year did the team from City of Aurora join?
SELECT AVG Year Joined (Or Joining) FROM table WHERE City = aurora
Translate the following into a SQL query
What was the total enrollment 08-09 of Franklin County?
SELECT COUNT Enrollment 08-09 FROM table WHERE School = franklin county
Translate the following into a SQL query
What school has a team called the Pirates?
SELECT School FROM table WHERE Team Name = pirates
Translate the following into a SQL query
What is the rank of the team with a time of 1:00.61?
SELECT AVG Rank FROM table WHERE Time = 1:00.61
Translate the following into a SQL query
What's the lane with a time of 1:00.66?
SELECT AVG Lane FROM table WHERE Time = 1:00.66
Translate the following into a SQL query
What's the rank when the time was 59.65?
SELECT Rank FROM table WHERE Time = 59.65
Translate the following into a SQL query
What is the record when they played New York?
SELECT Record FROM table WHERE Opponent = new york
Translate the following into a SQL query
Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma?
SELECT County FROM table WHERE Year Joined = 1964 AND Location = montezuma
Translate the following into a SQL query
Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears?
SELECT Conference Joined FROM table WHERE Location = terre haute AND Mascot = golden bears
Translate the following into a SQL query
Can you tell me the Mascot that has the School of rosedale?
SELECT Mascot FROM table WHERE School = rosedale
Translate the following into a SQL query
Can you tell me the Conference Joined that has the Mascot of little sycamores?
SELECT Conference Joined FROM table WHERE Mascot = little sycamores
Translate the following into a SQL query
Can you tell me the Location that has the Mascot of lakers?
SELECT Location FROM table WHERE Mascot = lakers
Translate the following into a SQL query
What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph?
SELECT Time FROM table WHERE Team = 348cc k4 honda AND Speed = 97.743mph
Translate the following into a SQL query
What is the Lane of the swimmer with a Time of 8:34.25?
SELECT Lane FROM table WHERE Time = 8:34.25
Translate the following into a SQL query
What is the Name of the swimmer with a Time of 9:04.86 in Heat 2?
SELECT Name FROM table WHERE Heat = 2 AND Time = 9:04.86
Translate the following into a SQL query
What is the Location of the Event in Round 1 with a Time of 1:25?
SELECT Location FROM table WHERE Round = 1 AND Time = 1:25
Translate the following into a SQL query
What is the average goals when the last appearance was before 1984, there were more than 17 appearances, the first appearance was before 1961 and the position was mf?
SELECT AVG Goals FROM table WHERE Last appearance < 1984 AND Appearances > 17 AND First appearance < 1961 AND Position = mf
Translate the following into a SQL query
what is the school that left in 1966?
SELECT School FROM table WHERE Year Left = 1966
Translate the following into a SQL query
what is the mascot for moores hill that joined later than 1952?
SELECT Mascot FROM table WHERE Year Joined > 1952 AND School = moores hill
Translate the following into a SQL query
what is the conference joined for the county 69 ripley in 1952 in versailles?
SELECT Conference Joined FROM table WHERE County = 69 ripley AND Year Joined = 1952 AND Location = versailles
Translate the following into a SQL query
who is the mascot of the county 78 switzerland?
SELECT Mascot FROM table WHERE County = 78 switzerland
Translate the following into a SQL query
What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8?
SELECT COUNT Time FROM table WHERE Lane < 8 AND Nationality = canada AND Rank < 8
Translate the following into a SQL query
What is the total react number with a time less than 20.05 and a lane less than 6?
SELECT COUNT React FROM table WHERE Time < 20.05 AND Lane < 6
Translate the following into a SQL query
What is the average react of bryan barnett, who has a lane less than 2?
SELECT AVG React FROM table WHERE Name = bryan barnett AND Lane < 2
Translate the following into a SQL query
What year did the Hornets leave the conference?
SELECT Year Left FROM table WHERE Team Name = hornets
Translate the following into a SQL query
In what city was the team that left the conference in 1949 based?
SELECT City FROM table WHERE Year Left = 1949
Translate the following into a SQL query
What year did the team based in the city of Winamac join the conference?
SELECT Year Joined FROM table WHERE City = winamac
Translate the following into a SQL query
From what county was the team that left the conference in 1993?
SELECT County FROM table WHERE Year Left = 1993
Translate the following into a SQL query
From what school was the team that left the conference in 1992?
SELECT School FROM table WHERE Year Left = 1992
Translate the following into a SQL query
In what year did the team from the Western school join the conference?
SELECT Year Joined FROM table WHERE School = western
Translate the following into a SQL query
What is the place when less than 1 point is scored?
SELECT AVG Place FROM table WHERE Points < 1
Translate the following into a SQL query
What is the highest draw number when 23 points are scored?
SELECT MAX Draw FROM table WHERE Points = 23
Translate the following into a SQL query
What is the lowest heat that had a time of 1:02.85 in a lane larger than 7?
SELECT MIN Heat FROM table WHERE Time = 1:02.85 AND Lane > 7
Translate the following into a SQL query
What is the sum of the lanes before heat 7 that elizabeth simmonds swam?
SELECT SUM Lane FROM table WHERE Heat < 7 AND Name = elizabeth simmonds
Translate the following into a SQL query
What's the Südbayern in 1928?
SELECT Südbayern FROM table WHERE Year = 1928
Translate the following into a SQL query
What's the Württemberg for Karlsruher FV happening after 1931?
SELECT Württemberg FROM table WHERE Baden = karlsruher fv AND Year > 1931
Translate the following into a SQL query
What's the year that has a Baden Freiburger FC?
SELECT COUNT Year FROM table WHERE Baden = freiburger fc
Translate the following into a SQL query
What's the Württemberg in the year before 1929?
SELECT Württemberg FROM table WHERE Year < 1929
Translate the following into a SQL query
What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932?
SELECT Nordbayern FROM table WHERE Year < 1932 AND Württemberg = union böckingen
Translate the following into a SQL query
What was the high rebounds for the game that had a score of w 76-66?
SELECT High rebounds FROM table WHERE Score = w 76-66
Translate the following into a SQL query
What was the location/attendance for the game with a record of 16-6?
SELECT Location/Attendance FROM table WHERE Record = 16-6
Translate the following into a SQL query
What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh?
SELECT Nationality FROM table WHERE Lane > 1 AND Rank > 5 AND Name = hsu chi-chieh
Translate the following into a SQL query
What is the lane with a time of 1:56.64, and a tank smaller than 7?
SELECT COUNT Lane FROM table WHERE Time = 1:56.64 AND Rank < 7
Translate the following into a SQL query
What is the rank of Japan?
SELECT Rank FROM table WHERE Nationality = japan
Translate the following into a SQL query
What is the time for Russia?
SELECT Time FROM table WHERE Nationality = russia
Translate the following into a SQL query
What nation has more than 0 silver medals and is ranked 1?
SELECT Nation FROM table WHERE Silver > 0 AND Rank = 1
Translate the following into a SQL query
What is the rank of the country with total more than 3 and more than 6 silver?
SELECT Rank FROM table WHERE Total > 3 AND Silver > 6
Translate the following into a SQL query
What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total?
SELECT MAX Silver FROM table WHERE Gold > 1 AND Bronze = 3 AND Rank = 1 AND Total < 12
Translate the following into a SQL query
What nation has a total less than 11, more than 1 silver and less than 1 bronze?
SELECT Nation FROM table WHERE Total < 11 AND Silver < 1 AND Bronze < 1
Translate the following into a SQL query
What is the most silver won by Norway?
SELECT MAX Silver FROM table WHERE Nation = norway
Translate the following into a SQL query
What district has a constituency of 60?
SELECT District FROM table WHERE Constituency number = 60
Translate the following into a SQL query
What is district has a name of Rajnagar?
SELECT District FROM table WHERE Name = rajnagar
Translate the following into a SQL query
What was the score for the away team of Brentford?
SELECT Score FROM table WHERE Away team = brentford
Translate the following into a SQL query
What was the score of the tied game or the away team of Crewe Alexandra?
SELECT Tie no FROM table WHERE Away team = crewe alexandra
Translate the following into a SQL query
What was the date of the game for the Wrexham away team?
SELECT Date FROM table WHERE Away team = wrexham
Translate the following into a SQL query
What was the date of the game for the HartlePool United team?
SELECT Date FROM table WHERE Home team = hartlepool united
Translate the following into a SQL query
What is the number of tickets sold and available for the concert at Long Beach Arena?
SELECT Tickets sold / available FROM table WHERE Venue = long beach arena
Translate the following into a SQL query
Which city has a venue of the Arco Arena?
SELECT City FROM table WHERE Venue = arco arena
Translate the following into a SQL query
What is the lowest round that has kazushi sakuraba as the opponent?
SELECT MIN Round FROM table WHERE Opponent = kazushi sakuraba
Translate the following into a SQL query
Japan (JPN) with a total of less than 5, has what average gold medals?
SELECT AVG Gold FROM table WHERE Nation = japan (jpn) AND Total < 5
Translate the following into a SQL query
What is the average bronze medal when gold is greater than 0, and there is less than 0 silver medals?
SELECT AVG Bronze FROM table WHERE Gold > 0 AND Silver < 0
Translate the following into a SQL query
What is the sum of bronze medals when the rank is greater than 2, and less than 2 total medals with silver medals being more than 0?
SELECT COUNT Bronze FROM table WHERE Rank > 2 AND Total < 2 AND Silver > 0
Translate the following into a SQL query
With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total?
SELECT AVG Total FROM table WHERE Rank > 4 AND Silver > 0 AND Bronze < 1
Translate the following into a SQL query
What is the fewest gold medals when the bronze medals is greater than 5?
SELECT MIN Gold FROM table WHERE Bronze > 5
Translate the following into a SQL query
What is the player when the team is oakland raiders?
SELECT Player FROM table WHERE Team = oakland raiders