instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What team opposed Tipperary in the Munster Final game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (team VARCHAR, opposition VARCHAR, game VARCHAR) | SELECT team FROM table_name_98 WHERE opposition = "tipperary" AND game = "munster final" |
Write a SQL query that answers the following question: On what date did Limerick play in the All-Ireland Final game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, opposition VARCHAR, game VARCHAR) | SELECT date FROM table_name_38 WHERE opposition = "limerick" AND game = "all-ireland final" |
Write a SQL query that answers the following question: Who was the opposition in the game on July 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (opposition VARCHAR, date VARCHAR) | SELECT opposition FROM table_name_22 WHERE date = "july 29" |
Write a SQL query that answers the following question: What day did the team play week 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_87 WHERE week = 13 |
Write a SQL query that answers the following question: What was Bye's opponent's attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_85 WHERE opponent = "bye" |
Write a SQL query that answers the following question: Which opponent, before Week 10, had an attendance of 63,672? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_89 WHERE week < 10 AND attendance = "63,672" |
Write a SQL query that answers the following question: Which week had an attendance of 70,225 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_27 WHERE attendance = "70,225" |
Write a SQL query that answers the following question: What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (injured INTEGER, place VARCHAR, killed VARCHAR) | SELECT MAX(injured) FROM table_name_84 WHERE place = "rohtas, bihar" AND killed < 13 |
Write a SQL query that answers the following question: What was the highest number of people injured in incidents in Vaishali, Bihar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (injured INTEGER, place VARCHAR) | SELECT MAX(injured) FROM table_name_14 WHERE place = "vaishali, bihar" |
Write a SQL query that answers the following question: How many people were in the crowd at Victoria Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_97 WHERE venue = "victoria park" |
Write a SQL query that answers the following question: How many points did the away team from Melbourne score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne" |
Write a SQL query that answers the following question: What date did the home team from Carlton play on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_11 WHERE home_team = "carlton" |
Write a SQL query that answers the following question: Who is the manager of the St. Johnstone club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (manager VARCHAR, club VARCHAR) | SELECT manager FROM table_name_53 WHERE club = "st. johnstone" |
Write a SQL query that answers the following question: Who is the manager of the Stenhousemuir club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (manager VARCHAR, club VARCHAR) | SELECT manager FROM table_name_16 WHERE club = "stenhousemuir" |
Write a SQL query that answers the following question: What team was home team when south Melbourne was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_88 WHERE away_team = "south melbourne" |
Write a SQL query that answers the following question: What was the away team score when the home team was Carlton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_94 WHERE home_team = "carlton" |
Write a SQL query that answers the following question: What was date of the bye week 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, attendance VARCHAR, week VARCHAR) | SELECT date FROM table_name_38 WHERE attendance = "bye" AND week = 11 |
Write a SQL query that answers the following question: Where did Essendon play as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_9 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, engine VARCHAR, driver VARCHAR) | SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" AND podiums > 13 |
Write a SQL query that answers the following question: What is the engine for the Bettenhausen Motorsports team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_name_3 WHERE team = "bettenhausen motorsports" |
Write a SQL query that answers the following question: What engine does Steve Chassey drive with a march chassis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR) | SELECT engine FROM table_name_49 WHERE chassis = "march" AND drivers = "steve chassey" |
Write a SQL query that answers the following question: What is the engine for the Arciero Racing team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_name_49 WHERE team = "arciero racing" |
Write a SQL query that answers the following question: What chassis belongs with the Cosworth Engine driven by Scott Pruett on the Dick Simon Racing team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (chassis VARCHAR, team VARCHAR, engine VARCHAR, drivers VARCHAR) | SELECT chassis FROM table_name_82 WHERE engine = "cosworth" AND drivers = "scott pruett" AND team = "dick simon racing" |
Write a SQL query that answers the following question: What is the engine for the team of Alex Morales Motorsports? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_name_19 WHERE team = "alex morales motorsports" |
Write a SQL query that answers the following question: What is the engine for the Machinists Union Racing team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_name_79 WHERE team = "machinists union racing" |
Write a SQL query that answers the following question: What was the attendance for Week 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_48 WHERE week = 1 |
Write a SQL query that answers the following question: Which team did the Patriots play when there was a game attendance of 73,369? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_48 WHERE attendance = "73,369" |
Write a SQL query that answers the following question: What date was the Week 3 game played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_18 WHERE week = 3 |
Write a SQL query that answers the following question: What was the highest attendance of the matches that took place at Windy Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_38 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: Which team has a home field at Glenferrie Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_48 WHERE venue = "glenferrie oval" |
Write a SQL query that answers the following question: On what date is Footscray the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_59 WHERE away_team = "footscray" |
Write a SQL query that answers the following question: What was the crowd population for Footscray as an away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "footscray" |
Write a SQL query that answers the following question: How many bids were there for the .500 win percentage in the Ohio Valley conference? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (_number_of_bids INTEGER, win__percentage VARCHAR, conference VARCHAR) | SELECT SUM(_number_of_bids) FROM table_name_7 WHERE win__percentage = ".500" AND conference = "ohio valley" |
Write a SQL query that answers the following question: What is the Championship Game when the Final Four is 1 and the conference is American South? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (championship_game VARCHAR, final_four VARCHAR, conference VARCHAR) | SELECT championship_game FROM table_name_29 WHERE final_four = "1" AND conference = "american south" |
Write a SQL query that answers the following question: What is the Final Four with a win percentage of .750? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (final_four VARCHAR, win__percentage VARCHAR) | SELECT final_four FROM table_name_32 WHERE win__percentage = ".750" |
Write a SQL query that answers the following question: What is the date of the game at the Arden Street Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_49 WHERE venue = "arden street oval" |
Write a SQL query that answers the following question: What is the date of the game when the venue is Kardinia Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_13 WHERE venue = "kardinia park" |
Write a SQL query that answers the following question: Which away team played against the home team of St Kilda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_66 WHERE home_team = "st kilda" |
Write a SQL query that answers the following question: Which home team competed against the away team of Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_56 WHERE away_team = "melbourne" |
Write a SQL query that answers the following question: What was the result of week 1 and the opponent was bye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_31 WHERE week = "1" AND opponent = "bye" |
Write a SQL query that answers the following question: What is the site of the game with a Record of 6-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (game_site VARCHAR, record VARCHAR) | SELECT game_site FROM table_name_35 WHERE record = "6-2" |
Write a SQL query that answers the following question: What week has a Record of 12-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR) | SELECT week FROM table_name_99 WHERE record = "12-2" |
Write a SQL query that answers the following question: What city has Sky Tower? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (city VARCHAR, name VARCHAR) | SELECT city FROM table_name_35 WHERE name = "sky tower" |
Write a SQL query that answers the following question: What is the name of a building in Courbevoie built before 1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (name VARCHAR, year_built VARCHAR, city VARCHAR) | SELECT name FROM table_name_96 WHERE year_built < 1973 AND city = "courbevoie" |
Write a SQL query that answers the following question: Who was the away team at Lake Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_36 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What was the home team score for the game where Hawthorn is the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_83 WHERE home_team = "hawthorn" |
Write a SQL query that answers the following question: What is the date of the game where Essendon is the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_36 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: What is the home team's score when the away team is south melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_12 WHERE away_team = "south melbourne" |
Write a SQL query that answers the following question: What venue featured the home side of st kilda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_67 WHERE home_team = "st kilda" |
Write a SQL query that answers the following question: How many metres tall is the building that is larger than 850 feet tall? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (metres VARCHAR, feet INTEGER) | SELECT metres FROM table_name_21 WHERE feet > 850 |
Write a SQL query that answers the following question: What was Geelong's score when they were the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_9 WHERE home_team = "geelong" |
Write a SQL query that answers the following question: Where was the game when Collingwood was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_19 WHERE away_team = "collingwood" |
Write a SQL query that answers the following question: What was Peter Woolfolk's Total Rebound average? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (total_rebounds INTEGER, player VARCHAR) | SELECT SUM(total_rebounds) FROM table_name_59 WHERE player = "peter woolfolk" |
Write a SQL query that answers the following question: What was week 3 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_79 WHERE week = 3 |
Write a SQL query that answers the following question: What is the result of the game at Odsal Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (result VARCHAR, stadium VARCHAR) | SELECT result FROM table_name_41 WHERE stadium = "odsal stadium" |
Write a SQL query that answers the following question: Which championship had a margin of 10 strokes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (championship VARCHAR, margin VARCHAR) | SELECT championship FROM table_name_43 WHERE margin = "10 strokes" |
Write a SQL query that answers the following question: Which runner-up player(s) had a margin of 10 strokes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (runner_s__up VARCHAR, margin VARCHAR) | SELECT runner_s__up FROM table_name_48 WHERE margin = "10 strokes" |
Write a SQL query that answers the following question: What was the most recent year that Kathy Ahern was a runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (year INTEGER, runner_s__up VARCHAR) | SELECT MAX(year) FROM table_name_12 WHERE runner_s__up = "kathy ahern" |
Write a SQL query that answers the following question: What is the RTM build of the Windows Home Server 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (rtm_build VARCHAR, name VARCHAR) | SELECT rtm_build FROM table_name_74 WHERE name = "windows home server 2011" |
Write a SQL query that answers the following question: What is the current version of windows 8 with an RTM build of 9200? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (current_version VARCHAR, rtm_build VARCHAR, name VARCHAR) | SELECT current_version FROM table_name_14 WHERE rtm_build = "9200" AND name = "windows 8" |
Write a SQL query that answers the following question: What was the home team's score that played Geelong? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_44 WHERE away_team = "geelong" |
Write a SQL query that answers the following question: How many rounds were fought with opponent Kevin Roddy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (round VARCHAR, opponent VARCHAR) | SELECT COUNT(round) FROM table_name_54 WHERE opponent = "kevin roddy" |
Write a SQL query that answers the following question: What was the score when attendance was 19,887? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_2 WHERE attendance = "19,887" |
Write a SQL query that answers the following question: What week was the Bye attendance week? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_20 WHERE attendance = "bye" |
Write a SQL query that answers the following question: Who won when the Patriots played the Denver Broncos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_38 WHERE opponent = "denver broncos" |
Write a SQL query that answers the following question: Who won when the attendance was 8,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_52 WHERE attendance = "8,000" |
Write a SQL query that answers the following question: What channel has an operator of ivptc? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR) | SELECT programming FROM table_name_1 WHERE operator = "ivptc" |
Write a SQL query that answers the following question: What was the score when Richmond payed as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_83 WHERE home_team = "richmond" |
Write a SQL query that answers the following question: Who played against Carlton as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_62 WHERE away_team = "carlton" |
Write a SQL query that answers the following question: What was the attendance when South Melbourne was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_88 WHERE away_team = "south melbourne" |
Write a SQL query that answers the following question: Who was the home team when the VFL played Kardinia Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_27 WHERE venue = "kardinia park" |
Write a SQL query that answers the following question: How many silver medals did the nation who received 32 bronze medals receive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (silver VARCHAR, bronze VARCHAR) | SELECT silver FROM table_name_61 WHERE bronze = 32 |
Write a SQL query that answers the following question: What is the highest numbered grid with a time or retired time of 52:52.1881? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR) | SELECT MAX(grid) FROM table_name_91 WHERE time_retired = "52:52.1881" |
Write a SQL query that answers the following question: Who recorded a time or retired time of 52:56.4653? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (name VARCHAR, time_retired VARCHAR) | SELECT name FROM table_name_1 WHERE time_retired = "52:56.4653" |
Write a SQL query that answers the following question: What is the average grid number for paul cruickshank racing with less than 27 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (grid INTEGER, team VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_40 WHERE team = "paul cruickshank racing" AND laps < 27 |
Write a SQL query that answers the following question: What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_77 WHERE silver > 6 AND bronze = 6 AND gold < 16 |
Write a SQL query that answers the following question: What is the crowd size of the game at Brunswick Street Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_61 WHERE venue = "brunswick street oval" |
Write a SQL query that answers the following question: Who was the home team of the game where Footscray is the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_52 WHERE away_team = "footscray" |
Write a SQL query that answers the following question: What week has a date of September 3, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (week INTEGER, date VARCHAR) | SELECT AVG(week) FROM table_name_98 WHERE date = "september 3, 2000" |
Write a SQL query that answers the following question: Who was the home team when Hawthorn was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_61 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: What was Fitzroy's score when they were the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_18 WHERE away_team = "fitzroy" |
Write a SQL query that answers the following question: What was #7 BMW's speed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (speed VARCHAR, team VARCHAR, rank VARCHAR) | SELECT speed FROM table_name_27 WHERE team = "bmw" AND rank = 7 |
Write a SQL query that answers the following question: What was the crowd size in the match South Melbourne played at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_28 WHERE home_team = "south melbourne" |
Write a SQL query that answers the following question: What was the away team's score at Western Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_75 WHERE venue = "western oval" |
Write a SQL query that answers the following question: What was the crowd size when Essendon was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_79 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: On what date was the time of 16:24.12 achieved? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_36 WHERE time = "16:24.12" |
Write a SQL query that answers the following question: What year did the Capital City Giants have a game with the final score of 8-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (year INTEGER, team VARCHAR, score VARCHAR) | SELECT AVG(year) FROM table_name_54 WHERE team = "capital city giants" AND score = "8-0" |
Write a SQL query that answers the following question: What team lost a game by a score of 6-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (runner_up VARCHAR, score VARCHAR) | SELECT runner_up FROM table_name_37 WHERE score = "6-0" |
Write a SQL query that answers the following question: What teams played in Capital Bowl IV? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (team VARCHAR, game VARCHAR) | SELECT team FROM table_name_31 WHERE game = "capital bowl iv" |
Write a SQL query that answers the following question: What team defeated the Capital City Giants? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (team VARCHAR, runner_up VARCHAR) | SELECT team FROM table_name_11 WHERE runner_up = "capital city giants" |
Write a SQL query that answers the following question: What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (total_tenure_rank VARCHAR, uninterrupted_time VARCHAR) | SELECT total_tenure_rank FROM table_name_6 WHERE uninterrupted_time = "49 years, 349 days" |
Write a SQL query that answers the following question: What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (total_tenure_time VARCHAR, name VARCHAR, uninterrupted_rank VARCHAR, total_tenure_rank VARCHAR) | SELECT total_tenure_time FROM table_name_31 WHERE uninterrupted_rank > 4 AND total_tenure_rank > 9 AND name = "warren magnuson" |
Write a SQL query that answers the following question: What round was the overall 63 drafted? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (round VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_94 WHERE overall = 63 |
Write a SQL query that answers the following question: What is the Swedish name for South Karelia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (in_swedish VARCHAR, in_english VARCHAR) | SELECT in_swedish FROM table_name_77 WHERE in_english = "south karelia" |
Write a SQL query that answers the following question: What home team plays at Arden Street Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_72 WHERE venue = "arden street oval" |
Write a SQL query that answers the following question: Who has a Jump 2 of 7.06, and what is this person's Jump 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (jump_3 VARCHAR, jump_2 VARCHAR) | SELECT jump_3 FROM table_name_80 WHERE jump_2 = "7.06" |
Write a SQL query that answers the following question: Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (best_jump VARCHAR, jump_1 VARCHAR, jump_2 VARCHAR) | SELECT best_jump FROM table_name_48 WHERE jump_1 = "x" AND jump_2 = "7.28" |
Write a SQL query that answers the following question: What is the Jump 2 of the person that has a Jump 3 of 7.77? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (jump_2 VARCHAR, jump_3 VARCHAR) | SELECT jump_2 FROM table_name_62 WHERE jump_3 = "7.77" |
Write a SQL query that answers the following question: What is the Jump 2 of the person that has a Jump 1 of 7.14 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (jump_2 VARCHAR, jump_1 VARCHAR) | SELECT jump_2 FROM table_name_58 WHERE jump_1 = "7.14" |
Write a SQL query that answers the following question: Which player from Tucson, Arizona won the Championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (champion VARCHAR, city VARCHAR) | SELECT champion FROM table_name_58 WHERE city = "tucson, arizona" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.