instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the home team's score at glenferrie oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_66 WHERE venue = "glenferrie oval" |
Write a SQL query that answers the following question: Who had the lowest Best time that also had a Qual 2 of 49.887? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (best INTEGER, qual_2 VARCHAR) | SELECT MIN(best) FROM table_name_13 WHERE qual_2 = "49.887" |
Write a SQL query that answers the following question: What was CTE Racing-hvm's Best with a Qual 2 of 50.312? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (best VARCHAR, team VARCHAR, qual_2 VARCHAR) | SELECT best FROM table_name_77 WHERE team = "cte racing-hvm" AND qual_2 = "50.312" |
Write a SQL query that answers the following question: What was the home team score when essendon was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_51 WHERE away_team = "essendon" |
Write a SQL query that answers the following question: When richmond was the Away team what was the score of the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_37 WHERE away_team = "richmond" |
Write a SQL query that answers the following question: Which service does the network of atn urdu offer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (service VARCHAR, network VARCHAR) | SELECT service FROM table_name_74 WHERE network = "atn urdu" |
Write a SQL query that answers the following question: Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR) | SELECT origin_of_programming FROM table_name_12 WHERE genre = "general" AND network = "ntv bangla" AND service = "cogeco cable" |
Write a SQL query that answers the following question: Which service has a hindi language, general genre and zee tv network? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR) | SELECT service FROM table_name_95 WHERE language = "hindi" AND genre = "general" AND network = "zee tv" |
Write a SQL query that answers the following question: Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (network VARCHAR, language VARCHAR, service VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) | SELECT network FROM table_name_9 WHERE origin_of_programming = "india" AND genre = "general" AND service = "bell fibe tv" AND language = "tamil" |
Write a SQL query that answers the following question: Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) | SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv" |
Write a SQL query that answers the following question: What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) | SELECT AVG(bronze) FROM table_name_94 WHERE rank < 11 AND nation = "trinidad and tobago" AND total < 1 |
Write a SQL query that answers the following question: What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND rank < 10 |
Write a SQL query that answers the following question: Who did Winfield Scott have an allegiance with? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (allegiance VARCHAR, name VARCHAR) | SELECT allegiance FROM table_name_28 WHERE name = "winfield scott" |
Write a SQL query that answers the following question: What was the July 2013 population estimate of the location which had a population density larger than 14.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (population_density___km_2__ INTEGER) | SELECT COUNT(2013 AS _population__july_est_) FROM table_name_10 WHERE population_density___km_2__ > 14.1 |
Write a SQL query that answers the following question: What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (rank INTEGER, population_density___km_2__ VARCHAR, _percentage_growth__2006_11_ VARCHAR) | SELECT MAX(rank) FROM table_name_45 WHERE population_density___km_2__ > 5.7 AND _percentage_growth__2006_11_ = "5.7%" |
Write a SQL query that answers the following question: What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER) | SELECT MIN(population___2011_census__) FROM table_name_38 WHERE land_area__km²_ > 908 OFFSET 607.67 |
Write a SQL query that answers the following question: Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR) | SELECT rider FROM table_name_78 WHERE speed = "86.15mph" |
Write a SQL query that answers the following question: Which rider had a points score equal to 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (rider VARCHAR, points VARCHAR) | SELECT rider FROM table_name_60 WHERE points = 10 |
Write a SQL query that answers the following question: Which Start has a 0 Conv, 0 Pens and 8 Tries? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR) | SELECT start FROM table_name_54 WHERE conv = "0" AND pens = "0" AND tries = "8" |
Write a SQL query that answers the following question: Which Player has 0 Pens and 12 Starts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR) | SELECT player FROM table_name_42 WHERE pens = "0" AND start = "12" |
Write a SQL query that answers the following question: Which Start has 8 Tries and 0 Convs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (start VARCHAR, tries VARCHAR, conv VARCHAR) | SELECT start FROM table_name_58 WHERE tries = "8" AND conv = "0" |
Write a SQL query that answers the following question: Who was the away team for the game at Victoria Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_47 WHERE venue = "victoria park" |
Write a SQL query that answers the following question: What was round 7's lowest overall? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (overall INTEGER, round VARCHAR) | SELECT MIN(overall) FROM table_name_72 WHERE round = 7 |
Write a SQL query that answers the following question: Who had the smallest overall under 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (player VARCHAR, overall INTEGER) | SELECT player FROM table_name_51 WHERE overall < 22 |
Write a SQL query that answers the following question: What was Cal State-Los Angeles' position with an Overall above 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (position VARCHAR, overall VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_77 WHERE overall > 22 AND school_club_team = "cal state-los angeles" |
Write a SQL query that answers the following question: Who played for Memphis State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_47 WHERE school_club_team = "memphis state" |
Write a SQL query that answers the following question: What is the largest crowd for the St Kilda as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_26 WHERE away_team = "st kilda" |
Write a SQL query that answers the following question: What was the crowd size when Essendon was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_98 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: Which venue had a crowd larger than 20,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (venue VARCHAR, crowd INTEGER) | SELECT venue FROM table_name_68 WHERE crowd > 20 OFFSET 000 |
Write a SQL query that answers the following question: Which away team played at Lake Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_50 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: What is the total number of the crowd at Glenferrie Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_28 WHERE venue = "glenferrie oval" |
Write a SQL query that answers the following question: The Western Oval venue has what date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_37 WHERE venue = "western oval" |
Write a SQL query that answers the following question: What is the kickoff time for the Miami Dolphins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (kickoff VARCHAR, opponent VARCHAR) | SELECT kickoff FROM table_name_81 WHERE opponent = "miami dolphins" |
Write a SQL query that answers the following question: What was the final of the New England Patriots game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_66 WHERE opponent = "new england patriots" |
Write a SQL query that answers the following question: What is the largest attendance on august 10, 1963, and a week larger than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_75 WHERE date = "august 10, 1963" AND week > 1 |
Write a SQL query that answers the following question: What was the score of the away team when the home team was south melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_79 WHERE home_team = "south melbourne" |
Write a SQL query that answers the following question: What is the smallest crowd at princes park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_57 WHERE venue = "princes park" |
Write a SQL query that answers the following question: What is the highest ranked nation with 15 silver medals and no more than 47 total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (rank INTEGER, silver VARCHAR, total VARCHAR) | SELECT MAX(rank) FROM table_name_53 WHERE silver = 15 AND total < 47 |
Write a SQL query that answers the following question: What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (rank_by_average INTEGER, average VARCHAR, number_of_dances VARCHAR) | SELECT MAX(rank_by_average) FROM table_name_27 WHERE average = 25.3 AND number_of_dances > 10 |
Write a SQL query that answers the following question: What is the example with the associative type? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR) | SELECT example FROM table_name_56 WHERE type = "associative" |
Write a SQL query that answers the following question: What is the Suffix of the intensive and valency change of 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (suffix VARCHAR, valency_change VARCHAR, type VARCHAR) | SELECT suffix FROM table_name_21 WHERE valency_change = "0" AND type = "intensive" |
Write a SQL query that answers the following question: WHat is the Valency change of associative type? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (valency_change VARCHAR, type VARCHAR) | SELECT valency_change FROM table_name_1 WHERE type = "associative" |
Write a SQL query that answers the following question: Who is the home team when hawthorn is the away side? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_66 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: What was the away team that played at Windy Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_29 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: What was the away team at the match where the crowd was larger than 30,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER) | SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000 |
Write a SQL query that answers the following question: What is the smallest crowd when richmond is away? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_44 WHERE away_team = "richmond" |
Write a SQL query that answers the following question: What is melbourne's home team score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_48 WHERE home_team = "melbourne" |
Write a SQL query that answers the following question: Who is the color commentator in 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR) | SELECT color_commentator_s_ FROM table_name_16 WHERE year = 2008 |
Write a SQL query that answers the following question: Which member of the National Party is from the Hinkler electorate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (member VARCHAR, party VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_6 WHERE party = "national" AND electorate = "hinkler" |
Write a SQL query that answers the following question: Which member is from the state of SA and the grey electorate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_74 WHERE state = "sa" AND electorate = "grey" |
Write a SQL query that answers the following question: In which state is the Petrie electorate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR) | SELECT state FROM table_name_39 WHERE electorate = "petrie" |
Write a SQL query that answers the following question: What round was the draft pick of tight end with an Overall larger than 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (round VARCHAR, position VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_68 WHERE position = "tight end" AND overall > 21 |
Write a SQL query that answers the following question: Which player is a wide receiver picked in round 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_77 WHERE position = "wide receiver" AND round = 7 |
Write a SQL query that answers the following question: What is the name of the running back pick? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_3 WHERE position = "running back" |
Write a SQL query that answers the following question: When did the VFL pay at Victoria Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_17 WHERE venue = "victoria park" |
Write a SQL query that answers the following question: When did South Melbourne play as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_45 WHERE away_team = "south melbourne" |
Write a SQL query that answers the following question: What was home team Essendon's opponents score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_9 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: When was The Love Eterne released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (year VARCHAR, title VARCHAR) | SELECT year FROM table_name_2 WHERE title = "the love eterne" |
Write a SQL query that answers the following question: How many heats had 5 lanes and a rank less than 110 for the nationality of Honduras? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT COUNT(heat) FROM table_name_18 WHERE lane = 5 AND rank > 110 AND nationality = "honduras" |
Write a SQL query that answers the following question: How many heats had 2 lanes, a rank above 75, and nationality of Madagascar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT COUNT(heat) FROM table_name_48 WHERE lane = 2 AND rank > 75 AND nationality = "madagascar" |
Write a SQL query that answers the following question: What is the sum of every heat for the nationality of Macedonia with a rank less than 114? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (heat INTEGER, nationality VARCHAR, rank VARCHAR) | SELECT SUM(heat) FROM table_name_13 WHERE nationality = "macedonia" AND rank < 114 |
Write a SQL query that answers the following question: What was the least number of heats with more than 8 lanes for the Nationality of Germany? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (heat INTEGER, nationality VARCHAR, lane VARCHAR) | SELECT MIN(heat) FROM table_name_88 WHERE nationality = "germany" AND lane > 8 |
Write a SQL query that answers the following question: When the VFL played Victoria Park what was the home team score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_11 WHERE venue = "victoria park" |
Write a SQL query that answers the following question: What driver has over 19 points and a grid of over 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (driver VARCHAR, points VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 2 |
Write a SQL query that answers the following question: What was the score for the away team when geelong was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_4 WHERE home_team = "geelong" |
Write a SQL query that answers the following question: What was the score of the home team when they played footscray? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_8 WHERE away_team = "footscray" |
Write a SQL query that answers the following question: What was the score for the home team of essendon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_45 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: What was the score for the Essendon home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_31 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: What was the smallest crowd for the Richmond home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_56 WHERE home_team = "richmond" |
Write a SQL query that answers the following question: What was the largest crowd at the Brunswick Street Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_75 WHERE venue = "brunswick street oval" |
Write a SQL query that answers the following question: Who was the home team when VFL played at Windy Hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_16 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: What was the attendance when the VFL played Glenferrie Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_82 WHERE venue = "glenferrie oval" |
Write a SQL query that answers the following question: What was the attendance when North Melbourne was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_77 WHERE away_team = "north melbourne" |
Write a SQL query that answers the following question: When did Essendon play as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_70 WHERE home_team = "essendon" |
Write a SQL query that answers the following question: Can you give me the age of the Virtues of Wisdom? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (approximate_age VARCHAR, virtues VARCHAR) | SELECT approximate_age FROM table_name_47 WHERE virtues = "wisdom" |
Write a SQL query that answers the following question: What Virtue looks at the intimacy vs. isolation crisis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (virtues VARCHAR, psycho_social_crisis VARCHAR) | SELECT virtues FROM table_name_48 WHERE psycho_social_crisis = "intimacy vs. isolation" |
Write a SQL query that answers the following question: Can you give me the age of the Significant Relationship of Family? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (approximate_age VARCHAR, significant_relationship VARCHAR) | SELECT approximate_age FROM table_name_41 WHERE significant_relationship = "family" |
Write a SQL query that answers the following question: The Significant Relationship of Parents belongs with what Virtue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (virtues VARCHAR, significant_relationship VARCHAR) | SELECT virtues FROM table_name_84 WHERE significant_relationship = "parents" |
Write a SQL query that answers the following question: Who is the away side at windy hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_35 WHERE venue = "windy hill" |
Write a SQL query that answers the following question: How many drafts featured fred hoaglin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (overall VARCHAR, player VARCHAR) | SELECT COUNT(overall) FROM table_name_42 WHERE player = "fred hoaglin" |
Write a SQL query that answers the following question: What round did the player from delta st. get picked? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR) | SELECT round FROM table_name_84 WHERE school_club_team = "delta st." |
Write a SQL query that answers the following question: What is the highest overall number for someone from round 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (overall INTEGER, round VARCHAR) | SELECT MAX(overall) FROM table_name_51 WHERE round = 16 |
Write a SQL query that answers the following question: What was the average crowd size when Melbourne was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_9 WHERE home_team = "melbourne" |
Write a SQL query that answers the following question: What was North Melbourne's score when they were the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne" |
Write a SQL query that answers the following question: What was Hawthorn's score as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_96 WHERE away_team = "hawthorn" |
Write a SQL query that answers the following question: Who was the away team at the game at Lake Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_57 WHERE venue = "lake oval" |
Write a SQL query that answers the following question: Which stadium held the game that 65,677 people attended? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (stadium VARCHAR, attendance VARCHAR) | SELECT stadium FROM table_name_21 WHERE attendance = "65,677" |
Write a SQL query that answers the following question: What was the attendance of the game on October 17, 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_41 WHERE date = "october 17, 2004" |
Write a SQL query that answers the following question: Which week was the October 17, 2004 game played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_76 WHERE date = "october 17, 2004" |
Write a SQL query that answers the following question: What was the Browns record after they played the game at the Paul Brown stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (record VARCHAR, stadium VARCHAR) | SELECT record FROM table_name_41 WHERE stadium = "paul brown stadium" |
Write a SQL query that answers the following question: Which player went to Gonzaga? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR) | SELECT player FROM table_name_80 WHERE school_country = "gonzaga" |
Write a SQL query that answers the following question: Which Rams opponent had a record of 2-3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_87 WHERE record = "2-3" |
Write a SQL query that answers the following question: What is the number of podiums for the races of 13/15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (podiums VARCHAR, races_† VARCHAR) | SELECT podiums FROM table_name_97 WHERE races_† = "13/15" |
Write a SQL query that answers the following question: How many wins are there for the Races of 12/12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (wins VARCHAR, races_† VARCHAR) | SELECT wins FROM table_name_36 WHERE races_† = "12/12" |
Write a SQL query that answers the following question: What is the fastest lap for a season smaller than 1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (fastest_laps VARCHAR, season INTEGER) | SELECT fastest_laps FROM table_name_99 WHERE season < 1979 |
Write a SQL query that answers the following question: For the 12/12 races, what is the fastest lap? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR) | SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/12" |
Write a SQL query that answers the following question: What was the largest crowd where Carlton was the 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 = "carlton" |
Write a SQL query that answers the following question: Which team's home is the Arden Street Oval? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_56 WHERE venue = "arden street oval" |
Write a SQL query that answers the following question: What was the lowest attendance at a Fitzroy match? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_68 WHERE home_team = "fitzroy" |
Write a SQL query that answers the following question: What is the current club with more than 368 apps and a debut year earlier than 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR) | SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_year < 1994 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.