instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | When the blank ends at 1, what is the PA? | SELECT COUNT PA FROM table WHERE Blank Ends = 1 |
Translate the following into a SQL query | How many times did the team play charlotte? | SELECT COUNT Record FROM table WHERE Team = Charlotte |
Translate the following into a SQL query | What day did the team play charlotte? | SELECT Date FROM table WHERE Team = Charlotte |
Translate the following into a SQL query | When was the game with score l 99–107 (ot) | SELECT Date FROM table WHERE Score = L 99–107 (OT) |
Translate the following into a SQL query | Where was the game with record 20–23 and how many people attended it | SELECT Location Attendance FROM table WHERE Record = 20–23 |
Translate the following into a SQL query | Who scored highest rebounds high points is charlie villanueva (32) | SELECT High rebounds FROM table WHERE High points = Charlie Villanueva (32) |
Translate the following into a SQL query | What is the score of game 46 | SELECT Score FROM table WHERE Game = 46 |
Translate the following into a SQL query | Who scored the high points on the date November 2? | SELECT High points FROM table WHERE Date = November 2 |
Translate the following into a SQL query | In how many locations did Game 13 take place? | SELECT COUNT Location Attendance FROM table WHERE Game = 13 |
Translate the following into a SQL query | Where was the game that took place in November 21 located and how many attended? | SELECT Location Attendance FROM table WHERE Date = November 21 |
Translate the following into a SQL query | Name the high reobounds for april 7 | SELECT High rebounds FROM table WHERE Date = April 7 |
Translate the following into a SQL query | How many games was game 43? | SELECT COUNT Record FROM table WHERE Game = 43 |
Translate the following into a SQL query | Name the total number of high rebounds for february 10 | SELECT COUNT High rebounds FROM table WHERE Date = February 10 |
Translate the following into a SQL query | Name the record for december 6 | SELECT Record FROM table WHERE Date = December 6 |
Translate the following into a SQL query | What was the final score in game 38? | SELECT Score FROM table WHERE Game = 38 |
Translate the following into a SQL query | Who did the Trail Blazers play on January 2? | SELECT Team FROM table WHERE Date = January 2 |
Translate the following into a SQL query | On how many dates did the Timberwolves play Phoenix? | SELECT COUNT Date FROM table WHERE Team = Phoenix |
Translate the following into a SQL query | What was the Timberwolves' record on April 3? | SELECT Record FROM table WHERE Date = April 3 |
Translate the following into a SQL query | Where are all of Utah's games held and how many have attended? | SELECT Location Attendance FROM table WHERE Team = Utah |
Translate the following into a SQL query | Who performed all the high rebounds when craig smith (4) was the lead for high assists? | SELECT High rebounds FROM table WHERE High assists = Craig Smith (4) |
Translate the following into a SQL query | Who had all the high rebounds when kevin love (20) scored the highest points? | SELECT High rebounds FROM table WHERE High points = Kevin Love (20) |
Translate the following into a SQL query | What opposing team was playing when sebastian telfair (7) had the highest assists? | SELECT Team FROM table WHERE High assists = Sebastian Telfair (7) |
Translate the following into a SQL query | Name the score for january 26 | SELECT Score FROM table WHERE Date = January 26 |
Translate the following into a SQL query | Who did the high points in the game played on April 12? | SELECT High points FROM table WHERE Date = April 12 |
Translate the following into a SQL query | What is the constructor when the Q1 order is 4? | SELECT Constructor FROM table WHERE Q1 order = 4 |
Translate the following into a SQL query | What is the Q1 order for Felipe Massa? | SELECT MAX Q1 order FROM table WHERE Driver = Felipe Massa |
Translate the following into a SQL query | What is the Q1 time for the driver with Q1 order of 6? | SELECT Q1 time FROM table WHERE Q1 order = 6 |
Translate the following into a SQL query | How many Q1 figures are given for Alexander Wurz? | SELECT COUNT Q1 order FROM table WHERE Driver = Alexander Wurz |
Translate the following into a SQL query | Who all had the most assists in game 12? | SELECT High assists FROM table WHERE Game = 12 |
Translate the following into a SQL query | Which position offers winnings of $4,228,889? | SELECT Position FROM table WHERE Winnings = $4,228,889 |
Translate the following into a SQL query | How many poles did team #14 ginn racing have? | SELECT Poles FROM table WHERE Team(s) = #14 Ginn Racing |
Translate the following into a SQL query | When the poles are 0 and the position is 14th, how much are the winnings? | SELECT Winnings FROM table WHERE Poles = 0 AND Position = 14th |
Translate the following into a SQL query | Which start won $1,301,370? | SELECT Starts FROM table WHERE Winnings = $1,301,370 |
Translate the following into a SQL query | For team #40 chip ganassi racing which top 5 is the highest where top 10 is 5? | SELECT MAX Top 5 FROM table WHERE Top 10 = 5 AND Team(s) = #40 Chip Ganassi Racing |
Translate the following into a SQL query | what is the posisiotn where the start is 3? | SELECT Position FROM table WHERE Starts = 3 |
Translate the following into a SQL query | what is the team where winnings is $81,690? | SELECT Team(s) FROM table WHERE Winnings = $81,690 |
Translate the following into a SQL query | What was the attendance of the Indiana game? | SELECT Location Attendance FROM table WHERE Team = Indiana |
Translate the following into a SQL query | What is the trans 2 duration if the biking stage is covered within 58:20? | SELECT Trans 2 FROM table WHERE Bike (40km) = 58:20 |
Translate the following into a SQL query | What is the trans 2 duration if the total time is 1:51:19.45? | SELECT Trans 2 FROM table WHERE Total Time = 1:51:19.45 |
Translate the following into a SQL query | What was the duration of Daniela Ryf's swimming stage? | SELECT Swim (1.5km) FROM table WHERE Athlete = Daniela Ryf |
Translate the following into a SQL query | How many athletes completed a trans 1 within 0:26? | SELECT COUNT Athlete FROM table WHERE Trans 1 = 0:26 |
Translate the following into a SQL query | Who was the athlete that covered biking within 58:52? | SELECT Athlete FROM table WHERE Bike (40km) = 58:52 |
Translate the following into a SQL query | All high points are team new york. | SELECT High points FROM table WHERE Team = New York |
Translate the following into a SQL query | February 12 is the date for all location attendance. | SELECT Location Attendance FROM table WHERE Date = February 12 |
Translate the following into a SQL query | 54 is the game where location attendance are. | SELECT Location Attendance FROM table WHERE Game = 54 |
Translate the following into a SQL query | All high points were record by corey maggette (25). | SELECT Record FROM table WHERE High points = Corey Maggette (25) |
Translate the following into a SQL query | what is the total number of attendance where the date is december 29? | SELECT COUNT Location Attendance FROM table WHERE Date = December 29 |
Translate the following into a SQL query | What was the manner in which Petrik Sander departed? | SELECT Manner of departure FROM table WHERE Outgoing manager = Petrik Sander |
Translate the following into a SQL query | What was the manner of departure for Edgar Schmitt of the Stuttgarter Kickers? | SELECT Manner of departure FROM table WHERE Team = Stuttgarter Kickers AND Outgoing manager = Edgar Schmitt |
Translate the following into a SQL query | What was the date of appointment when Jürgen Kohler was the outgoing manager? | SELECT Date of appointment FROM table WHERE Outgoing manager = Jürgen Kohler |
Translate the following into a SQL query | How many appointment dates were recorded when Jürgen Kohler was the replaced by? | SELECT COUNT Date of appointment FROM table WHERE Replaced by = Jürgen Kohler |
Translate the following into a SQL query | What are the swimsuit scores of participants with score 9.366 in interview | SELECT Swimsuit FROM table WHERE Interview = 9.366 |
Translate the following into a SQL query | State average scores of participants from arizona | SELECT Average FROM table WHERE Country = Arizona |
Translate the following into a SQL query | Number of participants with a score 8.895 in preliminary | SELECT COUNT Interview FROM table WHERE Preliminary = 8.895 |
Translate the following into a SQL query | Evening gown scores of participants with 8.988 swimsuit score | SELECT Evening Gown FROM table WHERE Swimsuit = 8.988 |
Translate the following into a SQL query | What are the average scores of participants with 9.226 in evening gown | SELECT Average FROM table WHERE Evening Gown = 9.226 |
Translate the following into a SQL query | Give swimsuit scores of participants 8.847 in preliminary | SELECT Swimsuit FROM table WHERE Preliminary = 8.847 |
Translate the following into a SQL query | What is the official name of the land with an area of 276.84 km2? | SELECT Official Name FROM table WHERE Area km 2 = 276.84 |
Translate the following into a SQL query | What is the total number of population in the land with an area of 149.32 km2? | SELECT COUNT Population FROM table WHERE Area km 2 = 149.32 |
Translate the following into a SQL query | What is the maximum population of the land with an area of 276.84 km2? | SELECT MAX Population FROM table WHERE Area km 2 = 276.84 |
Translate the following into a SQL query | What is the land area of Hopewell parish in km2? | SELECT Area km 2 FROM table WHERE Official Name = Hopewell |
Translate the following into a SQL query | Name the march 27-29 for november 3 being 133 | SELECT March 27-29 FROM table WHERE November 3 = 133 |
Translate the following into a SQL query | Name march 27-29 where january 15-16 is january 15, 1991 | SELECT March 27-29 FROM table WHERE January 15-16 = January 15, 1991 |
Translate the following into a SQL query | Name the january 15-16 where march 27-29 where march 29, 2006 | SELECT January 15-16 FROM table WHERE March 27-29 = March 29, 2006 |
Translate the following into a SQL query | Name the number of location attendance for l 141–143 (ot) | SELECT COUNT Location Attendance FROM table WHERE Score = L 141–143 (OT) |
Translate the following into a SQL query | Name the record for april 1 | SELECT Record FROM table WHERE Date = April 1 |
Translate the following into a SQL query | Name the high assists for score being l 98–118 (ot) | SELECT High assists FROM table WHERE Score = L 98–118 (OT) |
Translate the following into a SQL query | Name the least game for arco arena 13,330 | SELECT MIN Game FROM table WHERE Location Attendance = ARCO Arena 13,330 |
Translate the following into a SQL query | Name the high rebounds for game 11 | SELECT High rebounds FROM table WHERE Game = 11 |
Translate the following into a SQL query | Name the high points for score being l 92–100 (ot) | SELECT High points FROM table WHERE Score = L 92–100 (OT) |
Translate the following into a SQL query | Name the team for arco arena 13,685 | SELECT Team FROM table WHERE Location Attendance = ARCO Arena 13,685 |
Translate the following into a SQL query | What was the score of game 35? | SELECT Score FROM table WHERE Game = 35 |
Translate the following into a SQL query | Name the location attendance for score of 65-72 | SELECT Location/Attendance FROM table WHERE Score = 65-72 |
Translate the following into a SQL query | Name the record for july 18 | SELECT Record FROM table WHERE Date = July 18 |
Translate the following into a SQL query | Name the number of high assists for july 1 | SELECT COUNT High assists FROM table WHERE Date = July 1 |
Translate the following into a SQL query | Name the score when game is 19 | SELECT Score FROM table WHERE Game = 19 |
Translate the following into a SQL query | What is the result when team 1 is ICL Pakistan? | SELECT Result FROM table WHERE Team 1 = ICL Pakistan |
Translate the following into a SQL query | What is the match number where the result is ICL World by 8 wickets? | SELECT Match Number FROM table WHERE Result = ICL World by 8 wickets |
Translate the following into a SQL query | What is team 2 where the result is ICL world by 8 wickets? | SELECT Team 2 FROM table WHERE Result = ICL World by 8 wickets |
Translate the following into a SQL query | Who is man of the match when Team 1 is ICL Pakistan? | SELECT Man of the Match FROM table WHERE Team 1 = ICL Pakistan |
Translate the following into a SQL query | How many dates have a Match number of 5? | SELECT COUNT Date FROM table WHERE Match Number = 5 |
Translate the following into a SQL query | Who is man of the match for match number 5? | SELECT Man of the Match FROM table WHERE Match Number = 5 |
Translate the following into a SQL query | With a score of 68-85, what is the location and attendance? | SELECT Location/Attendance FROM table WHERE Score = 68-85 |
Translate the following into a SQL query | Name the location of 64-74 | SELECT Location/Attendance FROM table WHERE Score = 64-74 |
Translate the following into a SQL query | Name the score for game for 25 | SELECT Score FROM table WHERE Game = 25 |
Translate the following into a SQL query | Name the record for attendance location of palace of auburn hills 15,210 | SELECT Record FROM table WHERE Location/Attendance = Palace of Auburn Hills 15,210 |
Translate the following into a SQL query | Name the high rebounds for score of 64-74 | SELECT COUNT High rebounds FROM table WHERE Score = 64-74 |
Translate the following into a SQL query | Namethe score for july 16 | SELECT Score FROM table WHERE Date = July 16 |
Translate the following into a SQL query | Which people had the best 10-year period when Fischer had best 15-year period? | SELECT best 10-year period FROM table WHERE best 15-year period = Fischer |
Translate the following into a SQL query | Which people had the best 10-year period when Capablanca had the best 15-year period? | SELECT best 10-year period FROM table WHERE best 15-year period = Capablanca |
Translate the following into a SQL query | Name the record for june 7 | SELECT Record FROM table WHERE Date = June 7 |
Translate the following into a SQL query | Name the date for the score of w 83-69 | SELECT Date FROM table WHERE Score = W 83-69 |
Translate the following into a SQL query | Name the record for score of w 76-67 | SELECT Record FROM table WHERE Score = W 76-67 |
Translate the following into a SQL query | What are the scores for games played on september 9? | SELECT Score FROM table WHERE Date = September 9 |
Translate the following into a SQL query | What was the score of the game played when the team was 16-17? | SELECT Score FROM table WHERE Record = 16-17 |
Translate the following into a SQL query | What was the location and where did the team play game number 32? | SELECT Location/Attendance FROM table WHERE Game = 32 |
Translate the following into a SQL query | What is every 5-year peek with a when Anatoly Karpov, 2820 is 15-year peak? | SELECT 5-year peak FROM table WHERE 15-year peak = Anatoly Karpov, 2820 |
Translate the following into a SQL query | What is the highest rank when Garry Kasparov, 2879 is the 1-year peak? | SELECT MAX Rank FROM table WHERE 1-year peak = Garry Kasparov, 2879 |
Translate the following into a SQL query | What is every 5-year peak when Emanuel Lasker, 2847 is the 10-year peak? | SELECT 5-year peak FROM table WHERE 10-year peak = Emanuel Lasker, 2847 |
Translate the following into a SQL query | What is the highest rank when Anatoly Karpov, 2820 is the 15-year peak? | SELECT MAX Rank FROM table WHERE 15-year peak = Anatoly Karpov, 2820 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.