instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | At what track resulted in Fausto Gresini winning the 125 cc and Carlos Lavado winning the 250 cc? | SELECT Track FROM table WHERE 125 cc = fausto gresini AND 250 cc = carlos lavado |
Translate the following into a SQL query | Who won the 250 cc in 1985? | SELECT 250 cc FROM table WHERE Year = 1985 |
Translate the following into a SQL query | Which opponent has 1-1 as the record? | SELECT Opponent FROM table WHERE Record = 1-1 |
Translate the following into a SQL query | What record has magomedkhan gamzatkhanov as the opponent, and submission as the method? | SELECT Record FROM table WHERE Opponent = magomedkhan gamzatkhanov AND Method = submission |
Translate the following into a SQL query | What round has 3-4 as the record? | SELECT Round FROM table WHERE Record = 3-4 |
Translate the following into a SQL query | What record has loss as the res., 1 for the round, and akira maeda as the opponent? | SELECT Record FROM table WHERE Res. = loss AND Round = 1 AND Opponent = akira maeda |
Translate the following into a SQL query | What record has decision (majority) as the method? | SELECT Record FROM table WHERE Method = decision (majority) |
Translate the following into a SQL query | What is Agg., when Team 1 is CD Elá Nguema? | SELECT Agg. FROM table WHERE Team 1 = cd elá nguema |
Translate the following into a SQL query | What is 1st Leg, when 2nd Leg is 1-3? | SELECT 1st leg FROM table WHERE 2nd leg = 1-3 |
Translate the following into a SQL query | What is 1st Leg, when 2nd Leg is 0-1? | SELECT 1st leg FROM table WHERE 2nd leg = 0-1 |
Translate the following into a SQL query | What is Team 2, when 2nd Leg is 1-0? | SELECT Team 2 FROM table WHERE 2nd leg = 1-0 |
Translate the following into a SQL query | What is Team 2, when 2nd Leg is 2-1? | SELECT Team 2 FROM table WHERE 2nd leg = 2-1 |
Translate the following into a SQL query | What is Team 2, when 2nd Leg is 0-3 1? | SELECT Team 2 FROM table WHERE 2nd leg = 0-3 1 |
Translate the following into a SQL query | What was Jim Colbert's score? | SELECT Score FROM table WHERE Player = jim colbert |
Translate the following into a SQL query | What country scored 69-69-73=211? | SELECT Country FROM table WHERE Score = 69-69-73=211 |
Translate the following into a SQL query | What country does Bobby Nichols play for? | SELECT Country FROM table WHERE Player = bobby nichols |
Translate the following into a SQL query | WHAT IS THE TIME/ RETIRED WITH A HONDA MANUFACTURER, GRID 8? | SELECT Time/Retired FROM table WHERE Manufacturer = honda AND Grid = 8 |
Translate the following into a SQL query | WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED? | SELECT Manufacturer FROM table WHERE Laps = 24 AND Time/Retired = +1.965 |
Translate the following into a SQL query | WHAT IS THE GRID OF HONDA, WITH 24 LAPS AND Time/Retired of +13.997? | SELECT Grid FROM table WHERE Manufacturer = honda AND Laps = 24 AND Time/Retired = +13.997 |
Translate the following into a SQL query | WHAT IS THE LAPS WITH A GRID OF 26? | SELECT Laps FROM table WHERE Grid = 26 |
Translate the following into a SQL query | WHAT IS THE RIDER WITH A 21 GRID? | SELECT Rider FROM table WHERE Grid = 21 |
Translate the following into a SQL query | WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27? | SELECT Manufacturer FROM table WHERE Laps = 24 AND Grid = 27 |
Translate the following into a SQL query | What is the most recent year georgia tech chose a linebacker? | SELECT MAX Year [A ] FROM table WHERE Position = linebacker AND College = georgia tech |
Translate the following into a SQL query | Who is the player from Spain that has a +2 to par? | SELECT Player FROM table WHERE To par = +2 AND Country = spain |
Translate the following into a SQL query | Name the country with a score of 69-71=140. | SELECT Country FROM table WHERE Score = 69-71=140 |
Translate the following into a SQL query | What's the to par for Hale Irwin of the United States? | SELECT To par FROM table WHERE Country = united states AND Player = hale irwin |
Translate the following into a SQL query | What's the to par for Jim Thorpe in T5 Place? | SELECT To par FROM table WHERE Place = t5 AND Player = jim thorpe |
Translate the following into a SQL query | What was Jack Nicklaus's score after round 1? | SELECT MIN Score FROM table WHERE Player = jack nicklaus |
Translate the following into a SQL query | Which Laps have a Time of +39.476, and a Grid larger than 11? | SELECT AVG Laps FROM table WHERE Time = +39.476 AND Grid > 11 |
Translate the following into a SQL query | Which Time has Laps smaller than 28, and a Rider of nicky hayden? | SELECT Time FROM table WHERE Laps < 28 AND Rider = nicky hayden |
Translate the following into a SQL query | Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476? | SELECT Rider FROM table WHERE Grid > 6 AND Laps = 28 AND Time = +39.476 |
Translate the following into a SQL query | Which Bronze has a Total of 4, and a Gold smaller than 1? | SELECT MIN Bronze FROM table WHERE Total = 4 AND Gold < 1 |
Translate the following into a SQL query | Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2? | SELECT SUM Bronze FROM table WHERE Silver > 1 AND Total > 3 AND Nation = turkey AND Gold < 2 |
Translate the following into a SQL query | Which Gold has a Bronze of 1, and a Total smaller than 3? | SELECT AVG Gold FROM table WHERE Bronze = 1 AND Total < 3 |
Translate the following into a SQL query | In what Week is the Opponent the New Orleans Saints? | SELECT AVG Week FROM table WHERE Opponent = new orleans saints |
Translate the following into a SQL query | In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance? | SELECT SUM Week FROM table WHERE Opponent = tampa bay buccaneers AND Attendance < 44,506 |
Translate the following into a SQL query | What is the Opponent in the game in Week 6 with more than 42,910 in Attendance? | SELECT Opponent FROM table WHERE Attendance > 42,910 AND Week = 6 |
Translate the following into a SQL query | What team was home, when the record was 24–16–6? | SELECT Home FROM table WHERE Record = 24–16–6 |
Translate the following into a SQL query | What date was the visitor the Boston Bruins, and the record was 4–0–1? | SELECT Date FROM table WHERE Visitor = boston bruins AND Record = 4–0–1 |
Translate the following into a SQL query | Who had the most points in game 81? | SELECT High points FROM table WHERE Game = 81 |
Translate the following into a SQL query | Which flight had an aircraft of vickers viscount type 794? | SELECT Flight FROM table WHERE Aircraft = vickers viscount type 794 |
Translate the following into a SQL query | Which flight had the aircraft avro rj-100? | SELECT Flight FROM table WHERE Aircraft = avro rj-100 |
Translate the following into a SQL query | When was the registration of tc-jes? | SELECT Date FROM table WHERE Registration = tc-jes |
Translate the following into a SQL query | Which fatality was at ankara for the aircraft douglas c-47? | SELECT Fatalities FROM table WHERE Location = ankara AND Aircraft = douglas c-47 |
Translate the following into a SQL query | How many total rounds have the results of win, and n/a as the method? | SELECT COUNT Round FROM table WHERE Res. = win AND Method = n/a |
Translate the following into a SQL query | How long did the match last in the Rings: Final Capture event? | SELECT Time FROM table WHERE Event = rings: final capture |
Translate the following into a SQL query | What is the result for the match against Wataru Sakata? | SELECT Res. FROM table WHERE Opponent = wataru sakata |
Translate the following into a SQL query | The match against Oleg Taktarov had what result? | SELECT Res. FROM table WHERE Opponent = oleg taktarov |
Translate the following into a SQL query | What was the method when 4-2 was the record? | SELECT Method FROM table WHERE Record = 4-2 |
Translate the following into a SQL query | What was the score for Tie no. 6? | SELECT Score FROM table WHERE Tie no = 6 |
Translate the following into a SQL query | What was the tie against the away team, Leicester City? | SELECT Tie no FROM table WHERE Away team = leicester city |
Translate the following into a SQL query | Which round has a time of 3:01? | SELECT Round FROM table WHERE Time = 3:01 |
Translate the following into a SQL query | Where is the UFC 110 event with 3 rounds located? | SELECT Location FROM table WHERE Round = 3 AND Event = ufc 110 |
Translate the following into a SQL query | Which Home team score is on sunday 24 february? | SELECT Home team score FROM table WHERE Date = sunday 24 february |
Translate the following into a SQL query | Which Home team has a score of 12.10 (82)? | SELECT Home team FROM table WHERE Home team score = 12.10 (82) |
Translate the following into a SQL query | Which Crowd has a Home team of st kilda? | SELECT Crowd FROM table WHERE Home team = st kilda |
Translate the following into a SQL query | Which Away team has a Ground of gabba? | SELECT Away team FROM table WHERE Ground = gabba |
Translate the following into a SQL query | Which Crowd has a Away team of sydney? | SELECT MAX Crowd FROM table WHERE Away team = sydney |
Translate the following into a SQL query | WHAT IS THE NUMBER OF COINS OF $25-1/4 OZ WITH $50-1/2 OZ OF 13,836, AND $100-01 OZ, SMALLER THAN 14,912? | SELECT COUNT $25 – 1/4 oz. FROM table WHERE $50 – 1/2 oz. = 13,836 AND $100 – 1 oz. < 14,912 |
Translate the following into a SQL query | Which OWGR pts has Dates of may 10-13? | SELECT SUM OWGR pts FROM table WHERE Dates = may 10-13 |
Translate the following into a SQL query | Which OWGR pts has Dates of apr 26-29, and a Prize fund (¥) smaller than 120,000,000? | SELECT MIN OWGR pts FROM table WHERE Dates = apr 26-29 AND Prize fund ( ¥ ) < 120,000,000 |
Translate the following into a SQL query | Which OWGR pts has a Prize fund (¥) larger than 100,000,000, and Dates of oct 25-28? | SELECT OWGR pts FROM table WHERE Prize fund ( ¥ ) > 100,000,000 AND Dates = oct 25-28 |
Translate the following into a SQL query | How many OWGR pts have a Prize fund (¥) of 100,000,000, and a Tournament of tsuruya open? | SELECT COUNT OWGR pts FROM table WHERE Prize fund ( ¥ ) = 100,000,000 AND Tournament = tsuruya open |
Translate the following into a SQL query | Which Home has an Attendance larger than 1,858? | SELECT Home FROM table WHERE Attendance > 1,858 |
Translate the following into a SQL query | Which Attendance has a Score of 0:2? | SELECT MAX Attendance FROM table WHERE Score = 0:2 |
Translate the following into a SQL query | Which Date has an Attendance larger than 1,858? | SELECT Date FROM table WHERE Attendance > 1,858 |
Translate the following into a SQL query | Which Home has a Score of 0:2? | SELECT Home FROM table WHERE Score = 0:2 |
Translate the following into a SQL query | Which Date has a Location/Attendance of verizon center 7,448? | SELECT Date FROM table WHERE Location/Attendance = verizon center 7,448 |
Translate the following into a SQL query | Which Game has a Score of 101-109 (ot)? | SELECT AVG Game FROM table WHERE Score = 101-109 (ot) |
Translate the following into a SQL query | Which player made the highest number of assists during the game played at the FleetCenter, with end score of W 120-87? | SELECT High assists FROM table WHERE Location Attendance = fleetcenter AND Score = w 120-87 |
Translate the following into a SQL query | Which player was the high points scorer during the game with an end score of W 93-85? | SELECT High points FROM table WHERE Score = w 93-85 |
Translate the following into a SQL query | For the game in which P. Pierce (31) scored the most points, what was the final score? | SELECT Score FROM table WHERE High points = p. pierce (31) |
Translate the following into a SQL query | Who made the most assists in Game 2 of this season? | SELECT High assists FROM table WHERE Game = 2 |
Translate the following into a SQL query | What is the smallest number of goals when the goals against are more than 58 and played number is more than 30? | SELECT MIN Goals for FROM table WHERE Goals against > 58 AND Played > 30 |
Translate the following into a SQL query | What is the minimum position when points are 32 and wins are greater than 13? | SELECT MIN Position FROM table WHERE Points = 32 AND Wins > 13 |
Translate the following into a SQL query | What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51? | SELECT MAX Draws FROM table WHERE Goals against > 33 AND Losses = 13 AND Goals for < 51 |
Translate the following into a SQL query | What is the position when wins are fewer than 14 and draws are fewer than 3? | SELECT AVG Position FROM table WHERE Wins < 14 AND Draws < 3 |
Translate the following into a SQL query | Which club has 15 losses and 14 wins? | SELECT Club FROM table WHERE Losses = 15 AND Wins = 14 |
Translate the following into a SQL query | What home is dated march 19? | SELECT Home FROM table WHERE Date = march 19 |
Translate the following into a SQL query | What home has 46 points? | SELECT Home FROM table WHERE Points = 46 |
Translate the following into a SQL query | What was the date of release for the episode sorted value of 6Y/AA? | SELECT Released FROM table WHERE Series Sorted = 6y/aa |
Translate the following into a SQL query | What is the series sorted value for the episode released December 2009? | SELECT Series Sorted FROM table WHERE Released = december 2009 |
Translate the following into a SQL query | What round has Team #2 Gomel? | SELECT Round FROM table WHERE Team #2 = gomel |
Translate the following into a SQL query | Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title? | SELECT Elevator FROM table WHERE Order and title = cardinal-deacon of s. nicola in carcere tulliano |
Translate the following into a SQL query | The Cardinal-Priest of S. Prassede order and title has who as the elevator? | SELECT Elevator FROM table WHERE Order and title = cardinal-priest of s. prassede |
Translate the following into a SQL query | When the elevator was Innocent IV what was the nationality? | SELECT Nationality FROM table WHERE Elevator = innocent iv |
Translate the following into a SQL query | When Giovanni Gaetano Orsini was the elector who was the elevator? | SELECT Elevator FROM table WHERE Elector = giovanni gaetano orsini |
Translate the following into a SQL query | When Anchero Pantaleone was the elector what is under nationality? | SELECT Nationality FROM table WHERE Elector = anchero pantaleone |
Translate the following into a SQL query | With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title? | SELECT Order and title FROM table WHERE Elevated = may 1262 AND Elector = guillaume de bray |
Translate the following into a SQL query | What was the result when the San Francisco 49ers were the opponents? | SELECT Result FROM table WHERE Opponent = san francisco 49ers |
Translate the following into a SQL query | What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter? | SELECT Score FROM table WHERE Tournament = rabat AND Opponent in the final = yannik reuter |
Translate the following into a SQL query | What is the Opponent of the match played on a Clay Surface with a Score of 6–0, 6–2? | SELECT Opponent in the final FROM table WHERE Surface = clay AND Score = 6–0, 6–2 |
Translate the following into a SQL query | What is the Date of the match with Opponent in the final of Filip Polášek? | SELECT Date FROM table WHERE Opponent in the final = filip polášek |
Translate the following into a SQL query | What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil? | SELECT Score FROM table WHERE Tournament = rabat AND Opponent in the final = frederico gil |
Translate the following into a SQL query | On what Date was the Result of the game W 30–15? | SELECT Date FROM table WHERE Result = w 30–15 |
Translate the following into a SQL query | What is the Date of Week 9? | SELECT Date FROM table WHERE Week = 9 |
Translate the following into a SQL query | What is the Result of the game on September 1, 1996? | SELECT Result FROM table WHERE Date = september 1, 1996 |
Translate the following into a SQL query | On what Week was the Result W 34–24? | SELECT AVG Week FROM table WHERE Result = w 34–24 |
Translate the following into a SQL query | What is the Week on November 10, 1996? | SELECT Week FROM table WHERE Date = november 10, 1996 |
Translate the following into a SQL query | What is the Status of the Paris with a Census Ranking of 3,474 of 5,008? | SELECT Status FROM table WHERE Census Ranking = 3,474 of 5,008 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.