text
stringlengths
293
1.24k
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (county VARCHAR, ihsaa_class VARCHAR, location VARCHAR) ### Question: What is the county with an AA IHSAA class in ferdinand? ### Answer: SELECT county FROM table_name_90 WHERE ihsaa_class = "aa" AND location = "ferdinand"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_52 (type VARCHAR, settlement VARCHAR) ### Question: What is the type when the settlement is subotište? ### Answer: SELECT type FROM table_2562572_52 WHERE settlement = "Subotište"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE laptimes (driverid VARCHAR, milliseconds VARCHAR); CREATE TABLE drivers (forename VARCHAR, surname VARCHAR, driverid VARCHAR) ### Question: What are the forename and surname of the driver who has the smallest laptime? ### Answer: SELECT T1.forename, T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid ORDER BY T2.milliseconds LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (team VARCHAR, ratt VARCHAR) ### Question: What was the team with a Ratt of 42? ### Answer: SELECT team FROM table_name_73 WHERE ratt = "42"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19439814_1 (girl_group VARCHAR, studio_albums VARCHAR) ### Question: What group had 29 studio albums? ### Answer: SELECT girl_group FROM table_19439814_1 WHERE studio_albums = 29
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (british_name VARCHAR, american_name VARCHAR) ### Question: what is the british name when the american name is sixteenth note? ### Answer: SELECT british_name FROM table_name_50 WHERE american_name = "sixteenth note"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24334163_1 (Winners INTEGER) ### Question: What is the least amount of playoff legs won? ### Answer: SELECT MIN(Winners) AS play_off_legs_won FROM table_24334163_1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (college VARCHAR, position VARCHAR, cfl_team VARCHAR) ### Question: What is the College with a Position of db, and the CFL Team was Winnipeg Blue Bombers? ### Answer: SELECT college FROM table_name_59 WHERE position = "db" AND cfl_team = "winnipeg blue bombers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE scientists (Name VARCHAR, ssn VARCHAR, scientist VARCHAR); CREATE TABLE AssignedTo (Name VARCHAR, ssn VARCHAR, scientist VARCHAR) ### Question: Find the name of scientists who are not assigned to any project. ### Answer: SELECT Name FROM scientists WHERE NOT ssn IN (SELECT scientist FROM AssignedTo)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25691838_8 (guest VARCHAR, original_airdate VARCHAR) ### Question: Who were the guests on the episode that first aired August 16? ### Answer: SELECT guest FROM table_25691838_8 WHERE original_airdate = "August 16"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR) ### Question: If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version? ### Answer: SELECT version FROM table_2263152_1 WHERE features = "Service release" AND distribution_mechanism = "Windows NT 4.0 Option Pack Microsoft Office 97"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (competition VARCHAR, year VARCHAR) ### Question: Which Competition has a Year of 1993? ### Answer: SELECT competition FROM table_name_30 WHERE year = 1993
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (d_41_√ VARCHAR, d_47_√ VARCHAR) ### Question: What is the D 41 √ when the D 47 √ is r 34 o? ### Answer: SELECT d_41_√ FROM table_name_24 WHERE d_47_√ = "r 34 o"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30058355_2 (sat_20_aug VARCHAR, fri_26_aug VARCHAR) ### Question: What shows for sat 20 aug when fri 26 aug is 19' 30.70 116.023mph? ### Answer: SELECT sat_20_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, chassis VARCHAR, engine VARCHAR) ### Question: What is the highest points for the JBW chassis with a climax straight-4 engine, later than 1961? ### Answer: SELECT MAX(points) FROM table_name_53 WHERE chassis = "jbw" AND engine = "climax straight-4" AND year > 1961
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (total INTEGER, gold INTEGER) ### Question: What is the average Total, when Gold is less than 0? ### Answer: SELECT AVG(total) FROM table_name_12 WHERE gold < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24039597_26 (stumped INTEGER, matches VARCHAR) ### Question: What is stumped when matches is 14? ### Answer: SELECT MIN(stumped) FROM table_24039597_26 WHERE matches = 14
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (scorers VARCHAR, ground VARCHAR, date VARCHAR) ### Question: Who are the scorers on 1 August 2008, where the ground was A? ### Answer: SELECT scorers FROM table_name_34 WHERE ground = "a" AND date = "1 august 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (record VARCHAR, match_report VARCHAR, result VARCHAR) ### Question: Which Record has a Match Report of recap, and a Result of l 30–20? ### Answer: SELECT record FROM table_name_92 WHERE match_report = "recap" AND result = "l 30–20"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (gold INTEGER, total VARCHAR, bronze VARCHAR) ### Question: For countries with total number of medals less than 5 and more than 2 bronze medals, what's the lowest number of gold medals? ### Answer: SELECT MIN(gold) FROM table_name_92 WHERE total < 5 AND bronze > 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (venue VARCHAR, competition VARCHAR, notes VARCHAR) ### Question: What venue hsoted the european cross country championships with a notes of junior men individual 6.595km? ### Answer: SELECT venue FROM table_name_20 WHERE competition = "european cross country championships" AND notes = "junior men individual 6.595km"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (wicket VARCHAR, date VARCHAR) ### Question: Name the wicket for 19-03-2007 ### Answer: SELECT wicket FROM table_name_59 WHERE date = "19-03-2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (tournament VARCHAR) ### Question: What is 2011, when 2006 is "A", when 2008 is "A", and when Tournament is "Rome"? ### Answer: SELECT 2011 FROM table_name_19 WHERE 2006 = "a" AND 2008 = "a" AND tournament = "rome"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR) ### Question: Which model number does bombardier manufacture? ### Answer: SELECT model_no FROM table_name_28 WHERE manufacturer = "bombardier"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (team VARCHAR, college VARCHAR) ### Question: What is the Team for Stanford College? ### Answer: SELECT team FROM table_name_87 WHERE college = "stanford"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2468961_2 (no_in_series INTEGER, original_air_date VARCHAR) ### Question: What episode number in the series originally aired on February 28, 1992? ### Answer: SELECT MIN(no_in_series) FROM table_2468961_2 WHERE original_air_date = "February 28, 1992"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (Id VARCHAR) ### Question: What shows for 2009 when 2008 is A, 2012 is 1r, 2010 is q2, and 2011 is 2r? ### Answer: SELECT 2009 FROM table_name_98 WHERE 2008 = "a" AND 2012 = "1r" AND 2010 = "q2" AND 2011 = "2r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (goals_conceded VARCHAR, wins VARCHAR, draws VARCHAR) ### Question: What is the total number of goals of the club with 4 wins and less than 0 draws? ### Answer: SELECT COUNT(goals_conceded) FROM table_name_45 WHERE wins = 4 AND draws < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, bronze VARCHAR) ### Question: Which Gold has a Total of 2998, and a Bronze smaller than 1191? ### Answer: SELECT AVG(gold) FROM table_name_68 WHERE total = 2998 AND bronze < 1191
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (round VARCHAR, opposing_team VARCHAR, against VARCHAR) ### Question: What is the Round against Gillingham with an Against smaller than 3? ### Answer: SELECT round FROM table_name_40 WHERE opposing_team = "gillingham" AND against < 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24925945_3 (previous_school VARCHAR, height VARCHAR) ### Question: What was the previous school of the ft7in (m) tall player? ### Answer: SELECT previous_school FROM table_24925945_3 WHERE height = "ft7in (m)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (name VARCHAR, license VARCHAR, actual_version VARCHAR) ### Question: What name has a License of gpl, and an Actual version of 0.8.29wip4? ### Answer: SELECT name FROM table_name_46 WHERE license = "gpl" AND actual_version = "0.8.29wip4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21436373_12 (stadium VARCHAR, date_year VARCHAR) ### Question: where was sun 09/12/93 record made ### Answer: SELECT stadium FROM table_21436373_12 WHERE date_year = "Sun 09/12/93"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR) ### Question: what is the home team when the away team is frickley colliery? ### Answer: SELECT home_team FROM table_name_17 WHERE away_team = "frickley colliery"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (player VARCHAR, school_club_team VARCHAR) ### Question: Who is the player who went to school at Tampa? ### Answer: SELECT player FROM table_name_91 WHERE school_club_team = "tampa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (year VARCHAR, extra VARCHAR, result VARCHAR) ### Question: What year has an extra of 8, and a result of 3rd? ### Answer: SELECT year FROM table_name_12 WHERE extra = 8 AND result = "3rd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (bills_points INTEGER, date VARCHAR) ### Question: What were the Bills points on Nov. 11? ### Answer: SELECT SUM(bills_points) FROM table_name_54 WHERE date = "nov. 11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (units_sold_in_the_us VARCHAR, units_sold_in_japan VARCHAR) ### Question: How many units were sold in the US of the game that sold 346,000 units in japan? ### Answer: SELECT units_sold_in_the_us FROM table_name_72 WHERE units_sold_in_japan = "346,000"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR) ### Question: What's the number & name for the description peckett 0-4-0st? ### Answer: SELECT number_ & _name FROM table_name_72 WHERE description = "peckett 0-4-0st"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1429629_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR) ### Question: What are all the run times with 8.2 million viewers? ### Answer: SELECT run_time FROM table_1429629_1 WHERE viewers__in_millions_ = "8.2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23214055_2 (ezhavas VARCHAR, syrian_christians VARCHAR) ### Question: Name the ezhavas and syrian christians being 26.2 ### Answer: SELECT ezhavas FROM table_23214055_2 WHERE syrian_christians = "26.2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (surface VARCHAR, tournament VARCHAR) ### Question: What is the surface when the tournament is manta, ecuador? ### Answer: SELECT surface FROM table_name_95 WHERE tournament = "manta, ecuador"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341640_11 (party VARCHAR, candidates VARCHAR) ### Question: How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? ### Answer: SELECT COUNT(party) FROM table_1341640_11 WHERE candidates = "Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE institution (TYPE VARCHAR, founded VARCHAR, enrollment VARCHAR) ### Question: Show the institution type with an institution founded after 1990 and an institution with at least 1000 enrollment. ### Answer: SELECT TYPE FROM institution WHERE founded > 1990 AND enrollment >= 1000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1474099_6 (season VARCHAR, goals VARCHAR, runners_up VARCHAR) ### Question: When the team scored 17 and Slavija placed second, what year was it? ### Answer: SELECT season FROM table_1474099_6 WHERE goals = 17 AND runners_up = "Slavija"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR) ### Question: What is the Name of the Multiple Type museum in Anchorage? ### Answer: SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (name VARCHAR, sport VARCHAR, event VARCHAR) ### Question: What is the name of the player who competed in the Women's Individual Class 3 in Table Tennis? ### Answer: SELECT name FROM table_name_38 WHERE sport = "table tennis" AND event = "women's individual class 3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR) ### Question: How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver? ### Answer: SELECT AVG(gold) FROM table_name_73 WHERE bronze > 6 AND silver > 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (recorded VARCHAR, translation VARCHAR) ### Question: Name the recorded for translation of sleep my love, good night ### Answer: SELECT recorded FROM table_name_16 WHERE translation = "sleep my love, good night"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR) ### Question: How many Laps Did Driver David Coulthard have on a Grid smaller than 11? ### Answer: SELECT laps FROM table_name_89 WHERE grid < 11 AND driver = "david coulthard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR) ### Question: What away team did Horsham play? ### Answer: SELECT away_team FROM table_name_30 WHERE home_team = "horsham"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10470082_8 (us_air_date VARCHAR, writer VARCHAR) ### Question: When did the episode written by Jim Morris air? ### Answer: SELECT us_air_date FROM table_10470082_8 WHERE writer = "Jim Morris"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27616663_1 (result VARCHAR, original_artist VARCHAR) ### Question: What was the result of the performance of the song by Caetano Veloso? ### Answer: SELECT result FROM table_27616663_1 WHERE original_artist = "Caetano Veloso"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15081939_4 (average VARCHAR, evening_gown VARCHAR) ### Question: How many averages for the province with evening gown score of 8.00 ### Answer: SELECT COUNT(average) FROM table_15081939_4 WHERE evening_gown = "8.00"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (venue VARCHAR, notes VARCHAR, year VARCHAR) ### Question: Which Venue has a Notes of heptathlon, and a Year of 1991? ### Answer: SELECT venue FROM table_name_20 WHERE notes = "heptathlon" AND year = 1991
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE elimination (Team VARCHAR) ### Question: Show different teams in eliminations and the number of eliminations from each team. ### Answer: SELECT Team, COUNT(*) FROM elimination GROUP BY Team
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR) ### Question: Which record has tko (strikes) as the method, and daan kooiman as the opponent? ### Answer: SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (revenue__ INTEGER, team VARCHAR, rank VARCHAR) ### Question: Name the highest revenue for schalke 04 with rank less than 10 ### Answer: SELECT MAX(revenue__) AS $m_ FROM table_name_44 WHERE team = "schalke 04" AND rank < 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25146455_1 (series VARCHAR, driver VARCHAR) ### Question: In what series did Bobby Labonte drive? ### Answer: SELECT series FROM table_25146455_1 WHERE driver = "Bobby Labonte"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (opponents VARCHAR, djurgården_scorers VARCHAR) ### Question: What are the Opponents that have Djurgården scorers of sjölund (2)? ### Answer: SELECT opponents FROM table_name_43 WHERE djurgården_scorers = "sjölund (2)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17360840_6 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on December 27? ### Answer: SELECT opponent FROM table_17360840_6 WHERE date = "December 27"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (date INTEGER, surface VARCHAR, championship VARCHAR) ### Question: What is the earliest Date on a Surface of clay in a Championship in Linz, Austria? ### Answer: SELECT MIN(date) FROM table_name_15 WHERE surface = "clay" AND championship = "linz, austria"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (score VARCHAR, away_team VARCHAR, date VARCHAR) ### Question: With a date of Aldershot and Aldershot as the away team what was the score of the game? ### Answer: SELECT score FROM table_name_27 WHERE away_team = "aldershot" AND date = "aldershot"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR) ### Question: Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul? ### Answer: SELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = "ron paul"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17360840_4 (game VARCHAR, record VARCHAR) ### Question: How many games with record 1-3-3 ### Answer: SELECT COUNT(game) FROM table_17360840_4 WHERE record = "1-3-3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (city_of_license VARCHAR, call_sign VARCHAR) ### Question: What city does call sign K248am have its license in? ### Answer: SELECT city_of_license FROM table_name_54 WHERE call_sign = "k248am"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (opponent VARCHAR, record VARCHAR) ### Question: Who was the Blue Jays opponent when their record was 84-69? ### Answer: SELECT opponent FROM table_name_18 WHERE record = "84-69"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27274222_2 (valid_votes VARCHAR, province VARCHAR) ### Question: When Denizli was the province, what was the total number of valid votes? ### Answer: SELECT COUNT(valid_votes) FROM table_27274222_2 WHERE province = "Denizli"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (Id VARCHAR) ### Question: What is the highest 1987 value with a 1995 value less than 1995 and a 1999 less than 9? ### Answer: SELECT MAX(1987) FROM table_name_48 WHERE 1995 < 1995 AND 1999 < 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR) ### Question: Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa? ### Answer: SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR) ### Question: Which stadium has a payout of $3 million? ### Answer: SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = "$3 Million"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR) ### Question: How many entries for start of stage occur in the year 2006? ### Answer: SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (fat32 VARCHAR, ntfs VARCHAR) ### Question: Which FAT32 has yes v1.0/v1.1 for NTFS? ### Answer: SELECT fat32 FROM table_name_31 WHERE ntfs = "yes v1.0/v1.1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR) ### Question: Please show the name of the conductor that has conducted orchestras founded after 2008. ### Answer: SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR) ### Question: What are the played points difference? ### Answer: SELECT played FROM table_name_82 WHERE points_difference = "points difference"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24334261_1 (founded INTEGER, team VARCHAR) ### Question: What is the maximum founded year of the Worcester Tornadoes? ### Answer: SELECT MAX(founded) FROM table_24334261_1 WHERE team = "Worcester Tornadoes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11734041_16 (player VARCHAR, no_s_ VARCHAR) ### Question: Which players were number 3? ### Answer: SELECT player FROM table_11734041_16 WHERE no_s_ = "3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11602313_4 (release_date VARCHAR, sspec_number VARCHAR) ### Question: What is the release date for the model with sspec number sla4h(m0)? ### Answer: SELECT release_date FROM table_11602313_4 WHERE sspec_number = "SLA4H(M0)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (points INTEGER, class VARCHAR, wins VARCHAR) ### Question: What is the average number of points for a team in the 250cc class with fewer than 0 wins? ### Answer: SELECT AVG(points) FROM table_name_96 WHERE class = "250cc" AND wins < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) ### Question: Name the institution for purple aces ### Answer: SELECT institution FROM table_24216139_2 WHERE nickname = "Purple Aces"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) ### Question: What was the district Incumbent Julius Kahn was in that was smaller than 1906? ### Answer: SELECT district FROM table_name_74 WHERE first_elected < 1906 AND incumbent = "julius kahn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (year_left INTEGER, school VARCHAR, year_joined VARCHAR) ### Question: Which Year Left is the lowest one that has a School of calumet, and a Year Joined larger than 1993? ### Answer: SELECT MIN(year_left) FROM table_name_13 WHERE school = "calumet" AND year_joined > 1993
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR) ### Question: Who is the driver when the tyre is p and the entrant is officine alfieri maserati? ### Answer: SELECT driver FROM table_name_10 WHERE tyre = "p" AND entrant = "officine alfieri maserati"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (country VARCHAR, player VARCHAR, to_par VARCHAR, score VARCHAR) ### Question: When Rocco Mediate has a To par of +2 and a 69-73=142 score, what is the country listed? ### Answer: SELECT country FROM table_name_36 WHERE to_par = "+2" AND score = 69 - 73 = 142 AND player = "rocco mediate"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_49 (game INTEGER, opponent VARCHAR, february VARCHAR) ### Question: What is the game number when the Toronto Maple Leafs were the opponent, and the February was less than 17? ### Answer: SELECT AVG(game) FROM table_name_49 WHERE opponent = "toronto maple leafs" AND february < 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20170644_5 (player VARCHAR, cfl_team VARCHAR) ### Question: What player(s) drafted by the hamilton tiger-cats? ### Answer: SELECT player FROM table_20170644_5 WHERE cfl_team = "Hamilton Tiger-Cats"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR) ### Question: What is the highest number of fai space flights when max mach is 5.65? ### Answer: SELECT MAX(fai_space_flights) FROM table_221315_3 WHERE max_mach = "5.65"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR) ### Question: What was the result of the game on January 5, 1926? ### Answer: SELECT result FROM table_name_79 WHERE date = "january 5, 1926"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (rank VARCHAR, player VARCHAR) ### Question: What rank has Bill Ponsford (vic) as the player? ### Answer: SELECT rank FROM table_name_82 WHERE player = "bill ponsford (vic)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (game VARCHAR, november VARCHAR, points VARCHAR) ### Question: How many games have November 7 as the date, and points greater than 17? ### Answer: SELECT COUNT(game) FROM table_name_31 WHERE november = 7 AND points > 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (position VARCHAR, overall VARCHAR, player VARCHAR) ### Question: What position was less than 421 overall played by Matt Clark? ### Answer: SELECT position FROM table_name_28 WHERE overall < 421 AND player = "matt clark"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE airports (name VARCHAR) ### Question: Find the number of airports whose name contain the word 'International'. ### Answer: SELECT COUNT(*) FROM airports WHERE name LIKE '%International%'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (series VARCHAR, title VARCHAR) ### Question: What's the series of Kiss Me Cat? ### Answer: SELECT series FROM table_name_80 WHERE title = "kiss me cat"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (notes VARCHAR, built VARCHAR) ### Question: What are the Notes of the Mill Built in the 19th Century? ### Answer: SELECT notes FROM table_name_27 WHERE built = "19th century"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (song VARCHAR, artist VARCHAR) ### Question: What song is done by Terence Trent D'Arby? ### Answer: SELECT song FROM table_name_24 WHERE artist = "terence trent d'arby"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher? ### Answer: SELECT time FROM table_name_83 WHERE laps = 19 AND grid > 19 AND manufacturer = "ktm" AND rider = "randy krummenacher"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR) ### Question: What is the Street Address of the Building with 17 Floors? ### Answer: SELECT street_address FROM table_name_70 WHERE floors = 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (against INTEGER, opposing_teams VARCHAR, venue VARCHAR, status VARCHAR) ### Question: What is the lowest Against, when Venue is "Twickenham , London", when Status is "Six Nations", and when Opposing Teams is "France"? ### Answer: SELECT MIN(against) FROM table_name_78 WHERE venue = "twickenham , london" AND status = "six nations" AND opposing_teams = "france"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (Id VARCHAR) ### Question: What is the listing for 2009 when 1989 is less than 0? ### Answer: SELECT SUM(2009) FROM table_name_5 WHERE 1989 < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (label VARCHAR, region VARCHAR) ### Question: What was the label in Japan? ### Answer: SELECT label FROM table_name_14 WHERE region = "japan"