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