instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many heats had 5 lanes and a rank less than 110 for the nationality of Honduras? | SELECT COUNT Heat FROM table WHERE Lane = 5 AND Rank > 110 AND Nationality = honduras |
Translate the following into a SQL query | How many heats had 2 lanes, a rank above 75, and nationality of Madagascar? | SELECT COUNT Heat FROM table WHERE Lane = 2 AND Rank > 75 AND Nationality = madagascar |
Translate the following into a SQL query | What is the sum of every heat for the nationality of Macedonia with a rank less than 114? | SELECT SUM Heat FROM table WHERE Nationality = macedonia AND Rank < 114 |
Translate the following into a SQL query | What was the least number of heats with more than 8 lanes for the Nationality of Germany? | SELECT MIN Heat FROM table WHERE Nationality = germany AND Lane > 8 |
Translate the following into a SQL query | When the VFL played Victoria Park what was the home team score? | SELECT Home team score FROM table WHERE Venue = victoria park |
Translate the following into a SQL query | What driver has over 19 points and a grid of over 2? | SELECT Driver FROM table WHERE Points > 19 AND Grid > 2 |
Translate the following into a SQL query | What was the score for the away team when geelong was the home team? | SELECT Away team score FROM table WHERE Home team = geelong |
Translate the following into a SQL query | What was the score of the home team when they played footscray? | SELECT Home team score FROM table WHERE Away team = footscray |
Translate the following into a SQL query | Where was the game played when the away team scored 9.14 (68)? | SELECT Venue FROM table WHERE Away team score = 9.14 (68) |
Translate the following into a SQL query | What was the score for the home team of essendon? | SELECT Home team score FROM table WHERE Home team = essendon |
Translate the following into a SQL query | What was the score for the Essendon home team? | SELECT Home team score FROM table WHERE Home team = essendon |
Translate the following into a SQL query | What was the smallest crowd for the Richmond home team? | SELECT MIN Crowd FROM table WHERE Home team = richmond |
Translate the following into a SQL query | What was the largest crowd at the Brunswick Street Oval? | SELECT MAX Crowd FROM table WHERE Venue = brunswick street oval |
Translate the following into a SQL query | Who was the home team when VFL played at Windy Hill? | SELECT Home team FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | What was the attendance when the VFL played Glenferrie Oval? | SELECT SUM Crowd FROM table WHERE Venue = glenferrie oval |
Translate the following into a SQL query | What was the attendance when North Melbourne was the away team? | SELECT AVG Crowd FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | When did Essendon play as the home team? | SELECT Date FROM table WHERE Home team = essendon |
Translate the following into a SQL query | Can you give me the age of the Virtues of Wisdom? | SELECT Approximate Age FROM table WHERE Virtues = wisdom |
Translate the following into a SQL query | What Virtue looks at the intimacy vs. isolation crisis? | SELECT Virtues FROM table WHERE Psycho Social Crisis = intimacy vs. isolation |
Translate the following into a SQL query | Can you give me the age of the Significant Relationship of Family? | SELECT Approximate Age FROM table WHERE Significant Relationship = family |
Translate the following into a SQL query | The Significant Relationship of Parents belongs with what Virtue? | SELECT Virtues FROM table WHERE Significant Relationship = parents |
Translate the following into a SQL query | Who is the away side at windy hill? | SELECT Away team FROM table WHERE Venue = windy hill |
Translate the following into a SQL query | Who is the home side when the away side scores 11.15 (81)? | SELECT Home team FROM table WHERE Away team score = 11.15 (81) |
Translate the following into a SQL query | How many drafts featured fred hoaglin? | SELECT COUNT Overall FROM table WHERE Player = fred hoaglin |
Translate the following into a SQL query | What round did the player from delta st. get picked? | SELECT Round FROM table WHERE School/Club Team = delta st. |
Translate the following into a SQL query | What is the highest overall number for someone from round 16? | SELECT MAX Overall FROM table WHERE Round = 16 |
Translate the following into a SQL query | What was the average crowd size when Melbourne was the home team? | SELECT AVG Crowd FROM table WHERE Home team = melbourne |
Translate the following into a SQL query | What was North Melbourne's score when they were the home team? | SELECT Away team score FROM table WHERE Away team = north melbourne |
Translate the following into a SQL query | What is in the ninth position where the tenth position is rabat ajax? | SELECT 9th Position FROM table WHERE 10th Position = rabat ajax |
Translate the following into a SQL query | In what year is the tenth position xghajra? | SELECT Year FROM table WHERE 10th Position = xghajra |
Translate the following into a SQL query | In what year is the 9th position balzan? | SELECT Year FROM table WHERE 9th Position = balzan |
Translate the following into a SQL query | Where there is a tenth position of gozo, what is the first position? | SELECT 1st Position FROM table WHERE 10th Position = gozo |
Translate the following into a SQL query | In what year is the 9th position rabat ajax? | SELECT Year FROM table WHERE 9th Position = rabat ajax |
Translate the following into a SQL query | What was Hawthorn's score as the away team? | SELECT Away team score FROM table WHERE Away team = hawthorn |
Translate the following into a SQL query | Who was the away team that scored 7.6 (48)? | SELECT Away team FROM table WHERE Away team score = 7.6 (48) |
Translate the following into a SQL query | Who was the away team at the game at Lake Oval? | SELECT Away team score FROM table WHERE Venue = lake oval |
Translate the following into a SQL query | Who was the home team that scored 8.7 (55)? | SELECT Home team FROM table WHERE Home team score = 8.7 (55) |
Translate the following into a SQL query | Who was the away team at the game at Punt Road Oval with a crowd larger than 13,000? | SELECT Away team FROM table WHERE Crowd > 13,000 AND Venue = punt road oval |
Translate the following into a SQL query | Which stadium held the game that 65,677 people attended? | SELECT Stadium FROM table WHERE Attendance = 65,677 |
Translate the following into a SQL query | What was the attendance of the game on October 17, 2004? | SELECT Attendance FROM table WHERE Date = october 17, 2004 |
Translate the following into a SQL query | Which week was the October 17, 2004 game played? | SELECT Week FROM table WHERE Date = october 17, 2004 |
Translate the following into a SQL query | What was the Browns record after they played the game at the Paul Brown stadium? | SELECT Record FROM table WHERE Stadium = paul brown stadium |
Translate the following into a SQL query | Which player went to Gonzaga? | SELECT Player FROM table WHERE School/Country = gonzaga |
Translate the following into a SQL query | What is the nationality of the forward/center who started playing in 1951? | SELECT Nationality FROM table WHERE Position = forward/center AND From = 1951 |
Translate the following into a SQL query | What school did the guard who began playing in 1991 come from? | SELECT School/Country FROM table WHERE Position = guard AND From = 1991 |
Translate the following into a SQL query | What is the nationality of the guard/forward who began playing in 1977? | SELECT Nationality FROM table WHERE Position = guard/forward AND From = 1977 |
Translate the following into a SQL query | Which Rams opponent had a record of 2-3? | SELECT Opponent FROM table WHERE Record = 2-3 |
Translate the following into a SQL query | What is the number of podiums for the races of 13/15? | SELECT Podiums FROM table WHERE Races † = 13/15 |
Translate the following into a SQL query | How many wins are there for the Races of 12/12? | SELECT Wins FROM table WHERE Races † = 12/12 |
Translate the following into a SQL query | What is the fastest lap for a season smaller than 1979? | SELECT Fastest Laps FROM table WHERE Season < 1979 |
Translate the following into a SQL query | For the 12/12 races, what is the fastest lap? | SELECT Fastest Laps FROM table WHERE Races † = 12/12 |
Translate the following into a SQL query | What is the name of the home team that played at The Brunswick Street Oval to a crowd of 7,000? | SELECT Home team FROM table WHERE Crowd > 7,000 AND Venue = brunswick street oval |
Translate the following into a SQL query | What was the largest crowd where Carlton was the away team? | SELECT MAX Crowd FROM table WHERE Away team = carlton |
Translate the following into a SQL query | Which team's home is the Western Oval? | SELECT Home team FROM table WHERE Venue = western oval |
Translate the following into a SQL query | Which team's home is the Arden Street Oval? | SELECT Home team FROM table WHERE Venue = arden street oval |
Translate the following into a SQL query | What was the lowest attendance at a Fitzroy match? | SELECT MIN Crowd FROM table WHERE Home team = fitzroy |
Translate the following into a SQL query | What is the highest rank that corresponds to an all-time rank of 86 and a debut year before 1995? | SELECT MAX Rank FROM table WHERE All-time Rank = 86 AND Debut Year < 1995 |
Translate the following into a SQL query | What is the current club with more than 368 apps and a debut year earlier than 1994? | SELECT Current Club FROM table WHERE Apps > 368 AND Debut Year < 1994 |
Translate the following into a SQL query | What is the highest rank with more than 498 apps, an all time rank of 6, and a debut year later than 1992? | SELECT MAX Rank FROM table WHERE Apps > 498 AND All-time Rank = 6 AND Debut Year > 1992 |
Translate the following into a SQL query | What is the all-time rank associated with a rank less than 9 and a debut in 1994? | SELECT All-time Rank FROM table WHERE Rank < 9 AND Debut Year = 1994 |
Translate the following into a SQL query | Which tournament was played on clay and there was a score of 4–6, 6–1, 6–4? | SELECT Tournament FROM table WHERE Surface = clay AND Score = 4–6, 6–1, 6–4 |
Translate the following into a SQL query | What is the score for the match where albert montañés was the partner? | SELECT Score FROM table WHERE Partner = albert montañés |
Translate the following into a SQL query | What is the score for the match where the opponent in the final was james cerretani todd perry? | SELECT Score FROM table WHERE Opponents in the final = james cerretani todd perry |
Translate the following into a SQL query | What is the date when the opponent in the final is gastón etlis martín rodríguez? | SELECT Date FROM table WHERE Opponents in the final = gastón etlis martín rodríguez |
Translate the following into a SQL query | What was the score for the match were the opponent in the final was james cerretani todd perry? | SELECT Score FROM table WHERE Opponents in the final = james cerretani todd perry |
Translate the following into a SQL query | Who is Birmingham City's outgoing manager? | SELECT Outgoing manager FROM table WHERE Team = birmingham city |
Translate the following into a SQL query | What is the name of the replacement manager for the Bolton Wanderers? | SELECT Replaced by FROM table WHERE Team = bolton wanderers |
Translate the following into a SQL query | How was Sammy Lee's team doing on the table before being replaced? | SELECT Position in table FROM table WHERE Outgoing manager = sammy lee |
Translate the following into a SQL query | Which team hired Gary Megson as the replacement manager? | SELECT Team FROM table WHERE Replaced by = gary megson |
Translate the following into a SQL query | What was the date of the match played at MCG? | SELECT Date FROM table WHERE Venue = mcg |
Translate the following into a SQL query | What was Carlton's score as the home team? | SELECT Home team score FROM table WHERE Home team = carlton |
Translate the following into a SQL query | What home team plays at Princes Park? | SELECT Home team FROM table WHERE Venue = princes park |
Translate the following into a SQL query | What was Geelong's score as the home team? | SELECT Home team score FROM table WHERE Home team = geelong |
Translate the following into a SQL query | What was the away team that scored 12.8 (80)? | SELECT Away team FROM table WHERE Away team score = 12.8 (80) |
Translate the following into a SQL query | What was the home teams score when the away team scored 11.11 (77) in front of a crowd of 16,112? | SELECT Home team score FROM table WHERE Crowd > 16,112 AND Away team score = 11.11 (77) |
Translate the following into a SQL query | ON WHAT DATE DID THE HOME TEAM SCORE 12.16 (88)? | SELECT Date FROM table WHERE Home team score = 12.16 (88) |
Translate the following into a SQL query | WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? | SELECT MIN Crowd FROM table WHERE Away team = collingwood |
Translate the following into a SQL query | WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? | SELECT MAX Crowd FROM table WHERE Away team = essendon |
Translate the following into a SQL query | WHAT VENUE HAD AN AWAY TEAM SCORE OF 12.15 (87)? | SELECT Venue FROM table WHERE Away team score = 12.15 (87) |
Translate the following into a SQL query | WHAT DID HAWTHORN SCORE AT ITS AWAY GAME? | SELECT Away team score FROM table WHERE Away team = hawthorn |
Translate the following into a SQL query | Who was the opponent on November 26, 1989? | SELECT Opponent FROM table WHERE Date = november 26, 1989 |
Translate the following into a SQL query | What was the result on October 29, 1989? | SELECT Result FROM table WHERE Date = october 29, 1989 |
Translate the following into a SQL query | What was the result on October 1, 1989? | SELECT Result FROM table WHERE Date = october 1, 1989 |
Translate the following into a SQL query | What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had? | SELECT MAX Losses FROM table WHERE Away = 1-6 AND Wins > 4 |
Translate the following into a SQL query | What is the home team's score at corio oval? | SELECT Home team score FROM table WHERE Venue = corio oval |
Translate the following into a SQL query | What network is in the language of Bengali? | SELECT Service FROM table WHERE Language = bengali |
Translate the following into a SQL query | What network has an origin in India, a genre of general, and broadcasts in Bengali? | SELECT Network FROM table WHERE Origin of Programming = india AND Genre = general AND Language = bengali |
Translate the following into a SQL query | What language does the Ary Digital network broadcast in? | SELECT Language FROM table WHERE Network = ary digital |
Translate the following into a SQL query | What is the average crowd for Carlton? | SELECT AVG Crowd FROM table WHERE Away team = carlton |
Translate the following into a SQL query | How many points did Carlton score? | SELECT Home team score FROM table WHERE Away team = carlton |
Translate the following into a SQL query | What was the largest crowd for North Melbourne | SELECT MAX Crowd FROM table WHERE Home team = north melbourne |
Translate the following into a SQL query | What is the score for Footscray? | SELECT Away team score FROM table WHERE Away team = footscray |
Translate the following into a SQL query | What is the result of week 5? | SELECT Result FROM table WHERE Week = 5 |
Translate the following into a SQL query | What is the name of the gun with a shoulder that measures 10.688 (.420)? | SELECT Name FROM table WHERE Shoulder = 10.688 (.420) |
Translate the following into a SQL query | What is the shoulder measurement of the gun with a length of 57.85 (2.278)? | SELECT Shoulder FROM table WHERE Length = 57.85 (2.278) |
Translate the following into a SQL query | What is the neck measurement of the gun with a shoulder measurement of 10.688 (.420)? | SELECT Neck FROM table WHERE Shoulder = 10.688 (.420) |
Translate the following into a SQL query | What is the length of the gun that has a shoulder measurement of 12.18 (.480)? | SELECT Length FROM table WHERE Shoulder = 12.18 (.480) |
Translate the following into a SQL query | What bullet does the gun with a shoulder measurement of 12.5 (.491)? | SELECT Bullet FROM table WHERE Shoulder = 12.5 (.491) |
Translate the following into a SQL query | What was the attendance for the game held on September 18, 1994, with a week less than 5? | SELECT Attendance FROM table WHERE Week < 5 AND Date = september 18, 1994 |
Translate the following into a SQL query | What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6? | SELECT AVG Attendance FROM table WHERE Week > 6 AND Opponent = at philadelphia eagles |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.