instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
How many new pageants does Aruba have?
SELECT COUNT New pageant FROM table WHERE Country/Territory = Aruba
Translate the following into a SQL query
which is the new pageant from spain?
SELECT New pageant FROM table WHERE Country/Territory = Spain
Translate the following into a SQL query
Who was the away team when Carlton was the home team?
SELECT Away team FROM table WHERE Home team = Carlton
Translate the following into a SQL query
what is the number of teams where conmebol 1996 did not qualify?
SELECT COUNT Team FROM table WHERE CONMEBOL 1996 = did not qualify
Translate the following into a SQL query
what is the racing club where copa libertadores 1997?
SELECT Copa Libertadores 1997 FROM table WHERE Team = Racing Club
Translate the following into a SQL query
what is th copa libertadores 1997 is qf?
SELECT Copa Libertadores 1997 FROM table WHERE Supercopa 1996 = QF
Translate the following into a SQL query
What's the maximum crowd when scg is the ground?
SELECT MAX Crowd FROM table WHERE Ground = SCG
Translate the following into a SQL query
What are the away teams when they scored 5.11 (41)?
SELECT Away team FROM table WHERE Away team score = 5.11 (41)
Translate the following into a SQL query
What are the ground when the away team scored 6.9 (45)?
SELECT Ground FROM table WHERE Away team score = 6.9 (45)
Translate the following into a SQL query
What are the ground where the crowd totals 19929?
SELECT Ground FROM table WHERE Crowd = 19929
Translate the following into a SQL query
Name the home team for manuka oval
SELECT Home team FROM table WHERE Ground = Manuka Oval
Translate the following into a SQL query
Name the away team score for richmond
SELECT Away team score FROM table WHERE Away team = Richmond
Translate the following into a SQL query
Who made the report when the home team is north Melbourne?
SELECT Report FROM table WHERE Home team = North Melbourne
Translate the following into a SQL query
Who played Richmond at home?
SELECT Home team FROM table WHERE Away team = Richmond
Translate the following into a SQL query
Who has the home ground Aami stadium?
SELECT Home team FROM table WHERE Ground = AAMI Stadium
Translate the following into a SQL query
Who were all candidate when incumbent was D. Wyatt Aiken?
SELECT Candidates FROM table WHERE Incumbent = D. Wyatt Aiken
Translate the following into a SQL query
How many incumbents for the district of South Carolina 5?
SELECT COUNT Incumbent FROM table WHERE District = South Carolina 5
Translate the following into a SQL query
Who was everyone first elected when incumbent was John J. Hemphill?
SELECT First elected FROM table WHERE Incumbent = John J. Hemphill
Translate the following into a SQL query
When the girls singles is lindaweni fanetri what is the mixed doubled?
SELECT Mixed doubles FROM table WHERE Girls singles = Lindaweni Fanetri
Translate the following into a SQL query
When the girls doubles is ayu pratiwi anggi widia what is the boys doubles?
SELECT Boys doubles FROM table WHERE Girls doubles = Ayu Pratiwi Anggi Widia
Translate the following into a SQL query
When mixed doubles is didit juang indrianto yayu rahayu what is the most current year?
SELECT MAX Year FROM table WHERE Mixed doubles = Didit Juang Indrianto Yayu Rahayu
Translate the following into a SQL query
When mixed doubles is danny bawa chrisnanta debby susanto what is the boys singles?
SELECT Boys singles FROM table WHERE Mixed doubles = Danny Bawa Chrisnanta Debby Susanto
Translate the following into a SQL query
When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles?
SELECT Mixed doubles FROM table WHERE Girls doubles = Anneke Feinya Agustin Wenny Setiawati
Translate the following into a SQL query
Name the total number of publishers for flushed away
SELECT COUNT Publisher(s) FROM table WHERE Video game = Flushed Away
Translate the following into a SQL query
Name the publisher for resident evil 4
SELECT Publisher(s) FROM table WHERE Video game = Resident Evil 4
Translate the following into a SQL query
What is the highest total number?
SELECT MAX Total# FROM table
Translate the following into a SQL query
How many of the episodes have Roger Goldby as the director?
SELECT Total# FROM table WHERE Director = Roger Goldby
Translate the following into a SQL query
Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer?
SELECT Title FROM table WHERE Director = Patrick Lau AND Writer = Lisa Holdsworth
Translate the following into a SQL query
What is the Closure date of Hunterston B
SELECT MIN Accounting closure date FROM table WHERE AGR Power Station = Hunterston B
Translate the following into a SQL query
How many power stations are connected to grid at Heysham 2
SELECT COUNT Connected to grid FROM table WHERE AGR Power Station = Heysham 2
Translate the following into a SQL query
What year did construction start at Heysham 1
SELECT Construction started FROM table WHERE AGR Power Station = Heysham 1
Translate the following into a SQL query
When did construction start on the Power station with a net MWE of 1190
SELECT MIN Construction started FROM table WHERE Net MWe = 1190
Translate the following into a SQL query
Name the most extra points for john heston
SELECT MAX Extra points FROM table WHERE Player = John Heston
Translate the following into a SQL query
Who scored the most points?
SELECT MAX Points FROM table
Translate the following into a SQL query
What position did Joe Maddock play?
SELECT Position FROM table WHERE Player = Joe Maddock
Translate the following into a SQL query
How many extra points did Paul Jones score?
SELECT COUNT Extra points FROM table WHERE Player = Paul Jones
Translate the following into a SQL query
How many points did Albert Herrnstein make?
SELECT Points FROM table WHERE Player = Albert Herrnstein
Translate the following into a SQL query
What positions did Paul Jones play?
SELECT Position FROM table WHERE Player = Paul Jones
Translate the following into a SQL query
What is the least amount of field goals made by a player?
SELECT MIN Field goals FROM table
Translate the following into a SQL query
How many extra points did Paul Dickey received
SELECT MAX Extra points 1 point FROM table WHERE Player = Paul Dickey
Translate the following into a SQL query
How many 5 points field goals is minimum
SELECT MIN Field goals (5 points) FROM table
Translate the following into a SQL query
How many player with total points of 75
SELECT COUNT Player FROM table WHERE Total Points = 75
Translate the following into a SQL query
Name the most field goals
SELECT MAX Field goals FROM table
Translate the following into a SQL query
Name the number of points for right halfback and starter being yes
SELECT COUNT Points FROM table WHERE Position = Right halfback AND Starter = yes
Translate the following into a SQL query
Na,e the number of field goals for right tackle
SELECT COUNT Field goals FROM table WHERE Position = Right tackle
Translate the following into a SQL query
Name the most extra points for right halfback
SELECT MAX Extra points FROM table WHERE Position = Right halfback
Translate the following into a SQL query
What positions does Tom Hammond play?
SELECT Position FROM table WHERE Player = Tom Hammond
Translate the following into a SQL query
What positions does Hal Weeks play?
SELECT Position FROM table WHERE Player = Hal Weeks
Translate the following into a SQL query
How many points does Clark have?
SELECT Points FROM table WHERE Player = Clark
Translate the following into a SQL query
How many points did the player who was right guard score?
SELECT COUNT Points FROM table WHERE Position = Right guard
Translate the following into a SQL query
Was there a starter when 3 touchdowns were scored?
SELECT Starter FROM table WHERE Touchdowns = 3
Translate the following into a SQL query
How many touchdowns were there when Heston was in play?
SELECT MAX Touchdowns FROM table WHERE Player = Heston
Translate the following into a SQL query
How many maximum points were there when the left tackle was played and there were 5 extra points?
SELECT MAX Points FROM table WHERE Position = Left tackle AND Extra points = 5
Translate the following into a SQL query
Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian?
SELECT COUNT UK co-presenter FROM table WHERE Co-presenter = Joe Swash AND Comedian = Russell Kane
Translate the following into a SQL query
What series have Caroline Flack as a main presenter?
SELECT Series FROM table WHERE Main presenter = Caroline Flack
Translate the following into a SQL query
Who is the co-presenter of the series Seven (2007)?
SELECT Co-presenter FROM table WHERE Series = Seven (2007)
Translate the following into a SQL query
Who is the main presenter of the series Twelve (2012)?
SELECT Main presenter FROM table WHERE Series = Twelve (2012)
Translate the following into a SQL query
Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)?
SELECT UK co-presenter FROM table WHERE Co-presenter = Joe Swash AND Series = Eleven (2011)
Translate the following into a SQL query
What position did Nell McAndrew finish?
SELECT Finished FROM table WHERE Celebrity = Nell McAndrew
Translate the following into a SQL query
Who was the champion boxer?
SELECT Celebrity FROM table WHERE Famous for = Champion boxer
Translate the following into a SQL query
When did Darren Day enter?
SELECT Entered FROM table WHERE Celebrity = Darren Day
Translate the following into a SQL query
What position did Tara Palmer-Tomkinson finish?
SELECT Finished FROM table WHERE Celebrity = Tara Palmer-Tomkinson
Translate the following into a SQL query
When did the 4th finisher enter?
SELECT Entered FROM table WHERE Finished = 4th
Translate the following into a SQL query
When did Darren Day enter?
SELECT Entered FROM table WHERE Celebrity = Darren Day
Translate the following into a SQL query
How many people finished 9th?
SELECT COUNT Exited FROM table WHERE Finished = 9th
Translate the following into a SQL query
What was the least amount of camp mates?
SELECT MIN Camp mates FROM table
Translate the following into a SQL query
Who directed series #4 that was teleplayed by David Simon?
SELECT COUNT Directed by FROM table WHERE Teleplay by = David Simon AND Series # = 4
Translate the following into a SQL query
What is the title of series #1?
SELECT Title FROM table WHERE Series # = 1
Translate the following into a SQL query
What is the finished place where exited is day 11?
SELECT Finished FROM table WHERE Exited = Day 11
Translate the following into a SQL query
Who is the famous for that finished 2nd?
SELECT Famous for FROM table WHERE Finished = 2nd
Translate the following into a SQL query
What is the famous for where the finished is 5th?
SELECT Famous for FROM table WHERE Finished = 5th
Translate the following into a SQL query
What is the exited day where the celebrity is vic reeves?
SELECT Exited FROM table WHERE Celebrity = Vic Reeves
Translate the following into a SQL query
what is the celebrity where the finished is 5th?
SELECT Celebrity FROM table WHERE Finished = 5th
Translate the following into a SQL query
When was incumbent John Thomas Wilson first elected?
SELECT First elected FROM table WHERE Incumbent = John Thomas Wilson
Translate the following into a SQL query
Who were the candidates in the election where John Beatty was the incumbent?
SELECT Candidates FROM table WHERE Incumbent = John Beatty
Translate the following into a SQL query
Who was the incumbent in the Ohio 16 district?
SELECT Incumbent FROM table WHERE District = Ohio 16
Translate the following into a SQL query
What is the average for the team with n/a in 1992 and 37 in 1992-93?
SELECT Average FROM table WHERE 1991-92 = N/A AND 1992-93 = 37
Translate the following into a SQL query
What is the result in 91-92 for the team with a 1.053 average?
SELECT 1991-92 FROM table WHERE Average = 1.053
Translate the following into a SQL query
What is the 92'-93 result for the team with 55 in 91'-92?
SELECT 1992-93 FROM table WHERE 1991-92 = 55
Translate the following into a SQL query
What is the average for the team with 39 in 1991-92?
SELECT Average FROM table WHERE 1991-92 = 39
Translate the following into a SQL query
Name the birth date for shirt number 7
SELECT Birth Date FROM table WHERE Shirt No = 7
Translate the following into a SQL query
Name the maximum height for yury berezhko
SELECT MAX Height FROM table WHERE Player = Yury Berezhko
Translate the following into a SQL query
Name the least points where 1989-90 is 31
SELECT MIN Points FROM table WHERE 1989-90 = 31
Translate the following into a SQL query
Name the 1991-1992 for river plate
SELECT 1991-1992 FROM table WHERE Team = River Plate
Translate the following into a SQL query
Which models can perform flops(@ 200mhz) is 3.2
SELECT Model FROM table WHERE GFLOPS(@ 200MHz) = 3.2
Translate the following into a SQL query
Which version of opengl is used by model sgx520?
SELECT OpenGL ES FROM table WHERE Model = SGX520
Translate the following into a SQL query
What is the die size(mm 2) for model sgx531?
SELECT Die Size (mm 2 ) [1] FROM table WHERE Model = SGX531
Translate the following into a SQL query
Name the total number of 1991-92 for 1992-93 for 44
SELECT COUNT 1991-92 FROM table WHERE 1992-93 = 44
Translate the following into a SQL query
Name the team for average 1.026 for 1991-92 being 40
SELECT Team FROM table WHERE Average = 1.026 AND 1991-92 = 40
Translate the following into a SQL query
Name the economic class for punong barangay being antonio b. gangan
SELECT Economic Class FROM table WHERE Punong Barangay (Term 2010-2013) = Antonio B. Gangan
Translate the following into a SQL query
Name the economic class for arnold g. apalla
SELECT Economic Class FROM table WHERE Punong Barangay (Term 2010-2013) = Arnold G. Apalla
Translate the following into a SQL query
Name the economic class for artemoio m. baymosa
SELECT Economic Class FROM table WHERE Punong Barangay (Term 2010-2013) = Artemoio M. Baymosa
Translate the following into a SQL query
Name the total number of 1stm when 2nd m is 125.5
SELECT COUNT 1st (m) FROM table WHERE 2nd (m) = 125.5
Translate the following into a SQL query
Name the overall wc points rank for 2nd m for 122.5
SELECT Overall WC points (Rank) FROM table WHERE 2nd (m) = 122.5
Translate the following into a SQL query
Name the number of nationality is tom hilde
SELECT COUNT Nationality FROM table WHERE Name = Tom Hilde
Translate the following into a SQL query
What was the original air date (atv) of the episode "Recall to Service"?
SELECT Original Air Date (ATV) FROM table WHERE Title = "Recall to Service"
Translate the following into a SQL query
Who was the director of the episode originally aired on 26 October 1969?
SELECT Director FROM table WHERE Original Air Date (ATV) = 26 October 1969
Translate the following into a SQL query
What is the lowest production number?
SELECT MIN Production no. FROM table
Translate the following into a SQL query
What is the title of the episode with the original air date of 28 September 1969?
SELECT Title FROM table WHERE Original Air Date (ATV) = 28 September 1969
Translate the following into a SQL query
What was the original air date (atv) of episode 1?
SELECT Original Air Date (ATV) FROM table WHERE Episode no. = 1