instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many Points have a Score of 3–0? | SELECT COUNT Points FROM table WHERE Score = 3–0 |
Translate the following into a SQL query | Which Game has Points smaller than 10, and an October larger than 12, and an Opponent of @ washington capitals? | SELECT SUM Game FROM table WHERE Points < 10 AND October > 12 AND Opponent = @ washington capitals |
Translate the following into a SQL query | Which Record has Points larger than 0, and a Score of 7–3? | SELECT Record FROM table WHERE Points > 0 AND Score = 7–3 |
Translate the following into a SQL query | On what date was the game more than 5? | SELECT Date FROM table WHERE Game > 5 |
Translate the following into a SQL query | Which series was on May 16? | SELECT Series FROM table WHERE Date = may 16 |
Translate the following into a SQL query | Name the date for oregon jurisdiction | SELECT Date FROM table WHERE Jurisdiction = oregon |
Translate the following into a SQL query | Name the john b. anderson for ronald reagan of 43% and phil crane of 0% | SELECT John B. Anderson FROM table WHERE Phil Crane = 0% AND Ronald Reagan = 43% |
Translate the following into a SQL query | Name the howard bake when bush had 66% | SELECT Howard Baker FROM table WHERE George H. W. Bush = 66% |
Translate the following into a SQL query | Name the george bush for ronald reagan of 43% | SELECT George H. W. Bush FROM table WHERE Ronald Reagan = 43% |
Translate the following into a SQL query | Name the howard baker for ronald reagan of 72% | SELECT Howard Baker FROM table WHERE Ronald Reagan = 72% |
Translate the following into a SQL query | What is the sum of goals for the 2004/05 Season? | SELECT SUM Goals FROM table WHERE Season = 2004/05 |
Translate the following into a SQL query | What is the lowest caps for the Club of SBV Excelsior? | SELECT MIN Caps FROM table WHERE Club = sbv excelsior |
Translate the following into a SQL query | Which season has Caps lower than 36 for the Club of NAC Breda? | SELECT Season FROM table WHERE Caps < 36 AND Club = nac breda |
Translate the following into a SQL query | Which Opponents in the final have a Partner of daniella dominikovic? | SELECT Opponents in the final FROM table WHERE Partner = daniella dominikovic |
Translate the following into a SQL query | Which Date has a Partner of daniella dominikovic? | SELECT Date FROM table WHERE Partner = daniella dominikovic |
Translate the following into a SQL query | Which Surface has a Partner of pemra özgen? | SELECT Surface FROM table WHERE Partner = pemra özgen |
Translate the following into a SQL query | Which Date has Opponents in the final of valeria casillo lilly raffa? | SELECT Date FROM table WHERE Opponents in the final = valeria casillo lilly raffa |
Translate the following into a SQL query | Which Date has a Partner of daniella dominikovic? | SELECT Date FROM table WHERE Partner = daniella dominikovic |
Translate the following into a SQL query | Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn? | SELECT MIN Drawn FROM table WHERE Nationality = england AND Matches < 510 AND Lost = 4 AND Win % < 28.6 |
Translate the following into a SQL query | Win % larger than 47.1, and a Matches smaller than 145 had what lowest lost? | SELECT MIN Lost FROM table WHERE Win % > 47.1 AND Matches < 145 |
Translate the following into a SQL query | Matches of 15, and a Win % smaller than 20 had what highest lost? | SELECT MAX Lost FROM table WHERE Matches = 15 AND Win % < 20 |
Translate the following into a SQL query | Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches? | SELECT SUM Matches FROM table WHERE Nationality = england AND Lost > 39 AND Win % = 28.7 AND Drawn < 37 |
Translate the following into a SQL query | Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches? | SELECT COUNT Matches FROM table WHERE Drawn < 24 AND Lost < 17 AND Win % < 31.25 |
Translate the following into a SQL query | Lost of 18 had what sum of win %? | SELECT SUM Win % FROM table WHERE Lost = 18 |
Translate the following into a SQL query | When was the score 5-31? | SELECT Date FROM table WHERE Record = 5-31 |
Translate the following into a SQL query | What is the second leg that has kk bosna? | SELECT 2nd leg FROM table WHERE Team #1 = kk bosna |
Translate the following into a SQL query | What is the 1st leg that has hapoel jerusalem? | SELECT 1st leg FROM table WHERE Team #1 = hapoel jerusalem |
Translate the following into a SQL query | Which 1st leg that has hemofarm? | SELECT 1st leg FROM table WHERE Team #1 = hemofarm |
Translate the following into a SQL query | WHich Team#1 has 70 - 59 as a 1st leg? | SELECT Team #1 FROM table WHERE 1st leg = 70 - 59 |
Translate the following into a SQL query | Who averaged 201.3 yards passing per game? | SELECT Name FROM table WHERE Avg/G = 201.3 |
Translate the following into a SQL query | How many players had an Att-Cmp-Int of 143–269–16, and an efficiency of less than 116.9? | SELECT COUNT Avg/G FROM table WHERE Att-Cmp-Int = 143–269–16 AND Effic < 116.9 |
Translate the following into a SQL query | What is the Att-Cmp-Int for the player with a efficiency of 117.4? | SELECT Att-Cmp-Int FROM table WHERE Effic = 117.4 |
Translate the following into a SQL query | How many legs were won by the player who had less than 84 100+, less than 14 legs lost, and less than 3 played? | SELECT SUM Legs Won FROM table WHERE 100+ < 84 AND Legs Lost < 14 AND Played < 3 |
Translate the following into a SQL query | What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played? | SELECT COUNT Legs Lost FROM table WHERE High Checkout < 76 AND Played < 3 |
Translate the following into a SQL query | What is the number played of the player with 7 180s and a 140+ greater than 28? | SELECT Played FROM table WHERE 180s = 7 AND 140+ > 28 |
Translate the following into a SQL query | What is the number of legs lost of the player with more than 8 legs won, 4 played, less than 6 180s, and a 100+ greater than 46? | SELECT SUM Legs Lost FROM table WHERE Legs Won > 8 AND Played = 4 AND 180s < 6 AND 100+ > 46 |
Translate the following into a SQL query | What is the average number of legs won of the player with a high checkout greater than 96, more than 5 played, and a smaller than 95.61 3-dart average? | SELECT AVG Legs Won FROM table WHERE High Checkout > 96 AND Played > 5 AND 3-dart Average < 95.61 |
Translate the following into a SQL query | What is the Ch1 in the region served by Central Tablelands? | SELECT ch 1 FROM table WHERE Region served = central tablelands |
Translate the following into a SQL query | What transmitter location has digital power of 570kw? | SELECT Transmitter Location FROM table WHERE Digital Power = 570kw |
Translate the following into a SQL query | What year did team Yamaha have 0 wins, a rank of 8th, and more than 22 points? | SELECT COUNT Year FROM table WHERE Team = yamaha AND Wins = 0 AND Rank = 8th AND Points > 22 |
Translate the following into a SQL query | Name the total number of rounds for gina carano | SELECT COUNT Round FROM table WHERE Opponent = gina carano |
Translate the following into a SQL query | What is the difference related to 2 losses and fewer than 10 points? | SELECT Points difference FROM table WHERE Lost = 2 AND Points < 10 |
Translate the following into a SQL query | Where did the game(s) against Iowa take place? | SELECT Site FROM table WHERE Opponent = iowa |
Translate the following into a SQL query | What is the Outcome of the Doubles played on Carpet? | SELECT Outcome FROM table WHERE Surface = carpet |
Translate the following into a SQL query | What was the Surface during the match with Partner Debbie Graham? | SELECT Surface FROM table WHERE Partner = debbie graham |
Translate the following into a SQL query | What was the Partner on February 23, 1997? | SELECT Partner FROM table WHERE Date = february 23, 1997 |
Translate the following into a SQL query | What was the Tournament on May 24, 1992 played on a Clay Surface? | SELECT Tournament FROM table WHERE Surface = clay AND Date = may 24, 1992 |
Translate the following into a SQL query | What was the Surface in the match with a Score of 7–5, 6–7, 4–6? | SELECT Surface FROM table WHERE Score = 7–5, 6–7, 4–6 |
Translate the following into a SQL query | What is the frequency MHz in tremonton, utah with a ERP W larger than 30? | SELECT Frequency MHz FROM table WHERE ERP W > 30 AND City of license = tremonton, utah |
Translate the following into a SQL query | What is k275av call sign's highest erp w? | SELECT MAX ERP W FROM table WHERE Call sign = k275av |
Translate the following into a SQL query | Name the year for american conference semifinals | SELECT Year FROM table WHERE Playoffs = american conference semifinals |
Translate the following into a SQL query | Name the total number of years for quarterfinals | SELECT COUNT Year FROM table WHERE Playoffs = quarterfinals |
Translate the following into a SQL query | 4th Runner-up smaller than 1, and a 5th Runner-up of 0, and a Miss World smaller than 2 has which lowest 3rd Runner-up? | SELECT MIN 3rd Runner-up FROM table WHERE 4th Runner-up < 1 AND 5th Runner-up = 0 AND Miss World < 2 |
Translate the following into a SQL query | Country/Territory of india, and a 4th Runner-up smaller than 1 has which lowest rank? | SELECT MIN Rank FROM table WHERE Country/Territory = india AND 4th Runner-up < 1 |
Translate the following into a SQL query | Rank larger than 3, and a 6th Runner-up larger than 0, and a 5th Runner-up smaller than 1 has which lowest 1st Runner-up? | SELECT MIN 1st Runner-up FROM table WHERE Rank > 3 AND 6th Runner-up > 0 AND 5th Runner-up < 1 |
Translate the following into a SQL query | 5th Runner-up smaller than 0 has the lowest semifinalists? | SELECT MIN Semifinalists FROM table WHERE 5th Runner-up < 0 |
Translate the following into a SQL query | 3rd Runner-up of 2, and a Country/Territory of venezuela has what sum of 4th runner-up? | SELECT SUM 4th Runner-up FROM table WHERE 3rd Runner-up = 2 AND Country/Territory = venezuela |
Translate the following into a SQL query | 2nd Runner-up larger than 4, and a Country/Territory of israel, and a 4th Runner-up smaller than 0 has which sum of 6th Runner-up? | SELECT SUM 6th Runner-up FROM table WHERE 2nd Runner-up > 4 AND Country/Territory = israel AND 4th Runner-up < 0 |
Translate the following into a SQL query | Who is the Runner-up that has a Season less than 2005? | SELECT Runner-up FROM table WHERE Season < 2005 |
Translate the following into a SQL query | Which Seasonhas a Score of 3 – 3 aet , 4–3 pen? | SELECT MAX Season FROM table WHERE Score = 3 – 3 aet , 4–3 pen |
Translate the following into a SQL query | Which Season has a Score of 3 – 3 aet , 4–3 pen | SELECT Season FROM table WHERE Score = 3 – 3 aet , 4–3 pen |
Translate the following into a SQL query | How many rounds had an overall of 211? | SELECT COUNT Round FROM table WHERE Overall = 211 |
Translate the following into a SQL query | What is the mean pick number for the cornerback position when the overall is less than 134? | SELECT AVG Pick # FROM table WHERE Position = cornerback AND Overall < 134 |
Translate the following into a SQL query | Which 1956 has a County of vâlcea, and a 2011 smaller than 371714? | SELECT SUM 1956 FROM table WHERE County = vâlcea AND 2011 < 371714 |
Translate the following into a SQL query | Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308? | SELECT MIN 2011 FROM table WHERE 1948 < 15872624 AND 1966 = 263103 AND 1992 > 266308 |
Translate the following into a SQL query | Which 1992 is the lowest one that has a 1977 smaller than 385577, and a 2011 larger than 340310, and a 2002 larger than 300123, and a 1948 larger than 280524? | SELECT MIN 1992 FROM table WHERE 1977 < 385577 AND 2011 > 340310 AND 2002 > 300123 AND 1948 > 280524 |
Translate the following into a SQL query | Which 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller than 1883425? | SELECT MIN 1977 FROM table WHERE County = zzz bucharest AND 2011 < 1883425 |
Translate the following into a SQL query | What is the site of the game that had an attendance of 54,040? | SELECT Game Site FROM table WHERE Attendance = 54,040 |
Translate the following into a SQL query | What is the attendance of the game against the houston oilers? | SELECT Attendance FROM table WHERE Opponent = houston oilers |
Translate the following into a SQL query | What was the date of the game on week 7? | SELECT Date FROM table WHERE Week = 7 |
Translate the following into a SQL query | How many fans attended the game at Bye? | SELECT Attendance FROM table WHERE Game Site = bye |
Translate the following into a SQL query | Which winner had a location of Iowa? | SELECT Winner FROM table WHERE Location = iowa |
Translate the following into a SQL query | Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)? | SELECT Opponents in the final FROM table WHERE Partner = katarina srebotnik AND Championship = wimbledon (4) |
Translate the following into a SQL query | Who was the partner when the championship was us open on a hard surface? | SELECT Partner FROM table WHERE Surface = hard AND Championship = us open |
Translate the following into a SQL query | What was the surface for Julie Halard when the final score was 6–3, 6–2? | SELECT Surface FROM table WHERE Partner = julie halard AND Score in the final = 6–3, 6–2 |
Translate the following into a SQL query | What was the outcome when the oppenent was serena williams venus williams and had a hard surface? | SELECT Outcome FROM table WHERE Opponents in the final = serena williams venus williams AND Surface = hard |
Translate the following into a SQL query | How much Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10? | SELECT COUNT Played FROM table WHERE Drawn = 2 AND Position > 3 AND Points < 10 |
Translate the following into a SQL query | Which average Against has a Difference of 10, and a Lost smaller than 2? | SELECT AVG Against FROM table WHERE Difference = 10 AND Lost < 2 |
Translate the following into a SQL query | How many Attendances have a Result F – A of 0 – 2, and a Date of 31 january 1903? | SELECT AVG Attendance FROM table WHERE Result F – A = 0 – 2 AND Date = 31 january 1903 |
Translate the following into a SQL query | How many Attendances on 13 april 1903? | SELECT Attendance FROM table WHERE Date = 13 april 1903 |
Translate the following into a SQL query | How many Attendances have a H / A of h on 7 march 1903? | SELECT MIN Attendance FROM table WHERE H / A = h AND Date = 7 march 1903 |
Translate the following into a SQL query | Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000? | SELECT Opponents FROM table WHERE H / A = a AND Result F – A = 2 – 0 AND Attendance > 30,000 |
Translate the following into a SQL query | When is The Opponents of lincoln city and a H / A of a? | SELECT Date FROM table WHERE Opponents = lincoln city AND H / A = a |
Translate the following into a SQL query | What is the score for the Dec 11 game? | SELECT Score FROM table WHERE December = 11 |
Translate the following into a SQL query | Which game has an opponent of Phoenix Coyotes and was before Dec 9? | SELECT AVG Game FROM table WHERE Opponent = phoenix coyotes AND December < 9 |
Translate the following into a SQL query | What is the December game that led to an 11-13-5 record? | SELECT MAX December FROM table WHERE Record = 11-13-5 |
Translate the following into a SQL query | What was the record after game 41? | SELECT Record FROM table WHERE Game = 41 |
Translate the following into a SQL query | Which Overall has a College of florida state, and a Round larger than 2? | SELECT SUM Overall FROM table WHERE College = florida state AND Round > 2 |
Translate the following into a SQL query | How many Picks have a Position of kicker, and an Overall smaller than 137? | SELECT SUM Pick # FROM table WHERE Position = kicker AND Overall < 137 |
Translate the following into a SQL query | Which Position has a Pick # of 18? | SELECT Position FROM table WHERE Pick # = 18 |
Translate the following into a SQL query | Which College has a Round smaller than 7, and a Pick # smaller than 27, and a Name of anthony maddox? | SELECT College FROM table WHERE Round < 7 AND Pick # < 27 AND Name = anthony maddox |
Translate the following into a SQL query | How much Overall has a Pick # larger than 9, and a Round larger than 5? | SELECT COUNT Overall FROM table WHERE Pick # > 9 AND Round > 5 |
Translate the following into a SQL query | Which score was for the Spurs as visitors with record of 35–16? | SELECT Score FROM table WHERE Visitor = spurs AND Record = 35–16 |
Translate the following into a SQL query | Which record was for Warriors at home? | SELECT Record FROM table WHERE Home = warriors |
Translate the following into a SQL query | English title of malèna had what original title? | SELECT Original title FROM table WHERE English title = malèna |
Translate the following into a SQL query | Original title of возвращение / vozvrashcheniye had what English title? | SELECT English title FROM table WHERE Original title = возвращение / vozvrashcheniye |
Translate the following into a SQL query | Director of christophe barratier had what highest year? | SELECT MAX Year FROM table WHERE Director = christophe barratier |
Translate the following into a SQL query | English title of amélie had what year? | SELECT Year FROM table WHERE English title = amélie |
Translate the following into a SQL query | Original title of das leben der anderen had what director? | SELECT Director FROM table WHERE Original title = das leben der anderen |
Translate the following into a SQL query | Who was the director where the role was Fred Ayres? | SELECT Director FROM table WHERE Role = fred ayres |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.