instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: what country is dubai in
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (country VARCHAR, town VARCHAR)
SELECT country FROM table_name_50 WHERE town = "dubai"
Write a SQL query that answers the following question: What home team has june 22 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (home_team VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_87 WHERE date = "june 22"
Write a SQL query that answers the following question: What road team has 86-84 as the result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (road_team VARCHAR, result VARCHAR)
SELECT road_team FROM table_name_67 WHERE result = "86-84"
Write a SQL query that answers the following question: What road team has 91-82 as the result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (road_team VARCHAR, result VARCHAR)
SELECT road_team FROM table_name_86 WHERE result = "91-82"
Write a SQL query that answers the following question: Which game has houston as the road team, and june 15 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (game VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT game FROM table_name_26 WHERE road_team = "houston" AND date = "june 15"
Write a SQL query that answers the following question: What is listed under occupation for someone from Santa Monica, California?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR)
SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california"
Write a SQL query that answers the following question: For natives of St. Louis, Missouri, what was listed under education?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (education VARCHAR, hometown VARCHAR)
SELECT education FROM table_name_47 WHERE hometown = "st. louis, missouri"
Write a SQL query that answers the following question: When the occupation was utility worker on-air talent, what was the game status?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (game_status VARCHAR, occupation VARCHAR)
SELECT game_status FROM table_name_21 WHERE occupation = "utility worker on-air talent"
Write a SQL query that answers the following question: Which 2005 has a 2004 of 3–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (Id VARCHAR)
SELECT 2005 FROM table_name_3 WHERE 2004 = "3–2"
Write a SQL query that answers the following question: Which 2011 has a 2009 of 15–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (Id VARCHAR)
SELECT 2011 FROM table_name_66 WHERE 2009 = "15–2"
Write a SQL query that answers the following question: Which 2010 has a 2006 of w?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (Id VARCHAR)
SELECT 2010 FROM table_name_51 WHERE 2006 = "w"
Write a SQL query that answers the following question: Which 2008 has a 2005 of 13–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (Id VARCHAR)
SELECT 2008 FROM table_name_48 WHERE 2005 = "13–3"
Write a SQL query that answers the following question: What is the time of the Ghantoot Racing and Polo Club?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (time VARCHAR, ground VARCHAR)
SELECT time FROM table_name_4 WHERE ground = "ghantoot racing and polo club"
Write a SQL query that answers the following question: What is the home team score of the game with Adelaide as the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_90 WHERE away_team = "adelaide"
Write a SQL query that answers the following question: What is the time of the Essendon home team game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (time VARCHAR, home_team VARCHAR)
SELECT time FROM table_name_81 WHERE home_team = "essendon"
Write a SQL query that answers the following question: What is the home team score of the Ghantoot Racing and Polo Club Ground?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)
SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club"
Write a SQL query that answers the following question: What shows for region when the date is february 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (region VARCHAR, date VARCHAR)
SELECT region FROM table_name_29 WHERE date = "february 2006"
Write a SQL query that answers the following question: What shows as the format for catalog 11 135?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_61 WHERE catalog = "11 135"
Write a SQL query that answers the following question: In what Region is Catalog number 885 380-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (region VARCHAR, catalog VARCHAR)
SELECT region FROM table_name_63 WHERE catalog = "885 380-1"
Write a SQL query that answers the following question: Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (sampling_memory_upgrade_able VARCHAR, sampling_rate VARCHAR)
SELECT sampling_memory_upgrade_able FROM table_name_66 WHERE sampling_rate = "16-bit 44.1khz"
Write a SQL query that answers the following question: Around what time frame release a Sampling Rate of 12-bit 40khz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (release_date INTEGER, sampling_rate VARCHAR)
SELECT SUM(release_date) FROM table_name_63 WHERE sampling_rate = "12-bit 40khz"
Write a SQL query that answers the following question: How much is a product with a Sampling Rate of 12-bit 40khz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (price VARCHAR, sampling_rate VARCHAR)
SELECT price FROM table_name_65 WHERE sampling_rate = "12-bit 40khz"
Write a SQL query that answers the following question: what team scored on december 19
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_65 WHERE date = "december 19"
Write a SQL query that answers the following question: what team scored 5–5–1–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_71 WHERE record = "5–5–1–1"
Write a SQL query that answers the following question: what team scored on november 7
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_65 WHERE date = "november 7"
Write a SQL query that answers the following question: Which player has rank 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, rank VARCHAR)
SELECT player FROM table_name_24 WHERE rank = 1
Write a SQL query that answers the following question: What's the mean number of wins with a rank that's more than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (wins INTEGER, rank INTEGER)
SELECT AVG(wins) FROM table_name_91 WHERE rank > 5
Write a SQL query that answers the following question: What amount of earnings does Tiger Woods have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (earnings___$__ VARCHAR, player VARCHAR)
SELECT earnings___$__ FROM table_name_40 WHERE player = "tiger woods"
Write a SQL query that answers the following question: What is the position number of the club with more than 24 points and a w-l-d of 8-5-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (position VARCHAR, points VARCHAR, w_l_d VARCHAR)
SELECT COUNT(position) FROM table_name_99 WHERE points > 24 AND w_l_d = "8-5-3"
Write a SQL query that answers the following question: What is the goals for/against of the club with 17 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (goals_for_against VARCHAR, points VARCHAR)
SELECT goals_for_against FROM table_name_94 WHERE points = 17
Write a SQL query that answers the following question: What is the highest number of games played of the club with a position number less than 4 and a 29-24 goals for/against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (games_played INTEGER, position VARCHAR, goals_for_against VARCHAR)
SELECT MAX(games_played) FROM table_name_85 WHERE position < 4 AND goals_for_against = "29-24"
Write a SQL query that answers the following question: Which date's attendance was more than 35,540?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_3 WHERE attendance > 35 OFFSET 540
Write a SQL query that answers the following question: What is the smallest attendance number for December 3, 1944?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_39 WHERE date = "december 3, 1944"
Write a SQL query that answers the following question: When was the Treaty of Cession for Karikal Colony?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (treaty_of_cession VARCHAR, colony VARCHAR)
SELECT treaty_of_cession FROM table_name_60 WHERE colony = "karikal"
Write a SQL query that answers the following question: what day was the game in argentina
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_92 WHERE opponent = "argentina"
Write a SQL query that answers the following question: what city scored 0:0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (city VARCHAR, resultsΒΉ VARCHAR)
SELECT city FROM table_name_78 WHERE resultsΒΉ = "0:0"
Write a SQL query that answers the following question: what game was played on june 14
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (type_of_game VARCHAR, date VARCHAR)
SELECT type_of_game FROM table_name_27 WHERE date = "june 14"
Write a SQL query that answers the following question: What score has april 28 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_5 WHERE date = "april 28"
Write a SQL query that answers the following question: What score has tim duncan (27) as the leading scorer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (score VARCHAR, leading_scorer VARCHAR)
SELECT score FROM table_name_96 WHERE leading_scorer = "tim duncan (27)"
Write a SQL query that answers the following question: What visitor has tim duncan (16) as the leading scorer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT visitor FROM table_name_18 WHERE leading_scorer = "tim duncan (16)"
Write a SQL query that answers the following question: What were Will Rackley's total rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (round VARCHAR, name VARCHAR)
SELECT COUNT(round) FROM table_name_89 WHERE name = "will rackley"
Write a SQL query that answers the following question: Which cornerback has the lowest overall and a pick number smaller than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16
Write a SQL query that answers the following question: Which cornerback has the highest round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (round INTEGER, position VARCHAR)
SELECT MAX(round) FROM table_name_97 WHERE position = "cornerback"
Write a SQL query that answers the following question: What was the outcome on 25 october 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_99 WHERE date = "25 october 2004"
Write a SQL query that answers the following question: Which opponent was a runner-up on 2 march 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_6 WHERE outcome = "runner-up" AND date = "2 march 1998"
Write a SQL query that answers the following question: Which championship had an oppenent of mario ančiΔ‡ in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (championship VARCHAR, opponent_in_the_final VARCHAR)
SELECT championship FROM table_name_8 WHERE opponent_in_the_final = "mario ančiΔ‡"
Write a SQL query that answers the following question: Name the change with share of 2.9%
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (change VARCHAR, share VARCHAR)
SELECT change FROM table_name_71 WHERE share = "2.9%"
Write a SQL query that answers the following question: Name the change for english democrats
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (change VARCHAR, party VARCHAR)
SELECT change FROM table_name_78 WHERE party = "english democrats"
Write a SQL query that answers the following question: Name the average votes for one london
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (votes INTEGER, party VARCHAR)
SELECT AVG(votes) FROM table_name_22 WHERE party = "one london"
Write a SQL query that answers the following question: Which Country has a Rank of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (country VARCHAR, rank VARCHAR)
SELECT country FROM table_name_77 WHERE rank = 5
Write a SQL query that answers the following question: Which Earnings ($) is the lowest one that has a Rank of 1, and Events smaller than 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (earnings___ INTEGER, rank VARCHAR, events VARCHAR)
SELECT MIN(earnings___) AS $__ FROM table_name_60 WHERE rank = 1 AND events < 22
Write a SQL query that answers the following question: How many earnings have Wins larger than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (earnings___ INTEGER, wins INTEGER)
SELECT SUM(earnings___) AS $__ FROM table_name_70 WHERE wins > 3
Write a SQL query that answers the following question: Which Player has 4 Wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (player VARCHAR, wins VARCHAR)
SELECT player FROM table_name_49 WHERE wins = 4
Write a SQL query that answers the following question: How many Poles have a Bike of honda rc212v, and Podiums smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (poles VARCHAR, bike VARCHAR, podiums VARCHAR)
SELECT COUNT(poles) FROM table_name_92 WHERE bike = "honda rc212v" AND podiums < 0
Write a SQL query that answers the following question: Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (wins INTEGER, pos VARCHAR, poles VARCHAR)
SELECT MAX(wins) FROM table_name_3 WHERE pos = "2nd" AND poles > 2
Write a SQL query that answers the following question: What is the average of points for 8th place with draw more than 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)
SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 8
Write a SQL query that answers the following question: Which Points have a Game smaller than 8, and a Record of 1–0–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (points INTEGER, game VARCHAR, record VARCHAR)
SELECT SUM(points) FROM table_name_73 WHERE game < 8 AND record = "1–0–0"
Write a SQL query that answers the following question: Which Game has a Record of 5–3–1, and an October smaller than 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (game INTEGER, record VARCHAR, october VARCHAR)
SELECT SUM(game) FROM table_name_80 WHERE record = "5–3–1" AND october < 29
Write a SQL query that answers the following question: Which Game has a Score of 3–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (game INTEGER, score VARCHAR)
SELECT MIN(game) FROM table_name_76 WHERE score = "3–4"
Write a SQL query that answers the following question: Which Game has a Record of 4–2–1, and Points larger than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (game INTEGER, record VARCHAR, points VARCHAR)
SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 9
Write a SQL query that answers the following question: Which Nationality has a Position of defense, and a Player of nikita korovkin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (nationality VARCHAR, position VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_51 WHERE position = "defense" AND player = "nikita korovkin"
Write a SQL query that answers the following question: Which Nationality has a Position of left wing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (nationality VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_99 WHERE position = "left wing"
Write a SQL query that answers the following question: Which Player has a Position of forward?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_18 WHERE position = "forward"
Write a SQL query that answers the following question: Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (week_3_sept_14 VARCHAR, week_6_oct_5 VARCHAR)
SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (4-1)"
Write a SQL query that answers the following question: Which Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (week_2_sept_7 VARCHAR, week_6_oct_5 VARCHAR)
SELECT week_2_sept_7 FROM table_name_84 WHERE week_6_oct_5 = "wake forest (3-1)"
Write a SQL query that answers the following question: Which Week 1 Sept 2 has a Week 3 Sept 14 of south florida (3-0)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (week_1_sept_2 VARCHAR, week_3_sept_14 VARCHAR)
SELECT week_1_sept_2 FROM table_name_72 WHERE week_3_sept_14 = "south florida (3-0)"
Write a SQL query that answers the following question: Which Week 7 Oct 12 has a Week 6 Oct 5 of boise state (4-0)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (week_7_oct_12 VARCHAR, week_6_oct_5 VARCHAR)
SELECT week_7_oct_12 FROM table_name_23 WHERE week_6_oct_5 = "boise state (4-0)"
Write a SQL query that answers the following question: Which Week 2 Sept 7 has a Week 7 Oct 12 of ball state (7-0)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (week_2_sept_7 VARCHAR, week_7_oct_12 VARCHAR)
SELECT week_2_sept_7 FROM table_name_8 WHERE week_7_oct_12 = "ball state (7-0)"
Write a SQL query that answers the following question: Which Week 6 Oct 5 has a Week 14 Nov 30 of texas (11-1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (week_6_oct_5 VARCHAR, week_14_nov_30 VARCHAR)
SELECT week_6_oct_5 FROM table_name_37 WHERE week_14_nov_30 = "texas (11-1)"
Write a SQL query that answers the following question: What is the highest round of Tommy Allman, who had a pick less than 40?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (round INTEGER, player VARCHAR, pick VARCHAR)
SELECT MAX(round) FROM table_name_27 WHERE player = "tommy allman" AND pick < 40
Write a SQL query that answers the following question: Who was the back player with a pick less than 183 from the round greater than 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)
SELECT player FROM table_name_41 WHERE pick < 183 AND position = "back" AND round > 12
Write a SQL query that answers the following question: What is the total number of rounds of the end player with a pick number greater than 303?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (round VARCHAR, pick VARCHAR, position VARCHAR)
SELECT COUNT(round) FROM table_name_21 WHERE pick > 303 AND position = "end"
Write a SQL query that answers the following question: What is the highest pick of the back player from round 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR)
SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28
Write a SQL query that answers the following question: What is position of the player with a pick number greater than 315 and a round of 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (position VARCHAR, pick VARCHAR, round VARCHAR)
SELECT position FROM table_name_51 WHERE pick > 315 AND round = 30
Write a SQL query that answers the following question: On what Week was the Result W 17-14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (week INTEGER, result VARCHAR)
SELECT AVG(week) FROM table_name_4 WHERE result = "w 17-14"
Write a SQL query that answers the following question: What was the Result after the Week 4 on November 3, 1968?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_27 WHERE week > 4 AND date = "november 3, 1968"
Write a SQL query that answers the following question: What is the attendance in week 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR)
SELECT AVG(attendance) FROM table_name_57 WHERE week = 4
Write a SQL query that answers the following question: What was the date of the game with a record of 17–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_16 WHERE record = "17–25"
Write a SQL query that answers the following question: Who was the opponent at the game with a score of 6–5 (10)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_47 WHERE score = "6–5 (10)"
Write a SQL query that answers the following question: What was the result of the bout that led to a 4-4 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_1 WHERE record = "4-4"
Write a SQL query that answers the following question: Which location held the bout that led to a 4-3 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_19 WHERE record = "4-3"
Write a SQL query that answers the following question: What discs has a region 1 release date of January 22, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (discs VARCHAR, region_1_release VARCHAR)
SELECT discs FROM table_name_90 WHERE region_1_release = "january 22, 2008"
Write a SQL query that answers the following question: What is the lowest rank of Citigroup?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR)
SELECT MIN(rank) FROM table_name_67 WHERE name = "citigroup"
Write a SQL query that answers the following question: What is the market value of the automotive industry?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (market_value___usd_million_ VARCHAR, industry VARCHAR)
SELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = "automotive"
Write a SQL query that answers the following question: Name the attendance with result of t 14-14
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_92 WHERE result = "t 14-14"
Write a SQL query that answers the following question: Name the total number of attendance for october 20, 1946 with week less than 4
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (attendance VARCHAR, date VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_43 WHERE date = "october 20, 1946" AND week < 4
Write a SQL query that answers the following question: Name the most attendance for november 17, 1946 and week more than 8
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_21 WHERE date = "november 17, 1946" AND week > 8
Write a SQL query that answers the following question: What is the sum of the points for the player who was a rank of 61t?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (points INTEGER, rank VARCHAR)
SELECT SUM(points) FROM table_name_92 WHERE rank = "61t"
Write a SQL query that answers the following question: Who is the player who had more than 1,052 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (player VARCHAR, points INTEGER)
SELECT player FROM table_name_87 WHERE points > 1 OFFSET 052
Write a SQL query that answers the following question: What are the highest points that Emmitt Smith had?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (points INTEGER, player VARCHAR)
SELECT MAX(points) FROM table_name_96 WHERE player = "emmitt smith"
Write a SQL query that answers the following question: Record of 6–8 had what attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_33 WHERE record = "6–8"
Write a SQL query that answers the following question: Result of l 17–20 had what attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_31 WHERE result = "l 17–20"
Write a SQL query that answers the following question: Game Site of hoosier dome, and a Result of l 7–31 involved what attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (attendance VARCHAR, game_site VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_29 WHERE game_site = "hoosier dome" AND result = "l 7–31"
Write a SQL query that answers the following question: Which Year is the highest one that has a Venue of blackwolf run, composite course, and a Score of 281?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (year INTEGER, venue VARCHAR, score VARCHAR)
SELECT MAX(year) FROM table_name_48 WHERE venue = "blackwolf run, composite course" AND score = "281"
Write a SQL query that answers the following question: Which Champion has a Venue of old waverly golf club?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (champion VARCHAR, venue VARCHAR)
SELECT champion FROM table_name_35 WHERE venue = "old waverly golf club"
Write a SQL query that answers the following question: How many world rankings are after Aug 5, 1980 ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (world_ranking INTEGER, date VARCHAR, year VARCHAR)
SELECT SUM(world_ranking) FROM table_name_80 WHERE date = "aug 5" AND year > 1980
Write a SQL query that answers the following question: On which date is there a performance of more than 8.22.72?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, performance VARCHAR)
SELECT date FROM table_name_9 WHERE performance = "8.22.72"
Write a SQL query that answers the following question: The venue of Rome has which date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_84 WHERE venue = "rome"
Write a SQL query that answers the following question: What was the 1st leg of the match that had an aggregate of 4-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (agg VARCHAR)
SELECT 1 AS st_leg FROM table_name_11 WHERE agg = "4-3"
Write a SQL query that answers the following question: When was the last final lost of the club with 7 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (last_final_lost VARCHAR, wins VARCHAR)
SELECT last_final_lost FROM table_name_49 WHERE wins = "7"