instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which round has an H/A of A with Notts County as opponents? | SELECT Round FROM table WHERE H / A = a AND Opponents = notts county |
Translate the following into a SQL query | What was the Premiership Years that had in the Competition of 1983-1992? | SELECT Premiership Years FROM table WHERE Years in Competition = 1983-1992 |
Translate the following into a SQL query | What was the Years in competition that had a Premiership of 1982, 1984, 1999, 2002-03, 2008-09-10? | SELECT Years in Competition FROM table WHERE Premiership Years = 1982, 1984, 1999, 2002-03, 2008-09-10 |
Translate the following into a SQL query | What is the Nickname in the Competition of 1982-1994? | SELECT Nickname FROM table WHERE Years in Competition = 1982-1994 |
Translate the following into a SQL query | What was the Nickname that had a No. 0, and Years in Competition of 1982-2003? | SELECT Nickname FROM table WHERE No. of Premierships = 0 AND Years in Competition = 1982-2003 |
Translate the following into a SQL query | Which highest Points has a Score of 1–1 ot? | SELECT MAX Points FROM table WHERE Score = 1–1 ot |
Translate the following into a SQL query | Which College/Junior/Club team has a Round of 6? | SELECT College/Junior/Club team FROM table WHERE Round = 6 |
Translate the following into a SQL query | What was the record on April 16? | SELECT Record FROM table WHERE Date = april 16 |
Translate the following into a SQL query | What was the record on April 8? | SELECT Record FROM table WHERE Date = april 8 |
Translate the following into a SQL query | What date was the visitor chicago black hawks, and a Record of 1-1? | SELECT Date FROM table WHERE Visitor = chicago black hawks AND Record = 1-1 |
Translate the following into a SQL query | Studio host of jimmy myers had what play by play? | SELECT Play-by-play FROM table WHERE Studio host = jimmy myers |
Translate the following into a SQL query | Play-by-play of sean grande, and a Year of 2004-05 had what studio host? | SELECT Studio host FROM table WHERE Play-by-play = sean grande AND Year = 2004-05 |
Translate the following into a SQL query | Year of 2006-07 had what studio host? | SELECT Studio host FROM table WHERE Year = 2006-07 |
Translate the following into a SQL query | Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host? | SELECT Studio host FROM table WHERE Play-by-play = sean grande AND Flagship Station = wrko AND Year = 2005-06 |
Translate the following into a SQL query | Studio host of john ryder, and a Year of 2007-08 had what play by play? | SELECT Play-by-play FROM table WHERE Studio host = john ryder AND Year = 2007-08 |
Translate the following into a SQL query | Play-by-play of sean grande, and a Flagship Station of wrko involved what color commentator? | SELECT Color commentator(s) FROM table WHERE Play-by-play = sean grande AND Flagship Station = wrko |
Translate the following into a SQL query | What was the value in 2011 for United States? | SELECT 2011 FROM table WHERE Country = united states |
Translate the following into a SQL query | What was the value in 2011 when value in 2009 was 82,003? | SELECT 2011 FROM table WHERE 2009 = 82,003 |
Translate the following into a SQL query | What country was rank 1? | SELECT Country FROM table WHERE Rank = 1 |
Translate the following into a SQL query | What country was rank 4? | SELECT Country FROM table WHERE Rank = 4 |
Translate the following into a SQL query | Games started of 4 is in what hometown? | SELECT Hometown FROM table WHERE Games started = 4 |
Translate the following into a SQL query | Weight larger than 180, and a Player of charles b. carter is what previous experience? | SELECT Previous experience FROM table WHERE Weight > 180 AND Player = charles b. carter |
Translate the following into a SQL query | Height of 5' 10", and a Games started of 7 involves which hometown? | SELECT Hometown FROM table WHERE Height = 5' 10" AND Games started = 7 |
Translate the following into a SQL query | Player of herbert s. graver has what position? | SELECT Position FROM table WHERE Player = herbert s. graver |
Translate the following into a SQL query | Position of fullback has what highest weight? | SELECT MAX Weight FROM table WHERE Position = fullback |
Translate the following into a SQL query | what is the callsign whtat uses 7bu? | SELECT Callsign FROM table WHERE On-air ID = 7bu |
Translate the following into a SQL query | What is the highest rank for ben crenshaw after winning more than 14 times? | SELECT MAX Rank FROM table WHERE Player = ben crenshaw AND Wins > 14 |
Translate the following into a SQL query | What is the lowest number of wins for ben crenshaw? | SELECT MIN Wins FROM table WHERE Player = ben crenshaw |
Translate the following into a SQL query | What player has 14 wins? | SELECT Player FROM table WHERE Wins = 14 |
Translate the following into a SQL query | What is the 1995 value with of the 1993 ATP Masters Series? | SELECT 1995 FROM table WHERE 1993 = atp masters series |
Translate the following into a SQL query | What is the 1993 value of the 1997 Grand Slams? | SELECT 1993 FROM table WHERE 1997 = grand slams |
Translate the following into a SQL query | What is the 1998 value with A in 1995, A in 1993, and 1r in 1996? | SELECT 1998 FROM table WHERE 1995 = a AND 1993 = a AND 1996 = 1r |
Translate the following into a SQL query | How many games does team Czechoslovakia have that had a drawn greater than 0? | SELECT MAX Games FROM table WHERE Team = czechoslovakia AND Drawn > 0 |
Translate the following into a SQL query | Which Prime Minister's served a term of 344 days? | SELECT Prime Minister FROM table WHERE Term in office = 344 days |
Translate the following into a SQL query | Who was the Minister that served for 307 days? | SELECT Minister FROM table WHERE Term in office = 307 days |
Translate the following into a SQL query | what ceremony did big titty milfs work in | SELECT Ceremony FROM table WHERE Work = big titty milfs |
Translate the following into a SQL query | What was the end result for 28 February 2001? | SELECT Result FROM table WHERE Date = 28 february 2001 |
Translate the following into a SQL query | How many yards did Davin Meggett have with more than 9 Rec.? | SELECT SUM Yards FROM table WHERE Player = davin meggett AND Rec. > 9 |
Translate the following into a SQL query | What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? | SELECT COUNT Avg. FROM table WHERE Yards > 20 AND Player = darrius heyward-bey AND Long < 80 |
Translate the following into a SQL query | How many points are associated with a Time/Retired of +10.131 secs? | SELECT COUNT Points FROM table WHERE Time/Retired = +10.131 secs |
Translate the following into a SQL query | What is the grid associated witha Time/Retired of +8.180 secs, and under 47 laps? | SELECT SUM Grid FROM table WHERE Time/Retired = +8.180 secs AND Laps < 47 |
Translate the following into a SQL query | What is the highest drawn for points over 545? | SELECT MAX Drawn FROM table WHERE Points For > 545 |
Translate the following into a SQL query | What's the average loss when the points were 545? | SELECT AVG Lost FROM table WHERE Points For = 545 |
Translate the following into a SQL query | How many games were lost when the order was 2nd and the play was more than 13 | SELECT COUNT Lost FROM table WHERE Order = 2nd AND Played > 13 |
Translate the following into a SQL query | Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8 | SELECT MIN Rank FROM table WHERE Bronze = 2 AND Gold > 0 AND Nation = ynys môn/anglesey AND Total > 8 |
Translate the following into a SQL query | Name the least total with rank less than 7, gold more than 16 and bronze less than 29 | SELECT MIN Total FROM table WHERE Rank < 7 AND Gold > 16 AND Bronze < 29 |
Translate the following into a SQL query | Name the total number of total with silver of 6, bronze more than 5 and gold less than 4 | SELECT COUNT Total FROM table WHERE Silver = 6 AND Bronze > 5 AND Gold < 4 |
Translate the following into a SQL query | What score has a game greater than 11 on October 30? | SELECT Score FROM table WHERE Game > 11 AND October = 30 |
Translate the following into a SQL query | What October has 0-2-2 as the record? | SELECT October FROM table WHERE Record = 0-2-2 |
Translate the following into a SQL query | What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8? | SELECT AVG Game FROM table WHERE Opponent = @ florida panthers AND Record = 0-1-2 AND October > 8 |
Translate the following into a SQL query | Which Lost has Games of 64, and Champs smaller than 0? | SELECT AVG Lost FROM table WHERE Games = 64 AND Champs < 0 |
Translate the following into a SQL query | Which Draw is the lowest one that has Champs smaller than 0? | SELECT MIN Draw FROM table WHERE Champs < 0 |
Translate the following into a SQL query | Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3? | SELECT Win/Lose Percentage FROM table WHERE Champs > 0 AND Draw > 3 |
Translate the following into a SQL query | Which Champs is the average one that has a Draw larger than 2, and Games smaller than 60? | SELECT AVG Champs FROM table WHERE Draw > 2 AND Games < 60 |
Translate the following into a SQL query | What is the launch date for the Ushio dd-54? | SELECT Launched FROM table WHERE Name = ushio dd-54 |
Translate the following into a SQL query | Which name has a Kanji of 朧? | SELECT Name FROM table WHERE Kanji = 朧 |
Translate the following into a SQL query | What is the Kanji for the Ayanami dd-45? | SELECT Kanji FROM table WHERE Name = ayanami dd-45 |
Translate the following into a SQL query | size (steps) that has a size (cents) of 58.54, and a just ratio of 28:27, and a just (cents) larger than 62.96 is what total number? | SELECT COUNT size (steps) FROM table WHERE size (cents) = 58.54 AND just ratio = 28:27 AND just (cents) > 62.96 |
Translate the following into a SQL query | size (steps) of 15, and a just (cents) larger than 435.08 is what highest size (cents)? | SELECT MAX size (cents) FROM table WHERE size (steps) = 15 AND just (cents) > 435.08 |
Translate the following into a SQL query | ratio of 16:13 has how many highest size (steps)? | SELECT MAX size (steps) FROM table WHERE just ratio = 16:13 |
Translate the following into a SQL query | ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? | SELECT AVG size (cents) FROM table WHERE just ratio = 15:14 AND just (cents) > 119.44 |
Translate the following into a SQL query | Who was the home team for the match at Stadion pod Vrmcem? | SELECT Home FROM table WHERE Venue = stadion pod vrmcem |
Translate the following into a SQL query | Who were the guest team wehn the match score was 3:0 (0:2)? | SELECT Guest FROM table WHERE Score (first match) = 3:0 (0:2) |
Translate the following into a SQL query | What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile? | SELECT Picture Coding Types FROM table WHERE Chroma Format = 4:2:2 or 4:2:0 AND Name = 4:2:2 profile |
Translate the following into a SQL query | Name the Intra DC Precision that has the Name main profile? | SELECT Intra DC Precision FROM table WHERE Name = main profile |
Translate the following into a SQL query | What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile? | SELECT Chroma Format FROM table WHERE Picture Coding Types = i, p, b AND Name = main profile |
Translate the following into a SQL query | What Player is from the west Division and the Team of special teams and is from the School Toledo Western Michigan? | SELECT Player FROM table WHERE Division = west AND Team = special teams AND School = toledo western michigan |
Translate the following into a SQL query | What are the lowest wins for Australia? | SELECT MIN Wins FROM table WHERE Country = australia |
Translate the following into a SQL query | What was the highest rank for greg norman with Earnings less than $10,484,065? | SELECT MAX Rank FROM table WHERE Player = greg norman AND Earnings ( $ ) < 10,484,065 |
Translate the following into a SQL query | how many wins did players earning less than $10,484,065 have? | SELECT SUM Wins FROM table WHERE Earnings ( $ ) < 10,484,065 |
Translate the following into a SQL query | What is the name of the metropolitan that has a population larger than 35,082 and formed after 1897? | SELECT Name FROM table WHERE Population (2010) > 35,082 AND Formed > 1897 |
Translate the following into a SQL query | How many winners did Minas, which has 0 third places, have? | SELECT Winners FROM table WHERE Third Place = 0 AND Team = minas |
Translate the following into a SQL query | How many winners did Halcones uv xalapa have? | SELECT Winners FROM table WHERE Team = halcones uv xalapa |
Translate the following into a SQL query | How many runners-up did Espartanos de Margarita have? | SELECT Runners-Up FROM table WHERE Team = espartanos de margarita |
Translate the following into a SQL query | Which Opponent has Attendances of 60,594? | SELECT Opponent FROM table WHERE Attendance = 60,594 |
Translate the following into a SQL query | When has a Result of l 27-7 and an Opponent of at minnesota vikings? | SELECT Date FROM table WHERE Result = l 27-7 AND Opponent = at minnesota vikings |
Translate the following into a SQL query | When has a Week of 9? | SELECT Date FROM table WHERE Week = 9 |
Translate the following into a SQL query | What date did the Steelers play against the New York Jets? | SELECT Date FROM table WHERE Opponent = new york jets |
Translate the following into a SQL query | What time did the game start during week 1? | SELECT Time ( ET ) FROM table WHERE Week = 1 |
Translate the following into a SQL query | How many laps for mi-jack conquest racing when they went off course? | SELECT SUM Laps FROM table WHERE Team = mi-jack conquest racing AND Time/Retired = off course |
Translate the following into a SQL query | How many laps are associated with a grid greater than 8, under 11 points, and will power? | SELECT COUNT Laps FROM table WHERE Grid > 8 AND Points < 11 AND Driver = will power |
Translate the following into a SQL query | Who won the Women's doubles the year that there was no competition in both the Men's doubles and the Men's singles? | SELECT Women's doubles FROM table WHERE Men's doubles = no competition AND Men's singles = no competition |
Translate the following into a SQL query | What year was there no competition in Women's singles? | SELECT Year FROM table WHERE Women's singles = no competition |
Translate the following into a SQL query | Who won the Women's doubles in 2001? | SELECT Women's doubles FROM table WHERE Year = 2001 |
Translate the following into a SQL query | Who won the Women's doubles the year that there was no competition in the Men's doubles and Arthur Chatschatourow won the Men's singles? | SELECT Women's doubles FROM table WHERE Men's doubles = no competition AND Men's singles = arthur chatschatourow |
Translate the following into a SQL query | Name the average Bronze when silver is more than 3, gold is more than 1 and the total is 14 | SELECT AVG Bronze FROM table WHERE Gold > 1 AND Total = 14 AND Silver > 3 |
Translate the following into a SQL query | Name the total number of total for rank of 7 and bronze less than 1 | SELECT COUNT Total FROM table WHERE Rank = 7 AND Bronze < 1 |
Translate the following into a SQL query | Name the most silver with bronze more than 1 and gold more than 1 with total less than 7 | SELECT MAX Silver FROM table WHERE Bronze > 1 AND Total < 7 AND Gold > 1 |
Translate the following into a SQL query | Name the sum of total for gold less than 1 and bronze of 3 | SELECT SUM Total FROM table WHERE Gold < 1 AND Bronze = 3 |
Translate the following into a SQL query | Name the total number of bronze with rank of 5 and silver more than 1 | SELECT COUNT Bronze FROM table WHERE Rank = 5 AND Silver > 1 |
Translate the following into a SQL query | What is the total population from the 2000 census for the municipality that has a 464.5 square km area and a population density in 2010 larger than 1840? | SELECT COUNT Population 2000 Census FROM table WHERE Area (km²) = 464.5 AND Population density 2010 (/km²) > 1840 |
Translate the following into a SQL query | What was the sum of the population in 2010 for the division of japeri with an area of 82.9 squared km? | SELECT SUM Population (2010 Census) FROM table WHERE Administrative division = japeri AND Area (km²) < 82.9 |
Translate the following into a SQL query | What was the score for the game against Atlanta? | SELECT Score FROM table WHERE Visitor = atlanta |
Translate the following into a SQL query | In the 1936 summer Olympics what was the date of a match that ended with a score of 6-1? | SELECT Date FROM table WHERE Competition = 1936 summer olympics AND Score = 6-1 |
Translate the following into a SQL query | What was the score for the game that had an end result of 5-2? | SELECT Score FROM table WHERE Result = 5-2 |
Translate the following into a SQL query | What is the total number of losses that have 1 draw and games over 7? | SELECT COUNT Lost FROM table WHERE Drawn = 1 AND Games > 7 |
Translate the following into a SQL query | How many rounds had a pick number of more than 10 and Appalachian State as a college? | SELECT COUNT Round FROM table WHERE Pick # > 10 AND College = appalachian state |
Translate the following into a SQL query | What is the largest overall where the position was linebacker and the pick number was more than 9? | SELECT MAX Overall FROM table WHERE Position = linebacker AND Pick # > 9 |
Translate the following into a SQL query | What is the Score of the game earlier than 69 with a record of 4–56? | SELECT Score FROM table WHERE Game < 69 AND Record = 4–56 |
Translate the following into a SQL query | What is the game number with a score of 116–138? | SELECT COUNT Game FROM table WHERE Score = 116–138 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.