instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the least amount of points when there were less than 4 losses and less than 16 against? | SELECT MIN Points FROM table WHERE Lost < 4 AND Against < 16 |
Translate the following into a SQL query | Who does Rockstar Games use as a developer? | SELECT Developer FROM table WHERE Publisher = rockstar games |
Translate the following into a SQL query | When Did Microsoft Game Studios release Amped: Freestyle Snowboarding? | SELECT Release date FROM table WHERE Publisher = microsoft game studios AND Title = amped: freestyle snowboarding |
Translate the following into a SQL query | Which 10:30 has an 8:30 of la soirรฉe du hockey? | SELECT 10:30 FROM table WHERE 8:30 = la soirรฉe du hockey |
Translate the following into a SQL query | Which 7:30 has an 8:00 of movies & specials? | SELECT 7:30 FROM table WHERE 8:00 = movies & specials |
Translate the following into a SQL query | Which 10:30 has an 7:30 of earth: final conflict? | SELECT 10:30 FROM table WHERE 7:30 = earth: final conflict |
Translate the following into a SQL query | Which 8:00 has a 10:00 of movies & specials? | SELECT 8:00 FROM table WHERE 10:00 = movies & specials |
Translate the following into a SQL query | Which 7:30 has a 10:30 of le grand journal? | SELECT 7:30 FROM table WHERE 10:30 = le grand journal |
Translate the following into a SQL query | Which 7:00 has an 8:00 of la soirรฉe du hockey? | SELECT 7:00 FROM table WHERE 8:00 = la soirรฉe du hockey |
Translate the following into a SQL query | Which Score has a Home of quebec nordiques, and a Visitor of vancouver blazers on february 28? | SELECT Score FROM table WHERE Home = quebec nordiques AND Visitor = vancouver blazers AND Date = february 28 |
Translate the following into a SQL query | When has a Visitor of new england whalers, and a Record of 9โ9โ1? Question 2 | SELECT Date FROM table WHERE Visitor = new england whalers AND Record = 9โ9โ1 |
Translate the following into a SQL query | Which Home has a Visitor of quebec nordiques, and a Score of 3โ4, and a Record of 8โ8โ1? | SELECT Home FROM table WHERE Visitor = quebec nordiques AND Score = 3โ4 AND Record = 8โ8โ1 |
Translate the following into a SQL query | WHich Score has a Record of 31โ28โ3? | SELECT Score FROM table WHERE Record = 31โ28โ3 |
Translate the following into a SQL query | When has Score of 4โ5, and a Record of 21โ21โ3? | SELECT Date FROM table WHERE Score = 4โ5 AND Record = 21โ21โ3 |
Translate the following into a SQL query | What is the Score of a Record 24โ23โ3? | SELECT Score FROM table WHERE Record = 24โ23โ3 |
Translate the following into a SQL query | During which games did Tunisia win gold in the men's 5000 m? | SELECT Games FROM table WHERE Event = men's 5000 m AND Medal = gold |
Translate the following into a SQL query | What medal was won in the men's light welterweight event at the 1996 Atlanta games? | SELECT Medal FROM table WHERE Event = men's light welterweight AND Games = 1996 atlanta |
Translate the following into a SQL query | At which games did Tunisia win a bronze in the men's 1500 m freestyle? | SELECT Games FROM table WHERE Medal = bronze AND Event = men's 1500 m freestyle |
Translate the following into a SQL query | What medal was won in the men's 5000 m event? | SELECT Medal FROM table WHERE Event = men's 5000 m |
Translate the following into a SQL query | What is on the at 8:00 on the same channel that has Costello on at 8:30? | SELECT 8:00 FROM table WHERE 8:30 = costello |
Translate the following into a SQL query | What is on at 7:30 on the same channel as Wheel of Fortune at 7:00? | SELECT 7:30 FROM table WHERE 7:00 = wheel of fortune |
Translate the following into a SQL query | What is on at 8:00 on the same change as W-Five at 10:00? | SELECT 8:00 FROM table WHERE 10:00 = w-five |
Translate the following into a SQL query | What is on at 9:30 on the same channel as Fin du Monde at 10:00? | SELECT 9:30 FROM table WHERE 10:00 = fin du monde |
Translate the following into a SQL query | What is on at 8:30 on the same channel as Les Machos at 9:00? | SELECT 8:30 FROM table WHERE 9:00 = les machos |
Translate the following into a SQL query | What is the draw with less than 107 points by the artist Jan Johansen? | SELECT COUNT Draw FROM table WHERE Artist = jan johansen AND Points < 107 |
Translate the following into a SQL query | In what Year did the Norton Team have 0 Points and 350cc Class? | SELECT AVG Year FROM table WHERE Class = 350cc AND Team = norton AND Points < 0 |
Translate the following into a SQL query | What is the Wins before 1960 with less than 2 Points? | SELECT SUM Wins FROM table WHERE Year < 1960 AND Points < 2 |
Translate the following into a SQL query | What was the earliest Year the Linto Team had less than 15 Points with more than 0 Wins? | SELECT MIN Year FROM table WHERE Wins > 0 AND Team = linto AND Points < 15 |
Translate the following into a SQL query | What were the points for a team that 414 points against? | SELECT Points for FROM table WHERE Points against = 414 |
Translate the following into a SQL query | Who was the player that had drawn 1 and tried for 20? | SELECT Played FROM table WHERE Drawn = 1 AND Tries for = 20 |
Translate the following into a SQL query | What were the points for that had a game where there was 678 against? | SELECT Points for FROM table WHERE Points against = 678 |
Translate the following into a SQL query | What were the points against in a game that was played correct as of 2009-05-16? | SELECT Points against FROM table WHERE Played = correct as of 2009-05-16 |
Translate the following into a SQL query | What was the tries again llanishen rfc? | SELECT Tries against FROM table WHERE Club = llanishen rfc |
Translate the following into a SQL query | What was drawn for llanishen rfc? | SELECT Drawn FROM table WHERE Club = llanishen rfc |
Translate the following into a SQL query | Which District has a 2008 Status of re-election, and a Democratic david price? | SELECT AVG District FROM table WHERE 2008 Status = re-election AND Democratic = david price |
Translate the following into a SQL query | Which District has a Republican of dan mansell? | SELECT AVG District FROM table WHERE Republican = dan mansell |
Translate the following into a SQL query | Which Republican has a District of 10? | SELECT Republican FROM table WHERE District = 10 |
Translate the following into a SQL query | Which Incumbent has a Republican of dan mansell? | SELECT Incumbent FROM table WHERE Republican = dan mansell |
Translate the following into a SQL query | Which Democratic has a District smaller than 7, and a Republican of dan mansell? | SELECT Democratic FROM table WHERE District < 7 AND Republican = dan mansell |
Translate the following into a SQL query | Which record has a score of 135โ134? | SELECT Record FROM table WHERE Score = 135โ134 |
Translate the following into a SQL query | Name the position for the player born 2 november 1987 | SELECT Position FROM table WHERE Date of Birth (Age) = 2 november 1987 |
Translate the following into a SQL query | Name the club/province for steve borthwick | SELECT Club/province FROM table WHERE Player = steve borthwick |
Translate the following into a SQL query | What is the largest ration with an ordinary value of 84 zolotnik? | SELECT MAX Ratio FROM table WHERE Ordinary value = 84 zolotnik |
Translate the following into a SQL query | What unit has an Avoirdupois value of 57.602 gr.? | SELECT Unit FROM table WHERE Avoirdupois value = 57.602 gr. |
Translate the following into a SQL query | Which translation had a unit of Uncia? | SELECT Translation FROM table WHERE Unit = uncia |
Translate the following into a SQL query | What ordinary value has a metric value of 29.861 g? | SELECT Ordinary value FROM table WHERE Metric value = 29.861 g |
Translate the following into a SQL query | Which ordinary value has a Russian value of ัะฝัะธั? | SELECT Ordinary value FROM table WHERE Russian = ัะฝัะธั |
Translate the following into a SQL query | Which Avoirdupois value is translated to grain? | SELECT Avoirdupois value FROM table WHERE Translation = grain |
Translate the following into a SQL query | What is the number of turns for the City of san antonio? | SELECT Turns FROM table WHERE City = san antonio |
Translate the following into a SQL query | What is the State with the imsa gt as the Major Series and a track in new orleans? | SELECT State FROM table WHERE Major Series = imsa gt AND Track = new orleans |
Translate the following into a SQL query | Where is the track located with 18 turns? | SELECT Track FROM table WHERE Turns = 18 |
Translate the following into a SQL query | What is the State with the trans-am Major Series in Grand Rapids? | SELECT State FROM table WHERE Major Series = trans-am AND City = grand rapids |
Translate the following into a SQL query | Where is the track located that opened in 1992? | SELECT Track FROM table WHERE Opened = 1992 |
Translate the following into a SQL query | What shows for opened for the Nascar Major Series? | SELECT Opened FROM table WHERE Major Series = nascar |
Translate the following into a SQL query | What is the lowest number of FA cups associated with 0 malaysia cups? | SELECT MIN FA Cup FROM table WHERE Malaysia Cup < 0 |
Translate the following into a SQL query | How many league cups for m patrick maria with 0 total? | SELECT SUM League FROM table WHERE Player = m patrick maria AND Total < 0 |
Translate the following into a SQL query | What is the highest number of Malaysia Cups for a player with over 0 leagues and under 0 FA cups? | SELECT MAX Malaysia Cup FROM table WHERE League > 0 AND FA Cup < 0 |
Translate the following into a SQL query | What is the tournament on July 29 hosted by SK Brann? | SELECT Tournament FROM table WHERE Host = sk brann AND Date = july 29 |
Translate the following into a SQL query | Who is the visitor of the match on July 29? | SELECT Visitor FROM table WHERE Date = july 29 |
Translate the following into a SQL query | What is the game that has the phoenix suns as the opponent played against? | SELECT Result FROM table WHERE Opponent = phoenix suns |
Translate the following into a SQL query | What is the attendance of the game on 2007-04-07 with the Warriors as the visitor team? | SELECT Attendance FROM table WHERE Visitor = warriors AND Date = 2007-04-07 |
Translate the following into a SQL query | What day is their record 13-15? | SELECT Date FROM table WHERE Record = 13-15 |
Translate the following into a SQL query | Who did they play when dickey (0-1) recorded the loss? | SELECT Opponent FROM table WHERE Loss = dickey (0-1) |
Translate the following into a SQL query | What is the result of the game of heinz field with a record of 2-5? | SELECT Result FROM table WHERE Game site = heinz field AND Record = 2-5 |
Translate the following into a SQL query | What opponent has a record of 6-9? | SELECT Opponent FROM table WHERE Record = 6-9 |
Translate the following into a SQL query | What is the week with a record of 2-1? | SELECT COUNT Week FROM table WHERE Record = 2-1 |
Translate the following into a SQL query | What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign? | SELECT City of license FROM table WHERE Frequency MHz < 95.9 AND Call sign = w223au |
Translate the following into a SQL query | What is the Call sign for the ERP W 19? | SELECT Call sign FROM table WHERE ERP W = 19 |
Translate the following into a SQL query | What FCC info is listed for the ERP W of 2? | SELECT FCC info FROM table WHERE ERP W = 2 |
Translate the following into a SQL query | What Call sign shows an ERP W of 80? | SELECT Call sign FROM table WHERE ERP W = 80 |
Translate the following into a SQL query | What is the Class for the ERP W of more than 2 and the call sign of w223au? | SELECT Class FROM table WHERE ERP W > 2 AND Call sign = w223au |
Translate the following into a SQL query | what team lost on july 30 | SELECT Loss FROM table WHERE Date = july 30 |
Translate the following into a SQL query | What sport was played on February 25, 2011? | SELECT Sport FROM table WHERE Date = february 25, 2011 |
Translate the following into a SQL query | Where was the sport played on September 10, 2010? | SELECT Site FROM table WHERE Date = september 10, 2010 |
Translate the following into a SQL query | What type of surface was played on when julie halard-decugis was the partner on October 8, 2000? | SELECT Surface FROM table WHERE Partner = julie halard-decugis AND Date = october 8, 2000 |
Translate the following into a SQL query | How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller than 1? | SELECT COUNT Played FROM table WHERE % Win = 50.00% AND Losses = 1 AND Wins < 1 |
Translate the following into a SQL query | WHAT kind of No Result has Wins smaller than 2, and Losses larger than 1? | SELECT No Result FROM table WHERE Wins < 2 AND Losses > 1 |
Translate the following into a SQL query | How many Played that has Losses of 6, and Wins larger than 33? | SELECT AVG Played FROM table WHERE Losses = 6 AND Wins > 33 |
Translate the following into a SQL query | What kind of No Result has a % Win of 100.00% and a Played larger than 4 in 2012? | SELECT MIN No Result FROM table WHERE % Win = 100.00% AND Played > 4 AND Year = 2012 |
Translate the following into a SQL query | What is the Loss has an Attendance more than 43,095 and a Record of 31โ29? | SELECT Loss FROM table WHERE Attendance > 43,095 AND Record = 31โ29 |
Translate the following into a SQL query | Which Loss has a Score of 6โ5? | SELECT Loss FROM table WHERE Score = 6โ5 |
Translate the following into a SQL query | Date of wed. nov. 13 had how many number of games? | SELECT COUNT Game FROM table WHERE Date = wed. nov. 13 |
Translate the following into a SQL query | Record of 6โ1 had what score? | SELECT Score FROM table WHERE Record = 6โ1 |
Translate the following into a SQL query | Score of 118โ114, and a Record of 8โ1 is what lowest game? | SELECT MIN Game FROM table WHERE Score = 118โ114 AND Record = 8โ1 |
Translate the following into a SQL query | Which circuit was in Great Britain with Ireland as the winner? | SELECT Circuit FROM table WHERE Feature Winner = ireland AND Country = great britain |
Translate the following into a SQL query | How many were in attendance when the league position was 16th and the score was FโA of 0โ3? | SELECT COUNT Attendance FROM table WHERE League position = 16th AND Score FโA = 0โ3 |
Translate the following into a SQL query | How many were in attendance for a result of D, at H venue, and Arsenal as an opponent? | SELECT Attendance FROM table WHERE Result = d AND Venue = h AND Opponents = arsenal |
Translate the following into a SQL query | What is the largest number in attendance at H venue opposing Liverpool with a result of D? | SELECT MAX Attendance FROM table WHERE Venue = h AND Result = d AND Opponents = liverpool |
Translate the following into a SQL query | What is the number of Justin Jeffries? | SELECT COUNT Number FROM table WHERE Name = justin jeffries |
Translate the following into a SQL query | How many games has number 61 played in? | SELECT MIN Gamesโ FROM table WHERE Number = 61 |
Translate the following into a SQL query | What is the name of the player who is a wr and has a weight of 197? | SELECT Name FROM table WHERE Position = wr AND Weight = 197 |
Translate the following into a SQL query | What is the hometown of number 40? | SELECT Hometown FROM table WHERE Number = 40 |
Translate the following into a SQL query | What date is the visitor Ottawa? | SELECT Date FROM table WHERE Visitor = ottawa |
Translate the following into a SQL query | what is the sum of the year in rhode island | SELECT SUM Year FROM table WHERE State = rhode island |
Translate the following into a SQL query | what is the senator in kentucky | SELECT Senator FROM table WHERE State = kentucky |
Translate the following into a SQL query | What is the destination of the rail with Dhanbad as the origin? | SELECT Destination FROM table WHERE Origin = dhanbad |
Translate the following into a SQL query | What is the destination of the Garib nwaz exp train? | SELECT Destination FROM table WHERE Train Name = garib nwaz exp |
Translate the following into a SQL query | What is the train name of the rail with a daily frequency and a destination of Rajgir? | SELECT Train Name FROM table WHERE Frequency (inbound/outbound) = daily AND Destination = rajgir |
Translate the following into a SQL query | What is the train name of the rail with a daily frequency and Jammutawi as the destination? | SELECT Train Name FROM table WHERE Frequency (inbound/outbound) = daily AND Destination = jammutawi |
Translate the following into a SQL query | What is the frequency of the rail with an origin of Ranchi? | SELECT Frequency (inbound/outbound) FROM table WHERE Origin = ranchi |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.