instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the pick for the player with 2 years in the NBA and who plays for the Utah Jazz? | SELECT Pick FROM table WHERE NBA years [a ] = 2 AND Previous team = utah jazz |
Translate the following into a SQL query | What was the final score for the game in which Carmelo Anthony (26) was the high points scorer? | SELECT Score FROM table WHERE High points = carmelo anthony (26) |
Translate the following into a SQL query | In which game number was Chris Andersen (12) the high rebounds scorer? | SELECT Game FROM table WHERE High rebounds = chris andersen (12) |
Translate the following into a SQL query | What was the final score for the game played against @ Milwaukee? | SELECT Score FROM table WHERE Team = @ milwaukee |
Translate the following into a SQL query | For the game played against the L.A. Lakers, where was the match played and what was the attendance level? | SELECT Location Attendance FROM table WHERE Team = l.a. lakers |
Translate the following into a SQL query | What is Name, when Laps is "50", when Grid is greater than 9, when Team is "Jim Beam Racing", and when Time/Retired is "+ 18.0s"? | SELECT Name FROM table WHERE Laps = 50 AND Grid > 9 AND Team = jim beam racing AND Time/Retired = + 18.0s |
Translate the following into a SQL query | What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"? | SELECT MIN Laps FROM table WHERE Grid > 7 AND Name = fabian coulthard |
Translate the following into a SQL query | What is Time/Retired, when Laps is less than 49, and when Name is "Michael Caruso"? | SELECT Time/Retired FROM table WHERE Laps < 49 AND Name = michael caruso |
Translate the following into a SQL query | What is Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4? | SELECT Time/Retired FROM table WHERE Team = team vodafone AND Grid > 4 |
Translate the following into a SQL query | What is the draw number of the Artist Dav Mcnamara and a place bigger than 4? | SELECT COUNT Draw FROM table WHERE Artist = dav mcnamara AND Place > 4 |
Translate the following into a SQL query | What is the stadium name that has 144 as the runs? | SELECT Stadium FROM table WHERE Runs = 144 |
Translate the following into a SQL query | For what year was 100* runs happen? | SELECT Year FROM table WHERE Runs = 100* |
Translate the following into a SQL query | How many runs happened in 2013? | SELECT Runs FROM table WHERE Year = 2013 |
Translate the following into a SQL query | With 42 as the match what are the runs? | SELECT Runs FROM table WHERE Match = 42 |
Translate the following into a SQL query | In 2009 with 100* runs, what is the match? | SELECT Match FROM table WHERE Year = 2009 AND Runs = 100* |
Translate the following into a SQL query | When the game was played in the stadium called stadium what was the match? | SELECT Match FROM table WHERE Stadium = stadium |
Translate the following into a SQL query | What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)? | SELECT 2nd round FROM table WHERE Score = 3 - 3 AND Team 1 = fc gueugnon (d2) |
Translate the following into a SQL query | What is the 2nd round with a score of 3 - 3, and a team 2 fc lorient (d2)? | SELECT 2nd round FROM table WHERE Score = 3 - 3 AND Team 2 = fc lorient (d2) |
Translate the following into a SQL query | What team 1 has a 2nd round 0 - 1, and a team 2 rc lens (d1)? | SELECT Team 1 FROM table WHERE 2nd round = 0 - 1 AND Team 2 = rc lens (d1) |
Translate the following into a SQL query | What is the 1st round with a team 2 paris sg (d1)? | SELECT 1st round FROM table WHERE Team 2 = paris sg (d1) |
Translate the following into a SQL query | What is the 1st round with a 2nd round of 0 - 1, and team 1 sco angers (d1)? | SELECT 1st round FROM table WHERE 2nd round = 0 - 1 AND Team 1 = sco angers (d1) |
Translate the following into a SQL query | WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN? | SELECT Name FROM table WHERE Transfer window = summer AND Country = sen |
Translate the following into a SQL query | WHAT IS THE COUNTRY WITH NAME OF KANU? | SELECT Country FROM table WHERE Name = kanu |
Translate the following into a SQL query | WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY? | SELECT Moving to FROM table WHERE Country = bel |
Translate the following into a SQL query | WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW? | SELECT Country FROM table WHERE Transfer window = summer |
Translate the following into a SQL query | WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA? | SELECT Transfer window FROM table WHERE Country = bra |
Translate the following into a SQL query | What opponent had an attendance of 63,659? | SELECT Opponent# FROM table WHERE Attendance = 63,659 |
Translate the following into a SQL query | What was the result of 10/18/1947? | SELECT Result FROM table WHERE Date = 10/18/1947 |
Translate the following into a SQL query | What was the result for 10/04/1947? | SELECT Result FROM table WHERE Date = 10/04/1947 |
Translate the following into a SQL query | Which competition has a report of AIFF? | SELECT Competition FROM table WHERE Report = aiff |
Translate the following into a SQL query | What is the score for a report of AFC on April 4, 2008? | SELECT Score FROM table WHERE Report = afc AND Date = april 4, 2008 |
Translate the following into a SQL query | What was the attendance for the game against the Houston Oilers? | SELECT Attendance FROM table WHERE Opponent = houston oilers |
Translate the following into a SQL query | How many people attended round f? | SELECT COUNT Attendance FROM table WHERE Round = f |
Translate the following into a SQL query | How many people on average attend round f? | SELECT AVG Attendance FROM table WHERE Round = f |
Translate the following into a SQL query | What was the result in round qf? | SELECT Result FROM table WHERE Round = qf |
Translate the following into a SQL query | Who played Blackpool when Blackpool was at home? | SELECT Away team FROM table WHERE Home team = blackpool |
Translate the following into a SQL query | How many times did Arsenal tie when they were away? | SELECT Tie no FROM table WHERE Away team = arsenal |
Translate the following into a SQL query | What was the score of the game when Blackpool was away? | SELECT Score FROM table WHERE Away team = blackpool |
Translate the following into a SQL query | What result had a time of 1:02? | SELECT Result FROM table WHERE Time = 1:02 |
Translate the following into a SQL query | What time was the event k-1 the challenge 1999? | SELECT Time FROM table WHERE Event = k-1 the challenge 1999 |
Translate the following into a SQL query | Where was the decision draw before round 5? | SELECT Location FROM table WHERE Method = decision draw AND Round < 5 |
Translate the following into a SQL query | What is Career Win-Loss, when Tournament is "Hamburg"? | SELECT Career Win-Loss FROM table WHERE Tournament = hamburg |
Translate the following into a SQL query | What is 2004, when 2003 is "1R", and when 2006 is "A"? | SELECT 2004 FROM table WHERE 2003 = 1r AND 2006 = a |
Translate the following into a SQL query | What is 2007, when 2000 is "0 / 4"? | SELECT 2007 FROM table WHERE 2000 = 0 / 4 |
Translate the following into a SQL query | What is 2007, when 2003 is "85"? | SELECT 2007 FROM table WHERE 2003 = 85 |
Translate the following into a SQL query | What is 2004, when 2007 is "A", and when 1997 is "A"? | SELECT 2004 FROM table WHERE 2007 = a AND 1997 = a |
Translate the following into a SQL query | What is 2000, when 1996 is "A", when 1997 is "A", and when 2007 is "A"? | SELECT 2000 FROM table WHERE 1996 = a AND 1997 = a AND 2007 = a |
Translate the following into a SQL query | What is Award, when Category is Cabello Maluco? | SELECT Award FROM table WHERE Category = cabello maluco |
Translate the following into a SQL query | What is the total number of years in which Eiza González had a nominated work in the category of solista favorito? | SELECT SUM Year FROM table WHERE Nominated Work = eiza gonzález AND Category = solista favorito |
Translate the following into a SQL query | Before the year 2012, what award was given to the artist in the category of revelación pop del año? | SELECT Award FROM table WHERE Year < 2012 AND Category = revelación pop del año |
Translate the following into a SQL query | what is the method when the record is 1-1? | SELECT Method FROM table WHERE Record = 1-1 |
Translate the following into a SQL query | what is the event when the opponent is yuji hisamatsu? | SELECT Event FROM table WHERE Opponent = yuji hisamatsu |
Translate the following into a SQL query | What is the time of ufc 154? | SELECT Time FROM table WHERE Event = ufc 154 |
Translate the following into a SQL query | What is the average round of the match with kevin manderson as the opponent? | SELECT AVG Round FROM table WHERE Opponent = kevin manderson |
Translate the following into a SQL query | What was the location attendance on January 19? | SELECT Location Attendance FROM table WHERE Date = january 19 |
Translate the following into a SQL query | What number game was it that the Spurs were @ Miami? | SELECT SUM Game FROM table WHERE Team = @ miami |
Translate the following into a SQL query | What is the total number of losses of the player that has drawn 1 and played smaller than 12? | SELECT COUNT Lost FROM table WHERE Drawn = 1 AND Played < 12 |
Translate the following into a SQL query | What type of surface did the tournament canada f9, markham have? | SELECT Surface FROM table WHERE Tournament = canada f9, markham |
Translate the following into a SQL query | What is Score, when Date is December 23? | SELECT Score FROM table WHERE Date = december 23 |
Translate the following into a SQL query | What is Score when Team is @ Kansas City-Omaha Kings? | SELECT Score FROM table WHERE Team = @ kansas city-omaha kings |
Translate the following into a SQL query | Which position has an Overall smaller than 64, and a Round of 1? | SELECT Position FROM table WHERE Overall < 64 AND Round = 1 |
Translate the following into a SQL query | Which average overall has a Pick smaller than 5? | SELECT AVG Overall FROM table WHERE Pick < 5 |
Translate the following into a SQL query | Which highest overall has a College of idaho, and a Round smaller than 1? | SELECT MAX Overall FROM table WHERE College = idaho AND Round < 1 |
Translate the following into a SQL query | How many rounds have a Pick smaller than 10, and a Name of larry hendershot? | SELECT COUNT Round FROM table WHERE Pick < 10 AND Name = larry hendershot |
Translate the following into a SQL query | What is Part 1, when Part 2 is "fraus"? | SELECT Part 1 FROM table WHERE Part 2 = fraus |
Translate the following into a SQL query | What is Part 3, when Part 1 is "frjósa"? | SELECT Part 3 FROM table WHERE Part 1 = frjósa |
Translate the following into a SQL query | What is Class, when Part 2 is "blétu"? | SELECT Class FROM table WHERE Part 3 = blétu |
Translate the following into a SQL query | What is Part 4, when Part 2 is "hljóp"? | SELECT Part 4 FROM table WHERE Part 2 = hljóp |
Translate the following into a SQL query | What is Part 4, when Part 2 is "batt"? | SELECT Part 4 FROM table WHERE Part 2 = batt |
Translate the following into a SQL query | What is Part 1, when Part 3 is "heldu"? | SELECT Part 1 FROM table WHERE Part 3 = heldu |
Translate the following into a SQL query | What is the home team which plays at a venue called Win Entertainment Centre? | SELECT Home team FROM table WHERE Venue = win entertainment centre |
Translate the following into a SQL query | What away team had a 103-94 score? | SELECT Away team FROM table WHERE Score = 103-94 |
Translate the following into a SQL query | When the home team is Cairns Taipans, at which venue do they play? | SELECT Venue FROM table WHERE Home team = cairns taipans |
Translate the following into a SQL query | What is the bird uniform for Eagle Rider Mickey Dugan? | SELECT Bird Uniform FROM table WHERE Eagle Riders = mickey dugan |
Translate the following into a SQL query | Who is the Japanese voice actor of Eagle Rider Ollie Keeawani? | SELECT Japanese voice actor FROM table WHERE Eagle Riders = ollie keeawani |
Translate the following into a SQL query | What is the bird uniform for the voice actor Heidi Noelle Lenhart? | SELECT Bird Uniform FROM table WHERE Voice actor (Eagle Riders) = heidi noelle lenhart |
Translate the following into a SQL query | What is the Mecha of the Japanese voice actor Shingo Kanemoto? | SELECT Mecha FROM table WHERE Japanese voice actor = shingo kanemoto |
Translate the following into a SQL query | What is the weapon for the mecha of motorcycle? | SELECT Weapon FROM table WHERE Mecha = motorcycle |
Translate the following into a SQL query | What is the bird uniform that is associated with the rank of G2? | SELECT Bird Uniform FROM table WHERE Rank = g2 |
Translate the following into a SQL query | Which team had a score of 103-96? | SELECT Team FROM table WHERE Score = 103-96 |
Translate the following into a SQL query | What is the smallest game had a location of Madison Square Garden with a score of 109-99? | SELECT MIN Game FROM table WHERE Location Attendance = madison square garden AND Score = 109-99 |
Translate the following into a SQL query | What is the 2007 value for the 2006 wta premier tournaments? | SELECT 2007 FROM table WHERE 2006 = wta premier tournaments |
Translate the following into a SQL query | What is the 2007 value for the 2010 wta premier 5 tournaments? | SELECT 2007 FROM table WHERE 2010 = wta premier 5 tournaments |
Translate the following into a SQL query | What is the 2004 value with A in 2005, A in 2008, and lq in 2009? | SELECT 2004 FROM table WHERE 2005 = a AND 2008 = a AND 2009 = lq |
Translate the following into a SQL query | What is the career SR for the tournament of wimbledon? | SELECT Career SR FROM table WHERE Tournament = wimbledon |
Translate the following into a SQL query | What is the score for the Tie no. 12? | SELECT Score FROM table WHERE Tie no = 12 |
Translate the following into a SQL query | What is the home team against the away team Norwich City? | SELECT Home team FROM table WHERE Away team = norwich city |
Translate the following into a SQL query | Who is the home team with a tie no. 12? | SELECT Home team FROM table WHERE Tie no = 12 |
Translate the following into a SQL query | WHAT IS THE PLAYER WITH A PICK OF 219? | SELECT Player FROM table WHERE Pick = 219 |
Translate the following into a SQL query | WHAT NATIONALITY HAS ROUND 3? | SELECT Nationality FROM table WHERE Round = 3 |
Translate the following into a SQL query | WHAT PLAYER HAS A PICK SMALLER THAN 110, AND DUKE AS COLLEGE? | SELECT Player FROM table WHERE Pick < 110 AND College = duke |
Translate the following into a SQL query | WHAT POSITION HAD SPURS IN 2009-2012? | SELECT Position FROM table WHERE Years with Spurs = 2009-2012 |
Translate the following into a SQL query | Who won on the week of August 10? | SELECT Winner and score FROM table WHERE Week = august 10 |
Translate the following into a SQL query | What surface was played on during the week of August 10? | SELECT Surface FROM table WHERE Week = august 10 |
Translate the following into a SQL query | What tournament had Greg Rusedski as a finalist? | SELECT Tournament FROM table WHERE Finalist = greg rusedski |
Translate the following into a SQL query | What was the surface that was played on during the week of March 16? | SELECT Surface FROM table WHERE Week = march 16 |
Translate the following into a SQL query | what is the least laps when the driver is rubens barrichello and the grid is less than 12? | SELECT MIN Laps FROM table WHERE Driver = rubens barrichello AND Grid < 12 |
Translate the following into a SQL query | what is the time/retired when the laps is 55? | SELECT Time/Retired FROM table WHERE Laps = 55 |
Translate the following into a SQL query | Where was the event Kage Kombat 16? | SELECT Location FROM table WHERE Event = kage kombat 16 |
Translate the following into a SQL query | Which event had the record of 18–5 (1)? | SELECT Event FROM table WHERE Record = 18–5 (1) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.