instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What team did Alireza mansourian leave?
|
SELECT Team FROM table WHERE Outgoing manager = Alireza Mansourian
|
Translate the following into a SQL query
|
Why did Majid bagherinia leave?
|
SELECT Manner of departure FROM table WHERE Outgoing manager = Majid Bagherinia
|
Translate the following into a SQL query
|
What team did a manager leave on 12 Dec 2009
|
SELECT Team FROM table WHERE Date of vacancy = 12 Dec 2009
|
Translate the following into a SQL query
|
How many teams did Farhad Kazemi leave?
|
SELECT COUNT Team FROM table WHERE Outgoing manager = Farhad Kazemi
|
Translate the following into a SQL query
|
If the school is Rend Lake College, what is the team name?
|
SELECT Team Name FROM table WHERE School = Rend Lake College
|
Translate the following into a SQL query
|
What is the minimum possible for the NJCAA championships?
|
SELECT MIN NJCAA Championships FROM table
|
Translate the following into a SQL query
|
If the varsity team is 6, what is the location?
|
SELECT Location FROM table WHERE Varsity Teams = 6
|
Translate the following into a SQL query
|
If the school is John A. Logan College, what are the colors?
|
SELECT Colors FROM table WHERE School = John A. Logan College
|
Translate the following into a SQL query
|
What is the minimum possible NJCAA championships?
|
SELECT MIN NJCAA Championships FROM table
|
Translate the following into a SQL query
|
On how many different dates was the race at the Silverstone circuit?
|
SELECT COUNT Date FROM table WHERE Circuit = Silverstone
|
Translate the following into a SQL query
|
When was the circuit Donington Park?
|
SELECT Date FROM table WHERE Circuit = Donington Park
|
Translate the following into a SQL query
|
What is the weight is the name is Stuart Craig?
|
SELECT Weight FROM table WHERE Name = Stuart Craig
|
Translate the following into a SQL query
|
If the name is Timo Higgins, what is the total date of birth amount?
|
SELECT COUNT Date of Birth FROM table WHERE Name = Timo Higgins
|
Translate the following into a SQL query
|
If the height is 181cm, what was the position?
|
SELECT Position FROM table WHERE Height = 181cm
|
Translate the following into a SQL query
|
If the home team is UMBC and the weight is 78kg, what the the name total number?
|
SELECT COUNT Name FROM table WHERE Weight = 78kg AND Home Team = UMBC
|
Translate the following into a SQL query
|
If the height is 185cm and the home team is Heaton Mersey, what is the date of birth?
|
SELECT Date of Birth FROM table WHERE Height = 185cm AND Home Team = Heaton Mersey
|
Translate the following into a SQL query
|
How many viewers tuned in for season 2?
|
SELECT U.S. viewers (million) FROM table WHERE No. in season = 2
|
Translate the following into a SQL query
|
Who directed the episode that has 3x6752 listed as the production code?
|
SELECT Directed by FROM table WHERE Production code = 3X6752
|
Translate the following into a SQL query
|
Which series number had 1.98 million viewers?
|
SELECT MIN No. in series FROM table WHERE U.S. viewers (million) = 1.98
|
Translate the following into a SQL query
|
Name the viewers for production code for 3x6704
|
SELECT U.S. viewers (million) FROM table WHERE Production code = 3X6704
|
Translate the following into a SQL query
|
Name the viewers for production code being 3x6706
|
SELECT U.S. viewers (million) FROM table WHERE Production code = 3X6706
|
Translate the following into a SQL query
|
Name the title that got 1.54 viewers
|
SELECT Title FROM table WHERE U.S. viewers (million) = 1.54
|
Translate the following into a SQL query
|
Name the number of number in season for 26
|
SELECT COUNT No. in season FROM table WHERE No. in series = 26
|
Translate the following into a SQL query
|
Who wrote the episode that has a production code 3x7557?
|
SELECT Written by FROM table WHERE Production code = 3X7557
|
Translate the following into a SQL query
|
How many directors are there for the episode that had 1.59 million U.S. viewers?
|
SELECT COUNT Directed by FROM table WHERE U.S. viewers (million) = 1.59
|
Translate the following into a SQL query
|
What is the production code for the episode that had 1.32 million U.S. viewers?
|
SELECT Production code FROM table WHERE U.S. viewers (million) = 1.32
|
Translate the following into a SQL query
|
What episode number in the series had a production code of 3x7554?
|
SELECT MIN No. in series FROM table WHERE Production code = 3X7554
|
Translate the following into a SQL query
|
What is the name of episode number 41 in the series?
|
SELECT Title FROM table WHERE No. in series = 41
|
Translate the following into a SQL query
|
Who has the minimum number of silver?
|
SELECT MIN Silver FROM table
|
Translate the following into a SQL query
|
Who is the athlete who's rank is 8 and competed in the olympics during 1948–1952?
|
SELECT Athlete FROM table WHERE Rank = 8 AND Olympics = 1948–1952
|
Translate the following into a SQL query
|
What is the nation who won 1 bronze in the Olympics during 1924–1928?
|
SELECT Nation FROM table WHERE Olympics = 1924–1928 AND Bronze = 1
|
Translate the following into a SQL query
|
Who is the athlete from the nation of Ethiopia (eth) who had a rank bigger than 7.0?
|
SELECT Athlete FROM table WHERE Nation = Ethiopia (ETH) AND Rank > 7.0
|
Translate the following into a SQL query
|
What is the maximum number of golds?
|
SELECT MAX Gold FROM table
|
Translate the following into a SQL query
|
What is the smallest amount of silver?
|
SELECT MIN Silver FROM table
|
Translate the following into a SQL query
|
Name the nation for abdon pamich category:articles with hcards
|
SELECT Nation FROM table WHERE Athlete = Abdon Pamich Category:Articles with hCards
|
Translate the following into a SQL query
|
Name the silver for ronald weigel category:articles with hcards
|
SELECT MAX Silver FROM table WHERE Athlete = Ronald Weigel Category:Articles with hCards
|
Translate the following into a SQL query
|
What's the minimal rank of a athlete shown in the chart?
|
SELECT MIN Rank FROM table
|
Translate the following into a SQL query
|
which is the minimun amount of gold medals?
|
SELECT MIN Gold FROM table
|
Translate the following into a SQL query
|
which is the minimun amount of silver medals?
|
SELECT MIN Silver FROM table
|
Translate the following into a SQL query
|
What is the lowest overall number for total(min. 2 medals)?
|
SELECT MIN Total(min. 2 medals) FROM table
|
Translate the following into a SQL query
|
What is the maximum rank of the nation that won 4 gold medals?
|
SELECT MAX Rank FROM table WHERE Gold = 4
|
Translate the following into a SQL query
|
Name the most rank
|
SELECT MAX Rank FROM table
|
Translate the following into a SQL query
|
Name the most rank for 2 gold
|
SELECT MIN Rank FROM table WHERE Gold = 2
|
Translate the following into a SQL query
|
Name the most total
|
SELECT MAX Total FROM table
|
Translate the following into a SQL query
|
Name the silver for baseball
|
SELECT MIN Silver FROM table WHERE Discipline = Baseball
|
Translate the following into a SQL query
|
Name the discipline for bronze being 0
|
SELECT Discipline FROM table WHERE Bronze = 0
|
Translate the following into a SQL query
|
Name the most tier 1 capital for irish nationwide
|
SELECT MAX Tier 1 Capital, € million FROM table WHERE Institution = Irish Nationwide
|
Translate the following into a SQL query
|
Name the institution for tier 1 capital 1394
|
SELECT Institution FROM table WHERE Tier 1 Capital, € million = 1394
|
Translate the following into a SQL query
|
Name the tier 1 ratio for irish life and permanent
|
SELECT Tier 1 ratio FROM table WHERE Institution = Irish Life and Permanent
|
Translate the following into a SQL query
|
Name the total number of tier 1 capital for allied irish banks
|
SELECT COUNT Tier 1 Capital, € million FROM table WHERE Institution = Allied Irish Banks
|
Translate the following into a SQL query
|
Name the date of report for tier 1 ratio being 3.9%
|
SELECT Date of report FROM table WHERE Tier 1 ratio = 3.9%
|
Translate the following into a SQL query
|
What season ended on April 18?
|
SELECT Season FROM table WHERE Finish (incl. championship) = April 18
|
Translate the following into a SQL query
|
When did the season start that ended with the top record of Lindenwood (20–0–0)?
|
SELECT Start (reg. season) FROM table WHERE Top record = Lindenwood (20–0–0)
|
Translate the following into a SQL query
|
What is the year range of season 4?
|
SELECT Season FROM table WHERE No. = 4
|
Translate the following into a SQL query
|
When is the finish of the season that started on September 25?
|
SELECT Finish (incl. championship) FROM table WHERE Start (reg. season) = September 25
|
Translate the following into a SQL query
|
On what air date were there 2.15 million u.s. viewers?
|
SELECT Original air date FROM table WHERE U.S. viewers (millions) = 2.15
|
Translate the following into a SQL query
|
How many u.s. views were there for the epidosde titled, "now you lift your eyes to the sun"?
|
SELECT U.S. viewers (millions) FROM table WHERE Title = "Now You Lift Your Eyes to the Sun"
|
Translate the following into a SQL query
|
Who was the writer for the episode with 2.15 million u.s.viewers?
|
SELECT Written by FROM table WHERE U.S. viewers (millions) = 2.15
|
Translate the following into a SQL query
|
Who walked in space from STS-101 Eva 1?
|
SELECT Spacewalkers FROM table WHERE Spacecraft = STS-101 EVA 1
|
Translate the following into a SQL query
|
What is the end (UTC) if the duration is 6 hours, 55 minutes?
|
SELECT End (UTC) FROM table WHERE Duration = 6 hours, 55 minutes
|
Translate the following into a SQL query
|
If the end (UTC) is January 31, 2007 23:09, what is the name of the spacewalkers?
|
SELECT Spacewalkers FROM table WHERE End (UTC) = January 31, 2007 23:09
|
Translate the following into a SQL query
|
What are the names of the spacewalkers for end (UTC) October 30, 2007 15:53?
|
SELECT Spacewalkers FROM table WHERE End (UTC) = October 30, 2007 15:53
|
Translate the following into a SQL query
|
Which position is player bernie doan?
|
SELECT Position FROM table WHERE Player = Bernie Doan
|
Translate the following into a SQL query
|
How many pick # are there for the goaltender position?
|
SELECT MIN Pick # FROM table WHERE Position = Goaltender
|
Translate the following into a SQL query
|
How many college/junior/clubteams have John garrett as the player?
|
SELECT COUNT College/junior/club team FROM table WHERE Player = John Garrett
|
Translate the following into a SQL query
|
Who is the player with the pick# 80?
|
SELECT Player FROM table WHERE Pick # = 80
|
Translate the following into a SQL query
|
Which nationality is player John Garrett?
|
SELECT Nationality FROM table WHERE Player = John Garrett
|
Translate the following into a SQL query
|
what team had ricardo serrano for combativity prize?
|
SELECT Team Classification FROM table WHERE Combativity Prize = Ricardo Serrano
|
Translate the following into a SQL query
|
How many production stage managers worked with Gabriel di Chiara as the Male Rep?
|
SELECT COUNT Production Stagemanager FROM table WHERE Male Rep. = Gabriel Di Chiara
|
Translate the following into a SQL query
|
How many production stage managers worked with secretary Rachel Hartmann?
|
SELECT COUNT Production Stagemanager FROM table WHERE Secretary = Rachel Hartmann
|
Translate the following into a SQL query
|
Who were the performance liaisons for the dramaturge Chrisena Ricci?
|
SELECT Performance Liaison FROM table WHERE Dramaturge = Chrisena Ricci
|
Translate the following into a SQL query
|
Who was the first/second year rep. when the performance liaison was Kira Josephson?
|
SELECT First/Second Year Rep. FROM table WHERE Performance Liaison = Kira Josephson
|
Translate the following into a SQL query
|
What year were the first/second year reps Katie Pautler and Devery North?
|
SELECT Year FROM table WHERE First/Second Year Rep. = Katie Pautler and Devery North
|
Translate the following into a SQL query
|
Who was the male rep. when Caroline Rhoads was the artistic director?
|
SELECT Male Rep. FROM table WHERE Artistic Director = Caroline Rhoads
|
Translate the following into a SQL query
|
How many different drivers were there for the team when the manufacturer was Toyota?
|
SELECT COUNT Driver FROM table WHERE Manufacturer = Toyota
|
Translate the following into a SQL query
|
In how many different years did the race happen on February 27?
|
SELECT COUNT Year FROM table WHERE Date = February 27
|
Translate the following into a SQL query
|
What team had average speed of 107.063 mph?
|
SELECT Team FROM table WHERE Average Speed (mph) = 107.063
|
Translate the following into a SQL query
|
What was the report for 2010?
|
SELECT Report FROM table WHERE Year = 2010
|
Translate the following into a SQL query
|
Name the total number of race time for kevin harvick
|
SELECT COUNT Race Time FROM table WHERE Driver = Kevin Harvick
|
Translate the following into a SQL query
|
What manufacturer made the car that won in 2004?
|
SELECT Manufacturer FROM table WHERE Year = 2004
|
Translate the following into a SQL query
|
How many wins are with Dodge vehicles?
|
SELECT COUNT Miles (km) FROM table WHERE Manufacturer = Dodge
|
Translate the following into a SQL query
|
Who made the car that won the race on May 21?
|
SELECT Manufacturer FROM table WHERE Date = May 21
|
Translate the following into a SQL query
|
In the race with a winning time of 4:17:18, how many laps were run?
|
SELECT Laps FROM table WHERE Race Time = 4:17:18
|
Translate the following into a SQL query
|
What team set a 3:15:43 winning time?
|
SELECT Team FROM table WHERE Race Time = 3:15:43
|
Translate the following into a SQL query
|
How many different cities are represented by contestants whose height stands at 1.80?
|
SELECT COUNT Hometown FROM table WHERE Height = 1.80
|
Translate the following into a SQL query
|
How tall is contestant Alexandra Díaz Bello?
|
SELECT Height FROM table WHERE Contestant = Alexandra Díaz Bello
|
Translate the following into a SQL query
|
Which contestant hails from Dajabón?
|
SELECT Contestant FROM table WHERE Province, Community = Dajabón
|
Translate the following into a SQL query
|
Which province is Villa Bisonó in?
|
SELECT Province, Community FROM table WHERE Hometown = Villa Bisonó
|
Translate the following into a SQL query
|
How old is contestant Valerie Chardonnens Vargas?
|
SELECT MAX Age FROM table WHERE Contestant = Valerie Chardonnens Vargas
|
Translate the following into a SQL query
|
Who was the origianal south korean performer when Adebayo Bolaji performed in Manchester?
|
SELECT Original South Korean Performer FROM table WHERE Original Manchester Performer = Adebayo Bolaji
|
Translate the following into a SQL query
|
What character did Lisa Davina Phillip portray?
|
SELECT Character FROM table WHERE Original Manchester Performer = Lisa Davina Phillip
|
Translate the following into a SQL query
|
Who was the Broadway equivalent of Sharon D. Clarke's character?
|
SELECT Original Broadway Performer FROM table WHERE Original West End Performer = Sharon D. Clarke
|
Translate the following into a SQL query
|
What character did Moya Angela portray?
|
SELECT Character FROM table WHERE Original Broadway Performer = Moya Angela
|
Translate the following into a SQL query
|
What character did Richard Fleeshman portray?
|
SELECT Character FROM table WHERE Original West End Performer = Richard Fleeshman
|
Translate the following into a SQL query
|
Who was the Manchester performer of Lisa Davina Phillip's character?
|
SELECT Original Manchester Performer FROM table WHERE Original West End Performer = Lisa Davina Phillip
|
Translate the following into a SQL query
|
Name the european tier for rick springfield
|
SELECT European tier FROM table WHERE Artist = Rick Springfield
|
Translate the following into a SQL query
|
Name the song title for europe
|
SELECT Song title FROM table WHERE Artist = Europe
|
Translate the following into a SQL query
|
Name the number of master recording for doobie brothers the doobie brothers
|
SELECT COUNT Master recording FROM table WHERE Artist = Doobie Brothers The Doobie Brothers
|
Translate the following into a SQL query
|
Name the master recording for europe
|
SELECT Master recording FROM table WHERE Artist = Europe
|
Translate the following into a SQL query
|
what is the date for when the georgian name is ცხოვრება და უწყება ბაგრატონიანთა?
|
SELECT Date FROM table WHERE Georgian name = ცხოვრება და უწყება ბაგრატონიანთა
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.