instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the high rebounds after game 14 for Denver? | SELECT High rebounds FROM table WHERE Game > 14 AND Team = denver |
Translate the following into a SQL query | What was the latest game that Sacramento played? | SELECT MAX Game FROM table WHERE Team = sacramento |
Translate the following into a SQL query | What was the record of Utah? | SELECT Record FROM table WHERE Team = utah |
Translate the following into a SQL query | What is the parent magazine of Dengeki g's festival! deluxe? | SELECT Parent magazine FROM table WHERE Title = dengeki g's festival! deluxe |
Translate the following into a SQL query | How often does Dengeki girl's style come out? | SELECT Frequency FROM table WHERE Parent magazine = dengeki girl's style |
Translate the following into a SQL query | What titles come out monthly? | SELECT Title FROM table WHERE Frequency = monthly |
Translate the following into a SQL query | What is the parent magazine for Dengeki 5pb.? | SELECT Parent magazine FROM table WHERE Title = dengeki 5pb. |
Translate the following into a SQL query | What is the magazine type that ran from March 3, 2009–February 5, 2010? | SELECT Magazine type FROM table WHERE Magazine run = march 3, 2009–february 5, 2010 |
Translate the following into a SQL query | What is the frequency for the magazine that runs September 2, 2010? | SELECT Frequency FROM table WHERE Magazine run = september 2, 2010 |
Translate the following into a SQL query | What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? | SELECT MAX Laps FROM table WHERE Time/Retired = +1:23.297 AND Grid > 4 |
Translate the following into a SQL query | What is the time/retired with a toyota constructor and a 5 grid? | SELECT Time/Retired FROM table WHERE Constructor = toyota AND Grid = 5 |
Translate the following into a SQL query | What is the average number of laps with 16 grids? | SELECT AVG Laps FROM table WHERE Grid = 16 |
Translate the following into a SQL query | What is the Kiplinger's Top 100 value of the university that was established in 1851? | SELECT Kiplinger's Top 100 Values FROM table WHERE Established = 1851 |
Translate the following into a SQL query | What was the endowment in 2008 of the college that was established in 1961? | SELECT Endowment as of 2008 FROM table WHERE Established = 1961 |
Translate the following into a SQL query | On what day was the attendance that had a Tie value of 40? | SELECT Attendance FROM table WHERE Tie no = 40 |
Translate the following into a SQL query | Who was the home team for the away game that Canvey Island played? | SELECT Home team FROM table WHERE Away team = canvey island |
Translate the following into a SQL query | On what day was there a Home game for Gillingham? | SELECT Attendance FROM table WHERE Home team = gillingham |
Translate the following into a SQL query | Which Pick has an Overall larger than 308, and a Position of rb? | SELECT MAX Pick FROM table WHERE Overall > 308 AND Position = rb |
Translate the following into a SQL query | How much Overall has a Position of wr, and a College of alberta? | SELECT SUM Overall FROM table WHERE Position = wr AND College = alberta |
Translate the following into a SQL query | What is indiana college's average pick? | SELECT AVG Pick FROM table WHERE College = indiana |
Translate the following into a SQL query | Which College has an Overall of 308? | SELECT College FROM table WHERE Overall = 308 |
Translate the following into a SQL query | What was the surface for the opponent Marcos Baghdatis? | SELECT Surface FROM table WHERE Opponent = marcos baghdatis |
Translate the following into a SQL query | WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS? | SELECT Eighth FROM table WHERE Seventh = audio bullys |
Translate the following into a SQL query | WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS? | SELECT Poll Year FROM table WHERE Third = the ting tings |
Translate the following into a SQL query | WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES? | SELECT Sixth FROM table WHERE Second = white lies |
Translate the following into a SQL query | WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE? | SELECT Winner FROM table WHERE Fifth = joss stone |
Translate the following into a SQL query | WHAT IS THE SECOND WITH A TENTH OF DAN BLACK? | SELECT Second FROM table WHERE Tenth = dan black |
Translate the following into a SQL query | What average game has January 30 as the date? | SELECT AVG Game FROM table WHERE Date = january 30 |
Translate the following into a SQL query | What score has january 19 as the date? | SELECT Score FROM table WHERE Date = january 19 |
Translate the following into a SQL query | What is the loaction attendance that has a game greater than 35, with January 30 as the date? | SELECT Location Attendance FROM table WHERE Game > 35 AND Date = january 30 |
Translate the following into a SQL query | What is the highest game that has January 5 as the date? | SELECT MAX Game FROM table WHERE Date = january 5 |
Translate the following into a SQL query | What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance? | SELECT High rebounds FROM table WHERE Location Attendance = conseco fieldhouse 11,964 |
Translate the following into a SQL query | What is the highest lane value for a mark of 2:02.27 NR, with heats under 2? | SELECT MAX Lane FROM table WHERE Mark = 2:02.27 nr AND Heat < 2 |
Translate the following into a SQL query | What is the mark for the runner from Mozambique? | SELECT Mark FROM table WHERE Country = mozambique |
Translate the following into a SQL query | Who was in lane 6 with a mark of 2:05.58 SB? | SELECT Name FROM table WHERE Lane = 6 AND Mark = 2:05.58 sb |
Translate the following into a SQL query | What is the non-truncating vowel final stem for the example of k'ats-ma? | SELECT Vowel final stem (non-truncating) FROM table WHERE Example: k'ats- ("man") = k'ats-ma |
Translate the following into a SQL query | What is the truncating vowel final stem that has an example of mama-s? | SELECT Vowel final stem (truncating) FROM table WHERE Example: mama- ("father") = mama-s |
Translate the following into a SQL query | What is the example for "man" that has a truncating vowel final stem of -ø and a consonant final stem of -o? | SELECT Example: k'ats- ("man") FROM table WHERE Vowel final stem (truncating) = -ø AND Consonant final stem = -o |
Translate the following into a SQL query | What is the non-truncating vowel final stem that has an example of k'ats-s? | SELECT Vowel final stem (non-truncating) FROM table WHERE Example: k'ats- ("man") = k'ats-s |
Translate the following into a SQL query | What is the example for "man" that has an example for "father" of mam-is? | SELECT Example: k'ats- ("man") FROM table WHERE Example: mama- ("father") = mam-is |
Translate the following into a SQL query | What is the example for "father" that has a consonant final stem of -is? | SELECT Example: mama- ("father") FROM table WHERE Consonant final stem = -is |
Translate the following into a SQL query | What round was Ken Irvin drafted? | SELECT MAX Round FROM table WHERE Player = ken irvin |
Translate the following into a SQL query | In what round was a player from Michigan selected? | SELECT MAX Round FROM table WHERE School/Club Team = michigan |
Translate the following into a SQL query | Who was the opponent before week 8 when the result was l 28-17? | SELECT Opponent FROM table WHERE Week < 8 AND Result = l 28-17 |
Translate the following into a SQL query | In which week was the game played on October 12, 1975 and the crowd was larger than 44,043? | SELECT COUNT Week FROM table WHERE Date = october 12, 1975 AND Attendance > 44,043 |
Translate the following into a SQL query | What was Berlin when fk pirmasens was Südwest and westfalia herne was west? | SELECT Berlin FROM table WHERE Südwest = fk pirmasens AND West = westfalia herne |
Translate the following into a SQL query | What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? | SELECT MIN Year FROM table WHERE West = borussia dortmund AND Berlin = bfc viktoria 1889 |
Translate the following into a SQL query | What is the Nord in 1952, when tennis borussia berlin was Berlin? | SELECT Nord FROM table WHERE Berlin = tennis borussia berlin AND Year = 1952 |
Translate the following into a SQL query | Where did Japan place? | SELECT Place FROM table WHERE Country = japan |
Translate the following into a SQL query | Who was the away team when the attendance was 206? | SELECT Away team FROM table WHERE Attendance = 206 |
Translate the following into a SQL query | Who was the away team when the Tie no was 34? | SELECT Away team FROM table WHERE Tie no = 34 |
Translate the following into a SQL query | Who was the away team when the attendance was 76? | SELECT Away team FROM table WHERE Attendance = 76 |
Translate the following into a SQL query | Who was the home team when the Tie no was 7? | SELECT Home team FROM table WHERE Tie no = 7 |
Translate the following into a SQL query | What was the Tie no when the away team was east thurrock united? | SELECT Tie no FROM table WHERE Away team = east thurrock united |
Translate the following into a SQL query | WHAT IS THE LOWEST TURNOUT FOR AN ELECTORATE LARGER THAN 47,822 AND SPOILT OF 2,333? | SELECT MIN Turnout FROM table WHERE Electorate > 47,822 AND Spoilt = 2,333 |
Translate the following into a SQL query | WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? | SELECT AVG Votes FROM table WHERE Constituency = dublin south AND Spoilt < 3,387 |
Translate the following into a SQL query | WHAT IS AN AVERAGE ELECTORATE WITH VOTES OF 28,475 AND SPOILT SMALLER THAN 5,779? | SELECT AVG Electorate FROM table WHERE Votes = 28,475 AND Spoilt < 5,779 |
Translate the following into a SQL query | WHAT IS THE LOWEST ELECTORATE WITH 31,511 VOTES, AND PERCENT YES SMALLER THAN 57.2? | SELECT MIN Electorate FROM table WHERE Votes = 31,511 AND Percent Yes < 57.2 |
Translate the following into a SQL query | Where was the game played on January 23, 2008? | SELECT Location FROM table WHERE Date = january 23, 2008 |
Translate the following into a SQL query | Where was the Singapore Charity Shield tournament played? | SELECT Location FROM table WHERE Tournament = singapore charity shield |
Translate the following into a SQL query | Where was the game located on January 23, 2008? | SELECT Location FROM table WHERE Date = january 23, 2008 |
Translate the following into a SQL query | Where is the location of the friendly match larger than 1 where the Super Reds were the opponent? | SELECT Location FROM table WHERE Match > 1 AND Tournament = friendly AND Opponent team = super reds |
Translate the following into a SQL query | When the team is @ Milwaukee, what is the name of the location where the game is played? | SELECT Location Attendance FROM table WHERE Team = @ milwaukee |
Translate the following into a SQL query | For the game with team of @ Chicago, what was the final score? | SELECT Score FROM table WHERE Team = @ chicago |
Translate the following into a SQL query | How long was Volume:Issue 12:4-6 at the top? | SELECT COUNT Weeks on Top FROM table WHERE Volume:Issue = 12:4-6 |
Translate the following into a SQL query | What rank did Best Friends receive? | SELECT Rank FROM table WHERE Title = best friends |
Translate the following into a SQL query | How many points are for the Fall Bay RFC club? | SELECT Points for FROM table WHERE Club = fall bay rfc |
Translate the following into a SQL query | What was drawn for 6 bonus points and is against 410 points? | SELECT Drawn FROM table WHERE Bonus Points = 6 AND Points against = 410 |
Translate the following into a SQL query | What is the club had 431 points against them? | SELECT Club FROM table WHERE Points against = 431 |
Translate the following into a SQL query | What are the points against with a points difference? | SELECT Points against FROM table WHERE Points difference = points difference |
Translate the following into a SQL query | What are the played points difference? | SELECT Played FROM table WHERE Points difference = points difference |
Translate the following into a SQL query | When the Home Team was Sydney, what did the Away team score? | SELECT Away team score FROM table WHERE Home team = sydney |
Translate the following into a SQL query | What was the Home team Carlton's Ground? | SELECT Ground FROM table WHERE Home team = carlton |
Translate the following into a SQL query | When Essendon scored 8.14 (62), what was the Home team score? | SELECT Home team score FROM table WHERE Away team score = 8.14 (62) AND Away team = essendon |
Translate the following into a SQL query | Which player scored 71? | SELECT Player FROM table WHERE Score = 71 |
Translate the following into a SQL query | What is the circuit on 19 Apr with Craig Lowndes as the winner? | SELECT Circuit FROM table WHERE Winner = craig lowndes AND Date = 19 apr |
Translate the following into a SQL query | What circuit has volvo cars australia as the team? | SELECT Circuit FROM table WHERE Team = volvo cars australia |
Translate the following into a SQL query | What series was Dick Johnson Racing the team? | SELECT Series FROM table WHERE Team = dick johnson racing |
Translate the following into a SQL query | What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner? | SELECT City / State FROM table WHERE Winner = russell ingall larry perkins |
Translate the following into a SQL query | What date was the away team, team Gillingham? | SELECT Date FROM table WHERE Away team = gillingham |
Translate the following into a SQL query | What was the score for a no. 21 tie? | SELECT Score FROM table WHERE Tie no = 21 |
Translate the following into a SQL query | What was the date for the away team, team Southport? | SELECT Date FROM table WHERE Away team = southport |
Translate the following into a SQL query | What was the score for the away team, southport? | SELECT Score FROM table WHERE Away team = southport |
Translate the following into a SQL query | What was the result when the attendance was 47,971? | SELECT Result FROM table WHERE Attendance = 47,971 |
Translate the following into a SQL query | What was the result when the attendance was 46,456? | SELECT Result FROM table WHERE Attendance = 46,456 |
Translate the following into a SQL query | Who was the opponent on september 27, 1998? | SELECT Opponent FROM table WHERE Date = september 27, 1998 |
Translate the following into a SQL query | Which Venue has a Score of 0:0, a Season larger than 2010, and a Team 1 of t&t hanoi? | SELECT Venue FROM table WHERE Score = 0:0 AND Season > 2010 AND Team 1 = t&t hanoi |
Translate the following into a SQL query | What's the highest league of the Nova Scotia Clippers with a total season of less than 4? | SELECT Highest League FROM table WHERE Total Seasons < 4 AND Team = nova scotia clippers |
Translate the following into a SQL query | What is the season that has fewer than 5 total seasons and is in Ottawa, Ontario? | SELECT Seasons FROM table WHERE Total Seasons < 5 AND City = ottawa, ontario |
Translate the following into a SQL query | What is the least total seasons of the Vancouver 86ers? | SELECT MIN Total Seasons FROM table WHERE Team = vancouver 86ers |
Translate the following into a SQL query | Who was the opponent in week 14? | SELECT Opponent FROM table WHERE Week = 14 |
Translate the following into a SQL query | What is Date, when City is "Punta Del Este"? | SELECT Date FROM table WHERE City = punta del este |
Translate the following into a SQL query | What is City, when Prize is "$146,000"? | SELECT City FROM table WHERE Prize = $146,000 |
Translate the following into a SQL query | What is Date, when Winner is "Murilo Figueiredo"? | SELECT Date FROM table WHERE Winner = murilo figueiredo |
Translate the following into a SQL query | What Aspect has a Programming of Saigon Network Television? | SELECT Aspect FROM table WHERE Programming = saigon network television |
Translate the following into a SQL query | Which Aspect has a Programming of latv? | SELECT Aspect FROM table WHERE Programming = latv |
Translate the following into a SQL query | Which Programming has a Channel greater than 51.2 and a PSIP Short Name of kyaz-5? | SELECT Programming FROM table WHERE Channel > 51.2 AND PSIP Short Name = kyaz-5 |
Translate the following into a SQL query | What is the PSIP Short name for the Channel that is less than 51.6? | SELECT PSIP Short Name FROM table WHERE Channel < 51.6 |
Translate the following into a SQL query | What year did maggs magnificent mild bear win overall at the camra reading branch beer festival? | SELECT MAX Year FROM table WHERE Beer Name = maggs magnificent mild AND Competition = camra reading branch beer festival AND Category = overall |
Translate the following into a SQL query | What prize did good old boy win in 2002 at the camra london and south east regional competition? | SELECT Prize FROM table WHERE Year > 2002 AND Competition = camra london and south east regional competition AND Beer Name = good old boy |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.