instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Result of 1st, and a Venue of melbourne , australia, and a Extra of 100 m happened in which year?
SELECT Year FROM table WHERE Result = 1st AND Venue = melbourne , australia AND Extra = 100 m
Translate the following into a SQL query
Name the rectifier for Det/Pre-amp of x and # tubes of 4
SELECT Rectifier FROM table WHERE Det/Pre-amp = x AND # Tubes = 4
Translate the following into a SQL query
Name the # tubes with Det/Pre-amp of x and audio amp of x x (push-pull)
SELECT # Tubes FROM table WHERE Det/Pre-amp = x AND Audio Amp = x x (push-pull)
Translate the following into a SQL query
Name the det/pre-amp with # of tubes of 8
SELECT Det/Pre-amp FROM table WHERE # Tubes = 8
Translate the following into a SQL query
Name the det/pre-amp with # tubes of 4 and rectifier of x
SELECT Det/Pre-amp FROM table WHERE # Tubes = 4 AND Rectifier = x
Translate the following into a SQL query
Name the # tubes with audio amp of x
SELECT # Tubes FROM table WHERE Audio Amp = x
Translate the following into a SQL query
What type of Competition has a Goal of 3?
SELECT Competition FROM table WHERE Goal = 3
Translate the following into a SQL query
Which Competition has the Date July 1, 2000?
SELECT Competition FROM table WHERE Date = july 1, 2000
Translate the following into a SQL query
Which years did James Robert Jones serve?
SELECT Years FROM table WHERE Representative = james robert jones
Translate the following into a SQL query
James Hutchins Johnson, from New Hampshire, served during what years?
SELECT Years FROM table WHERE State = new hampshire AND Representative = james hutchins johnson
Translate the following into a SQL query
Who is the team that has played more than 18 games and has 6 losses?
SELECT Team Name FROM table WHERE Losses = 6 AND Games > 18
Translate the following into a SQL query
Which season did the Burnaby Lakers have less than 16 points and less than 18 losses?
SELECT Season FROM table WHERE Points < 16 AND Losses = 18
Translate the following into a SQL query
Which team had more than 15 losses in 1988?
SELECT Team Name FROM table WHERE Losses > 15 AND Season = 1988
Translate the following into a SQL query
How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games?
SELECT SUM Losses FROM table WHERE Team Name = burnaby lakers AND Points = 8 AND Season = 1998 AND Games < 25
Translate the following into a SQL query
What was the school for the player who was a DL?
SELECT School/Club Team FROM table WHERE Position = dl
Translate the following into a SQL query
Which pick was used on Ian Hazlett?
SELECT MIN Pick FROM table WHERE Player = ian hazlett
Translate the following into a SQL query
Which Thumb stick has a Basic shape of curved, a Backlit of yes, and a Supplier of genius?
SELECT Thumb stick FROM table WHERE Basic shape = curved AND Backlit = yes AND Supplier = genius
Translate the following into a SQL query
Which Thumb stick has a Wrist pad of no, and a Supplier of sharkoon?
SELECT Thumb stick FROM table WHERE Wrist pad = no AND Supplier = sharkoon
Translate the following into a SQL query
Which keys (x modes) have a Supplier of wolfking?
SELECT Keys (x modes) FROM table WHERE Supplier = wolfking
Translate the following into a SQL query
Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+?
SELECT Supplier FROM table WHERE Basic shape = flat AND Wrist pad = no AND Keys (x modes) = 25+
Translate the following into a SQL query
Who was the opponent with the time 3:59?
SELECT Opponent FROM table WHERE Time = 3:59
Translate the following into a SQL query
Name the Israel Bowl for march 30, 2012
SELECT Israel Bowl FROM table WHERE Date = march 30, 2012
Translate the following into a SQL query
Name the venue for march 28, 2008
SELECT Venue FROM table WHERE Date = march 28, 2008
Translate the following into a SQL query
Name the champion for israel bowl of iv
SELECT Champion FROM table WHERE Israel Bowl = iv
Translate the following into a SQL query
Name the season for runner up of judean rebels
SELECT Season FROM table WHERE Runner Up = judean rebels
Translate the following into a SQL query
On what date did the event begin that had a steam traction type and used the system named HSM (1883–1910) GT (1915–1922)?
SELECT Date (From) FROM table WHERE Name of System = hsm (1883–1910) gt (1915–1922) AND Traction Type = steam
Translate the following into a SQL query
On what date did the event at Zaltbommel begin?
SELECT Date (From) FROM table WHERE Location = zaltbommel
Translate the following into a SQL query
At what location did the event that used electric traction and system name ATM (1880–1911) GETA (1911–1944) occur?
SELECT Location FROM table WHERE Name of System = atm (1880–1911) geta (1911–1944) AND Traction Type = electric
Translate the following into a SQL query
What is the to par of the player from England with a t1 place?
SELECT To par FROM table WHERE Country = england AND Place = t1
Translate the following into a SQL query
What is the country sergio garcía, who has a score of 69-70-67=206, is from?
SELECT Country FROM table WHERE Score = 69-70-67=206 AND Player = sergio garcía
Translate the following into a SQL query
What is the to par of the player from the United States with a t5 place?
SELECT To par FROM table WHERE Country = united states AND Place = t5
Translate the following into a SQL query
What is the to par of the player from the United States with a score of 69-68-65=202?
SELECT To par FROM table WHERE Country = united states AND Score = 69-68-65=202
Translate the following into a SQL query
How many lanes had a rank smaller than 4 and a time of 2:01.51?
SELECT COUNT Lane FROM table WHERE Time = 2:01.51 AND Rank < 4
Translate the following into a SQL query
What was the time of the person in lane 7?
SELECT Time FROM table WHERE Lane = 7
Translate the following into a SQL query
How many employees at nokia, ranked under 3?
SELECT MAX Employees FROM table WHERE Company = nokia AND Rank < 3
Translate the following into a SQL query
The person with a rank of 8 moving to Shakhtar Donetsk was moving from what Ukrainian Football Club as a transfer?
SELECT Moving from FROM table WHERE Moving to = shakhtar donetsk AND Rank = 8
Translate the following into a SQL query
Ismaël Bangoura with a rank larger than 5 after the year 2005 was moving to what football club?
SELECT Moving to FROM table WHERE Year > 2005 AND Rank > 5 AND Name = ismaël bangoura
Translate the following into a SQL query
The player with a rank of 9, made a move from what football club?
SELECT Moving from FROM table WHERE Rank = 9
Translate the following into a SQL query
Moving from Nancy after 2005, what is listed as the lowest rank?
SELECT MIN Rank FROM table WHERE Year > 2005 AND Moving from = nancy
Translate the following into a SQL query
What is the listed year that has a rank smaller than 8 and moving from Olympiacos?
SELECT Year FROM table WHERE Rank < 8 AND Moving from = olympiacos
Translate the following into a SQL query
Which team plays in Goa, Salcette?
SELECT Home venue FROM table WHERE State = goa AND City = salcette
Translate the following into a SQL query
Where is the home venue of Bengaluru FC?
SELECT Home venue FROM table WHERE Team = bengaluru fc
Translate the following into a SQL query
What is the state of the team who plays in Mumbai?
SELECT State FROM table WHERE Team = mumbai
Translate the following into a SQL query
Where is the city of Maharashtra's Pune team?
SELECT City FROM table WHERE State = maharashtra AND Team = pune
Translate the following into a SQL query
How much Money is requested by BassToneSlap?
SELECT Money requested (£) FROM table WHERE Company or product name = basstoneslap
Translate the following into a SQL query
Which Investing Dragon has requested £100,000 and is supported by Entrepreneur Kay Russell?
SELECT Investing Dragon(s) FROM table WHERE Money requested (£) = 100,000 AND Entrepreneur(s) = kay russell
Translate the following into a SQL query
What is the name of the Company or Product that is Episode 3 and is suppoted by Investing Dragon Deborah Meaden?
SELECT Company or product name FROM table WHERE Episode = episode 3 AND Investing Dragon(s) = deborah meaden
Translate the following into a SQL query
Which Episode has requested £150,000?
SELECT Episode FROM table WHERE Money requested (£) = 150,000
Translate the following into a SQL query
What is the counting method for a network-centric basis?
SELECT Counting Method FROM table WHERE Basis = network-centric
Translate the following into a SQL query
What is the directed/undirected for mfinder, which has a network-centric basis?
SELECT Directed / Undirected FROM table WHERE Name = mfinder AND Basis = network-centric
Translate the following into a SQL query
What is the directed/undirected of fpf (mavisto), which has an induced/non-induced of induced?
SELECT Directed / Undirected FROM table WHERE Induced / Non-Induced = induced AND Name = fpf (mavisto)
Translate the following into a SQL query
What is the name of the algorithm with a directed/undirected of both and a subgraph-centric basis?
SELECT Name FROM table WHERE Directed / Undirected = both AND Basis = subgraph-centric
Translate the following into a SQL query
What is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method?
SELECT Directed / Undirected FROM table WHERE Induced / Non-Induced = induced AND Counting Method = exact AND Name = mfinder
Translate the following into a SQL query
Who is the opponent for the winner outcome on a hard surface on August 27, 2011?
SELECT Opponent FROM table WHERE Outcome = winner AND Surface = hard AND Date = august 27, 2011
Translate the following into a SQL query
What was the outcome on August 5, 2007?
SELECT Outcome FROM table WHERE Date = august 5, 2007
Translate the following into a SQL query
What was the score on January 16, 2010?
SELECT Score FROM table WHERE Date = january 16, 2010
Translate the following into a SQL query
What country is Paul Runyan from?
SELECT Country FROM table WHERE Name = paul runyan
Translate the following into a SQL query
What is the To par of Willie MacFarlane from the country of Scotland?
SELECT To par FROM table WHERE Country = scotland AND Name = willie macfarlane
Translate the following into a SQL query
What country has a To par of +1 and the score of 71-76-70=217?
SELECT Country FROM table WHERE To par = +1 AND Score = 71-76-70=217
Translate the following into a SQL query
What player scored 143 goals?
SELECT Player FROM table WHERE Goals = 143
Translate the following into a SQL query
In what season was there a club of South Melbourne?
SELECT Season FROM table WHERE Club = south melbourne
Translate the following into a SQL query
What club scored 143 goals?
SELECT Club FROM table WHERE Goals = 143
Translate the following into a SQL query
In what season did Bob Pratt play?
SELECT Season FROM table WHERE Player = bob pratt
Translate the following into a SQL query
How many goals did the club from Hawthorn score in the 1971 season?
SELECT Goals FROM table WHERE Club = hawthorn AND Season = 1971
Translate the following into a SQL query
What source has july 1 as the date?
SELECT Score FROM table WHERE Date = july 1
Translate the following into a SQL query
What is the record that has an attendance greater than 39,980 with july 26 as the date?
SELECT Record FROM table WHERE Attendance > 39,980 AND Date = july 26
Translate the following into a SQL query
What is the Area of the town with a Population Density of 36 km and a population greater than 3,546?
SELECT SUM Area km² FROM table WHERE Density Population per km² = 36 AND Population > 3,546
Translate the following into a SQL query
Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people?
SELECT Municipality FROM table WHERE Area = outer circle south AND Area km² < 368 AND County = akershus AND Population > 14,398
Translate the following into a SQL query
What was the location of the game after game 6?
SELECT Location FROM table WHERE Game > 6
Translate the following into a SQL query
Who is in February where has September is kristine hanson?
SELECT February FROM table WHERE September = kristine hanson
Translate the following into a SQL query
Who is in January where April is chris cranston?
SELECT January FROM table WHERE April = chris cranston
Translate the following into a SQL query
Who is in July where October is jill de vries?
SELECT July FROM table WHERE October = jill de vries
Translate the following into a SQL query
Who is in November where February is willy rey?
SELECT November FROM table WHERE February = willy rey
Translate the following into a SQL query
Who is in November where October is jill de vries?
SELECT November FROM table WHERE October = jill de vries
Translate the following into a SQL query
Who is in July where February is linda forsythe?
SELECT July FROM table WHERE February = linda forsythe
Translate the following into a SQL query
What were the remarks for Dutch Antilles Express?
SELECT Remarks FROM table WHERE Airline = dutch antilles express
Translate the following into a SQL query
What were the remarks for a destination under 19 and rank less than 5?
SELECT Remarks FROM table WHERE Destination number < 19 AND Rank < 5
Translate the following into a SQL query
Name the date when the attendance is more than 45,817
SELECT Date FROM table WHERE Attendance > 45,817
Translate the following into a SQL query
Name the score for september 25
SELECT Score FROM table WHERE Date = september 25
Translate the following into a SQL query
What is the lowest year that has athens, greece as the venue?
SELECT MIN Year FROM table WHERE Venue = athens, greece
Translate the following into a SQL query
Which venue has 1st as the result?
SELECT Venue FROM table WHERE Result = 1st
Translate the following into a SQL query
What extra has world championships as the tournament, and 1st as the result?
SELECT Extra FROM table WHERE Tournament = world championships AND Result = 1st
Translate the following into a SQL query
For all countries with 7 bronze medals and a total number of medals less than 13, what's the sum of silver medals?
SELECT SUM Silver FROM table WHERE Bronze = 7 AND Total < 13
Translate the following into a SQL query
For countries with total number of medals less than 5 and more than 2 bronze medals, what's the lowest number of gold medals?
SELECT MIN Gold FROM table WHERE Total < 5 AND Bronze > 2
Translate the following into a SQL query
Which Class has Laps of 31?
SELECT Class FROM table WHERE Laps = 31
Translate the following into a SQL query
What is the gender for the person that recieved over 11,542 votes in pasadena?
SELECT Gender FROM table WHERE Votes > 11,542 AND Residence = pasadena
Translate the following into a SQL query
What country team had Thurles Sarsfields?
SELECT County team FROM table WHERE Club team(s) = thurles sarsfields
Translate the following into a SQL query
How many club teams had more than 14 people?
SELECT Club team(s) FROM table WHERE Team Number > 14
Translate the following into a SQL query
Who is from Spain with a to par of e?
SELECT Player FROM table WHERE To par = e AND Country = spain
Translate the following into a SQL query
Where was Steve Stricker from?
SELECT Place FROM table WHERE Player = steve stricker
Translate the following into a SQL query
Which country has 69 score?
SELECT Country FROM table WHERE Score = 69
Translate the following into a SQL query
How many laps were there when the start was 12?
SELECT COUNT Laps FROM table WHERE Start = 12
Translate the following into a SQL query
What was the qual when the rank was 2?
SELECT Qual FROM table WHERE Rank = 2
Translate the following into a SQL query
Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1
SELECT Call sign FROM table WHERE Frequency MHz > 90.1 AND ERP W = 1
Translate the following into a SQL query
Name the total number of ERP W when the call sign is w217bf
SELECT COUNT ERP W FROM table WHERE Call sign = w217bf
Translate the following into a SQL query
Name the total number of frequency Mhz for when it has ERP W of 1 and call sign of w215bj
SELECT COUNT Frequency MHz FROM table WHERE ERP W = 1 AND Call sign = w215bj
Translate the following into a SQL query
Name the average ERP W when it has a city of license of pound, virginia and frequency mhz more than 91.3
SELECT AVG ERP W FROM table WHERE City of license = pound, virginia AND Frequency MHz > 91.3
Translate the following into a SQL query
What is the Score that has a Result of 2–2 on 04 Dec 2005?
SELECT Score FROM table WHERE Result = 2–2 AND Date = 04 dec 2005
Translate the following into a SQL query
What is the Result on 26 jan 2005?
SELECT Result FROM table WHERE Date = 26 jan 2005
Translate the following into a SQL query
What is the Venue on 26 jan 2005
SELECT Venue FROM table WHERE Date = 26 jan 2005