instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
After 2001, what is the sum of Belyando that have a Nebo greater than 2,522?
|
SELECT SUM Belyando FROM table WHERE Nebo > 2,522 AND Year > 2001
|
Translate the following into a SQL query
|
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals?
|
SELECT COUNT Bronze FROM table WHERE Gold < 2 AND Nation = uganda AND Total > 2
|
Translate the following into a SQL query
|
With less than 7 Silver medals, how many Gold medals did Canada receive?
|
SELECT MAX Gold FROM table WHERE Nation = canada AND Silver < 7
|
Translate the following into a SQL query
|
What is the outcome of a score that is 6–1, 6–4?
|
SELECT Outcome FROM table WHERE Score = 6–1, 6–4
|
Translate the following into a SQL query
|
What is the surface of the score, 7–6 (7–3) , 6–3?
|
SELECT Surface FROM table WHERE Score = 7–6 (7–3) , 6–3
|
Translate the following into a SQL query
|
What venue did he play in before 2008 and finished 14th (q)?
|
SELECT Venue FROM table WHERE Year < 2008 AND Position = 14th (q)
|
Translate the following into a SQL query
|
What competition did he compete in before 2007 in gothenburg, sweden?
|
SELECT Competition FROM table WHERE Year < 2007 AND Venue = gothenburg, sweden
|
Translate the following into a SQL query
|
What venue did he finish 7th?
|
SELECT Venue FROM table WHERE Position = 7th
|
Translate the following into a SQL query
|
Name the most performances for geoffrey fitton
|
SELECT MAX Performances FROM table WHERE Role = geoffrey fitton
|
Translate the following into a SQL query
|
Name the role for Feb 4, 1961 closing date
|
SELECT Role FROM table WHERE Closing date = feb 4, 1961
|
Translate the following into a SQL query
|
Name the theatre for aaron jablonski schuyler grogan with performances more than 49
|
SELECT Theatre FROM table WHERE Performances > 49 AND Role = aaron jablonski schuyler grogan
|
Translate the following into a SQL query
|
What are the titles for episodes prior to episode 4?
|
SELECT Title FROM table WHERE No. in series < 4
|
Translate the following into a SQL query
|
What are the titles for episodes prior to episode 4?
|
SELECT Title FROM table WHERE No. in series < 4
|
Translate the following into a SQL query
|
What the air dates for the episodes are episode 3 in the series?
|
SELECT Original air date FROM table WHERE No. in series > 3
|
Translate the following into a SQL query
|
How many laps resulted from a Qual of 165.229?
|
SELECT MAX Laps FROM table WHERE Qual = 165.229
|
Translate the following into a SQL query
|
Whent he start was 15, what was the Qual?
|
SELECT Qual FROM table WHERE Start = 15
|
Translate the following into a SQL query
|
What was the start result with a Rank of 7 and more than 100 laps?
|
SELECT Start FROM table WHERE Rank = 7 AND Laps > 100
|
Translate the following into a SQL query
|
Who was the shirt sponsor for the Blackburn Rovers?
|
SELECT Shirt sponsor FROM table WHERE Team = blackburn rovers
|
Translate the following into a SQL query
|
Who was the team captain of the Bolton Wanderers?
|
SELECT Captain FROM table WHERE Team = bolton wanderers
|
Translate the following into a SQL query
|
For which team did Adidas manufacture kits and TDK sponsor shirts?
|
SELECT Team FROM table WHERE Kit manufacturer = adidas AND Shirt sponsor = tdk
|
Translate the following into a SQL query
|
On which team was Robbie Earle the captain?
|
SELECT Team FROM table WHERE Captain = robbie earle
|
Translate the following into a SQL query
|
Who was the manager for the team with captain Neil Redfearn?
|
SELECT Manager 1 FROM table WHERE Captain = neil redfearn
|
Translate the following into a SQL query
|
Who was the team captain for Crystal Palace?
|
SELECT Captain FROM table WHERE Team = crystal palace
|
Translate the following into a SQL query
|
drop goals larger than 0, and a Penalties of 52, and a Number larger than 5 had what lowest score?
|
SELECT MIN Score FROM table WHERE drop goals > 0 AND Penalties = 52 AND Number > 5
|
Translate the following into a SQL query
|
Player of jaco coetzee, and a Tries larger than 6 had what total number of score?
|
SELECT COUNT Score FROM table WHERE Player = jaco coetzee AND Tries > 6
|
Translate the following into a SQL query
|
What is the highest round that has a draftee from Washington State University?
|
SELECT MAX Round FROM table WHERE School = washington state university
|
Translate the following into a SQL query
|
What round was Bob Randall selected in?
|
SELECT MAX Round FROM table WHERE Name = bob randall
|
Translate the following into a SQL query
|
Name the Ont of N.B. of 10 and normal total of 77
|
SELECT Ont. FROM table WHERE N.B. = 10 AND Normal total = 77
|
Translate the following into a SQL query
|
Name the date enacted for N.S. of 10 and normal total of 104
|
SELECT Date enacted FROM table WHERE N.S. = 10 AND Normal total = 104
|
Translate the following into a SQL query
|
Name the NS with normal total of 102
|
SELECT N.S. FROM table WHERE Normal total = 102
|
Translate the following into a SQL query
|
Name the normal with que of 24
|
SELECT Normal total FROM table WHERE Que. = 24
|
Translate the following into a SQL query
|
What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?
|
SELECT SUM Points FROM table WHERE Entrant = peter whitehead AND Chassis = alta f2
|
Translate the following into a SQL query
|
How many points does g a vandervell have?
|
SELECT Points FROM table WHERE Entrant = g a vandervell
|
Translate the following into a SQL query
|
How many total points were earned with ferrari 125 Chassis after 1952?
|
SELECT SUM Points FROM table WHERE Chassis = ferrari 125 AND Year > 1952
|
Translate the following into a SQL query
|
What is the total number of Points that Peter Whitehead earned in a Ferrari 125?
|
SELECT SUM Points FROM table WHERE Entrant = peter whitehead AND Chassis = ferrari 125
|
Translate the following into a SQL query
|
Name the D 44 when it has a D 40√ of r 16
|
SELECT D 44 + FROM table WHERE D 40 √ = r 16
|
Translate the following into a SQL query
|
Name the D 41 √ for having D 43 of r 13
|
SELECT D 41 √ FROM table WHERE D 43 O = r 13
|
Translate the following into a SQL query
|
Name the D 45+ which has D 42 of r 14
|
SELECT D 45 + FROM table WHERE D 42 O = r 14
|
Translate the following into a SQL query
|
Name the D 44 which has D 42 O of d 33
|
SELECT D 44 + FROM table WHERE D 42 O = d 33
|
Translate the following into a SQL query
|
Name the D 46 which has D 44 of r 25
|
SELECT D 46 + FROM table WHERE D 44 + = r 25
|
Translate the following into a SQL query
|
What was the rank of a transfer fee larger than 13 million, and after 2008?
|
SELECT COUNT Rank FROM table WHERE Transfer fee ( € million) > 13 AND Year > 2008
|
Translate the following into a SQL query
|
What president was elected in 2010?
|
SELECT President FROM table WHERE Elected = 2010
|
Translate the following into a SQL query
|
When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006?
|
SELECT AVG % 2006 FROM table WHERE seats 2001 > 15 AND % 2001 > 100
|
Translate the following into a SQL query
|
What is the sum of % for 2001 if 2001 seats equals 7?
|
SELECT COUNT % 2001 FROM table WHERE seats 2001 = 7
|
Translate the following into a SQL query
|
If 2006 is 13% and 2001 is greater than 12.1%, what is the greatest number of seats for 2001?
|
SELECT MAX seats 2001 FROM table WHERE % 2006 = 13 AND % 2001 > 12.1
|
Translate the following into a SQL query
|
What were the circumstances of the Hostile incident on the road to Jalalabad?
|
SELECT Circumstances FROM table WHERE Nature of incident = hostile AND Location = road to jalalabad
|
Translate the following into a SQL query
|
What was the circumstance that happened on the road to Jalalabad?
|
SELECT Circumstances FROM table WHERE Location = road to jalalabad
|
Translate the following into a SQL query
|
What happened in Mazar-i-sharif?
|
SELECT Circumstances FROM table WHERE Location = mazar-i-sharif
|
Translate the following into a SQL query
|
What is the Index number of Chen Bangjun Andie from Singapore?
|
SELECT Index FROM table WHERE Country = singapore AND Name = chen bangjun andie
|
Translate the following into a SQL query
|
What is the Chinese name of the Eliminated player from Singapore in Index f9?
|
SELECT Chinese Name FROM table WHERE Status = eliminated AND Country = singapore AND Index = f9
|
Translate the following into a SQL query
|
What is the Index number for 叶惠慈?
|
SELECT Index FROM table WHERE Chinese Name = 叶惠慈
|
Translate the following into a SQL query
|
What is the Chinese name of the player in Index F10?
|
SELECT Chinese Name FROM table WHERE Index = f10
|
Translate the following into a SQL query
|
What is the name of the player from Malaysia, Kuala Lumpur in Index f8?
|
SELECT Name FROM table WHERE Country = malaysia, kuala lumpur AND Index = f8
|
Translate the following into a SQL query
|
What is the English name of the player 李美玲 from Malaysia, Kuala Lumpur?
|
SELECT Name FROM table WHERE Country = malaysia, kuala lumpur AND Chinese Name = 李美玲
|
Translate the following into a SQL query
|
Who was the opponent of the game on August 8?
|
SELECT Opponent FROM table WHERE Date = august 8
|
Translate the following into a SQL query
|
Who took the winning slot at the Vojens venue?
|
SELECT Winners FROM table WHERE Venue = vojens
|
Translate the following into a SQL query
|
Who was the runner-up in 1980 at the Pocking venue?
|
SELECT Runner-up FROM table WHERE Venue = pocking AND Year = 1980
|
Translate the following into a SQL query
|
What rank did the United States swimmer come in who posted 11.26 seconds in the 100-meter youth female division?
|
SELECT COUNT Rank FROM table WHERE Fastest time (s) = 11.26 AND Nation = united states
|
Translate the following into a SQL query
|
What is the lowest overall with more than 17 rounds?
|
SELECT MIN Overall FROM table WHERE Round > 17
|
Translate the following into a SQL query
|
What position has 14 rounds?
|
SELECT Position FROM table WHERE Round = 14
|
Translate the following into a SQL query
|
What United States player has a score of 69-73-68=210?
|
SELECT Player FROM table WHERE Score = 69-73-68=210 AND Country = united states
|
Translate the following into a SQL query
|
What Argentina country is in t10 place?
|
SELECT Score FROM table WHERE Place = t10 AND Country = argentina
|
Translate the following into a SQL query
|
Which country has the score of 71-71-68=210?
|
SELECT Country FROM table WHERE Score = 71-71-68=210
|
Translate the following into a SQL query
|
What To par scored 72-71-68=211?
|
SELECT To par FROM table WHERE Score = 72-71-68=211
|
Translate the following into a SQL query
|
Name the award won for category of choice tv villain in years after 2008
|
SELECT Award FROM table WHERE Result = won AND Category = choice tv villain AND Year > 2008
|
Translate the following into a SQL query
|
Name the award for nominated result and year after 2011
|
SELECT Award FROM table WHERE Result = nominated AND Year > 2011
|
Translate the following into a SQL query
|
Which Perth also has Sydney yes, Gold Coast yes, and Adelaide no?
|
SELECT Perth FROM table WHERE Sydney = yes AND Gold Coast = yes AND Adelaide = no
|
Translate the following into a SQL query
|
Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes?
|
SELECT Perth FROM table WHERE Gold Coast = yes AND Sydney = yes AND Melbourne = yes AND Adelaide = yes
|
Translate the following into a SQL query
|
Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
|
SELECT Adelaide FROM table WHERE Sydney = yes AND Melbourne = yes AND Perth = no
|
Translate the following into a SQL query
|
Which Adelaide has Perth no, Gold Coast no, and Sydney yes?
|
SELECT Adelaide FROM table WHERE Perth = no AND Gold Coast = yes AND Sydney = yes
|
Translate the following into a SQL query
|
Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled?
|
SELECT Melbourne FROM table WHERE Gold Coast = yes AND Perth = cancelled AND Adelaide = cancelled
|
Translate the following into a SQL query
|
Which Melbourne has Sydney yes, Gold Coast yes, and Perth yes?
|
SELECT Melbourne FROM table WHERE Sydney = yes AND Gold Coast = yes AND Perth = yes
|
Translate the following into a SQL query
|
Who came in 3rd when Matej žagar won?
|
SELECT 3rd place FROM table WHERE Winners = matej žagar
|
Translate the following into a SQL query
|
In what year did Rafał Kurmański come in 2nd place?
|
SELECT Year FROM table WHERE 2nd place = rafał kurmański
|
Translate the following into a SQL query
|
Who won at Krško?
|
SELECT Winners FROM table WHERE Venue = krško
|
Translate the following into a SQL query
|
Who came in 3rd when Nicolai Klindt won?
|
SELECT 3rd place FROM table WHERE Winners = nicolai klindt
|
Translate the following into a SQL query
|
Who won when Karol Ząbik came in 2nd?
|
SELECT Winners FROM table WHERE 2nd place = karol ząbik
|
Translate the following into a SQL query
|
Who came in 3rd at Venue?
|
SELECT 3rd place FROM table WHERE Venue = venue
|
Translate the following into a SQL query
|
What is the total number of weeks that the Steelers had a record of 1–0?
|
SELECT COUNT Week FROM table WHERE Record = 1–0
|
Translate the following into a SQL query
|
Who was the opponent at the Steelers game that had a result of l 20–17?
|
SELECT Opponent FROM table WHERE Result = l 20–17
|
Translate the following into a SQL query
|
Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged
|
SELECT Condition FROM table WHERE Partial thromboplastin time = prolonged AND Platelet count = unaffected AND Bleeding time = prolonged
|
Translate the following into a SQL query
|
Name the condition with partial thromboplastin time of prolonged or unaffected
|
SELECT Condition FROM table WHERE Partial thromboplastin time = prolonged or unaffected
|
Translate the following into a SQL query
|
Name the condition with partial thromboplastin time of unaffected and prothrombin time of unaffected with platelet count of decreased
|
SELECT Condition FROM table WHERE Partial thromboplastin time = unaffected AND Prothrombin time = unaffected AND Platelet count = decreased
|
Translate the following into a SQL query
|
Name the condition with platelet count of unaffected and bleeding time of unaffected with prothrombin time of prolonged and partial thromboplastin time of prolonged
|
SELECT Condition FROM table WHERE Platelet count = unaffected AND Bleeding time = unaffected AND Prothrombin time = prolonged AND Partial thromboplastin time = prolonged
|
Translate the following into a SQL query
|
Name the bleeding time with platelet count of unaffected and condition of factor xii deficiency
|
SELECT Bleeding time FROM table WHERE Platelet count = unaffected AND Condition = factor xii deficiency
|
Translate the following into a SQL query
|
what is the number of losses with draws less than 1 and 6.3% efficiency?
|
SELECT AVG Losses FROM table WHERE Efficiency % = 6.3% AND Draws < 1
|
Translate the following into a SQL query
|
what is the number of draws for ali said gouled?
|
SELECT COUNT Draws FROM table WHERE Name = ali said gouled
|
Translate the following into a SQL query
|
what is the number of draws when there are 4 losses and 28.6% efficiency?
|
SELECT COUNT Draws FROM table WHERE Losses = 4 AND Efficiency % = 28.6%
|
Translate the following into a SQL query
|
Name the females when males are 1 548
|
SELECT females FROM table WHERE males = 1 548
|
Translate the following into a SQL query
|
Name the percentage with number of 1 343
|
SELECT percentage (%) FROM table WHERE Number = 1 343
|
Translate the following into a SQL query
|
Name the percentage which has females of 2
|
SELECT percentage (%) FROM table WHERE females = 2
|
Translate the following into a SQL query
|
Name the males for language of persons that didn't name their native language
|
SELECT males FROM table WHERE Language = persons that didn't name their native language
|
Translate the following into a SQL query
|
What are the school colors for the college whose main campus is overland park?
|
SELECT School Colors FROM table WHERE Main Campus Location = overland park
|
Translate the following into a SQL query
|
What is independence community college's newest campus?
|
SELECT MIN Founded FROM table WHERE Institution = independence community college
|
Translate the following into a SQL query
|
What college was founded in 1967?
|
SELECT Main Campus Location FROM table WHERE Founded = 1967
|
Translate the following into a SQL query
|
Which party is associated with a leader who began his tenure on June 13, 2007?
|
SELECT Party FROM table WHERE From = june 13, 2007
|
Translate the following into a SQL query
|
What is the beginning date associated with an ending date of July 4, 2007?
|
SELECT From FROM table WHERE Until = july 4, 2007
|
Translate the following into a SQL query
|
Who had a function of explorator?
|
SELECT Name FROM table WHERE Function = explorator
|
Translate the following into a SQL query
|
What is the Until date associated with a beginning From date of July 5, 2007?
|
SELECT Until FROM table WHERE From = july 5, 2007
|
Translate the following into a SQL query
|
What is the Until date that has a party of VLD and a beginning from date of December 17, 2007?
|
SELECT Until FROM table WHERE Party = vld AND From = december 17, 2007
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.