instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which Result has a Score of 4-1, and a Competition of world cup qualifying? | SELECT Result FROM table WHERE Score = 4-1 AND Competition = world cup qualifying |
Translate the following into a SQL query | Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954? | SELECT Score FROM table WHERE Competition = world cup qualifying AND Brazil scorers = baltazar AND Date = march 14, 1954 |
Translate the following into a SQL query | Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954? | SELECT Brazil scorers FROM table WHERE Result = w AND Competition = world cup qualifying AND Date = february 28, 1954 |
Translate the following into a SQL query | when first elected was 1900 what was the district? | SELECT District FROM table WHERE First elected = 1900 |
Translate the following into a SQL query | when first elected was 1898 what was the party? | SELECT Party FROM table WHERE First elected = 1898 |
Translate the following into a SQL query | How many Games have a Lost of 6, and Points smaller than 7? | SELECT SUM Games FROM table WHERE Lost = 6 AND Points < 7 |
Translate the following into a SQL query | What is Larry Centers' average number when there were less than 600 yards? | SELECT AVG Number FROM table WHERE Player = larry centers AND Yards < 600 |
Translate the following into a SQL query | What is the highest number when there were more than 50 long and less than 762 yards? | SELECT MAX Number FROM table WHERE Long > 50 AND Yards < 762 |
Translate the following into a SQL query | What is the highest amount of yards when the average is 9.5? | SELECT MAX Yards FROM table WHERE Average = 9.5 |
Translate the following into a SQL query | Who was the runner-up on 5 aug 1990? | SELECT Runner-up FROM table WHERE Date = 5 aug 1990 |
Translate the following into a SQL query | Which Tournament has a Winning score of β14 (65-69-72-68=274)? | SELECT Tournament FROM table WHERE Winning score = β14 (65-69-72-68=274) |
Translate the following into a SQL query | Which Runner-up has a Winning score of β20 (70-69-64-65=268)? | SELECT Runner-up FROM table WHERE Winning score = β20 (70-69-64-65=268) |
Translate the following into a SQL query | Which Date has a Winning score of β15 (71-69-68-65=273)? | SELECT Date FROM table WHERE Winning score = β15 (71-69-68-65=273) |
Translate the following into a SQL query | In which tournament was vijay singh a runner-up? | SELECT Tournament FROM table WHERE Runner-up = vijay singh |
Translate the following into a SQL query | In which tournament was vijay singh a runner-up? | SELECT Tournament FROM table WHERE Runner-up = vijay singh |
Translate the following into a SQL query | Which Description has a Year of Issue of 1983, and a Weight of 3.50grams? | SELECT Description FROM table WHERE Year of Issue = 1983 AND Weight = 3.50grams |
Translate the following into a SQL query | Which Thickness has a Year of Issue smaller than 1983? | SELECT Thickness FROM table WHERE Year of Issue < 1983 |
Translate the following into a SQL query | Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams? | SELECT Description FROM table WHERE Year of Issue = 1983 AND Thickness = 1.7mm AND Weight = 3.50grams |
Translate the following into a SQL query | Which Thickness has a Weight of 3.50grams? | SELECT Thickness FROM table WHERE Weight = 3.50grams |
Translate the following into a SQL query | Which Thickness has a Diameter of 21.9mm? | SELECT Thickness FROM table WHERE Diameter = 21.9mm |
Translate the following into a SQL query | Who was on the Socialist Labor ticket in the race against W. Averell Harriman? | SELECT Socialist Labor ticket FROM table WHERE Liberal ticket = w. averell harriman |
Translate the following into a SQL query | Who was the Republican candidate against the Democratic candidate Arthur Levitt? | SELECT Republican ticket FROM table WHERE Democratic ticket = arthur levitt |
Translate the following into a SQL query | Who was the Independent Socialist candidate for the office of comptroller? | SELECT Independent-Socialist ticket FROM table WHERE Office = comptroller |
Translate the following into a SQL query | Who was the Independent Socialist candidate who ran against the Liberal candidate Edward Goodell? | SELECT Independent-Socialist ticket FROM table WHERE Liberal ticket = edward goodell |
Translate the following into a SQL query | Which Att has a Time of 2:14? | SELECT Att. FROM table WHERE Time = 2:14 |
Translate the following into a SQL query | when is Record of 66-95? | SELECT Time FROM table WHERE Record = 66-95 |
Translate the following into a SQL query | Which Opponent has a Record of 65-95? | SELECT Opponent FROM table WHERE Record = 65-95 |
Translate the following into a SQL query | What is the to par that has ernie els as the player? | SELECT To par FROM table WHERE Player = ernie els |
Translate the following into a SQL query | What player has money of (Β£) 159,500, and france is the country? | SELECT Player FROM table WHERE Money ( Β£ ) = 159,500 AND Country = france |
Translate the following into a SQL query | What player has 69-70-68-73=280 as the score? | SELECT Player FROM table WHERE Score = 69-70-68-73=280 |
Translate the following into a SQL query | What is the average year that has a win less than 1, yamaha as the team, with points greater than 2? | SELECT AVG Year FROM table WHERE Wins < 1 AND Team = yamaha AND Points > 2 |
Translate the following into a SQL query | What is the highest wins that has 350cc as the class, yamaha for the team, with points less than 37, and a year after 1979? | SELECT MAX Wins FROM table WHERE Class = 350cc AND Team = yamaha AND Points < 37 AND Year > 1979 |
Translate the following into a SQL query | How many points have 500cc for the class, a win greater than 0, with a year after 1974? | SELECT SUM Points FROM table WHERE Class = 500cc AND Wins > 0 AND Year > 1974 |
Translate the following into a SQL query | How many wins have a year after 1976, and 350cc as the class? | SELECT SUM Wins FROM table WHERE Year > 1976 AND Class = 350cc |
Translate the following into a SQL query | How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21? | SELECT COUNT San Jose wins FROM table WHERE LA goals > 6 AND LA wins < 21 |
Translate the following into a SQL query | Which San Jose goals have a San Jose wins smaller than 0? | SELECT MIN San Jose goals FROM table WHERE San Jose wins < 0 |
Translate the following into a SQL query | Name the most april with record of 38-33-10 | SELECT MAX April FROM table WHERE Record = 38-33-10 |
Translate the following into a SQL query | Name the opponent with record of 38-34-10 | SELECT Opponent FROM table WHERE Record = 38-34-10 |
Translate the following into a SQL query | Name the total number of April for game more than 81 and reord of 38-33-10 | SELECT COUNT April FROM table WHERE Record = 38-33-10 AND Game > 81 |
Translate the following into a SQL query | what series was on may 14 | SELECT Series FROM table WHERE Date = may 14 |
Translate the following into a SQL query | What is the to par that has england as the country, with 66 as a score? | SELECT To par FROM table WHERE Country = england AND Score = 66 |
Translate the following into a SQL query | What country has a score less than 68, and paul casey as the player? | SELECT Country FROM table WHERE Score < 68 AND Player = paul casey |
Translate the following into a SQL query | What is the lowest score that has alastair forsyth as the player? | SELECT MIN Score FROM table WHERE Player = alastair forsyth |
Translate the following into a SQL query | How many scores have paul casey as a player? | SELECT COUNT Score FROM table WHERE Player = paul casey |
Translate the following into a SQL query | Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985? | SELECT Owner FROM table WHERE Re-entered service (P) = 11 september 1985 AND Pre-conversion = t326 |
Translate the following into a SQL query | What date did the T328 that entered service on 18 June 1956 re-enter service? | SELECT Re-entered service (P) FROM table WHERE Entered service (T) = 18 june 1956 AND Pre-conversion = t328 |
Translate the following into a SQL query | Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984? | SELECT Pre-conversion FROM table WHERE Owner = v/line passenger AND Re-entered service (P) = 23 november 1984 |
Translate the following into a SQL query | Who owns the locomotive that entered service on 30 October 1956? | SELECT Owner FROM table WHERE Entered service (T) = 30 october 1956 |
Translate the following into a SQL query | What was the score of the game when the record was 50-85? | SELECT Score FROM table WHERE Record = 50-85 |
Translate the following into a SQL query | What was the loss of the game when the record was 46-84? | SELECT Loss FROM table WHERE Record = 46-84 |
Translate the following into a SQL query | What was the record at the game with a loss of Cook (14β7)? | SELECT Record FROM table WHERE Loss = cook (14β7) |
Translate the following into a SQL query | What album is 4:53 long? | SELECT Album FROM table WHERE Length = 4:53 |
Translate the following into a SQL query | Which 1989 has a 1986 of 99? | SELECT 1989 FROM table WHERE 1986 = 99 |
Translate the following into a SQL query | Which 1983 has a Tournament of wimbledon? | SELECT 1983 FROM table WHERE Tournament = wimbledon |
Translate the following into a SQL query | Which Tournament has A in 1987? | SELECT Tournament FROM table WHERE 1987 = a |
Translate the following into a SQL query | Which 1988 has a 1985 of 2r? | SELECT 1988 FROM table WHERE 1985 = 2r |
Translate the following into a SQL query | Which 1988 has a 1982 of 104? | SELECT 1988 FROM table WHERE 1982 = 104 |
Translate the following into a SQL query | Which Tournament has a 1984 of 1r? | SELECT Tournament FROM table WHERE 1984 = 1r |
Translate the following into a SQL query | Release date of 2008 q3 has what release price? | SELECT Release price ( USD ) FROM table WHERE Release date = 2008 q3 |
Translate the following into a SQL query | Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket? | SELECT Socket FROM table WHERE Frequency = 1.2 ghz AND Release price ( USD ) = $70 |
Translate the following into a SQL query | Socket of fcbga1088, and a Voltage of 1v, and a Part number(s) of nu80579ez600cnu80579ez600ct is what mult? | SELECT Mult. FROM table WHERE Socket = fcbga1088 AND Voltage = 1v AND Part number(s) = nu80579ez600cnu80579ez600ct |
Translate the following into a SQL query | Spec number of slj6d(b1)slj6f(b1) has what mult.? | SELECT Mult. FROM table WHERE sSpec number = slj6d(b1)slj6f(b1) |
Translate the following into a SQL query | Socket of without quickassist has what release price? | SELECT Release price ( USD ) FROM table WHERE Socket = without quickassist |
Translate the following into a SQL query | Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )? | SELECT Release price ( USD ) FROM table WHERE Release date = 2008 q3 AND Part number(s) = nu80579ez009c |
Translate the following into a SQL query | What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value? | SELECT MIN Hong Kong FROM table WHERE Brisbane = 0 AND Kuala Lumpur > 0 |
Translate the following into a SQL query | What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0? | SELECT MAX Kuala Lumpur FROM table WHERE Durban < 1 AND Mar Del Plata > 0 |
Translate the following into a SQL query | What is the highest New Zealand value with a Hong Kong value less than 0? | SELECT MAX New Zealand FROM table WHERE Hong Kong < 0 |
Translate the following into a SQL query | What is the average Singapore value with a London value less than 0? | SELECT AVG Singapore FROM table WHERE London < 0 |
Translate the following into a SQL query | What position was picked for Canada on Pick 8? | SELECT Position FROM table WHERE Country = canada AND Pick = 8 |
Translate the following into a SQL query | What is the position that is shown for 2011? | SELECT Position FROM table WHERE Year = 2011 |
Translate the following into a SQL query | what language is seethaiah in | SELECT Language FROM table WHERE Film Name = seethaiah |
Translate the following into a SQL query | Which Producer has a Role of rizzette? | SELECT Producer FROM table WHERE Role = rizzette |
Translate the following into a SQL query | Which Title has a Director of rowell santiago? | SELECT Title FROM table WHERE Director = rowell santiago |
Translate the following into a SQL query | Which Year has a Producer of viva films, and a Title of magkapatid? | SELECT Year FROM table WHERE Producer = viva films AND Title = magkapatid |
Translate the following into a SQL query | Which Director has a Role of melissa? | SELECT Director FROM table WHERE Role = melissa |
Translate the following into a SQL query | What is the total number of averages where the played is more than 38, the 1990-91 is 39, and the 1989-90 is 34? | SELECT SUM Average FROM table WHERE Played > 38 AND 1990-91 = 39 AND 1989-90 = 34 |
Translate the following into a SQL query | Which 1990-91 has an average number of 1.035? | SELECT 1990-91 FROM table WHERE Average = 1.035 |
Translate the following into a SQL query | Which team has a 1990-91 number of 39 and a 1989-90 number of 34? | SELECT Team FROM table WHERE 1990-91 = 39 AND 1989-90 = 34 |
Translate the following into a SQL query | Which played number has an average of 1.026 and a 1989-90 that is 36? | SELECT Played FROM table WHERE Average > 1.026 AND 1989-90 = 36 |
Translate the following into a SQL query | Who was the wrestler when there was over 1 time? | SELECT Wrestler: FROM table WHERE Times: > 1 |
Translate the following into a SQL query | What results has a week larger than 13? | SELECT Result FROM table WHERE Week > 13 |
Translate the following into a SQL query | What results has a week smaller than 2? | SELECT Result FROM table WHERE Week < 2 |
Translate the following into a SQL query | What was the score for game number 30? | SELECT Score FROM table WHERE Game = 30 |
Translate the following into a SQL query | What is the sum for the game with a score of 103β126? | SELECT SUM Game FROM table WHERE Score = 103β126 |
Translate the following into a SQL query | What is the lowest game number that has a Record of 3β33? | SELECT MIN Game FROM table WHERE Record = 3β33 |
Translate the following into a SQL query | what score was on february 21 | SELECT Score FROM table WHERE February = 21 |
Translate the following into a SQL query | What is the nationality of the player from the Ohio State University (NCAA) Team? | SELECT Nationality FROM table WHERE College/Junior/Club Team (League) = ohio state university (ncaa) |
Translate the following into a SQL query | What is the lowest round of the Kitchener Rangers (OHA)? | SELECT MIN Round FROM table WHERE College/Junior/Club Team (League) = kitchener rangers (oha) |
Translate the following into a SQL query | What is the position of Pierre Daigneault? | SELECT Position FROM table WHERE Player = pierre daigneault |
Translate the following into a SQL query | What is the average 2006 value with a 2010 value of 417.9 and a 2011 value greater than 426.7? | SELECT AVG 2006 FROM table WHERE 2010 = 417.9 AND 2011 > 426.7 |
Translate the following into a SQL query | What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2010 value bigger than 354.6? | SELECT COUNT 2011 FROM table WHERE 2008 > 346.5 AND 2009 = 392 AND 2010 > 354.6 |
Translate the following into a SQL query | What is the total 2008 value with a 2006 value greater than 322.7, a 353.9 in 2011, and a 2009 less than 392? | SELECT COUNT 2008 FROM table WHERE 2006 > 322.7 AND 2011 = 353.9 AND 2009 < 392 |
Translate the following into a SQL query | What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 2.2, and a 2011 less than 3.5? | SELECT MAX 2009 FROM table WHERE 2006 < 280.4 AND 2007 < 2.2 AND 2010 < 3.5 |
Translate the following into a SQL query | What is the average 2007 value with a 2009 value greater than 2.8, a 4.9 in 2010, and a 2006 less than 2.5? | SELECT AVG 2007 FROM table WHERE 2009 > 2.8 AND 2010 = 4.9 AND 2006 < 2.5 |
Translate the following into a SQL query | What is the 2006 total with a 2010 value greater than 417.9? | SELECT COUNT 2006 FROM table WHERE 2010 > 417.9 |
Translate the following into a SQL query | when has an Opponent of @ philadelphia phillies and an Attendance of 20,072? | SELECT Date FROM table WHERE Opponent = @ philadelphia phillies AND Attendance = 20,072 |
Translate the following into a SQL query | Which Opponent is on april 28? | SELECT Opponent FROM table WHERE Date = april 28 |
Translate the following into a SQL query | Which Record has an Attendance of 24,597? | SELECT Record FROM table WHERE Attendance = 24,597 |
Translate the following into a SQL query | Which Record has a Loss of o'connor (0-1)? | SELECT Record FROM table WHERE Loss = o'connor (0-1) |
Translate the following into a SQL query | which attendance has a Loss of drese (0-2)? | SELECT Attendance FROM table WHERE Loss = drese (0-2) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.