instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the lowest average score where the evening gown score was 8.811? | SELECT MIN Average FROM table WHERE Evening Gown = 8.811 |
Translate the following into a SQL query | For a team with a goals against less than 58, a position of 10, and a points 2 more than 53, what is the average lost? | SELECT AVG Lost FROM table WHERE Goals Against < 58 AND Position = 10 AND Points 2 > 53 |
Translate the following into a SQL query | For a team having goals for more than 95, what is the lowest position? | SELECT MIN Position FROM table WHERE Goals For > 95 |
Translate the following into a SQL query | What is the function percentage when the estimated function percentage is 20? | SELECT Function % FROM table WHERE Estimated function % = 20 |
Translate the following into a SQL query | What is the measurement where the estimated function % is less than 20? | SELECT Measurement FROM table WHERE Estimated function % < 20 |
Translate the following into a SQL query | What is the estimated function % when the measurement is 8/8? | SELECT Estimated function % FROM table WHERE Measurement = 8/8 |
Translate the following into a SQL query | What place did jacky cupit take when his To par was under 13? | SELECT Place FROM table WHERE To par < 13 AND Player = jacky cupit |
Translate the following into a SQL query | Which united states player had a To par of 12? | SELECT Player FROM table WHERE To par = 12 AND Country = united states |
Translate the following into a SQL query | Which player had a To par of 13? | SELECT Player FROM table WHERE To par = 13 |
Translate the following into a SQL query | What did vijay singh score with a +5 to par? | SELECT Score FROM table WHERE To par = +5 AND Player = vijay singh |
Translate the following into a SQL query | What was the average rank for south africa when they had more than 8 silver medals? | SELECT AVG Rank FROM table WHERE Nation = south africa AND Silver > 8 |
Translate the following into a SQL query | What is the average number of gold medals the netherlands got when they had more than 4 bronze medals? | SELECT AVG Gold FROM table WHERE Nation = netherlands AND Bronze > 4 |
Translate the following into a SQL query | What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a total of less than 61 medals? | SELECT SUM Gold FROM table WHERE Silver > 8 AND Nation = great britain AND Total < 61 |
Translate the following into a SQL query | What is the highest number of bronze medals that israel acheived when they got less than 3 silver medals? | SELECT MAX Bronze FROM table WHERE Nation = israel AND Silver < 3 |
Translate the following into a SQL query | What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals? | SELECT COUNT Gold FROM table WHERE Bronze = 2 AND Silver > 5 |
Translate the following into a SQL query | What is Partner, when Surface is Hard, and when Score is 6–3, 7–6(0)? | SELECT Partner FROM table WHERE Surface = hard AND Score = 6–3, 7–6(0) |
Translate the following into a SQL query | What is Opponents, when Partner is Vitalia Diatchenko? | SELECT Opponents FROM table WHERE Partner = vitalia diatchenko |
Translate the following into a SQL query | What is Partner, when Outcome is Winner, and when Date is 12 October 2003? | SELECT Partner FROM table WHERE Outcome = winner AND Date = 12 october 2003 |
Translate the following into a SQL query | What is Opponents, when Partner is Mervana Jugić-Salkić? | SELECT Opponents FROM table WHERE Partner = mervana jugić-salkić |
Translate the following into a SQL query | What is the total number of Field Goal %, when Free Throw % is greater than 0.5, when Rebounds is 159, and when Points Per Game is less than 7.1? | SELECT COUNT Field Goal % FROM table WHERE Free Throw % > 0.5 AND Rebounds = 159 AND Points Per Game < 7.1 |
Translate the following into a SQL query | What is the lowest Minutes Played Per Game, when Rebounds is less than 347, when Assists is greater than 5, and when Minutes Played is less than 301? | SELECT MIN Minutes Played Per Game FROM table WHERE Rebounds < 347 AND Assists > 5 AND Minutes Played < 301 |
Translate the following into a SQL query | What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"? | SELECT MIN Minutes Played FROM table WHERE Rebounds = 25 AND Field Goal % < 0.315 |
Translate the following into a SQL query | What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"? | SELECT AVG Rebounds FROM table WHERE Minutes Played = 113 AND Games Played > 18 |
Translate the following into a SQL query | What is the score on March 17? | SELECT Score FROM table WHERE Date = march 17 |
Translate the following into a SQL query | Which event led to a loss against Josh Diekman? | SELECT Event FROM table WHERE Res. = loss AND Opponent = josh diekman |
Translate the following into a SQL query | Which location led to a decision and a record of 1-2? | SELECT Location FROM table WHERE Method = decision AND Record = 1-2 |
Translate the following into a SQL query | Which method took place against Chris Herring? | SELECT Method FROM table WHERE Opponent = chris herring |
Translate the following into a SQL query | What is the highest number of laps that max biaggi rode on a grid larger than 2? | SELECT MAX Laps FROM table WHERE Rider = max biaggi AND Grid > 2 |
Translate the following into a SQL query | What is the highest grid that tetsuya harada rode in? | SELECT MAX Grid FROM table WHERE Rider = tetsuya harada |
Translate the following into a SQL query | What is the average number of laps that were made when the race took a time of +48.325? | SELECT AVG Laps FROM table WHERE Time/Retired = +48.325 |
Translate the following into a SQL query | What is the total number of laps during the race that had a time of +9.682? | SELECT COUNT Laps FROM table WHERE Time/Retired = +9.682 |
Translate the following into a SQL query | What is the highest Pick, when College is "Syracuse", and when Overall is less than 18? | SELECT MAX Pick FROM table WHERE College = syracuse AND Overall < 18 |
Translate the following into a SQL query | What is Position, when College is "Houston"? | SELECT Position FROM table WHERE College = houston |
Translate the following into a SQL query | What is the number of networks when the size of rest bit field is 8? | SELECT Number of networks FROM table WHERE Size of rest bit field = 8 |
Translate the following into a SQL query | What is the start address when the network number bit field is 16? | SELECT Start address FROM table WHERE Size of network number bit field = 16 |
Translate the following into a SQL query | What is the end address for the Class E (Reserved)? | SELECT End address FROM table WHERE Class = class e (reserved) |
Translate the following into a SQL query | What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0? | SELECT Size of rest bit field FROM table WHERE Leading bits > 110 AND Start address = 224.0.0.0 |
Translate the following into a SQL query | W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9? | SELECT MIN Goals For FROM table WHERE Team = goole town AND Position < 9 |
Translate the following into a SQL query | Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85? | SELECT Team FROM table WHERE Drawn < 12 AND Position > 3 AND Goals Against > 85 |
Translate the following into a SQL query | When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? | SELECT COUNT Goals Against FROM table WHERE Points 1 = 44 AND Goals For > 65 |
Translate the following into a SQL query | What was the year when the diameter was 729 km? | SELECT Year named FROM table WHERE Diameter (km) = 729 |
Translate the following into a SQL query | What is the highest diameter when the latitude is 43.5s? | SELECT MAX Diameter (km) FROM table WHERE Latitude = 43.5s |
Translate the following into a SQL query | On what Date was the Attendance 75,891? | SELECT Date FROM table WHERE Attendance = 75,891 |
Translate the following into a SQL query | What was the Week on September 5, 1993? | SELECT Week FROM table WHERE Date = september 5, 1993 |
Translate the following into a SQL query | Who was the Opponent on October 31, 1993? | SELECT Opponent FROM table WHERE Date = october 31, 1993 |
Translate the following into a SQL query | what is the date for traction type electric with calgary location? | SELECT Date (From) FROM table WHERE Traction Type = electric AND Location = calgary |
Translate the following into a SQL query | Which date has date started from 30 Sep 1913? | SELECT Date (To) FROM table WHERE Date (From) = 30 sep 1913 |
Translate the following into a SQL query | What is the 1st leg of 2q round? | SELECT 1st Leg FROM table WHERE Round = 2q |
Translate the following into a SQL query | What competition has the club villareal? | SELECT Competition FROM table WHERE Club = villareal |
Translate the following into a SQL query | Which competition has aik club? | SELECT Competition FROM table WHERE Club = aik |
Translate the following into a SQL query | What is the round of club bečej? | SELECT Round FROM table WHERE Club = bečej |
Translate the following into a SQL query | What is the 1st leg of the uefa intertoto cup competition with club silkeborg? | SELECT 1st Leg FROM table WHERE Competition = uefa intertoto cup AND Club = silkeborg |
Translate the following into a SQL query | Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists? | SELECT High rebounds FROM table WHERE High assists = jason kidd (8) AND Score = w 105–95 (ot) |
Translate the following into a SQL query | Which team scored l 87–115 (ot)? | SELECT Team FROM table WHERE Score = l 87–115 (ot) |
Translate the following into a SQL query | What's the record of Game 56? | SELECT Record FROM table WHERE Game = 56 |
Translate the following into a SQL query | Who was the team that played at Energysolutions Arena 19,911? | SELECT Team FROM table WHERE Location Attendance = energysolutions arena 19,911 |
Translate the following into a SQL query | Who had the high assists when the game was at American Airlines Center 20,223? | SELECT High assists FROM table WHERE Location Attendance = american airlines center 20,223 |
Translate the following into a SQL query | What team has a Record of 50–28? | SELECT Team FROM table WHERE Record = 50–28 |
Translate the following into a SQL query | What was the date of game 75? | SELECT Date FROM table WHERE Game = 75 |
Translate the following into a SQL query | Which manufacturer was used after 1969 with a finish position of 34? | SELECT Manufacturer FROM table WHERE Year > 1969 AND Finish = 34 |
Translate the following into a SQL query | What is the total attendance on April 25? | SELECT COUNT Attendance FROM table WHERE Date = april 25 |
Translate the following into a SQL query | What is the decision of the game with an attendance greater than 19,883? | SELECT Decision FROM table WHERE Attendance > 19,883 |
Translate the following into a SQL query | When the score was 76-73-67-69=285 what was the To par? | SELECT To par FROM table WHERE Score = 76-73-67-69=285 |
Translate the following into a SQL query | Which player has a To par of –6? | SELECT Player FROM table WHERE To par = –6 |
Translate the following into a SQL query | How much memory (RAM) does the Maemo 5 operating system have? | SELECT Memory ( RAM ) FROM table WHERE Operating system version = maemo 5 |
Translate the following into a SQL query | Which operating system has a storage (flash) of 128MB? | SELECT Operating system version FROM table WHERE Storage ( flash ) = 128mb |
Translate the following into a SQL query | What is the weight and dimensions of an N800? | SELECT Weight, dimensions FROM table WHERE Model = n800 |
Translate the following into a SQL query | Which operating system has 1GB (mobile ddr) memory (RAM)? | SELECT Operating system version FROM table WHERE Memory ( RAM ) = 1gb (mobile ddr) |
Translate the following into a SQL query | What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"? | SELECT COUNT Pick FROM table WHERE Round > 1 AND Player = jim stack |
Translate the following into a SQL query | What is the lowest Round, when College is "Washington State", and when Pick is less than 48? | SELECT MIN Round FROM table WHERE College = washington state AND Pick < 48 |
Translate the following into a SQL query | What is College, when Round is greater than 1, and when Pick is greater than 163? | SELECT College FROM table WHERE Round > 1 AND Pick > 163 |
Translate the following into a SQL query | What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30? | SELECT Location #sites (global/local) FROM table WHERE Software = bind AND IPv6 address = 2001:503:c27::2:30 |
Translate the following into a SQL query | Which IPv6 address had a location of distributed using anycast 8/0 and a letter of A? | SELECT IPv6 address FROM table WHERE Location #sites (global/local) = distributed using anycast 8/0 AND Letter = a |
Translate the following into a SQL query | Which IPv6 address has an operator of Wide project? | SELECT IPv6 address FROM table WHERE Operator = wide project |
Translate the following into a SQL query | Which letter has an operator of VeriSign and an AS-number of AS26415? | SELECT Letter FROM table WHERE Operator = verisign AND AS-number = as26415 |
Translate the following into a SQL query | Which location has an AS-number of N/A? | SELECT Location #sites (global/local) FROM table WHERE AS-number = n/a |
Translate the following into a SQL query | Which letter has an operator of the Defense Information Systems Agency? | SELECT Letter FROM table WHERE Operator = defense information systems agency |
Translate the following into a SQL query | What is the sum of All-Time, when Amateur Era is less than 0? | SELECT SUM All-time FROM table WHERE Amateur Era < 0 |
Translate the following into a SQL query | What is the lowest All-Time, when First Title is before 1974, when Last Title is "1933", and when Amateur Era is greater than 2? | SELECT MIN All-time FROM table WHERE First title < 1974 AND Last title = 1933 AND Amateur Era > 2 |
Translate the following into a SQL query | What is the lowest All-Time, when First Title is "2007, and when Amateur Era is greater than 0? | SELECT MIN All-time FROM table WHERE First title = 2007 AND Amateur Era > 0 |
Translate the following into a SQL query | What is the lowest First Title, when All-Time is greater than 1, when Country is "United States (USA)", and when Amateur Era is greater than 17? | SELECT MIN First title FROM table WHERE All-time > 1 AND Country = united states (usa) AND Amateur Era > 17 |
Translate the following into a SQL query | What is the Place of the Player with a To par of +2 and a Score of 70-72-73=215? | SELECT Place FROM table WHERE To par = +2 AND Score = 70-72-73=215 |
Translate the following into a SQL query | From what Country is T6 Place Player Robert Karlsson? | SELECT Country FROM table WHERE Place = t6 AND Player = robert karlsson |
Translate the following into a SQL query | What is the To par of the T4 Place Player with a Score of 72-69-73=214? | SELECT To par FROM table WHERE Place = t4 AND Score = 72-69-73=214 |
Translate the following into a SQL query | What is the To par of the Player with a Score of 70-72-73=215? | SELECT To par FROM table WHERE Score = 70-72-73=215 |
Translate the following into a SQL query | What Country is Rocco Mediate from? | SELECT Country FROM table WHERE Player = rocco mediate |
Translate the following into a SQL query | What is Mike Smith's To par? | SELECT To par FROM table WHERE Player = mike smith |
Translate the following into a SQL query | What is Scott Hoch with a Score of 66 Country? | SELECT Country FROM table WHERE Score = 66 AND Player = scott hoch |
Translate the following into a SQL query | What is the T4 Place Player with a Score of more than 66? | SELECT Player FROM table WHERE Score > 66 AND Place = t4 |
Translate the following into a SQL query | What is the vacancy date for the manager appointed on 2 November 2009 who left due to mutual consent? | SELECT Date of vacancy FROM table WHERE Manner of departure = mutual consent AND Date of appointment = 2 november 2009 |
Translate the following into a SQL query | What was the manner of departure for the vacancy date of 20 September 2009? | SELECT Manner of departure FROM table WHERE Date of vacancy = 20 september 2009 |
Translate the following into a SQL query | What was the vacancy date of the manager appointed on 11 March 2010? | SELECT Date of vacancy FROM table WHERE Date of appointment = 11 march 2010 |
Translate the following into a SQL query | What is the lowest pick number where the overall pick number was 38? | SELECT MIN Pick FROM table WHERE Overall = 38 |
Translate the following into a SQL query | What was the position of the player who was picked in round 22? | SELECT Position FROM table WHERE Round = 22 |
Translate the following into a SQL query | What was the call sign for ERP W of 99? | SELECT Call sign FROM table WHERE ERP W = 99 |
Translate the following into a SQL query | What is the team 1 in the match with a team 2 of Karabakh? | SELECT Team 1 FROM table WHERE Team 2 = karabakh |
Translate the following into a SQL query | What is the round of pick 63? | SELECT Round FROM table WHERE Pick = 63 |
Translate the following into a SQL query | What is the lowest round of player chris burkett? | SELECT MIN Round FROM table WHERE Player = chris burkett |
Translate the following into a SQL query | What is the average pick of school/club team kutztown state with a round 4? | SELECT AVG Pick FROM table WHERE Round = 4 AND School/Club Team = kutztown state |
Translate the following into a SQL query | What is the draw % with more than 110 matches, more than 59 draws, and a losing % of 18.5792%? | SELECT Draw % FROM table WHERE Matches > 110 AND Draw > 59 AND Lose % = 18.5792% |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.