instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | WHAT HINDI HAS Kannada of shukravara? | SELECT Hindi FROM table WHERE Kannada = shukravara |
Translate the following into a SQL query | What is the lowest amount of assists for more than 5 games? | SELECT MIN Assists FROM table WHERE Games played > 5 |
Translate the following into a SQL query | What is the highest amount of points with less than 5 assists and less than 2 goals? | SELECT MAX Points FROM table WHERE Assists < 5 AND Goals < 2 |
Translate the following into a SQL query | How many points on average are there for less than 5 games played? | SELECT AVG Points FROM table WHERE Games played < 5 |
Translate the following into a SQL query | Which opponent has w 17-0 as the result? | SELECT Opponent FROM table WHERE Result = w 17-0 |
Translate the following into a SQL query | Which country has the Narita International Airport? | SELECT Country FROM table WHERE Airport = narita international airport |
Translate the following into a SQL query | What is the IATA when the ICAO is wipp? | SELECT IATA FROM table WHERE ICAO = wipp |
Translate the following into a SQL query | Which airport's ICAO is rpvi? | SELECT Airport FROM table WHERE ICAO = rpvi |
Translate the following into a SQL query | Which country's IATA is ika? | SELECT Country FROM table WHERE IATA = ika |
Translate the following into a SQL query | What is the ICAO for the Yangon International Airport? | SELECT ICAO FROM table WHERE Airport = yangon international airport |
Translate the following into a SQL query | What is the ICAO when the IATA is tgg? | SELECT ICAO FROM table WHERE IATA = tgg |
Translate the following into a SQL query | On what date did Universitario win the Torneo Apertura round after 2003 at Estadio Alejandro Villanueva? | SELECT Date FROM table WHERE Venue = estadio alejandro villanueva AND Season > 2003 AND Competition round = torneo apertura AND Winner = universitario |
Translate the following into a SQL query | What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"? | SELECT Director FROM table WHERE Primary Language(s) = azerbaijani AND Original title = buta |
Translate the following into a SQL query | What is Film Title Used In Nomination, when Primary Language(s) is "Azerbaijani, Russian"? | SELECT Film title used in nomination FROM table WHERE Primary Language(s) = azerbaijani, russian |
Translate the following into a SQL query | What is Result, when Original Title is "Qala"? | SELECT Result FROM table WHERE Original title = qala |
Translate the following into a SQL query | What is Primary Language(s), when Director is "Ilgar Safat Category:Articles With hCards"? | SELECT Primary Language(s) FROM table WHERE Director = ilgar safat category:articles with hcards |
Translate the following into a SQL query | What is Year (Ceremony), when Director is "Farid Gumbatov Category:Articles With hCards"? | SELECT Year (Ceremony) FROM table WHERE Director = farid gumbatov category:articles with hcards |
Translate the following into a SQL query | What is Director, when Original Title is "Sahə"? | SELECT Director FROM table WHERE Original title = sahə |
Translate the following into a SQL query | Who was the Home team that had a decider of Conklin? | SELECT Home FROM table WHERE Decision = conklin |
Translate the following into a SQL query | Game 71 was played against what team? | SELECT Opponent FROM table WHERE Game = 71 |
Translate the following into a SQL query | What is the maximum game that was played against the New York Knickerbockers? | SELECT MAX Game FROM table WHERE Opponent = new york knickerbockers |
Translate the following into a SQL query | What was the number of game that was played on March 19? | SELECT Game FROM table WHERE Date = march 19 |
Translate the following into a SQL query | What is the average rank for more than 12 points? | SELECT AVG Rank FROM table WHERE Points > 12 |
Translate the following into a SQL query | What is the rank for less than 6 plays? | SELECT SUM Rank FROM table WHERE Played < 6 |
Translate the following into a SQL query | For the draft pick from round 3 out of Mercer College what is the nationality? | SELECT Nationality FROM table WHERE Round = 3 AND College = mercer |
Translate the following into a SQL query | Who was the draft pick that went to college at Oral Roberts? | SELECT Player FROM table WHERE College = oral roberts |
Translate the following into a SQL query | What is the smallest point total when the grid is larger than 5 and the time/retired is fire? | SELECT MIN Points FROM table WHERE Grid > 5 AND Time/Retired = fire |
Translate the following into a SQL query | When Nelson Philippe drove with a grid larger than 16, what was the timre/retired? | SELECT Time/Retired FROM table WHERE Grid > 16 AND Driver = nelson philippe |
Translate the following into a SQL query | What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps? | SELECT Time/Retired FROM table WHERE Grid < 9 AND Laps = 21 AND Rider = jeremy mcwilliams |
Translate the following into a SQL query | What is the lowest grid number that a race took place doing more than 21 laps? | SELECT MIN Grid FROM table WHERE Laps > 21 |
Translate the following into a SQL query | What is the total number of grids where there were races that had a time of 34:22.335? | SELECT COUNT Grid FROM table WHERE Time/Retired = 34:22.335 |
Translate the following into a SQL query | Which rank has final with 5:18.85? | SELECT Rank FROM table WHERE Final = 5:18.85 |
Translate the following into a SQL query | Which final has rank of 10? | SELECT Final FROM table WHERE Rank = 10 |
Translate the following into a SQL query | Which final has a run of 1:19.49? | SELECT Final FROM table WHERE Run 3 = 1:19.49 |
Translate the following into a SQL query | Which run 2 with final of 5:24.47? | SELECT Run 2 FROM table WHERE Final = 5:24.47 |
Translate the following into a SQL query | Which team has run 1 of 1:17.44? | SELECT Team FROM table WHERE Run 1 = 1:17.44 |
Translate the following into a SQL query | Which team has run 3 of 1:20.77? | SELECT Team FROM table WHERE Run 3 = 1:20.77 |
Translate the following into a SQL query | Who was the home team when Manchester City was the away team? | SELECT Home team FROM table WHERE Away team = manchester city |
Translate the following into a SQL query | What was the score when the home team was Stockport County? | SELECT Score FROM table WHERE Home team = stockport county |
Translate the following into a SQL query | What is the Tie Number when Barnsley was the away team? | SELECT Tie no FROM table WHERE Away team = barnsley |
Translate the following into a SQL query | What was the score of the game that took place on october 22, 1976? | SELECT Score FROM table WHERE Date = october 22, 1976 |
Translate the following into a SQL query | What was the score of the game where the record was 2-2? | SELECT Score FROM table WHERE Record = 2-2 |
Translate the following into a SQL query | Who was the home team in the game with a record of 2-4? | SELECT Home FROM table WHERE Record = 2-4 |
Translate the following into a SQL query | What was the race for the world championship formula 1 at a venue of hungaroring? | SELECT Race FROM table WHERE Notes = world championship formula 1 AND Venue = hungaroring |
Translate the following into a SQL query | Who is the winner for the match on October 7? | SELECT Winner FROM table WHERE Date = october 7 |
Translate the following into a SQL query | What is the date of the race for the new zealand grand prix? | SELECT Date FROM table WHERE Race = new zealand grand prix |
Translate the following into a SQL query | Who was the winner for the world championship formula 1 at the venue, circuit de monaco? | SELECT Winner FROM table WHERE Notes = world championship formula 1 AND Venue = circuit de monaco |
Translate the following into a SQL query | What is Result, when Opponent is New England Patriots? | SELECT Result FROM table WHERE Opponent = new england patriots |
Translate the following into a SQL query | What competition took place on 28/04/1906? | SELECT Competition FROM table WHERE Date = 28/04/1906 |
Translate the following into a SQL query | Who were the runners-up in the game that was won by Cork City F.C. on 10/05/1998? | SELECT Runners-up FROM table WHERE Winners = cork city f.c. AND Date = 10/05/1998 |
Translate the following into a SQL query | What was the score in the game that was won by Sligo Rovers F.C.? | SELECT Score FROM table WHERE Winners = sligo rovers f.c. |
Translate the following into a SQL query | What date did the Fai Cup with Derry City F.C. as runners-up take place? | SELECT Date FROM table WHERE Competition = fai cup AND Runners-up = derry city f.c. |
Translate the following into a SQL query | What is the Runner-up on April 11? | SELECT Runner-up FROM table WHERE Week = april 11 |
Translate the following into a SQL query | What was the Tournament on May 2? | SELECT Tournament FROM table WHERE Week = may 2 |
Translate the following into a SQL query | What is Left Office, when Took Office is "11 June 2001", and when Minister is "Mirko Tremaglia"? | SELECT Left office FROM table WHERE Took office = 11 june 2001 AND Minister = mirko tremaglia |
Translate the following into a SQL query | What is Minister, when Party is "AN"? | SELECT Minister FROM table WHERE Party = an |
Translate the following into a SQL query | What is Left Office, when Party is "UDC", and when Took Office is "11 June 2001"? | SELECT Left office FROM table WHERE Party = udc AND Took office = 11 june 2001 |
Translate the following into a SQL query | What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"? | SELECT Party FROM table WHERE Left office = 23 april 2005 AND Portfolio = minister of reforms and devolutions |
Translate the following into a SQL query | What is Minister, when Portfolio is "Minister of Pubblic Administration", and when Took Office is "14 November 2002"? | SELECT Minister FROM table WHERE Portfolio = minister of pubblic administration AND Took office = 14 november 2002 |
Translate the following into a SQL query | What is Party, when Minister is "Franco Frattini"? | SELECT Party FROM table WHERE Minister = franco frattini |
Translate the following into a SQL query | What event had the opponent Ryan Bow? | SELECT Event FROM table WHERE Opponent = ryan bow |
Translate the following into a SQL query | What location had the opponent Hiroyuki Abe? | SELECT Location FROM table WHERE Opponent = hiroyuki abe |
Translate the following into a SQL query | What was the 2nd leg for 2004? | SELECT 2nd leg FROM table WHERE Year = 2004 |
Translate the following into a SQL query | What is the 2nd leg when San Pedro was the winner? | SELECT 2nd leg FROM table WHERE Winner = san pedro |
Translate the following into a SQL query | What was the rate when there were more than 22 goals? | SELECT Rate FROM table WHERE Goals > 22 |
Translate the following into a SQL query | What largest against has the opposing team of fiji? | SELECT MAX Against FROM table WHERE Opposing Team = fiji |
Translate the following into a SQL query | Which Position has a Competition of european race walking cup? | SELECT Position FROM table WHERE Competition = european race walking cup |
Translate the following into a SQL query | Which Venue has a Competition of european championships, and a Position of 7th? | SELECT Venue FROM table WHERE Competition = european championships AND Position = 7th |
Translate the following into a SQL query | Where was the world race walking cup held before 2001? | SELECT Venue FROM table WHERE Year < 2001 AND Competition = world race walking cup |
Translate the following into a SQL query | WHAT COMPETITION HAS MARIAN SANDU? | SELECT Competition FROM table WHERE Res. = marian sandu |
Translate the following into a SQL query | WHAT SCORE WAS ON 1999-05-31? | SELECT Score FROM table WHERE Date = 1999-05-31 |
Translate the following into a SQL query | WHAT OPPONENT HAD A SCORE OF 5:5? | SELECT Opponent FROM table WHERE Score = 5:5 |
Translate the following into a SQL query | What Competition on August 3, 2005 had a Score of 5-0? | SELECT Competition FROM table WHERE Score = 5-0 AND Date = august 3, 2005 |
Translate the following into a SQL query | What was the Venue of the 2009 Gulf Cup of Nations? | SELECT Venue FROM table WHERE Competition = 2009 gulf cup of nations |
Translate the following into a SQL query | What Venue on October 27, 2005 had a Score of 5-0? | SELECT Venue FROM table WHERE Score = 5-0 AND Date = october 27, 2005 |
Translate the following into a SQL query | What is the Result of the Friendly Competition on October 27, 2005 with a Score of 5-0? | SELECT Result FROM table WHERE Competition = friendly AND Score = 5-0 AND Date = october 27, 2005 |
Translate the following into a SQL query | Can you tell me the total number of React that has the Lane of 5? | SELECT COUNT React FROM table WHERE Lane = 5 |
Translate the following into a SQL query | Can you tell me the lowest React that has the Lane of 5? | SELECT MIN React FROM table WHERE Lane = 5 |
Translate the following into a SQL query | What is the winning score of the match with a margin of 3 strokes? | SELECT Winning score FROM table WHERE Margin = 3 strokes |
Translate the following into a SQL query | How many years was there a peter jackson classic? | SELECT COUNT Year FROM table WHERE Championship = peter jackson classic |
Translate the following into a SQL query | Which year was the peter jackson classic? | SELECT Year FROM table WHERE Championship = peter jackson classic |
Translate the following into a SQL query | What is Date, when Visitor is Toronto? | SELECT Date FROM table WHERE Visitor = toronto |
Translate the following into a SQL query | What is Record, when Date is November 23? | SELECT Record FROM table WHERE Date = november 23 |
Translate the following into a SQL query | What is Visitor, when Home is Philadelphia, and when Date is November 18? | SELECT Visitor FROM table WHERE Home = philadelphia AND Date = november 18 |
Translate the following into a SQL query | What is the average Attendance, when Visitor is Toronto? | SELECT AVG Attendance FROM table WHERE Visitor = toronto |
Translate the following into a SQL query | What's the average year with a rank less than 3? | SELECT AVG Year FROM table WHERE Rank < 3 |
Translate the following into a SQL query | What country got accolades in 2002? | SELECT Country FROM table WHERE Year = 2002 |
Translate the following into a SQL query | What's the accolade for the rank of 497? | SELECT Accolade FROM table WHERE Rank = 497 |
Translate the following into a SQL query | What's the average year for the accolade 100 greatest singles of all time? | SELECT AVG Year FROM table WHERE Accolade = 100 greatest singles of all time |
Translate the following into a SQL query | What was the attendance during the game against Philadelphia? | SELECT Location Attendance FROM table WHERE Team = philadelphia |
Translate the following into a SQL query | Which NFL team has a player that came from a college in Washington? | SELECT NFL Team FROM table WHERE College = washington |
Translate the following into a SQL query | What position does Bobby Micho, who was picked later than 186 others, play on the Broncos team? | SELECT Position FROM table WHERE Pick # > 186 AND Player = bobby micho |
Translate the following into a SQL query | What is Since, when Transfer Fee is "£ 12m"? | SELECT Since FROM table WHERE Transfer fee = £ 12m |
Translate the following into a SQL query | What is Name, when Goals is greater than 14, and when Transfer Fee is "Youth System"? | SELECT Name FROM table WHERE Goals > 14 AND Transfer fee = youth system |
Translate the following into a SQL query | What is Nat., when Name is "Fàbregas ( Captain )"? | SELECT Nat. FROM table WHERE Name = fàbregas ( captain ) |
Translate the following into a SQL query | What is Time, when Method is "submission (knees)"? | SELECT Time FROM table WHERE Method = submission (knees) |
Translate the following into a SQL query | What is Record, when Event is "UFC 40"? | SELECT Record FROM table WHERE Event = ufc 40 |
Translate the following into a SQL query | What is the name of the track that hosted the Swedish Grand Prix in 1979? | SELECT Track FROM table WHERE Year = 1979 |
Translate the following into a SQL query | What year did Barry Sheene win the 125 cc? | SELECT Year FROM table WHERE 125 cc = barry sheene |
Translate the following into a SQL query | Who won the 250 cc in 1987? | SELECT 250 cc FROM table WHERE Year = 1987 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.