instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What shows for Władysławowo, Poland when the world record shows olympic record, a Marcin Dołęga (POL) is olympic standard, and Snatch is clean & jerk? | SELECT Władysławowo , Poland FROM table WHERE World record = olympic record AND Marcin Dołęga ( POL ) = olympic standard AND Snatch = clean & jerk |
Translate the following into a SQL query | What date has 0-6700-30838-2-9 for a catalog? | SELECT Date FROM table WHERE Catalog = 0-6700-30838-2-9 |
Translate the following into a SQL query | What's the date in the United Kingdom having a catalog of reveal50cd/lp? | SELECT Date FROM table WHERE Catalog = reveal50cd/lp AND Region = united kingdom |
Translate the following into a SQL query | What day was king's cup 1996? | SELECT Date FROM table WHERE Competition = king's cup 1996 |
Translate the following into a SQL query | What was the score for king's cup 1996? | SELECT Score FROM table WHERE Competition = king's cup 1996 |
Translate the following into a SQL query | What was the result when the score was 5-1? | SELECT Result FROM table WHERE Score = 5-1 |
Translate the following into a SQL query | What tournament had an A in 2012 and Q2 in 2010? | SELECT Tournament FROM table WHERE 2012 = a AND 2010 = q2 |
Translate the following into a SQL query | What's the 2010 when they had a Q2 in 2009? | SELECT 2010 FROM table WHERE 2009 = q2 |
Translate the following into a SQL query | What's the 2012 during Wimbledon and had a Q3 in 2008? | SELECT 2012 FROM table WHERE 2008 = q3 AND Tournament = wimbledon |
Translate the following into a SQL query | What's the tournament name when they had an A in 2011 & 2012? | SELECT Tournament FROM table WHERE 2012 = a AND 2011 = a |
Translate the following into a SQL query | What's the 2012 when 2009 was 205? | SELECT 2012 FROM table WHERE 2009 = 205 |
Translate the following into a SQL query | How much Col (m) has a Prominence (m) of 2,344? | SELECT COUNT Col (m) FROM table WHERE Prominence (m) = 2,344 |
Translate the following into a SQL query | Which Prominence (m) has a Col (m) of 350? | SELECT AVG Prominence (m) FROM table WHERE Col (m) = 350 |
Translate the following into a SQL query | Which Elevation (m) has a Prominence (m) smaller than 2,456, and a Peak of mount kyllini, and a Col (m) smaller than 506? | SELECT MAX Elevation (m) FROM table WHERE Prominence (m) < 2,456 AND Peak = mount kyllini AND Col (m) < 506 |
Translate the following into a SQL query | Who was the athlete from Lithuania? | SELECT Athlete FROM table WHERE Country = lithuania |
Translate the following into a SQL query | How many votes did Jeannemarie Devolites Davis get in 1995-Special? | SELECT Votes FROM table WHERE Opponent = jeannemarie devolites davis AND Year = 1995-special |
Translate the following into a SQL query | Who was the subject for the year of 2007? | SELECT Subject FROM table WHERE Year = 2007 |
Translate the following into a SQL query | Which party has a voting total greater than 4,478? | SELECT Party FROM table WHERE Votes > 4,478 |
Translate the following into a SQL query | Which Type has a Nat of geo? | SELECT Type FROM table WHERE Nat. = geo |
Translate the following into a SQL query | Which Moving from has a Nat of ned? | SELECT Moving from FROM table WHERE Nat. = ned |
Translate the following into a SQL query | Which Ends have a Name of zambrano? | SELECT MAX Ends FROM table WHERE Name = zambrano |
Translate the following into a SQL query | Which Transfer fee has a Moving from of youth system, and a Nat of mar? | SELECT Transfer fee FROM table WHERE Moving from = youth system AND Nat. = mar |
Translate the following into a SQL query | Which Transfer fee has Ends larger than 2011, and a Moving from of psv? | SELECT Transfer fee FROM table WHERE Ends > 2011 AND Moving from = psv |
Translate the following into a SQL query | What is the result for the Toscane Horse in the freestyle test? | SELECT Result FROM table WHERE Horse = toscane AND Event = freestyle test |
Translate the following into a SQL query | What horse has a 66.452 result? | SELECT Horse FROM table WHERE Result = 66.452 |
Translate the following into a SQL query | What event did Sjerstin Vermeulen receive a 66.452 result? | SELECT Event FROM table WHERE Athlete = sjerstin vermeulen AND Result = 66.452 |
Translate the following into a SQL query | What class had a Championship Test event with a 62.516 result? | SELECT Class FROM table WHERE Event = championship test AND Result = 62.516 |
Translate the following into a SQL query | What horse has a 65.863 result? | SELECT Horse FROM table WHERE Result = 65.863 |
Translate the following into a SQL query | What is the displacement for the model 1400? | SELECT Displacement FROM table WHERE Model = 1400 |
Translate the following into a SQL query | What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? | SELECT Displacement FROM table WHERE Fuel system = carburettor AND Power = ps (kw; hp) AND Model = 2000 |
Translate the following into a SQL query | What engine with the years of 1975-84 has a model of 1600? | SELECT Engine FROM table WHERE Model = 1600 AND Years = 1975-84 |
Translate the following into a SQL query | What displacement has a model of 2000? | SELECT Displacement FROM table WHERE Model = 2000 |
Translate the following into a SQL query | What engine with years of 1975-84 has a displacement of 1585cc? | SELECT Engine FROM table WHERE Years = 1975-84 AND Displacement = 1585cc |
Translate the following into a SQL query | What is the power for the years 1975-84? | SELECT Power FROM table WHERE Years = 1975-84 |
Translate the following into a SQL query | What is the 2nd leg in match with team 2 of Teram? | SELECT 2nd leg FROM table WHERE Team 2 = teram |
Translate the following into a SQL query | What was the result of the December 15, 2002 game? | SELECT Result FROM table WHERE Date = december 15, 2002 |
Translate the following into a SQL query | What date was the game that was attended by 69,024? | SELECT Date FROM table WHERE Attendance = 69,024 |
Translate the following into a SQL query | On what date was the week 17 game? | SELECT Date FROM table WHERE Week = 17 |
Translate the following into a SQL query | What is the name of the 2008 club for Istres Volleyball? | SELECT Name FROM table WHERE 2008 club = istres volleyball |
Translate the following into a SQL query | What is the Model of the Engine with 29 Seats Built in 1941–1942? | SELECT Model FROM table WHERE Seats = 29 AND Built = 1941–1942 |
Translate the following into a SQL query | What is the Quantity of the engine Model PG-2901? | SELECT Quantity FROM table WHERE Model = pg-2901 |
Translate the following into a SQL query | What is the % of draws with an against ratio of 0.67 and 1 win? | SELECT Draws % FROM table WHERE For & Against Ratio = 0.67 AND Wins = 1 |
Translate the following into a SQL query | What are the matches with a 50% of draws for Team Milan? | SELECT Matches FROM table WHERE Draws % = 50% AND Team = milan |
Translate the following into a SQL query | What are the total losses with 2 matches, 2 against, 0% of draws and less than 1 wins? | SELECT SUM Losses FROM table WHERE Matches = 2 AND Against = 2 AND Draws % = 0% AND Wins < 1 |
Translate the following into a SQL query | What is the sum on wins with an against ratio of 0.83, and more than 1 loss? | SELECT SUM Wins FROM table WHERE For & Against Ratio = 0.83 AND Losses > 1 |
Translate the following into a SQL query | Why did the manager who departed on August 1, 2008 leave? | SELECT Reason of departure FROM table WHERE Date Outgoing = august 1, 2008 |
Translate the following into a SQL query | On what date did the manager for PSIS Semarang take over for the manager that was sacked? | SELECT Date of Replacement FROM table WHERE Reason of departure = sacked AND Team = psis semarang |
Translate the following into a SQL query | Why did the manager who departed on August 1, 2008 leave? | SELECT Reason of departure FROM table WHERE Date Outgoing = august 1, 2008 |
Translate the following into a SQL query | When did Peter Butler leave his team? | SELECT Date Outgoing FROM table WHERE Outgoing manager = peter butler |
Translate the following into a SQL query | When did the manager take over for the manager that left on August 20, 2008? | SELECT Date of Replacement FROM table WHERE Date Outgoing = august 20, 2008 |
Translate the following into a SQL query | In which competition(s) did Iljuštšenko jump 1.90 m? | SELECT Competition FROM table WHERE Notes = 1.90 m |
Translate the following into a SQL query | In which position did Iljuštšenko finish in the European Championships held prior to 2008? | SELECT Position FROM table WHERE Year < 2008 AND Competition = european championships |
Translate the following into a SQL query | In what year did Iljuštšenko compete in Barcelona, Spain? | SELECT Year FROM table WHERE Venue = barcelona, spain |
Translate the following into a SQL query | What's the number of electorates for constituency number 56? | SELECT SUM Number of electorates (2009) FROM table WHERE Constituency number = 56 |
Translate the following into a SQL query | What's the constituency number for Damoh with more than 173,217 electorates? | SELECT Constituency number FROM table WHERE Number of electorates (2009) > 173,217 AND Name = damoh |
Translate the following into a SQL query | What is the tour Apps when the career caps show 15? | SELECT Tour Apps FROM table WHERE Career caps = 15 |
Translate the following into a SQL query | What is the number of career caps for a full back, when tour Apps is smaller than 29? | SELECT COUNT Career caps FROM table WHERE Position = full back AND Tour Apps < 29 |
Translate the following into a SQL query | What is the career caps for half-back, when tests is more than 3? | SELECT Career caps FROM table WHERE Position = half-back AND Tests > 3 |
Translate the following into a SQL query | What name has tour Apps larger than 7, tests larger than 4, and a Career caps of 20? | SELECT Name FROM table WHERE Tour Apps > 7 AND Tests > 4 AND Career caps = 20 |
Translate the following into a SQL query | What constructor has a grid less than 21, and time/retired of engine? | SELECT Constructor FROM table WHERE Grid < 21 AND Time/Retired = engine |
Translate the following into a SQL query | When the entrant is fred saunders what is the driver? | SELECT Driver FROM table WHERE Entrant = fred saunders |
Translate the following into a SQL query | What's the lowest grid with and entrant of fred saunders? | SELECT MIN Grid FROM table WHERE Entrant = fred saunders |
Translate the following into a SQL query | What is the time/retired for the driver emerson fittipaldi? | SELECT Time/Retired FROM table WHERE Driver = emerson fittipaldi |
Translate the following into a SQL query | Which Artist has the Label of Columbia and the Standard number of COCC-72073? | SELECT Artist FROM table WHERE Label = columbia AND Standard number = cocc-72073 |
Translate the following into a SQL query | What Type has the Artist of Hiroyuki Takami? | SELECT Type FROM table WHERE Artist = hiroyuki takami |
Translate the following into a SQL query | What Title has the Label of Columbia and Standard number of CODC-8760? | SELECT Title FROM table WHERE Label = columbia AND Standard number = codc-8760 |
Translate the following into a SQL query | What is the type of Kuang-Hsing? | SELECT Type FROM table WHERE Name (Wade Giles) = kuang-hsing |
Translate the following into a SQL query | What type has the characters 廣丙? | SELECT Type FROM table WHERE Characters = 廣丙 |
Translate the following into a SQL query | What's the name that has the characters 廣亨? | SELECT Name (Wade Giles) FROM table WHERE Characters = 廣亨 |
Translate the following into a SQL query | What type has the characters 廣利? | SELECT Type FROM table WHERE Characters = 廣利 |
Translate the following into a SQL query | What is the type of Guangjia? | SELECT Type FROM table WHERE Name (pinyin) = guangjia |
Translate the following into a SQL query | What soap opera has a rank larger than 1, and a Character named Emily Bishop? | SELECT Soap Opera FROM table WHERE Rank > 1 AND Character = emily bishop |
Translate the following into a SQL query | What is the highest Rank 1960—? | SELECT MAX Rank FROM table WHERE Years = 1960— |
Translate the following into a SQL query | What is the name of the actor with a duration of 61 years? | SELECT Actor FROM table WHERE Duration = 61 years |
Translate the following into a SQL query | What are the years for Eileen Derbyshire with a duration of 52 years? | SELECT Years FROM table WHERE Duration = 52 years AND Actor = eileen derbyshire |
Translate the following into a SQL query | What soap opera was on 1960–1965, 1965–1983, 1984–2010? | SELECT Soap Opera FROM table WHERE Years = 1960–1965, 1965–1983, 1984–2010 |
Translate the following into a SQL query | Who are the rowers for Australia? | SELECT Rowers FROM table WHERE Country = australia |
Translate the following into a SQL query | What's Italy's rank? | SELECT SUM Rank FROM table WHERE Country = italy |
Translate the following into a SQL query | Who is the visitor team on Saturday, November 22 when linköpings hc was the home team and there were more than 20 rounds? | SELECT Visitor FROM table WHERE Home = linköpings hc AND Round > 20 AND Date = saturday, november 22 |
Translate the following into a SQL query | What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds? | SELECT MIN Attendance FROM table WHERE Home = linköpings hc AND Date = monday, november 10 AND Round > 18 |
Translate the following into a SQL query | Who is the visitor at the axa sports center in round 20? | SELECT Visitor FROM table WHERE Venue = axa sports center AND Round = 20 |
Translate the following into a SQL query | What is the Attendance of the game on November 6, 1966? | SELECT Attendance FROM table WHERE Date = november 6, 1966 |
Translate the following into a SQL query | What is the Result of the game on November 6, 1966? | SELECT Result FROM table WHERE Date = november 6, 1966 |
Translate the following into a SQL query | Who is the club with a 4:03.63 time? | SELECT Club FROM table WHERE Time = 4:03.63 |
Translate the following into a SQL query | What was the Green-Communist percentage in the poll in which the Socialist Party earned 41.0%? | SELECT Green-Communist FROM table WHERE Socialist = 41.0% |
Translate the following into a SQL query | What is the Green-Communist percentage in the poll showing a 9.7% lead? | SELECT Green-Communist FROM table WHERE Lead = 9.7% |
Translate the following into a SQL query | What is the Social Democratic percentage for the poll with a Green-Communist rate of 9.0%, People's Party of 10.0%, and Socialist of 39.0%? | SELECT Social Democratic FROM table WHERE Green-Communist = 9.0% AND People's Party = 10.0% AND Socialist = 39.0% |
Translate the following into a SQL query | what is the result on 9 october 2012? | SELECT Result FROM table WHERE Date = 9 october 2012 |
Translate the following into a SQL query | what is the score when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? | SELECT Score FROM table WHERE Venue = stade général seyni kountché, niamey AND Competition = friendly AND Date = 9 october 2012 |
Translate the following into a SQL query | what is the result when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? | SELECT Result FROM table WHERE Venue = stade général seyni kountché, niamey AND Competition = friendly AND Date = 9 october 2012 |
Translate the following into a SQL query | what is the competition on 10 august 2011? | SELECT Competition FROM table WHERE Date = 10 august 2011 |
Translate the following into a SQL query | what is the date when the venue is stade général seyni kountché , niamey? | SELECT Date FROM table WHERE Venue = stade général seyni kountché , niamey |
Translate the following into a SQL query | What place has manfred kokot as the athlete? | SELECT Place FROM table WHERE Athlete = manfred kokot |
Translate the following into a SQL query | What athlete has reno as the place? | SELECT Athlete FROM table WHERE Place = reno |
Translate the following into a SQL query | What campus opened in 1970? | SELECT Campus FROM table WHERE Year opened = 1970 |
Translate the following into a SQL query | What year was the school opened that has a size of 10 acres and students of na? | SELECT Year opened FROM table WHERE Students = na AND Size = 10 acres |
Translate the following into a SQL query | What location was the campus that has a size of 245 acres? | SELECT Location FROM table WHERE Size = 245 acres |
Translate the following into a SQL query | What campus was opened in 1977? | SELECT Campus FROM table WHERE Year opened = 1977 |
Translate the following into a SQL query | What location was the campus opened in 2005 with students listed as na? | SELECT Location FROM table WHERE Students = na AND Year opened = 2005 |
Translate the following into a SQL query | what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480? | SELECT Type FROM table WHERE Rank < 70 AND Province = british columbia AND Capacity ( MW ) > 2,480 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.