instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Where was the attempt on the Prime Minister of Sri Lanka's life made?
SELECT Location FROM table WHERE Title at the Time = Prime Minister of Sri Lanka
Translate the following into a SQL query
What is every original language for book series Little House on the Prairie?
SELECT Original language FROM table WHERE Book series = Little House on the Prairie
Translate the following into a SQL query
What are all approximate sales for the author Laura Ingalls Wilder?
SELECT Approximate sales FROM table WHERE Author = Laura Ingalls Wilder
Translate the following into a SQL query
Name the most number for notre dame prep
SELECT MAX # FROM table WHERE Former School = Notre Dame Prep
Translate the following into a SQL query
Name the ends won for blank ends for 0
SELECT Ends Won FROM table WHERE Blank Ends = 0
Translate the following into a SQL query
Name the stolen ends for germany
SELECT MIN Stolen Ends FROM table WHERE Country = Germany
Translate the following into a SQL query
Name the least ends won for pf being 78
SELECT MIN Ends Won FROM table WHERE PF = 78
Translate the following into a SQL query
What is the stadium in Kuopio?
SELECT Stadium FROM table WHERE Location = Kuopio
Translate the following into a SQL query
Who is the kitmaker for TPS?
SELECT Kitmaker FROM table WHERE Club = TPS
Translate the following into a SQL query
What is the largest capacity for a stadium?
SELECT MAX Capacity FROM table
Translate the following into a SQL query
Which stadium is managed by Kari Martonen?
SELECT Stadium FROM table WHERE Manager = Kari Martonen
Translate the following into a SQL query
How many capacities are given for FF Jaro club?
SELECT COUNT Capacity FROM table WHERE Club = FF Jaro
Translate the following into a SQL query
How many managers for club in Turku where kitmaker is Puma?
SELECT COUNT Manager FROM table WHERE Kitmaker = Puma AND Location = Turku
Translate the following into a SQL query
How many times was episode 5 in the series aired on Fox int.?
SELECT COUNT Fox Int. Channels air date FROM table WHERE Series # = 5
Translate the following into a SQL query
What was the qualifying score of the competition whose final score was 12.200?
SELECT Score-Qualifying FROM table WHERE Score-Final = 12.200
Translate the following into a SQL query
Where was the competition with a qualifying score of 58.425?
SELECT Location FROM table WHERE Score-Qualifying = 58.425
Translate the following into a SQL query
How many competitions had a final score of 15.650?
SELECT COUNT Competition Description FROM table WHERE Score-Final = 15.650
Translate the following into a SQL query
In what year was the score 7–5, 7–6 (7–5)?
SELECT Year FROM table WHERE Score = 7–5, 7–6 (7–5)
Translate the following into a SQL query
When the opponent was Yan Zi Jie Zheng, what was the outcome?
SELECT Outcome FROM table WHERE Opponents = Yan Zi Jie Zheng
Translate the following into a SQL query
In the year 2013, what was the outcome?
SELECT Outcome FROM table WHERE Year = 2013
Translate the following into a SQL query
Who was the partner when the score was 7–5, 7–6 (7–5)?
SELECT Partner FROM table WHERE Score = 7–5, 7–6 (7–5)
Translate the following into a SQL query
When the surface was Hard (i), what was the score?
SELECT Score FROM table WHERE Surface = Hard (i)
Translate the following into a SQL query
In which championship was the partner Jie Zheng?
SELECT Championship FROM table WHERE Partner = Jie Zheng
Translate the following into a SQL query
What are the number of points for associated with exactly 3 stolen ends?
SELECT COUNT PF FROM table WHERE Stolen Ends = 3
Translate the following into a SQL query
How many position did a player took while weighing 170?
SELECT COUNT Position FROM table WHERE Weight = 170
Translate the following into a SQL query
What were the former schools of the player from East Brunswick, NJ?
SELECT Former school FROM table WHERE Hometown = East Brunswick, NJ
Translate the following into a SQL query
What was the height of this Freshman with a forward position?
SELECT Height FROM table WHERE Position = Forward AND Year = Freshman
Translate the following into a SQL query
If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term?
SELECT Start date of (first) term FROM table WHERE Date of birth = 1961-08-09 9 August 1961
Translate the following into a SQL query
If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?
SELECT End date of (final) term FROM table WHERE Prime Minister = Palmer, Geoffrey Geoffrey Palmer
Translate the following into a SQL query
What is the population if the city is Gilroy?
SELECT Population FROM table WHERE City = Gilroy
Translate the following into a SQL query
If Democratic is 42.5%, what is the city?
SELECT City FROM table WHERE Democratic = 42.5%
Translate the following into a SQL query
If the registered voters is 66.8%, what is the minimum population?
SELECT MIN Population FROM table WHERE Registered voters = 66.8%
Translate the following into a SQL query
What is the other is the city is Los Gatos?
SELECT Other FROM table WHERE City = Los Gatos
Translate the following into a SQL query
What is the d-r spread if the no party preference is 31.8%?
SELECT D–R spread FROM table WHERE No party preference = 31.8%
Translate the following into a SQL query
If the city is Santa Clara, what is the population total number?
SELECT COUNT Population FROM table WHERE City = Santa Clara
Translate the following into a SQL query
In what prefecture is Susaki located?
SELECT Prefecture FROM table WHERE City/Town = Susaki
Translate the following into a SQL query
How many previous years did Maebashi Ikuei high school have a total number of 1 participation?
SELECT COUNT Year of Previous Participation FROM table WHERE Total Number of Participation = 1 AND High School Name = Maebashi Ikuei
Translate the following into a SQL query
In what prefecture is Nihon Bunri located?
SELECT Prefecture FROM table WHERE High School Name = Nihon Bunri
Translate the following into a SQL query
In what prefecture is Daito located?
SELECT Prefecture FROM table WHERE City/Town = Daito
Translate the following into a SQL query
Which high school is located in Kyoto?
SELECT High School Name FROM table WHERE Prefecture = Kyoto
Translate the following into a SQL query
What was the year of previous participation for the school in the Kagoshima prefecture?
SELECT Year of Previous Participation FROM table WHERE Prefecture = Kagoshima
Translate the following into a SQL query
What was the data on January 15-16 if March 27-29 is March 29, 2006?
SELECT January 15-16 FROM table WHERE March 27-29 = March 29, 2006
Translate the following into a SQL query
What was the data on November 3, if the data on January 15-16 is January 15, 2010?
SELECT November 3 FROM table WHERE January 15-16 = January 15, 2010
Translate the following into a SQL query
How many datas were recorded on January 15-16 if August 21-22 is 155?
SELECT COUNT January 15-16 FROM table WHERE August 21-22 = 155
Translate the following into a SQL query
What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?
SELECT January 15-16 FROM table WHERE June 10-11 = June 10, 1964
Translate the following into a SQL query
How many data are on points for if the percentage is 94.29?
SELECT COUNT Points for FROM table WHERE Percentage (%) = 94.29
Translate the following into a SQL query
Who was the opponent with a points for of 177?
SELECT Opponent FROM table WHERE Points for = 177
Translate the following into a SQL query
What was the minimum points against if the opponent is Port Adelaide?
SELECT MIN Points against FROM table WHERE Opponent = Port Adelaide
Translate the following into a SQL query
If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders?
SELECT Rider FROM table WHERE Thurs 3 June = 20' 27.93 110.615mph
Translate the following into a SQL query
What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph?
SELECT COUNT Tues 1 June FROM table WHERE Mon 31 May = 20' 15.35 111.761mph
Translate the following into a SQL query
What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph?
SELECT Fri 4 June FROM table WHERE Wed 2 June = 20' 11.98 112.071mph
Translate the following into a SQL query
If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?
SELECT COUNT Rider FROM table WHERE Tues 1 June = 21' 05.27 107.351mph
Translate the following into a SQL query
If Tuesday 1 June is 20' 59.60 107.834mph, what is the rank maximum?
SELECT MAX Rank FROM table WHERE Tues 1 June = 20' 59.60 107.834mph
Translate the following into a SQL query
What is the Friday 4 June if the Wednesday 2 June is 20' 50.62 108.608mph?
SELECT Fri 4 June FROM table WHERE Wed 2 June = 20' 50.62 108.608mph
Translate the following into a SQL query
What is the 2 June time for the rider with time of 17' 48.58 127.111mph on 3 June?
SELECT Wed 2 June FROM table WHERE Thurs 3 June = 17' 48.58 127.111mph
Translate the following into a SQL query
How many times are listed for 31 May for the rider ranked 5?
SELECT COUNT Mon 31 May FROM table WHERE Rank = 5
Translate the following into a SQL query
What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?
SELECT Thurs 3 June FROM table WHERE Wed 2 June = 17' 45.11 127.525mph
Translate the following into a SQL query
Who is ranked 2?
SELECT Rider FROM table WHERE Rank = 2
Translate the following into a SQL query
How many times does November 3rd occur when January 15, 1991 does?
SELECT COUNT November 3 FROM table WHERE January 15-16 = January 15, 1991
Translate the following into a SQL query
When November is 153 what is the March number?
SELECT March 27-29 FROM table WHERE November 3 = 153
Translate the following into a SQL query
How many times does an occurance happen in June when it happens on NOvember 3, 1975?
SELECT COUNT June 10-11 FROM table WHERE November 3 = November 3, 1975
Translate the following into a SQL query
When march is 129 what is the August number?
SELECT August 21-22 FROM table WHERE March 27-29 = 129
Translate the following into a SQL query
How many numbers are there for August when March is 139?
SELECT COUNT August 21-22 FROM table WHERE March 27-29 = 139
Translate the following into a SQL query
How many teams have been in Topperserien for 8 seasons?
SELECT COUNT Team FROM table WHERE Seasons = 8
Translate the following into a SQL query
What is the maximum number of seasons for any team?
SELECT MAX Seasons FROM table
Translate the following into a SQL query
Which teams homeeground is Stemmemyren?
SELECT Team FROM table WHERE Home ground = Stemmemyren
Translate the following into a SQL query
What is the home ground for the team whose home city is Trondheim with 27 seasons?
SELECT Home ground FROM table WHERE Seasons = 27 AND Home city = Trondheim
Translate the following into a SQL query
What is the home city for the team whose home ground is dnb nor arena?
SELECT Home city FROM table WHERE Home ground = DnB Nor Arena
Translate the following into a SQL query
What Home city has the home ground Klepp stadion?
SELECT Home city FROM table WHERE Home ground = Klepp Stadion
Translate the following into a SQL query
How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?
SELECT COUNT Total electricity (GW·h) FROM table WHERE Renewable electricity w/o Hydro (GW·h) = 3601
Translate the following into a SQL query
How many data was given the total electricity in GW-h if % renewable is 92.3%?
SELECT COUNT Total electricity (GW·h) FROM table WHERE % Renewable = 92.3%
Translate the following into a SQL query
What was the maximum rank of the source with renewable percentage w/o hydro is 2.17%?
SELECT MAX Rank FROM table WHERE % Renewable w/o Hydro = 2.17%
Translate the following into a SQL query
How much was the minimum renewable electricity (GW-h) that is ranked 36?
SELECT MIN Renewable electricity (GW·h) FROM table WHERE Rank = 36
Translate the following into a SQL query
What was the state with the total electricity generated is 38380 gw-h?
SELECT State FROM table WHERE Total electricity (GW·h) = 38380
Translate the following into a SQL query
Who directed the episode titled "Big Time Blogger"?
SELECT Directed by FROM table WHERE Title = "Big Time Blogger"
Translate the following into a SQL query
What number episode in the series had a production code of 111?
SELECT No. in series FROM table WHERE Prod. code = 111
Translate the following into a SQL query
What number episode in the series had a production code of 110?
SELECT No. in series FROM table WHERE Prod. code = 110
Translate the following into a SQL query
How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn?
SELECT U.S. viewers (millions) FROM table WHERE Written by = Jed Spingarn AND No. in series = 7
Translate the following into a SQL query
What was the original U.S. air date of the episode directed by Julian Petrillo?
SELECT Original U.S. air date FROM table WHERE Directed by = Julian Petrillo
Translate the following into a SQL query
How many different original U.S. air dates appear where the U.S. viewers were 2.5 million?
SELECT COUNT Original U.S. air date FROM table WHERE U.S. viewers (millions) = 2.5
Translate the following into a SQL query
How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?
SELECT U.S. viewers (millions) FROM table WHERE Written by = Lazar Saric & Jed Spingarn
Translate the following into a SQL query
How many U.S. viewers were there for the number 4 episode in season?
SELECT U.S. viewers (millions) FROM table WHERE No. in season = 4
Translate the following into a SQL query
Name the least rank
SELECT MIN Rank FROM table
Translate the following into a SQL query
Name the growth rate for hooghly
SELECT Growth Rate FROM table WHERE District = Hooghly
Translate the following into a SQL query
Name the total number of rank for east midnapore
SELECT COUNT Rank FROM table WHERE District = East Midnapore
Translate the following into a SQL query
Name the total number of rank for growth raate for 14.47
SELECT COUNT Rank FROM table WHERE Growth Rate = 14.47
Translate the following into a SQL query
Who is the champion of the 1994 season?
SELECT Champion FROM table WHERE Season = 1994
Translate the following into a SQL query
Who is the best player in the 1998 season?
SELECT Best Player FROM table WHERE Season = 1998
Translate the following into a SQL query
What was the largest index the year/s forcible rapes numbered 1084?
SELECT MAX Index FROM table WHERE Forcible rape = 1084
Translate the following into a SQL query
How many violent catagories are listed for the year forcible rapes were 1156?
SELECT COUNT Violent FROM table WHERE Forcible rape = 1156
Translate the following into a SQL query
What was the largest number of aggravated assaults when there were 3811 robberies?
SELECT MAX Aggravated assault FROM table WHERE Robbery = 3811
Translate the following into a SQL query
What was the number of murders the year forcible rapes were at 166?
SELECT Murder FROM table WHERE Forcible rape = 166
Translate the following into a SQL query
How many violent crimes occurred the year that the index was 191037?
SELECT Violent FROM table WHERE Index = 191037
Translate the following into a SQL query
What date did "fast friends" originally air?
SELECT Original air date FROM table WHERE Title = "Fast Friends"
Translate the following into a SQL query
Who wrote episode number 149 in the series?
SELECT Written by FROM table WHERE No. in series = 149
Translate the following into a SQL query
What episode number in the series is "tough love"?
SELECT MAX No. in series FROM table WHERE Title = "Tough Love"
Translate the following into a SQL query
"It's not my job" is the minimum title in no. in season.
SELECT MIN No. in season FROM table WHERE Title = "It's Not My Job"
Translate the following into a SQL query
What title did Bill Foster direct ?
SELECT Title FROM table WHERE Directed by = Bill Foster
Translate the following into a SQL query
Kim Weiskopf and Jeff Franklin wrote all the no. in series.
SELECT No. in series FROM table WHERE Written by = Kim Weiskopf and Jeff Franklin
Translate the following into a SQL query
Which co-stars did Kalyanji-anandji direct in 1963?
SELECT Co-Stars FROM table WHERE Music Director = Kalyanji-Anandji AND Year = 1963