instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season? | SELECT Section FROM table WHERE Level = tier 3 AND Position = 6th AND Season = 1937-38 |
Translate the following into a SQL query | Which section is in the 6th position? | SELECT Section FROM table WHERE Position = 6th |
Translate the following into a SQL query | Name the attendance with date of june 11 | SELECT Attendance FROM table WHERE Date = june 11 |
Translate the following into a SQL query | Which partnership has a run number of 27? | SELECT Partnerships FROM table WHERE Runs = 27 |
Translate the following into a SQL query | What venue did the parntership of shoaib malik / misbah-ul-haq occur? | SELECT Venue FROM table WHERE Partnerships = shoaib malik / misbah-ul-haq |
Translate the following into a SQL query | What venue did the partnership of herschelle gibbs / justin kemp happen? | SELECT Venue FROM table WHERE Partnerships = herschelle gibbs / justin kemp |
Translate the following into a SQL query | What is the number Played that has 310 Points for? | SELECT Played FROM table WHERE Points for = 310 |
Translate the following into a SQL query | What Losing bonus has a Points against of 588? | SELECT Losing bonus FROM table WHERE Points against = 588 |
Translate the following into a SQL query | What Tries against has a Losing bonus of 7? | SELECT Tries against FROM table WHERE Losing bonus = 7 |
Translate the following into a SQL query | What Try bonus has a Points against of 488? | SELECT Try bonus FROM table WHERE Points against = 488 |
Translate the following into a SQL query | What Points for has a Try bonus of 140? | SELECT Points for FROM table WHERE Try bonus = 140 |
Translate the following into a SQL query | What Drawn has a Tries against of 0? | SELECT Drawn FROM table WHERE Tries against = 0 |
Translate the following into a SQL query | What is the days held the champion with a reign larger than 3 and 1 defense has? | SELECT Days held FROM table WHERE Reign > 3 AND Defenses = 1 |
Translate the following into a SQL query | What is the days held the champion with a reign larger than 3 and less than 1 defense has? | SELECT Days held FROM table WHERE Reign > 3 AND Defenses < 1 |
Translate the following into a SQL query | What is the average defenses a champion with 404 days held and a reign larger than 1 has? | SELECT AVG Defenses FROM table WHERE Days held = 404 AND Reign > 1 |
Translate the following into a SQL query | What is the lowest defense a champion with 345 days held has? | SELECT MIN Defenses FROM table WHERE Days held = 345 |
Translate the following into a SQL query | On what date was there a record of 76-72? | SELECT Date FROM table WHERE Record = 76-72 |
Translate the following into a SQL query | What was the attendance that had a loss of Ponson (1-5)? | SELECT Attendance FROM table WHERE Loss = ponson (1-5) |
Translate the following into a SQL query | On which day was there a record of 36-39? | SELECT Date FROM table WHERE Record = 36-39 |
Translate the following into a SQL query | On what day was the record 30-31? | SELECT Date FROM table WHERE Record = 30-31 |
Translate the following into a SQL query | Who was the opponent at the game that had a loss of Leonard (7β8)? | SELECT Opponent FROM table WHERE Loss = leonard (7β8) |
Translate the following into a SQL query | What was the score of the game when the record was 18β43? | SELECT Score FROM table WHERE Record = 18β43 |
Translate the following into a SQL query | What was the score of the game against the Royals when the record was 24β52? | SELECT Score FROM table WHERE Opponent = royals AND Record = 24β52 |
Translate the following into a SQL query | What was the score of the game when the record was 22β46? | SELECT Score FROM table WHERE Record = 22β46 |
Translate the following into a SQL query | What is the real name of the person whose primary military specialty is shock paratrooper? | SELECT Real Name FROM table WHERE Primary military speciality = shock paratrooper |
Translate the following into a SQL query | What is the birthplace of Pete Sanderson? | SELECT Birthplace FROM table WHERE Real Name = pete sanderson |
Translate the following into a SQL query | What role did Jean-Luc Bouvier serve? | SELECT Function (figure) FROM table WHERE Real Name = jean-luc bouvier |
Translate the following into a SQL query | What is the real name of the person who is a pilot of the silent attack kayak? | SELECT Real Name FROM table WHERE Function (figure) = pilot of the silent attack kayak |
Translate the following into a SQL query | What is the code name of the person born in Liverpool? | SELECT Code Name FROM table WHERE Birthplace = liverpool |
Translate the following into a SQL query | What is the names for the medalist in the sport of canoeing? | SELECT Name FROM table WHERE Sport = canoeing |
Translate the following into a SQL query | What games had the women's half middleweight event? | SELECT Games FROM table WHERE Event = women's half middleweight |
Translate the following into a SQL query | Who received the bronze medal in the 2000 Sydney games? | SELECT Name FROM table WHERE Medal = bronze AND Games = 2000 sydney |
Translate the following into a SQL query | How many people attended when opponent was twins? | SELECT COUNT Attendance FROM table WHERE Opponent = twins |
Translate the following into a SQL query | Which date has a Record of 41-46? | SELECT Date FROM table WHERE Record = 41-46 |
Translate the following into a SQL query | Which score has a Record of 48-55? | SELECT Score FROM table WHERE Record = 48-55 |
Translate the following into a SQL query | Which score has a Record of 44-49? | SELECT Score FROM table WHERE Record = 44-49 |
Translate the following into a SQL query | Which score has an Attendance larger than 16,571, and a Loss of mcdowell (0-1)? | SELECT Score FROM table WHERE Attendance > 16,571 AND Loss = mcdowell (0-1) |
Translate the following into a SQL query | Which score has an Opponent of white sox, and a Record of 2-0? | SELECT Score FROM table WHERE Opponent = white sox AND Record = 2-0 |
Translate the following into a SQL query | How many votes did candice sjostrom receive? | SELECT AVG Popular Votes FROM table WHERE Candidate = candice sjostrom |
Translate the following into a SQL query | What percentage did chris wright receive? | SELECT Percentage FROM table WHERE Candidate = chris wright |
Translate the following into a SQL query | How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4? | SELECT AVG Popular Votes FROM table WHERE Office = us representative 4 AND Percentage = 1.59% AND Year > 1992 |
Translate the following into a SQL query | What years did J. Smith Young serve as a Representative? | SELECT Years FROM table WHERE Representative = j. smith young |
Translate the following into a SQL query | Which party did Thomas L. Young belong to? | SELECT Party FROM table WHERE Representative = thomas l. young |
Translate the following into a SQL query | What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal? | SELECT MIN Total FROM table WHERE Gold = 0 AND Bronze > 2 AND Silver > 1 |
Translate the following into a SQL query | What is the total number of silver medals for countries of rank 14, with less than 1 total medals? | SELECT SUM Silver FROM table WHERE Rank = 14 AND Total < 1 |
Translate the following into a SQL query | How many tackles for the player with over 0 fumble recovries and 0 forced fumbles? | SELECT COUNT Total FROM table WHERE Fumble rec > 0 AND Fumble force = 0 |
Translate the following into a SQL query | How many forced fumbles for jim laney with under 2 solo tackles? | SELECT COUNT Fumble force FROM table WHERE Solo < 2 AND Player = jim laney |
Translate the following into a SQL query | What is the high total for players with over 15 solo tackles? | SELECT MAX Total FROM table WHERE Solo > 15 |
Translate the following into a SQL query | How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sacks, and under 2 solo tackles? | SELECT SUM Fumble rec FROM table WHERE Sacks = 0 AND Fumble force = 0 AND Player = scott gajos AND Solo < 2 |
Translate the following into a SQL query | Who is the Opponent playing at 20:00 GMT at Camp Nou? | SELECT Opponent FROM table WHERE Time = 20:00 gmt AND Ground = camp nou |
Translate the following into a SQL query | What time was the match played with a score of 3-2? | SELECT Time FROM table WHERE Score = 3-2 |
Translate the following into a SQL query | On which ground did the team play Aston Villa? | SELECT Ground FROM table WHERE Opponent = aston villa |
Translate the following into a SQL query | What kind of competition was it at San Siro at 18:30 GMT? | SELECT Competition FROM table WHERE Ground = san siro AND Time = 18:30 gmt |
Translate the following into a SQL query | What is the total number of decile for the redwood school locality? | SELECT COUNT Decile FROM table WHERE Name = redwood school |
Translate the following into a SQL query | Which report includes a Circuit of Tripoli? | SELECT Report FROM table WHERE Circuit = tripoli |