instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the smallest number of seats in a vehicle currently retired and in quantities less than 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR)
SELECT MIN(number_of_seats) FROM table_name_21 WHERE current_status = "retired" AND quantity < 8
Write a SQL query that answers the following question: What is the smallest number of seats in a retired vehicle that was started in service in 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (number_of_seats INTEGER, current_status VARCHAR, year_placed_in_service VARCHAR)
SELECT MIN(number_of_seats) FROM table_name_93 WHERE current_status = "retired" AND year_placed_in_service = "1981"
Write a SQL query that answers the following question: What is Trevard Lindley's height?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_42 WHERE name = "trevard lindley"
Write a SQL query that answers the following question: What is Ashton Cobb's class in Game 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (class VARCHAR, games↑ VARCHAR, name VARCHAR)
SELECT class FROM table_name_87 WHERE games↑ = 2 AND name = "ashton cobb"
Write a SQL query that answers the following question: What is the earliest game with a position of Re and a smaller number than 95?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (games INTEGER, position VARCHAR, number VARCHAR)
SELECT MIN(games) AS ↑ FROM table_name_2 WHERE position = "re" AND number < 95
Write a SQL query that answers the following question: Which Seattle quarterback has more than 81 career wins and less than 70 team wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (quarterback VARCHAR, team_wins VARCHAR, career_wins VARCHAR, teams VARCHAR)
SELECT quarterback FROM table_name_33 WHERE career_wins > 81 AND teams = "seattle" AND team_wins < 70
Write a SQL query that answers the following question: What is Mike Harris' lowest overall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (overall INTEGER, name VARCHAR)
SELECT MIN(overall) FROM table_name_61 WHERE name = "mike harris"
Write a SQL query that answers the following question: What is the highest pick # that has a 228 overall and a round less than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (pick__number INTEGER, overall VARCHAR, round VARCHAR)
SELECT MAX(pick__number) FROM table_name_81 WHERE overall = 228 AND round < 7
Write a SQL query that answers the following question: What value has negative infinity?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (value VARCHAR, type VARCHAR)
SELECT value FROM table_name_82 WHERE type = "negative infinity"
Write a SQL query that answers the following question: What's the exponent field that has 255 exp and value of +∞?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (exponent_field VARCHAR, exp__biased_ VARCHAR, value VARCHAR)
SELECT exponent_field FROM table_name_93 WHERE exp__biased_ = "255" AND value = "+∞"
Write a SQL query that answers the following question: What's the type of 0.0 value?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (type VARCHAR, value VARCHAR)
SELECT type FROM table_name_29 WHERE value = "0.0"
Write a SQL query that answers the following question: What's the Significant of a value 1.0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (significand__fraction_field_ VARCHAR, value VARCHAR)
SELECT significand__fraction_field_ FROM table_name_2 WHERE value = "1.0"
Write a SQL query that answers the following question: What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (round INTEGER, overall VARCHAR, pick__number VARCHAR, college VARCHAR)
SELECT MIN(round) FROM table_name_19 WHERE pick__number = 8 AND college = "temple" AND overall > 72
Write a SQL query that answers the following question: What is the lowest overall of the wide receiver player from a round higher than 5 and a pick lower than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR)
SELECT MIN(overall) FROM table_name_19 WHERE position = "wide receiver" AND round < 5 AND pick__number > 7
Write a SQL query that answers the following question: What is the overall of the running back player?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (overall VARCHAR, position VARCHAR)
SELECT overall FROM table_name_91 WHERE position = "running back"
Write a SQL query that answers the following question: What is the general classification when the team classification is japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (general_classification VARCHAR, team_classification VARCHAR)
SELECT general_classification FROM table_name_18 WHERE team_classification = "japan"
Write a SQL query that answers the following question: Which stage had tabriz petrochemical team in the team classification?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (stage VARCHAR, team_classification VARCHAR)
SELECT stage FROM table_name_68 WHERE team_classification = "tabriz petrochemical team"
Write a SQL query that answers the following question: Which stage had suhardi hassan in the Malaysian rider classification?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (stage VARCHAR, malaysian_rider_classification VARCHAR)
SELECT stage FROM table_name_59 WHERE malaysian_rider_classification = "suhardi hassan"
Write a SQL query that answers the following question: How many drawn have points of 6 and lost by fewer than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (drawn VARCHAR, points VARCHAR, lost VARCHAR)
SELECT COUNT(drawn) FROM table_name_53 WHERE points = 6 AND lost < 4
Write a SQL query that answers the following question: What was the earliest game with a record of 23–6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_48 WHERE record = "23–6–4"
Write a SQL query that answers the following question: What was the earliest game with a record of 16–4–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_96 WHERE record = "16–4–3"
Write a SQL query that answers the following question: Which ERP W is the highest one that has a Call sign of w255bi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (erp_w INTEGER, call_sign VARCHAR)
SELECT MAX(erp_w) FROM table_name_3 WHERE call_sign = "w255bi"
Write a SQL query that answers the following question: Which FCC info has a Frequency MHz of 100.7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT fcc_info FROM table_name_96 WHERE frequency_mhz = 100.7
Write a SQL query that answers the following question: How much Frequency MHz has a Call sign of w264bg?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT COUNT(frequency_mhz) FROM table_name_95 WHERE call_sign = "w264bg"
Write a SQL query that answers the following question: Which ERP W is the lowest one that has a Call sign of w233be?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (erp_w INTEGER, call_sign VARCHAR)
SELECT MIN(erp_w) FROM table_name_47 WHERE call_sign = "w233be"
Write a SQL query that answers the following question: Which FCC info has a Frequency MHz larger than 102.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (fcc_info VARCHAR, frequency_mhz INTEGER)
SELECT fcc_info FROM table_name_84 WHERE frequency_mhz > 102.3
Write a SQL query that answers the following question: What date was Rica head of household?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date_given VARCHAR, head_of_household VARCHAR)
SELECT date_given FROM table_name_35 WHERE head_of_household = "rica"
Write a SQL query that answers the following question: What is the latest task number for which Cathy is head of household?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (task_no INTEGER, head_of_household VARCHAR)
SELECT MAX(task_no) FROM table_name_16 WHERE head_of_household = "cathy"
Write a SQL query that answers the following question: Who is the head of household for task number 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (head_of_household VARCHAR, task_no VARCHAR)
SELECT head_of_household FROM table_name_39 WHERE task_no = 7
Write a SQL query that answers the following question: Which task had Cathy as the hand grenade user?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR)
SELECT task_no FROM table_name_98 WHERE hand_grenade_user = "cathy"
Write a SQL query that answers the following question: What is the task number on January 22, 2010 (day 111)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (task_no INTEGER, date_given VARCHAR)
SELECT MAX(task_no) FROM table_name_94 WHERE date_given = "january 22, 2010 (day 111)"
Write a SQL query that answers the following question: What was the record in the win 7 streak?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (record VARCHAR, streak VARCHAR)
SELECT record FROM table_name_86 WHERE streak = "win 7"
Write a SQL query that answers the following question: What was the score when the opponent was Detroit Pistons?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_46 WHERE opponent = "detroit pistons"
Write a SQL query that answers the following question: What is the date when streak was won 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date VARCHAR, streak VARCHAR)
SELECT date FROM table_name_50 WHERE streak = "won 8"
Write a SQL query that answers the following question: What trips are operated by Atlantic coast charters?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (total_trips__am_pm_ VARCHAR, operated_by VARCHAR)
SELECT total_trips__am_pm_ FROM table_name_47 WHERE operated_by = "atlantic coast charters"
Write a SQL query that answers the following question: What was the average week of a game with a result of l 10-7 attended by 37,500?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_4 WHERE result = "l 10-7" AND attendance < 37 OFFSET 500
Write a SQL query that answers the following question: What was the average attendance on October 30, 1938?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_33 WHERE date = "october 30, 1938"
Write a SQL query that answers the following question: When did Yugoslavia play a friendly game in Belgrade?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, city VARCHAR, type_of_game VARCHAR)
SELECT date FROM table_name_88 WHERE city = "belgrade" AND type_of_game = "friendly"
Write a SQL query that answers the following question: When was the WC 1974 Qualifying game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, type_of_game VARCHAR)
SELECT date FROM table_name_94 WHERE type_of_game = "wc 1974 qualifying"
Write a SQL query that answers the following question: What city did Yugoslavia play Norway in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (city VARCHAR, opponent VARCHAR)
SELECT city FROM table_name_2 WHERE opponent = "norway"
Write a SQL query that answers the following question: Who did Yugoslavia play against that led to a result of 2:3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (opponent VARCHAR, results¹ VARCHAR)
SELECT opponent FROM table_name_90 WHERE results¹ = "2:3"
Write a SQL query that answers the following question: What is the final score of the runner-up on 9 February 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (score_in_final VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT score_in_final FROM table_name_75 WHERE outcome = "runner-up" AND date = "9 february 1992"
Write a SQL query that answers the following question: Which opponent has a time of 1:50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_79 WHERE time = "1:50"
Write a SQL query that answers the following question: Which opponent has a time of 2:35?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_85 WHERE time = "2:35"
Write a SQL query that answers the following question: What is the time when the opponent is stephanie palmer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_27 WHERE opponent = "stephanie palmer"
Write a SQL query that answers the following question: What tournament has Samantha Stosur as the opponent in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_99 WHERE opponent_in_the_final = "samantha stosur"
Write a SQL query that answers the following question: What date is the zürich, switzerland tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_36 WHERE tournament = "zürich, switzerland"
Write a SQL query that answers the following question: What is the date of the Sydney, Australia tournament with a hard surface?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_50 WHERE surface = "hard" AND tournament = "sydney, australia"
Write a SQL query that answers the following question: Which Result has a Date of 4 april 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_78 WHERE date = "4 april 1993"
Write a SQL query that answers the following question: Which Venue has a Result of 5-1, and a Score of 3-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (venue VARCHAR, result VARCHAR, score VARCHAR)
SELECT venue FROM table_name_53 WHERE result = "5-1" AND score = "3-0"
Write a SQL query that answers the following question: Which Score has a Result of 5-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_68 WHERE result = "5-1"
Write a SQL query that answers the following question: Which Venue has a Result of 5-1, and a Score of 1-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR)
SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "1-0"
Write a SQL query that answers the following question: Which Venue has a Result of 5-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_18 WHERE result = "5-0"
Write a SQL query that answers the following question: What did winner Gary Player par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (to_par VARCHAR, winner VARCHAR)
SELECT to_par FROM table_name_89 WHERE winner = "gary player"
Write a SQL query that answers the following question: How many PATAs does an nForce Professional 3400 MCP have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (pata INTEGER, model VARCHAR)
SELECT SUM(pata) FROM table_name_38 WHERE model = "nforce professional 3400 mcp"
Write a SQL query that answers the following question: Which PCI-Express has a DDR 266/333/400 Registered/ECC memory and Enhanced AC'97 2.3 sound?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (pci_express VARCHAR, memory VARCHAR, sound VARCHAR)
SELECT pci_express FROM table_name_11 WHERE memory = "ddr 266/333/400 registered/ecc" AND sound = "enhanced ac'97 2.3"
Write a SQL query that answers the following question: Which FSB/HT frequency (MHz) has a SATA larger than 6 and DDR 266/333/400 Registered/ECC memory?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (fsb_ht_frequency__mhz_ VARCHAR, sata VARCHAR, memory VARCHAR)
SELECT fsb_ht_frequency__mhz_ FROM table_name_79 WHERE sata > 6 AND memory = "ddr 266/333/400 registered/ecc"
Write a SQL query that answers the following question: Which network has model nForce Professional 3400 MCP?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (network VARCHAR, model VARCHAR)
SELECT network FROM table_name_29 WHERE model = "nforce professional 3400 mcp"
Write a SQL query that answers the following question: What model has an engine of 1,868 cc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (model VARCHAR, displacement VARCHAR)
SELECT model FROM table_name_33 WHERE displacement = "1,868 cc"
Write a SQL query that answers the following question: What College team has 8 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE round = 8
Write a SQL query that answers the following question: What nationality is Daryn Fersovich?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich"
Write a SQL query that answers the following question: What day was the ground subiaco?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (date VARCHAR, ground VARCHAR)
SELECT date FROM table_name_8 WHERE ground = "subiaco"
Write a SQL query that answers the following question: What was the crowd size for the Home team of melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_54 WHERE home_team = "melbourne"
Write a SQL query that answers the following question: Which Score has a Couple of cristián & cheryl, and a Style of cha-cha-cha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, couple VARCHAR, style VARCHAR)
SELECT score FROM table_name_7 WHERE couple = "cristián & cheryl" AND style = "cha-cha-cha"
Write a SQL query that answers the following question: Which Score has a Couple comprised of jason & edyta, and a Style of freestyle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (score VARCHAR, couple VARCHAR, style VARCHAR)
SELECT score FROM table_name_2 WHERE couple = "jason & edyta" AND style = "freestyle"
Write a SQL query that answers the following question: Which music is jive?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (music VARCHAR, style VARCHAR)
SELECT music FROM table_name_20 WHERE style = "jive"
Write a SQL query that answers the following question: Which Couple has a Result of third place, and a Style of cha-cha-cha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (couple VARCHAR, result VARCHAR, style VARCHAR)
SELECT couple FROM table_name_82 WHERE result = "third place" AND style = "cha-cha-cha"
Write a SQL query that answers the following question: Which Score has a Result of third place, and a Style of cha-cha-cha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR)
SELECT score FROM table_name_18 WHERE result = "third place" AND style = "cha-cha-cha"
Write a SQL query that answers the following question: Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (music VARCHAR, score VARCHAR, style VARCHAR)
SELECT music FROM table_name_22 WHERE score = "30 (10, 10, 10)" AND style = "cha-cha-cha"
Write a SQL query that answers the following question: What is the Australian National Kennel Council Toy Dogs Group with papillon as the Kennel Club breed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (australian_national_kennel_council_toy_dogs_group VARCHAR, the_kennel_club__uk__toy_group VARCHAR)
SELECT australian_national_kennel_council_toy_dogs_group FROM table_name_98 WHERE the_kennel_club__uk__toy_group = "papillon"
Write a SQL query that answers the following question: What is the New Zealand Kennel Club Toy Group with papillon as the Australian National Kennel Council Toy Dogs Group breed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (new_zealand_kennel_club_toy_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR)
SELECT new_zealand_kennel_club_toy_group FROM table_name_26 WHERE australian_national_kennel_council_toy_dogs_group = "papillon"
Write a SQL query that answers the following question: What is the Canadian Kennel Club Toy Dogs Group with the australian silky terrier as the Australian National Kennel Council Toy Dogs Group breed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (canadian_kennel_club_toy_dogs_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR)
SELECT canadian_kennel_club_toy_dogs_group FROM table_name_49 WHERE australian_national_kennel_council_toy_dogs_group = "australian silky terrier"
Write a SQL query that answers the following question: What is the Kennel Club (UK) Toy Group with the shih-tzu as the American Kennel Club Toy Group breed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (the_kennel_club__uk__toy_group VARCHAR, american_kennel_club_toy_group VARCHAR)
SELECT the_kennel_club__uk__toy_group FROM table_name_65 WHERE american_kennel_club_toy_group = "shih-tzu"
Write a SQL query that answers the following question: What prize amount was awarded at the event with 453 entrants?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (prize VARCHAR, entrants VARCHAR)
SELECT prize FROM table_name_31 WHERE entrants = 453
Write a SQL query that answers the following question: What were the overall event results when Michael Demichele was runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (results VARCHAR, runner_up VARCHAR)
SELECT results FROM table_name_78 WHERE runner_up = "michael demichele"
Write a SQL query that answers the following question: What was the fewest entrants in an event won by Grant Hinkle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (entrants INTEGER, winner VARCHAR)
SELECT MIN(entrants) FROM table_name_90 WHERE winner = "grant hinkle"
Write a SQL query that answers the following question: How many entrants did the events won by Frank Gary average?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR)
SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary"
Write a SQL query that answers the following question: What medal was won in the 1996 Atlanta games in wrestling?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (medal VARCHAR, games VARCHAR, sport VARCHAR)
SELECT medal FROM table_name_60 WHERE games = "1996 atlanta" AND sport = "wrestling"
Write a SQL query that answers the following question: Who won a medal at the 2008 Beijing Olympics?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (name VARCHAR, games VARCHAR)
SELECT name FROM table_name_33 WHERE games = "2008 beijing"
Write a SQL query that answers the following question: What event did Cristina Iovu participate in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (event VARCHAR, name VARCHAR)
SELECT event FROM table_name_1 WHERE name = "cristina iovu"
Write a SQL query that answers the following question: At which games was a bronze medal won in the 94kg men's weightlifting event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR)
SELECT games FROM table_name_71 WHERE medal = "bronze" AND sport = "weightlifting" AND event = "94kg men's weightlifting"
Write a SQL query that answers the following question: Which sport has 94kg men's weightlifting as one of its events?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (sport VARCHAR, event VARCHAR)
SELECT sport FROM table_name_22 WHERE event = "94kg men's weightlifting"
Write a SQL query that answers the following question: What is the Name of the Quarterback with a Pick # less than 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (name VARCHAR, pick__number VARCHAR, position VARCHAR)
SELECT name FROM table_name_90 WHERE pick__number < 11 AND position = "quarterback"
Write a SQL query that answers the following question: What is donovan's surname?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (surname VARCHAR, first VARCHAR)
SELECT surname FROM table_name_12 WHERE first = "donovan"
Write a SQL query that answers the following question: How many throws did james get?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (throws VARCHAR, first VARCHAR)
SELECT throws FROM table_name_39 WHERE first = "james"
Write a SQL query that answers the following question: When is Biddle's DOB?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (dob VARCHAR, surname VARCHAR)
SELECT dob FROM table_name_5 WHERE surname = "biddle"
Write a SQL query that answers the following question: Who is the opponent of the game with 33,628 folks in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_27 WHERE attendance = "33,628"
Write a SQL query that answers the following question: What is the loss of the game with 38,062 folks in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (loss VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_12 WHERE attendance = "38,062"
Write a SQL query that answers the following question: What is the score of the game that 33,531 people went too?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_19 WHERE attendance = "33,531"
Write a SQL query that answers the following question: What is the date of the game with 38,062 people in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_80 WHERE attendance = "38,062"
Write a SQL query that answers the following question: What is Brendan Locke's College/Junior/Club Team (League)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_11 WHERE player = "brendan locke"
Write a SQL query that answers the following question: What League's Round is Sup and Position is Right Wing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_38 WHERE position = "right wing" AND round = "sup"
Write a SQL query that answers the following question: In what Round is the Position Goaltender?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_24 WHERE position = "goaltender"
Write a SQL query that answers the following question: In what League is Left Wing Yanick Dupre?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre"
Write a SQL query that answers the following question: In what League in Round 6 is the Position Right Wing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position = "right wing" AND round = "6"
Write a SQL query that answers the following question: In what Round is John Parco a Center?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (round VARCHAR, position VARCHAR, player VARCHAR)
SELECT round FROM table_name_70 WHERE position = "center" AND player = "john parco"
Write a SQL query that answers the following question: Which team had 15 draws?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (team VARCHAR, draws VARCHAR)
SELECT team FROM table_name_21 WHERE draws = "15"
Write a SQL query that answers the following question: Which season had 16 losses for the Hampshire team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (season VARCHAR, losses VARCHAR, team VARCHAR)
SELECT season FROM table_name_79 WHERE losses = "16" AND team = "hampshire"
Write a SQL query that answers the following question: Which season had 0 wins and 5 losses for the Surrey team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (season VARCHAR, team VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT season FROM table_name_61 WHERE wins = "0" AND losses = "5" AND team = "surrey"
Write a SQL query that answers the following question: Which season had 10 draws?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (season VARCHAR, draws VARCHAR)
SELECT season FROM table_name_48 WHERE draws = "10"