instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who was the opponent at the Staples Center?
SELECT Opponent FROM table WHERE Arena = staples center
Translate the following into a SQL query
In what arena was the game against the Sharks played?
SELECT Arena FROM table WHERE Opponent = sharks
Translate the following into a SQL query
What is the label with the LP format?
SELECT Label FROM table WHERE Format = lp
Translate the following into a SQL query
What date had a 4ad label and a CD (reissue) format?
SELECT Date FROM table WHERE Label = 4ad AND Format = cd (reissue)
Translate the following into a SQL query
Which country had a cad 4011 catalogue #?
SELECT Country FROM table WHERE Catalogue # = cad 4011
Translate the following into a SQL query
Which date was for Japan?
SELECT Date FROM table WHERE Country = japan
Translate the following into a SQL query
What is the label on the United States?
SELECT Label FROM table WHERE Country = united states
Translate the following into a SQL query
What is the date with the catalogue # cocy-80093?
SELECT Date FROM table WHERE Catalogue # = cocy-80093
Translate the following into a SQL query
What category was danson tang nominated?
SELECT Category FROM table WHERE Nomination = danson tang
Translate the following into a SQL query
What was the total number of years than had best improved singer (躍進歌手)?
SELECT SUM Year FROM table WHERE Category = best improved singer (躍進歌手)
Translate the following into a SQL query
Who constructed the car with a grid over 19 that retired due to suspension?
SELECT Constructor FROM table WHERE Grid > 19 AND Time/Retired = suspension
Translate the following into a SQL query
What driver has a 9 grid total?
SELECT Driver FROM table WHERE Grid = 9
Translate the following into a SQL query
What was the winning car's chassis for the 1982 season?
SELECT Chassis FROM table WHERE Season = 1982
Translate the following into a SQL query
Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis?
SELECT Team FROM table WHERE Chassis = dallara f302 AND Champion = bastian kolmsee
Translate the following into a SQL query
What chassis was the car with the Volkswagen engine built on in 2010?
SELECT Chassis FROM table WHERE Engine = volkswagen AND Season = 2010
Translate the following into a SQL query
Which engine did Korten Motorsport use?
SELECT Engine FROM table WHERE Team = korten motorsport
Translate the following into a SQL query
Who was the champion that drove the car with the Ford engine in 1971?
SELECT Champion FROM table WHERE Engine = ford AND Season = 1971
Translate the following into a SQL query
In which season did Jimmy Eriksson win the championship for Team Lotus?
SELECT Season FROM table WHERE Team = lotus AND Champion = jimmy eriksson
Translate the following into a SQL query
Which name had 6 goals?
SELECT Name FROM table WHERE Goals = 6
Translate the following into a SQL query
What is the largest goal number when the transfer fee was £0.8m?
SELECT MAX Goals FROM table WHERE Transfer fee = £0.8m
Translate the following into a SQL query
What is the location of a1 women's - handball?
SELECT Location FROM table WHERE Leagues = a1 women's - handball
Translate the following into a SQL query
What is the capacity at the nop aquatic centre, established after 1929?
SELECT COUNT Capacity FROM table WHERE Venue = nop aquatic centre AND Established > 1929
Translate the following into a SQL query
What is the capacity for b national - basketball?
SELECT COUNT Capacity FROM table WHERE Leagues = b national - basketball
Translate the following into a SQL query
What game week did the Buccaneers play against the Minnesota Vikings?
SELECT Week FROM table WHERE Opponent = minnesota vikings
Translate the following into a SQL query
What game week did the buccaneers have a record of 0-5?
SELECT Week FROM table WHERE Record = 0-5
Translate the following into a SQL query
What is the record of the buccaneers on December 4, 1983?
SELECT Record FROM table WHERE Date = december 4, 1983
Translate the following into a SQL query
What was the attendance at the game against Ottawa?
SELECT AVG Attendance FROM table WHERE Visitor = ottawa
Translate the following into a SQL query
What was the highest attendance at a Detroit home game?
SELECT MAX Attendance FROM table WHERE Home = detroit
Translate the following into a SQL query
Which team had an attendance larger than 14,333 in a game against Toronto?
SELECT Home FROM table WHERE Attendance > 14,333 AND Visitor = toronto
Translate the following into a SQL query
What was the attendance of the Florida vs. Montreal game?
SELECT AVG Attendance FROM table WHERE Home = florida AND Visitor = montreal
Translate the following into a SQL query
I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected
SELECT Condition FROM table WHERE Prothrombin time = unaffected AND Bleeding time = prolonged AND Partial thromboplastin time = unaffected AND Platelet count = decreased or unaffected
Translate the following into a SQL query
I want the condition that has a prolonged bleeding time and a platelet count of decreased or unaffected
SELECT Condition FROM table WHERE Bleeding time = prolonged AND Platelet count = decreased or unaffected
Translate the following into a SQL query
I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor
SELECT Prothrombin time FROM table WHERE Partial thromboplastin time = prolonged AND Bleeding time = unaffected AND Condition = factor xii deficiency
Translate the following into a SQL query
I want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time
SELECT Condition FROM table WHERE Partial thromboplastin time = prolonged AND Bleeding time = unaffected
Translate the following into a SQL query
What is the ICAO for Antalya Airport?
SELECT ICAO FROM table WHERE Airport = antalya airport
Translate the following into a SQL query
What is the IATA of Leonardo da Vinci-Fiumicino Airport?
SELECT IATA FROM table WHERE Airport = leonardo da vinci-fiumicino airport
Translate the following into a SQL query
What country is the IATA BLQ located in?
SELECT Country FROM table WHERE IATA = blq
Translate the following into a SQL query
What is the IATA of Madrid-Barajas Airport?
SELECT IATA FROM table WHERE Airport = madrid-barajas airport
Translate the following into a SQL query
Which city has the ICAO of LIRF?
SELECT City FROM table WHERE ICAO = lirf
Translate the following into a SQL query
Which city is Naples Airport located in?
SELECT City FROM table WHERE Airport = naples airport
Translate the following into a SQL query
Tell me the Ryuji Hijikata for TAKA Michinoku of Hayashi (28:05)
SELECT Ryuji Hijikata FROM table WHERE TAKA Michinoku = hayashi (28:05)
Translate the following into a SQL query
Tell me the Ryuji Hijikata for Block A of Ryuji Hijikata
SELECT Ryuji Hijikata FROM table WHERE Block A = ryuji hijikata
Translate the following into a SQL query
When South Melbourne was the Away Team, what was their score?
SELECT Away team score FROM table WHERE Away team = south melbourne
Translate the following into a SQL query
Tell me the away team score for away team of south melbourne
SELECT Away team score FROM table WHERE Away team = south melbourne
Translate the following into a SQL query
I want to know the away team score for vfl park venue
SELECT Away team score FROM table WHERE Venue = vfl park
Translate the following into a SQL query
Name the total number of tracks for of the fallen angel
SELECT COUNT Track FROM table WHERE Translation = the fallen angel
Translate the following into a SQL query
What driver went 14 rounds with a 193 Chassis?
SELECT Driver FROM table WHERE Chassis = 193 AND Rounds = 14
Translate the following into a SQL query
What engine was used when Aguri Suzuki drove the FA13B FA14 Chassis?
SELECT Engine FROM table WHERE Chassis = fa13b fa14 AND Driver = aguri suzuki
Translate the following into a SQL query
Who was the entrant for all the round with Jean Alesi?
SELECT Entrant FROM table WHERE Rounds = all AND Driver = jean alesi
Translate the following into a SQL query
What engine did Riccardo Patrese use?
SELECT Engine FROM table WHERE Driver = riccardo patrese
Translate the following into a SQL query
If the home team was footscray which venue did they play it?
SELECT Venue FROM table WHERE Home team = footscray
Translate the following into a SQL query
When the home team was footscray what did they score?
SELECT Home team score FROM table WHERE Home team = footscray
Translate the following into a SQL query
When the home team north melbourne was playing what did they score?
SELECT Home team score FROM table WHERE Home team = north melbourne
Translate the following into a SQL query
What is the score of the September 20, 2005 match when the Opponents are FC Bayern Munich?
SELECT Score FROM table WHERE Opponents = fc bayern munich AND Date = september 20, 2005
Translate the following into a SQL query
What is the match report for July 10, 2005?
SELECT Match Report FROM table WHERE Date = july 10, 2005
Translate the following into a SQL query
What is the date of the GC competition when the opponents are 1. FC Nuremberg?
SELECT Date FROM table WHERE Opponents = 1. fc nuremberg AND Competition = gc
Translate the following into a SQL query
Which competition was held on September 10, 2005?
SELECT Competition FROM table WHERE Date = september 10, 2005
Translate the following into a SQL query
In which competition was the score 3-0?
SELECT Competition FROM table WHERE Score = 3-0
Translate the following into a SQL query
Who was the visitor when the lakers were at home with a Score of 85–106?
SELECT Visitor FROM table WHERE Home = lakers AND Score = 85–106
Translate the following into a SQL query
what is the date of birth for the player with goals less than 4, games more than 1, years at club, 1945 and named jim young?
SELECT Date of birth FROM table WHERE Goals < 4 AND Games > 1 AND Years at club = 1945 AND Player = jim young
Translate the following into a SQL query
what is the debut year for player terry fulton with games less than 51?
SELECT AVG Debut year FROM table WHERE Player = terry fulton AND Games < 51
Translate the following into a SQL query
How people attended Victoria Park?
SELECT AVG Crowd FROM table WHERE Venue = victoria park
Translate the following into a SQL query
What is the away team score for South Melbourne?
SELECT Away team score FROM table WHERE Away team = south melbourne
Translate the following into a SQL query
Who played Melbourne as the home team?
SELECT Home team FROM table WHERE Away team = melbourne
Translate the following into a SQL query
Which away team has an attendance of more than 17,000?
SELECT Away team FROM table WHERE Crowd > 17,000
Translate the following into a SQL query
Which away team played at MCG?
SELECT Away team FROM table WHERE Venue = mcg
Translate the following into a SQL query
What was the date when Geelong was the home team?
SELECT Date FROM table WHERE Home team = geelong
Translate the following into a SQL query
What is Damien Martyn's bowling style?
SELECT Bowling Style FROM table WHERE Player = damien martyn
Translate the following into a SQL query
What is the batting style of the player born on 14 November 1971?
SELECT Batting Style FROM table WHERE Date of Birth = 14 november 1971
Translate the following into a SQL query
What is the first class team of the player born on 23 February 1973?
SELECT First Class Team FROM table WHERE Date of Birth = 23 february 1973
Translate the following into a SQL query
What is the type for EU Council Presidency of UK and John Major as President-in-Office?
SELECT Type FROM table WHERE EU Council presidency = uk AND President-in-Office = john major
Translate the following into a SQL query
In which host city was Margaret Thatcher the President-in-Office in 1981?
SELECT Host city FROM table WHERE President-in-Office = margaret thatcher AND Year = 1981
Translate the following into a SQL query
How many average scores have preliminary scores over 9.25, interview scores more than 9.44, and evening gown scores of 9.77?
SELECT COUNT Average FROM table WHERE Preliminaries > 9.25 AND Interview > 9.44 AND Evening Gown = 9.77
Translate the following into a SQL query
What is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York?
SELECT MIN Interview FROM table WHERE Preliminaries < 9.4 AND Evening Gown < 9.55 AND Country = new york AND Swimsuit > 9.18
Translate the following into a SQL query
Name the seven for 29 november 1690
SELECT Seven FROM table WHERE Date = 29 november 1690
Translate the following into a SQL query
Name the four for 6 march 1801
SELECT Four FROM table WHERE Date = 6 march 1801
Translate the following into a SQL query
Name the three for william prewett for four and five being richard ellis with seven being nicholas king on 5 november 1693
SELECT Three FROM table WHERE Four = william prewett AND Five = richard ellis AND Seven = nicholas king AND Date = 5 november 1693
Translate the following into a SQL query
Name the three for 16 december 1676
SELECT Three FROM table WHERE Date = 16 december 1676
Translate the following into a SQL query
Tell me the average Grid for driver of Luca Badoer and Laps more than 69
SELECT AVG Grid FROM table WHERE Driver = luca badoer AND Laps > 69
Translate the following into a SQL query
What final was Farhad Rezaei in?
SELECT Final FROM table WHERE Athlete = farhad rezaei
Translate the following into a SQL query
What final was ranked 4?
SELECT Final FROM table WHERE Rank = 4
Translate the following into a SQL query
What was the reanking of Hamid Veisi?
SELECT Rank FROM table WHERE Athlete = hamid veisi
Translate the following into a SQL query
Which Franchise has a Percentage under 0.707, a Year larger than 1931, and the Finish was won 1998 World Series?
SELECT Franchise FROM table WHERE Percentage < 0.707 AND Year > 1931 AND Finish = won 1998 world series
Translate the following into a SQL query
What is the average Year for the Finish of lost 2001 alcs and the Percentage is over 0.716?
SELECT AVG Year FROM table WHERE Finish = lost 2001 alcs AND Percentage > 0.716
Translate the following into a SQL query
In the Year 1939, what was the Finish when Al was the League?
SELECT Finish FROM table WHERE League = al AND Year = 1939
Translate the following into a SQL query
What was the Finish when NL was the League, the Percentage was under 0.726, the Year was larger than 1897, and the Franchies was the Pittsburgh Pirates?
SELECT Finish FROM table WHERE League = nl AND Percentage < 0.726 AND Year > 1897 AND Franchise = pittsburgh pirates
Translate the following into a SQL query
What was the venue when the home team was footscray?
SELECT Venue FROM table WHERE Home team = footscray
Translate the following into a SQL query
What was the crowd when the away team was hawthorn?
SELECT MIN Crowd FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
What city houses the Ciro Vigorito stadium?
SELECT City FROM table WHERE Stadium = ciro vigorito
Translate the following into a SQL query
I want to know the highest silver for total of 4 for poland and gold less than 1
SELECT MAX Silver FROM table WHERE Total = 4 AND Nation = poland AND Gold < 1
Translate the following into a SQL query
Tell me the average silver for total more than 1 with bronze of 2 for france and gold more than 0
SELECT AVG Silver FROM table WHERE Total > 1 AND Bronze = 2 AND Nation = france AND Gold > 0
Translate the following into a SQL query
Tell me the number of gold for albania with a silver of 1 and total less than 1
SELECT COUNT Gold FROM table WHERE Silver = 1 AND Nation = albania AND Total < 1
Translate the following into a SQL query
Tell me the average gold for moldova and bronze less than 1
SELECT AVG Gold FROM table WHERE Nation = moldova AND Bronze < 1
Translate the following into a SQL query
Tell me the sum of gold for bronze less than 0
SELECT SUM Gold FROM table WHERE Bronze < 0
Translate the following into a SQL query
What tyre was used in the Zandvoort circuit?
SELECT Tyre FROM table WHERE Circuit = zandvoort
Translate the following into a SQL query
Which circuit did Alberto Ascari set the fastest lap time with a Ferrari?
SELECT Circuit FROM table WHERE Constructor = ferrari AND Fastest lap = alberto ascari
Translate the following into a SQL query
Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time?
SELECT Winning driver FROM table WHERE Constructor = ferrari AND Fastest lap = luigi villoresi
Translate the following into a SQL query
Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time?
SELECT Race FROM table WHERE Pole position = alberto ascari AND Winning driver = alberto ascari AND Fastest lap = luigi villoresi
Translate the following into a SQL query
Which county is named broderick wood products?
SELECT County FROM table WHERE Name = broderick wood products
Translate the following into a SQL query
What construction completed is named nelson tunnel/commodore waste rock?
SELECT Construction completed FROM table WHERE Name = nelson tunnel/commodore waste rock