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_24330803_1 (wins INTEGER, series VARCHAR) ### Question: What is the maximum number of wins in the formula 3 euro series? ### Answer: SELECT MAX(wins) FROM table_24330803_1 WHERE series = "Formula 3 Euro series"
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 (total INTEGER, year_s__won VARCHAR) ### Question: What is the sum of the total of the player who won in 1979? ### Answer: SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979"
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_55 (overall INTEGER, round VARCHAR) ### Question: What is the overall sum of round 3? ### Answer: SELECT SUM(overall) FROM table_name_55 WHERE round = 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_40 (round VARCHAR, name VARCHAR) ### Question: Which round's name is Jonathan Massaquoi? ### Answer: SELECT round FROM table_name_40 WHERE name = "jonathan massaquoi"
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 (opponent VARCHAR, date VARCHAR) ### Question: What was the opponent on october 28? ### Answer: SELECT opponent FROM table_name_24 WHERE date = "october 28"
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_26 (age_groups VARCHAR, competition_name VARCHAR) ### Question: What are the age groups for the Big League World Series? ### Answer: SELECT age_groups FROM table_name_26 WHERE competition_name = "big league world series"
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_63 (agg VARCHAR, team_1 VARCHAR) ### Question: What is Agg., when Team 1 is CD Elá Nguema? ### Answer: SELECT agg FROM table_name_63 WHERE team_1 = "cd elá nguema"
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 (december INTEGER, record VARCHAR) ### Question: Which December has a Record of 21–6–5? ### Answer: SELECT AVG(december) FROM table_name_59 WHERE record = "21–6–5"
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_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR) ### Question: When did the no. 23 show originally air? ### Answer: SELECT original_air_date FROM table_10718984_2 WHERE no_in_season = 23
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 injury_accident (id VARCHAR, game_id VARCHAR); CREATE TABLE game (id VARCHAR, game_id VARCHAR) ### Question: How many games are free of injury accidents? ### Answer: SELECT COUNT(*) FROM game WHERE NOT id IN (SELECT game_id FROM injury_accident)
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_25 (loss VARCHAR, record VARCHAR) ### Question: Who was the loss in the game with the record of 65-53? ### Answer: SELECT loss FROM table_name_25 WHERE record = "65-53"
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_61 (round VARCHAR, player VARCHAR) ### Question: What was the total rounds Travis Hamonic played? ### Answer: SELECT COUNT(round) FROM table_name_61 WHERE player = "travis hamonic"
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_19018191_5 (l_apps VARCHAR, total_g VARCHAR) ### Question: Name the number of apps for total g is 8 ### Answer: SELECT COUNT(l_apps) FROM table_19018191_5 WHERE total_g = 8
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_28253870_1 (founded INTEGER) ### Question: Name the least founded ### Answer: SELECT MIN(founded) FROM table_28253870_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_88 (date INTEGER, location_attendance VARCHAR, game VARCHAR) ### Question: What is the latest date at Los Angeles with a game less than 62? ### Answer: SELECT MAX(date) FROM table_name_88 WHERE location_attendance = "los angeles" AND game < 62
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 (ryuji_hijikata VARCHAR, block_a VARCHAR) ### Question: Tell me the Ryuji Hijikata for Block A of Ryuji Hijikata ### Answer: SELECT ryuji_hijikata FROM table_name_72 WHERE block_a = "ryuji hijikata"
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 (pal_m VARCHAR, ntsc_m VARCHAR) ### Question: What is the PAL M for the NTSC M 4.5mhz? ### Answer: SELECT pal_m FROM table_name_54 WHERE ntsc_m = "4.5mhz"
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_52 (to_par INTEGER, player VARCHAR, total VARCHAR) ### Question: What is the sum of the to par of player meg mallon, who had a total greater than 157? ### Answer: SELECT SUM(to_par) FROM table_name_52 WHERE player = "meg mallon" AND total > 157
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_61 (event_place VARCHAR, time VARCHAR) ### Question: Where did someone run a 61:32 ### Answer: SELECT event_place FROM table_name_61 WHERE time = "61:32"
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 (date VARCHAR, result VARCHAR, location VARCHAR) ### Question: What date was the result 3-1 in Hague? ### Answer: SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague"
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 (season VARCHAR, winner VARCHAR) ### Question: What season did Stoke City win? ### Answer: SELECT season FROM table_name_13 WHERE winner = "stoke city"
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 (college_junior_club_team VARCHAR, round VARCHAR) ### Question: Which College/Junior/Club team has a Round of 6? ### Answer: SELECT college_junior_club_team FROM table_name_13 WHERE round = 6
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_60 (date VARCHAR, location VARCHAR, cause VARCHAR, death_toll VARCHAR) ### Question: When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig? ### Answer: SELECT date FROM table_name_60 WHERE cause = "gas explosion" AND death_toll < 63 AND location = "penygraig"
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 (owner VARCHAR, winner VARCHAR) ### Question: Who is the owner of Miss Terrible? ### Answer: SELECT owner FROM table_name_40 WHERE winner = "miss terrible"
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_29770377_1 (destination VARCHAR, route_via VARCHAR) ### Question: What is the destination of the route kulitthurai,neyyattinkara? ### Answer: SELECT destination FROM table_29770377_1 WHERE route_via = "Kulitthurai,Neyyattinkara"
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 (name VARCHAR, authors VARCHAR) ### Question: What is the name of the non-mammal who has tatarinov as the author? ### Answer: SELECT name FROM table_name_4 WHERE authors = "tatarinov"
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_15284274_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) ### Question: Who wrote episode 11, of which was directed by Will Waring? ### Answer: SELECT written_by FROM table_15284274_1 WHERE directed_by = "Will Waring" AND no_in_season = 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_93 (name VARCHAR, royal_house VARCHAR, state VARCHAR) ### Question: What is Name, when Royal House is "Ji", and when State is "Cai"? ### Answer: SELECT name FROM table_name_93 WHERE royal_house = "ji" AND state = "cai"
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_2668173_4 (district VARCHAR, incumbent VARCHAR) ### Question: What was the district of the incumbent Mathias Morris? ### Answer: SELECT district FROM table_2668173_4 WHERE incumbent = "Mathias 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_name_54 (points INTEGER, chassis VARCHAR) ### Question: Name the least points for chassis of kurtis kraft 500a ### Answer: SELECT MIN(points) FROM table_name_54 WHERE chassis = "kurtis kraft 500a"
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_21 (drivers VARCHAR, year VARCHAR) ### Question: Who drove in races in 1949? ### Answer: SELECT drivers FROM table_name_21 WHERE year = 1949
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_14707564_1 (years VARCHAR, total VARCHAR) ### Question: How many years was the total 402? ### Answer: SELECT COUNT(years) FROM table_14707564_1 WHERE total = 402
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_224616_1 (winners_score VARCHAR, year VARCHAR) ### Question: List all winning scores from 1982. ### Answer: SELECT winners_score FROM table_224616_1 WHERE year = 1982
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 (date VARCHAR, record VARCHAR) ### Question: What was the date of the game when the record was 9–5–2? ### Answer: SELECT date FROM table_name_78 WHERE record = "9–5–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_15 (cell_type VARCHAR, conduction_speed__m_s_ VARCHAR) ### Question: Which cell type has a conduction speed of 35? ### Answer: SELECT cell_type FROM table_name_15 WHERE conduction_speed__m_s_ = "35"
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_1404456_1 (former_province VARCHAR, area__km_2__ VARCHAR) ### Question: what's the former province with area (km 2 ) being 12,245.9 ### Answer: SELECT former_province FROM table_1404456_1 WHERE area__km_2__ = "12,245.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_80 (tournament VARCHAR, date VARCHAR) ### Question: What tournament was held on 21 May 2006? ### Answer: SELECT tournament FROM table_name_80 WHERE date = "21 may 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_78 (race VARCHAR, weight__kg_ INTEGER) ### Question: In which races did the jockey weigh less than 55.5 kg? ### Answer: SELECT race FROM table_name_78 WHERE weight__kg_ < 55.5
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_256862_1 (finish VARCHAR, entries VARCHAR, winning_yacht VARCHAR) ### Question: Name the number of finishes for 15 entries 15 and l'esprit d'equipe ### Answer: SELECT COUNT(finish) FROM table_256862_1 WHERE entries = "15" AND winning_yacht = "L'Esprit d'Equipe"
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_69 (home VARCHAR, score VARCHAR) ### Question: What ist he Home with a Score that is 42-64? ### Answer: SELECT home FROM table_name_69 WHERE score = "42-64"
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_66 (name VARCHAR, president VARCHAR, left_office VARCHAR) ### Question: What is Name, when President is Khamtai Siphandon, and when Left Office is 1999? ### Answer: SELECT name FROM table_name_66 WHERE president = "khamtai siphandon" AND left_office = "1999"
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_99 (position VARCHAR, pick VARCHAR) ### Question: What is the Position of the Pick 8 Player? ### Answer: SELECT position FROM table_name_99 WHERE pick = 8
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_2 (games INTEGER, lost VARCHAR, standing VARCHAR, goals_against VARCHAR) ### Question: Name the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52 ### Answer: SELECT MAX(games) FROM table_name_2 WHERE standing = "5th, lebel" AND goals_against > 220 AND lost > 52
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_37 (gold INTEGER, nation VARCHAR, total VARCHAR) ### Question: How many gold medals did Brazil win with a total of more than 55 medals? ### Answer: SELECT AVG(gold) FROM table_name_37 WHERE nation = "brazil" AND total > 55
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_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR) ### Question: Binary of θ(log n), and a Fibonacci of θ(1) has what binomial? ### Answer: SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(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_2170969_2 (network VARCHAR, viewers_in_millions VARCHAR) ### Question: What network garnered 2.74 million viewers for Supernatural? ### Answer: SELECT network FROM table_2170969_2 WHERE viewers_in_millions = "2.74"
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 (result VARCHAR, date VARCHAR) ### Question: What is the result of the match on January 26, 2006? ### Answer: SELECT result FROM table_name_44 WHERE date = "january 26, 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_93 (crowd INTEGER, home_team VARCHAR) ### Question: What was the smallest crowd at a home game of carlton? ### Answer: SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "carlton"
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_58 (silver INTEGER, total VARCHAR, rank VARCHAR) ### Question: Which Silver has a Total smaller than 2 and a Rank larger than 8 ### Answer: SELECT MIN(silver) FROM table_name_58 WHERE total < 2 AND rank > 8
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_94 (prefecture VARCHAR, province VARCHAR, county VARCHAR) ### Question: Which prefecture is in Hubei province and Enshi county? ### Answer: SELECT prefecture FROM table_name_94 WHERE province = "hubei" AND county = "enshi"
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_51 (event VARCHAR, record VARCHAR) ### Question: What event did he have a 2-0 record? ### Answer: SELECT event FROM table_name_51 WHERE record = "2-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_72 (oricon_peak VARCHAR, date_of_release VARCHAR, label VARCHAR, title VARCHAR) ### Question: WHAT IS THE ORICON PEAK NUMBER WITH AN ATLANTIC LABEL, SUBHUMAN RACE, LATER THAN 1995? ### Answer: SELECT COUNT(oricon_peak) FROM table_name_72 WHERE label = "atlantic" AND title = "subhuman race" AND date_of_release > 1995
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 (height_metres___feet VARCHAR, rank VARCHAR, floors VARCHAR) ### Question: Which Height Metres / feet has a Rank of 8, and Floors of 3x17? ### Answer: SELECT height_metres___feet FROM table_name_18 WHERE rank = 8 AND floors = "3x17"
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 (superlative VARCHAR, year VARCHAR, actress VARCHAR) ### Question: Which award was won by Gloria Stuart after 1984? ### Answer: SELECT superlative FROM table_name_92 WHERE year > 1984 AND actress = "gloria stuart"
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 (format VARCHAR, release_date VARCHAR) ### Question: What format was released in August 1996? ### Answer: SELECT format FROM table_name_78 WHERE release_date = "august 1996"
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_1805191_48 (incumbent VARCHAR, district VARCHAR) ### Question: Who is the incumbent in the Washington 1 district? ### Answer: SELECT incumbent FROM table_1805191_48 WHERE district = "Washington 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_86 (score VARCHAR, competition VARCHAR) ### Question: What is the Score of the Fifa World Cup 1986 Qualifying Competition? ### Answer: SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying"
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 (rank INTEGER, events VARCHAR, wins VARCHAR) ### Question: What is the average rank for players with under 26 events and less than 2 wins? ### Answer: SELECT AVG(rank) FROM table_name_74 WHERE events < 26 AND wins < 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_15 (year VARCHAR, party VARCHAR, constituency VARCHAR) ### Question: What year was Hazel Grove the constituent for the liberal party? ### Answer: SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove"
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_1004033_1 (team VARCHAR, draft_pick__number VARCHAR) ### Question: How many teams had a #1 draft pick that won the Rookie of the Year Award? ### Answer: SELECT COUNT(team) FROM table_1004033_1 WHERE draft_pick__number = "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_27704187_7 (high_rebounds VARCHAR, team VARCHAR) ### Question: Who did the high rebounds in the game against Boston? ### Answer: SELECT high_rebounds FROM table_27704187_7 WHERE team = "Boston"
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_11303072_9 (stumpings VARCHAR, player VARCHAR) ### Question: How many stumpings has Paul Nixon in his career? ### Answer: SELECT stumpings FROM table_11303072_9 WHERE player = "Paul Nixon"
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 Student (Advisor VARCHAR) ### Question: Which Advisor has most of students? List advisor and the number of students. ### Answer: SELECT Advisor, COUNT(*) FROM Student GROUP BY Advisor ORDER BY COUNT(Advisor) DESC 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_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR) ### Question: What episode number had 14.41 million viewers? ### Answer: SELECT MAX(episodes) FROM table_27553627_2 WHERE viewers__in_millions_ = "14.41"
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_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR) ### Question: What is the result/score for the match report recap on week 14? ### Answer: SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 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_6 (Id VARCHAR) ### Question: What 1997, has qf as a 1994, and 1r as a 1999? ### Answer: SELECT 1997 FROM table_name_6 WHERE 1994 = "qf" AND 1999 = "1r"
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 (place VARCHAR, country VARCHAR, score VARCHAR) ### Question: What is the place of the player from the United States with a score of 74-72=146? ### Answer: SELECT place FROM table_name_87 WHERE country = "united states" AND score = 74 - 72 = 146
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_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR) ### Question: What were the investment earnings in the year that State and Federal taxes were $13,999,169? ### Answer: SELECT investment_earnings FROM table_name_26 WHERE state_ & _federal = "13,999,169"
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 stadium (LOCATION VARCHAR, name VARCHAR, capacity INTEGER) ### Question: Show location and name for all stadiums with a capacity between 5000 and 10000. ### Answer: SELECT LOCATION, name FROM stadium WHERE capacity BETWEEN 5000 AND 10000
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_1 (version VARCHAR, length VARCHAR) ### Question: What is the version shown for the Length of 4:58? ### Answer: SELECT version FROM table_name_1 WHERE length = "4:58"
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 (launched VARCHAR, commissioned VARCHAR) ### Question: What is Launched, when Commissioned is "25 July 1998"? ### Answer: SELECT launched FROM table_name_50 WHERE commissioned = "25 july 1998"
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_60 (pick VARCHAR, college VARCHAR) ### Question: Which pick came from Pittsburgh? ### Answer: SELECT COUNT(pick) FROM table_name_60 WHERE college = "pittsburgh"
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 (attendance VARCHAR, date VARCHAR) ### Question: Date of 1 october 2003 had what attendance? ### Answer: SELECT attendance FROM table_name_18 WHERE date = "1 october 2003"
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 city (City_ID VARCHAR, Population INTEGER); CREATE TABLE farm_competition (Theme VARCHAR, Host_city_ID VARCHAR) ### Question: Please show the themes of competitions with host cities having populations larger than 1000. ### Answer: SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID WHERE T1.Population > 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_name_30 (score VARCHAR, match_no VARCHAR) ### Question: What is the score of match 15? ### Answer: SELECT score FROM table_name_30 WHERE match_no = "15"
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_62 (counties INTEGER, candidate VARCHAR, delegates VARCHAR) ### Question: What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates? ### Answer: SELECT MAX(counties) FROM table_name_62 WHERE candidate = "mitt romney" AND delegates < 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_18 (total INTEGER, rank VARCHAR, county VARCHAR) ### Question: Which Total has a Rank smaller than 3, and a County of cork? ### Answer: SELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = "cork"
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_56 (country VARCHAR, player VARCHAR) ### Question: What is Country, when Player is "Jack Nicklaus"? ### Answer: SELECT country FROM table_name_56 WHERE player = "jack nicklaus"
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_75 (interactivity_support VARCHAR, format VARCHAR) ### Question: Which Interactivity support has a Format of fictionbook? ### Answer: SELECT interactivity_support FROM table_name_75 WHERE format = "fictionbook"
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 Customers (customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR) ### Question: Show customer ids who don't have an account. ### Answer: SELECT customer_id FROM Customers EXCEPT SELECT customer_id FROM Accounts
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_24108789_6 (events VARCHAR, points VARCHAR) ### Question: Name the number of events for 3031 ### Answer: SELECT COUNT(events) FROM table_24108789_6 WHERE points = 3031
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_22904752_1 (_number VARCHAR, us_viewers__million_ VARCHAR) ### Question: What is the # when u.s. viewers (million) is 17.44? ### Answer: SELECT COUNT(_number) FROM table_22904752_1 WHERE us_viewers__million_ = "17.44"
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_15001753_1 (year INTEGER) ### Question: What was the first year of the Lithuanian National Badminton Championships? ### Answer: SELECT MIN(year) FROM table_15001753_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_56 (original_title VARCHAR, year VARCHAR, winner_and_nominees VARCHAR) ### Question: What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)? ### Answer: SELECT original_title FROM table_name_56 WHERE year = "1996 (11th)" AND winner_and_nominees = "breaking the waves"
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 (l2_cache VARCHAR, clock_speed VARCHAR) ### Question: Name the L2 Cache which has a Clock Speed of 1.5 ghz? ### Answer: SELECT l2_cache FROM table_name_10 WHERE clock_speed = "1.5 ghz"
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_99 (name VARCHAR, lane VARCHAR, rank VARCHAR) ### Question: for the rank of 8 and lane less than 3 what is the name? ### Answer: SELECT name FROM table_name_99 WHERE lane < 3 AND rank = 8
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_8 (launches_to_date VARCHAR, version VARCHAR, ccbs VARCHAR) ### Question: What is the total Launches to date with a Version of 541, and CCBs smaller than 1? ### Answer: SELECT COUNT(launches_to_date) FROM table_name_8 WHERE version = "541" AND ccbs < 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_76 (tie_no INTEGER, home_team VARCHAR) ### Question: What's the sum of tie no for home team burgess hill town? ### Answer: SELECT SUM(tie_no) FROM table_name_76 WHERE home_team = "burgess hill town"
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_26 (tournament VARCHAR) ### Question: What is the tournament when 2007 is WTA Premier 5 tournaments? ### Answer: SELECT tournament FROM table_name_26 WHERE 2007 = "wta premier 5 tournaments"
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_62 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team's score at the match played at The Western Oval? ### Answer: SELECT away_team AS score FROM table_name_62 WHERE venue = "western oval"
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 (week INTEGER, date VARCHAR, attendance VARCHAR) ### Question: What is the average week of the game on November 22, 1964 attended by 48,065? ### Answer: SELECT AVG(week) FROM table_name_53 WHERE date = "november 22, 1964" AND attendance > 48 OFFSET 065
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_2 (circuit VARCHAR) ### Question: Name the 125cc winner with circuit of estoril ### Answer: SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"
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 (away_team VARCHAR) ### Question: What was Melbourne's away team score? ### Answer: SELECT away_team AS score FROM table_name_20 WHERE away_team = "melbourne"
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 (builder VARCHAR, ship VARCHAR) ### Question: Who was the builder of Nor? ### Answer: SELECT builder FROM table_name_12 WHERE ship = "nor"
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_25 (show_name VARCHAR, news_freq VARCHAR) ### Question: What's the show that has 60 minutes as the news freq? ### Answer: SELECT show_name FROM table_name_25 WHERE news_freq = "60 minutes"
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 (nuskhuri VARCHAR, asomtavruli VARCHAR) ### Question: What is teh Nuskhuri symbol for ⴋ in Asomtavruli? ### Answer: SELECT nuskhuri FROM table_name_80 WHERE asomtavruli = "ⴋ"
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_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR) ### Question: what's the frequency mhz with city of license being chattanooga, tennessee ### Answer: SELECT frequency_mhz FROM table_13998897_1 WHERE city_of_license = "Chattanooga, Tennessee"
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 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR) ### Question: What is the Time/Retired value for constructor Jordan - Peugeot with 66 laps and grid value 5? ### Answer: SELECT time_retired FROM table_name_50 WHERE laps = "66" AND constructor = "jordan - peugeot" AND grid = "5"
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_64 (position_in_table VARCHAR, team VARCHAR) ### Question: What is Position in Table, when Team is "Morelia"? ### Answer: SELECT position_in_table FROM table_name_64 WHERE team = "morelia"
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_77 (res VARCHAR, location VARCHAR, record VARCHAR) ### Question: Which result has a Location of canada, and a Record of 3-3? ### Answer: SELECT res FROM table_name_77 WHERE location = "canada" AND record = "3-3"