instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What was the Opponent during the game with a Result of W 37-21?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_73 WHERE result = "w 37-21"
Write a SQL query that answers the following question: What was the Result on Week 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_50 WHERE week = 8
Write a SQL query that answers the following question: What is the lowest number of games with less than 1 loss?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (games INTEGER, lost INTEGER)
SELECT MIN(games) FROM table_name_12 WHERE lost < 1
Write a SQL query that answers the following question: What was the nationality of the skater with 108.8 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (nation VARCHAR, points VARCHAR)
SELECT nation FROM table_name_52 WHERE points = 108.8
Write a SQL query that answers the following question: How many points for the skater from club btsc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (points VARCHAR, club VARCHAR)
SELECT COUNT(points) FROM table_name_43 WHERE club = "btsc"
Write a SQL query that answers the following question: Which Original title has a Year of 1983, and a Country of italy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (original_title VARCHAR, year VARCHAR, country VARCHAR)
SELECT original_title FROM table_name_78 WHERE year = 1983 AND country = "italy"
Write a SQL query that answers the following question: How many years have an Original title of ΠΈΠ²Π°Π½ΠΎΠ²ΠΎ дСтство?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (year VARCHAR, original_title VARCHAR)
SELECT COUNT(year) FROM table_name_87 WHERE original_title = "ΠΈΠ²Π°Π½ΠΎΠ²ΠΎ дСтство"
Write a SQL query that answers the following question: Which Length has a Country of soviet union, and a Year larger than 1975?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (length VARCHAR, country VARCHAR, year VARCHAR)
SELECT length FROM table_name_52 WHERE country = "soviet union" AND year > 1975
Write a SQL query that answers the following question: What is listed as the lowest Year with a Wins that's smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (year INTEGER, wins INTEGER)
SELECT MIN(year) FROM table_name_25 WHERE wins < 0
Write a SQL query that answers the following question: What is listed for the Wins with a Year of 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (wins VARCHAR, year VARCHAR)
SELECT wins FROM table_name_84 WHERE year = 1989
Write a SQL query that answers the following question: What is listed for the Class that's got a Team of Cagiva and Points of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (class VARCHAR, team VARCHAR, points VARCHAR)
SELECT class FROM table_name_17 WHERE team = "cagiva" AND points = 4
Write a SQL query that answers the following question: What is the number of Population 2001 Census that has 476,815 in Population 1991 Census?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (population_2001_census INTEGER, population_1991_census VARCHAR)
SELECT SUM(population_2001_census) FROM table_name_10 WHERE population_1991_census = 476 OFFSET 815
Write a SQL query that answers the following question: What played has 3 as the losing bonus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (played VARCHAR, losing_bonus VARCHAR)
SELECT played FROM table_name_91 WHERE losing_bonus = "3"
Write a SQL query that answers the following question: What is the try bonus that has llangefni rfc as the club?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (try_bonus VARCHAR, club VARCHAR)
SELECT try_bonus FROM table_name_22 WHERE club = "llangefni rfc"
Write a SQL query that answers the following question: What played has 247 as the points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (played VARCHAR, points_for VARCHAR)
SELECT played FROM table_name_63 WHERE points_for = "247"
Write a SQL query that answers the following question: What try bonus has 19 as the tries against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (try_bonus VARCHAR, tries_against VARCHAR)
SELECT try_bonus FROM table_name_17 WHERE tries_against = "19"
Write a SQL query that answers the following question: What points has 18 for the played and bala rfc as the club?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (points_for VARCHAR, played VARCHAR, club VARCHAR)
SELECT points_for FROM table_name_31 WHERE played = "18" AND club = "bala rfc"
Write a SQL query that answers the following question: What try bonus has 18 as the played of and 204 as the points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (try_bonus VARCHAR, played VARCHAR, points_for VARCHAR)
SELECT try_bonus FROM table_name_83 WHERE played = "18" AND points_for = "204"
Write a SQL query that answers the following question: What record has montreal as the visitor, and february 2 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_4 WHERE visitor = "montreal" AND date = "february 2"
Write a SQL query that answers the following question: What record has February 25 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_7 WHERE date = "february 25"
Write a SQL query that answers the following question: What date has boston as the visitor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_21 WHERE visitor = "boston"
Write a SQL query that answers the following question: What score has vancouver as the home, and february 16 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_81 WHERE home = "vancouver" AND date = "february 16"
Write a SQL query that answers the following question: Team of corinthians, and a Lost larger than 15 has which highest drawn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (drawn INTEGER, team VARCHAR, lost VARCHAR)
SELECT MAX(drawn) FROM table_name_80 WHERE team = "corinthians" AND lost > 15
Write a SQL query that answers the following question: Difference of - 20, and a Position smaller than 17 is the highest against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (against INTEGER, difference VARCHAR, position VARCHAR)
SELECT MAX(against) FROM table_name_47 WHERE difference = "- 20" AND position < 17
Write a SQL query that answers the following question: Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR)
SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38
Write a SQL query that answers the following question: Which score was for Toronto Maple Leafs at home on November 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12"
Write a SQL query that answers the following question: Which home team had a visitor of Chicago Black Hawks with a score of 2–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (home VARCHAR, visitor VARCHAR, score VARCHAR)
SELECT home FROM table_name_87 WHERE visitor = "chicago black hawks" AND score = "2–3"
Write a SQL query that answers the following question: Who was home on November 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_73 WHERE date = "november 26"
Write a SQL query that answers the following question: What was the visitor with a record of 5–8–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_10 WHERE record = "5–8–4"
Write a SQL query that answers the following question: What was the average rank of a player with more than 52 points, fewer than 10 draws, a goal loss under 44, and a loss under 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (rank INTEGER, lose VARCHAR, goal_loss VARCHAR, point VARCHAR, draw VARCHAR)
SELECT AVG(rank) FROM table_name_66 WHERE point > 52 AND draw < 10 AND goal_loss < 44 AND lose < 15
Write a SQL query that answers the following question: What was the highest number of lose for a player named Santos with more than 45 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (lose INTEGER, name VARCHAR, point VARCHAR)
SELECT MAX(lose) FROM table_name_88 WHERE name = "santos" AND point > 45
Write a SQL query that answers the following question: What report has a score of 0-0 with Sydney FC?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT report FROM table_name_49 WHERE score = "0-0" AND away_team = "sydney fc"
Write a SQL query that answers the following question: On what date was the score 0-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_33 WHERE score = "0-0"
Write a SQL query that answers the following question: Which home team had the score 1-3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home_team VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_6 WHERE score = "1-3"
Write a SQL query that answers the following question: Where did the away team have round 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_71 WHERE away_team = "round 2"
Write a SQL query that answers the following question: When did the venue of round 3 happen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_23 WHERE venue = "round 3"
Write a SQL query that answers the following question: What is the lowest density of a town with a 13,708 2011 population census ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (density INTEGER, population_2011_census VARCHAR)
SELECT MIN(density) FROM table_name_74 WHERE population_2011_census = 13 OFFSET 708
Write a SQL query that answers the following question: specific orbital energy of βˆ’29.8 mj/kg has what orbit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (orbit VARCHAR, specific_orbital_energy VARCHAR)
SELECT orbit FROM table_name_14 WHERE specific_orbital_energy = "βˆ’29.8 mj/kg"
Write a SQL query that answers the following question: Orbital period of 89 to 128 min has what specific orbital energy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (specific_orbital_energy VARCHAR, orbital_period VARCHAR)
SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = "89 to 128 min"
Write a SQL query that answers the following question: center-to-center distance of 6,900 to 46,300 km involves which orbital period?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (orbital_period VARCHAR, center_to_center_distance VARCHAR)
SELECT orbital_period FROM table_name_69 WHERE center_to_center_distance = "6,900 to 46,300 km"
Write a SQL query that answers the following question: What was the lowest FA Cup for a Malaysia Cup of 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (fa_cup INTEGER, malaysia_cup INTEGER)
SELECT MIN(fa_cup) FROM table_name_64 WHERE malaysia_cup < 0
Write a SQL query that answers the following question: What is Zamri Hassan's lowest Malaysia Cup when there were an FA Cup of 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (malaysia_cup INTEGER, player VARCHAR, fa_cup VARCHAR)
SELECT MIN(malaysia_cup) FROM table_name_74 WHERE player = "zamri hassan" AND fa_cup < 0
Write a SQL query that answers the following question: What is the lowest league for the Malaysia Cup when it was larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (league INTEGER, malaysia_cup INTEGER)
SELECT MIN(league) FROM table_name_98 WHERE malaysia_cup > 0
Write a SQL query that answers the following question: How many Bronze medals did Switzerland with less than 3 Silver medals receive?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3
Write a SQL query that answers the following question: What is the least amount of Silver medals that have more than 3 Bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (silver INTEGER, bronze INTEGER)
SELECT MIN(silver) FROM table_name_39 WHERE bronze > 3
Write a SQL query that answers the following question: What is the average game for March 8 with less than 84 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (game INTEGER, points VARCHAR, march VARCHAR)
SELECT AVG(game) FROM table_name_23 WHERE points < 84 AND march = 8
Write a SQL query that answers the following question: What is the latest in March when the record of 35–16–6–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (march INTEGER, record VARCHAR)
SELECT MAX(march) FROM table_name_34 WHERE record = "35–16–6–3"
Write a SQL query that answers the following question: Name the competition for score of 3-0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_42 WHERE score = "3-0"
Write a SQL query that answers the following question: Name the competition for september 10, 2008
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_21 WHERE date = "september 10, 2008"
Write a SQL query that answers the following question: Name the sscore for world cup qualifying october 15, 2008
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE competition = "world cup qualifying" AND date = "october 15, 2008"
Write a SQL query that answers the following question: Name the competition for november 19, 2008
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_82 WHERE date = "november 19, 2008"
Write a SQL query that answers the following question: Name the date for rio de janeiro
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_55 WHERE city = "rio de janeiro"
Write a SQL query that answers the following question: What number is Fall 08 from the state with 57 in Fall 06 and 74 or less in Fall 05?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (fall_08 VARCHAR, fall_06 VARCHAR, fall_05 VARCHAR)
SELECT COUNT(fall_08) FROM table_name_52 WHERE fall_06 = 57 AND fall_05 < 74
Write a SQL query that answers the following question: What number is Fall 06 from the state with 79 or less in Fall 08, 36 or greater in Fall 07 and greater than 74 in Fall 05?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (fall_06 INTEGER, fall_05 VARCHAR, fall_08 VARCHAR, fall_07 VARCHAR)
SELECT AVG(fall_06) FROM table_name_92 WHERE fall_08 < 79 AND fall_07 > 36 AND fall_05 > 74
Write a SQL query that answers the following question: What number is Fall 06 from the state with 34 for Fall 09?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (fall_06 INTEGER, fall_09 VARCHAR)
SELECT AVG(fall_06) FROM table_name_97 WHERE fall_09 = 34
Write a SQL query that answers the following question: What was the record when the visitor was toronto maple leafs and the score was 3–10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (record VARCHAR, visitor VARCHAR, score VARCHAR)
SELECT record FROM table_name_67 WHERE visitor = "toronto maple leafs" AND score = "3–10"
Write a SQL query that answers the following question: What was the score when the visitor was toronto maple leafs on march 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_53 WHERE visitor = "toronto maple leafs" AND date = "march 22"
Write a SQL query that answers the following question: What was the Visitor when the home was toronto maple leafs and the score was 4–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (visitor VARCHAR, home VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_63 WHERE home = "toronto maple leafs" AND score = "4–1"
Write a SQL query that answers the following question: How many total episodes aired over all seasons with 7.79 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (episode_count VARCHAR, viewers__in_millions_ VARCHAR)
SELECT COUNT(episode_count) FROM table_name_86 WHERE viewers__in_millions_ = 7.79
Write a SQL query that answers the following question: Was the semi-final round held at home or away?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (h___a VARCHAR, round VARCHAR)
SELECT h___a FROM table_name_53 WHERE round = "semi-final"
Write a SQL query that answers the following question: Which opponent made it to the final round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (opponents VARCHAR, round VARCHAR)
SELECT opponents FROM table_name_33 WHERE round = "final"
Write a SQL query that answers the following question: What was the result of the game played in hurst?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (result_f___a VARCHAR, h___a VARCHAR)
SELECT result_f___a FROM table_name_39 WHERE h___a = "hurst"
Write a SQL query that answers the following question: When did the game in whalley range take place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (date VARCHAR, h___a VARCHAR)
SELECT date FROM table_name_87 WHERE h___a = "whalley range"
Write a SQL query that answers the following question: Which ERP W is the lowest one that has a Frequency MHz of 91.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (erp_w INTEGER, frequency_mhz VARCHAR)
SELECT MIN(erp_w) FROM table_name_58 WHERE frequency_mhz = 91.3
Write a SQL query that answers the following question: Which Class has a Frequency MHz of 107.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (class VARCHAR, frequency_mhz VARCHAR)
SELECT class FROM table_name_76 WHERE frequency_mhz = 107.5
Write a SQL query that answers the following question: Which Frequency MHz is the highest one that has a City of license of byron, ga?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (frequency_mhz INTEGER, city_of_license VARCHAR)
SELECT MAX(frequency_mhz) FROM table_name_38 WHERE city_of_license = "byron, ga"
Write a SQL query that answers the following question: Which FCC info has a Call sign of wsja?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (fcc_info VARCHAR, call_sign VARCHAR)
SELECT fcc_info FROM table_name_75 WHERE call_sign = "wsja"
Write a SQL query that answers the following question: Which District has a Party of republican and a Result of lost re-election democratic gain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (district VARCHAR, party VARCHAR, result VARCHAR)
SELECT district FROM table_name_82 WHERE party = "republican" AND result = "lost re-election democratic gain"
Write a SQL query that answers the following question: What is First elected that has republican Party and a Result of retired democratic gain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (first_elected VARCHAR, party VARCHAR, result VARCHAR)
SELECT first_elected FROM table_name_61 WHERE party = "republican" AND result = "retired democratic gain"
Write a SQL query that answers the following question: What is the First elected of california 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (first_elected VARCHAR, district VARCHAR)
SELECT first_elected FROM table_name_55 WHERE district = "california 3"
Write a SQL query that answers the following question: Which Incumbent has a Result of retired democratic gain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (incumbent VARCHAR, result VARCHAR)
SELECT incumbent FROM table_name_35 WHERE result = "retired democratic gain"
Write a SQL query that answers the following question: Which First elected has a Incumbent of none (new seat)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_name_15 WHERE incumbent = "none (new seat)"
Write a SQL query that answers the following question: What is the First elected that has a republican party and california 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)
SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4"
Write a SQL query that answers the following question: What was the result when Dundee was the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_74 WHERE opponent = "dundee"
Write a SQL query that answers the following question: Who entered on day 1 and exited on day 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (celebrity VARCHAR, entered VARCHAR, exited VARCHAR)
SELECT celebrity FROM table_name_94 WHERE entered = "day 1" AND exited = "day 20"
Write a SQL query that answers the following question: When did lucy benjamin exit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (exited VARCHAR, celebrity VARCHAR)
SELECT exited FROM table_name_18 WHERE celebrity = "lucy benjamin"
Write a SQL query that answers the following question: When did camilla dallerup finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (finished VARCHAR, celebrity VARCHAR)
SELECT finished FROM table_name_84 WHERE celebrity = "camilla dallerup"
Write a SQL query that answers the following question: When did kim woodburn enter?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (entered VARCHAR, celebrity VARCHAR)
SELECT entered FROM table_name_92 WHERE celebrity = "kim woodburn"
Write a SQL query that answers the following question: What was the score of the game with a record of 37–26–9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_5 WHERE record = "37–26–9"
Write a SQL query that answers the following question: What was the score of the game with a record of 33–25–9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_13 WHERE record = "33–25–9"
Write a SQL query that answers the following question: Loss of francis (4–9) has what highest attendance figure?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (attendance INTEGER, loss VARCHAR)
SELECT MAX(attendance) FROM table_name_45 WHERE loss = "francis (4–9)"
Write a SQL query that answers the following question: Loss of de la rosa (8–8) has what average attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (attendance INTEGER, loss VARCHAR)
SELECT AVG(attendance) FROM table_name_97 WHERE loss = "de la rosa (8–8)"
Write a SQL query that answers the following question: Loss of francis (4–10) happened on what date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_71 WHERE loss = "francis (4–10)"
Write a SQL query that answers the following question: What was the score on 8 September 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "8 september 1999"
Write a SQL query that answers the following question: What was the result on 16 November 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_34 WHERE date = "16 november 2003"
Write a SQL query that answers the following question: Which Set 1 has a Set 2 of 26–24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (set_1 VARCHAR, set_2 VARCHAR)
SELECT set_1 FROM table_name_77 WHERE set_2 = "26–24"
Write a SQL query that answers the following question: Which Set 2 has a Date of 25 may, and a Set 3 of 21–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR)
SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21–25"
Write a SQL query that answers the following question: Which Date has a Set 3 of 21–25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, set_3 VARCHAR)
SELECT date FROM table_name_55 WHERE set_3 = "21–25"
Write a SQL query that answers the following question: Which Set 1 has a Date of 24 may, and a Total of 57–75?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (set_1 VARCHAR, date VARCHAR, total VARCHAR)
SELECT set_1 FROM table_name_37 WHERE date = "24 may" AND total = "57–75"
Write a SQL query that answers the following question: Which Set 2 has a Set 1 of 25–15, and a Score of 3–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR)
SELECT set_2 FROM table_name_41 WHERE set_1 = "25–15" AND score = "3–0"
Write a SQL query that answers the following question: Which Total has a Set 1 of 25–22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (total VARCHAR, set_1 VARCHAR)
SELECT total FROM table_name_12 WHERE set_1 = "25–22"
Write a SQL query that answers the following question: What was the segment b for Netflix s01e21?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (segment_b VARCHAR, netflix VARCHAR)
SELECT segment_b FROM table_name_34 WHERE netflix = "s01e21"
Write a SQL query that answers the following question: What segment d is associated with an episode number above 16 and a segment c of laser eye surgery?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (segment_d VARCHAR, episode VARCHAR, segment_c VARCHAR)
SELECT segment_d FROM table_name_33 WHERE episode > 16 AND segment_c = "laser eye surgery"
Write a SQL query that answers the following question: What team had less than 291 total points whole having 76 bronze and over 21 gold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_67 WHERE gold > 21 AND bronze = 76 AND total < 291
Write a SQL query that answers the following question: What was the average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76
Write a SQL query that answers the following question: On what date was the team's record 61-66?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_28 WHERE record = "61-66"
Write a SQL query that answers the following question: At what time was the game when they played the White Sox and had a record of 63-70?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (time VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT time FROM table_name_81 WHERE opponent = "white sox" AND record = "63-70"
Write a SQL query that answers the following question: What shows for gold when bronze is 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (gold VARCHAR, bronze VARCHAR)
SELECT gold FROM table_name_28 WHERE bronze = 1
Write a SQL query that answers the following question: What is the gold number when the total is less than 8, silver less than 1 and the rank is more than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT COUNT(gold) FROM table_name_40 WHERE total < 8 AND silver < 1 AND rank > 7
Write a SQL query that answers the following question: What is the average Total for the Rank of 6, when Silver is smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_36 WHERE rank = 6 AND silver < 0