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_3 (score VARCHAR, country VARCHAR) ### Question: What's the score of New Zealand? ### Answer: SELECT score FROM table_name_3 WHERE country = "new zealand"
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 (location VARCHAR, pole_position VARCHAR) ### Question: Where did the team in which Tom Pryce was in Pole Position race? ### Answer: SELECT location FROM table_name_10 WHERE pole_position = "tom pryce"
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 furniture (name VARCHAR, furniture_id VARCHAR, market_rate VARCHAR) ### Question: Return the name and id of the furniture with the highest market rate. ### Answer: SELECT name, furniture_id FROM furniture ORDER BY market_rate 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 school (school_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER) ### Question: List all the names of schools with an endowment amount smaller than or equal to 10. ### Answer: SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 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_name_39 (chassis VARCHAR, year VARCHAR, points VARCHAR) ### Question: What chassis had fewer than 0 points in a year before 1954? ### Answer: SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 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_32 (lost INTEGER, points_for VARCHAR) ### Question: What's the average loss when the points were 545? ### Answer: SELECT AVG(lost) FROM table_name_32 WHERE points_for = 545
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 model_list (maker VARCHAR); CREATE TABLE car_makers (fullname VARCHAR, id VARCHAR) ### Question: How many car models are produced by each maker ? Only list the count and the maker full name . ### Answer: SELECT COUNT(*), t2.fullname FROM model_list AS t1 JOIN car_makers AS t2 ON t1.maker = t2.id GROUP BY t2.id
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 (title VARCHAR, time VARCHAR) ### Question: What title runs for 3:22? ### Answer: SELECT title FROM table_name_5 WHERE time = "3:22"
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 (position_in_2012 VARCHAR, last_title VARCHAR, first_season VARCHAR) ### Question: what is the position is 2012 when the last title is n/a and the first season is 2011? ### Answer: SELECT position_in_2012 FROM table_name_93 WHERE last_title = "n/a" AND first_season = "2011"
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 (record VARCHAR, opponent VARCHAR, time VARCHAR, venue VARCHAR) ### Question: The match of at Michael's Eighth Avenue venue against Tim Coleman that went 3:00 has what record? ### Answer: SELECT record FROM table_name_83 WHERE time = "3:00" AND venue = "michael's eighth avenue" AND opponent = "tim coleman"
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 visit (visitor_id VARCHAR); CREATE TABLE visitor (id VARCHAR, name VARCHAR, age VARCHAR) ### Question: find the id, name and age for visitors who visited some museums more than once. ### Answer: SELECT t1.id, t1.name, t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t1.id HAVING COUNT(*) > 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_11406866_2 (record VARCHAR, result VARCHAR) ### Question: what's the record where result is l 24-10 ### Answer: SELECT record FROM table_11406866_2 WHERE result = "L 24-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_1939214_1 (regular_season VARCHAR, playoffs VARCHAR) ### Question: In what season did the team get in the conference finals of the playoffs? ### Answer: SELECT regular_season FROM table_1939214_1 WHERE playoffs = "Conference Finals"
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_2619469_1 (standing VARCHAR, goals_against VARCHAR) ### Question: What was the team standing if the won 130 goals against another team? ### Answer: SELECT standing FROM table_2619469_1 WHERE goals_against = 130
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 Statements (STATEMENT_ID VARCHAR, statement_details VARCHAR) ### Question: List all statement ids and statement details. ### Answer: SELECT STATEMENT_ID, statement_details FROM Statements
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 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR) ### Question: What is the constructor on the team with 8 rounds and a chassis of 156 158 1512? ### Answer: SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512"
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 (date VARCHAR, game VARCHAR) ### Question: What was the date for game 6? ### Answer: SELECT date FROM table_name_66 WHERE game = 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_57 (aircraft VARCHAR, versions VARCHAR, in_service VARCHAR, origin VARCHAR) ### Question: Which version B-58 aircraft model originated in the United States has 2 in service? ### Answer: SELECT aircraft FROM table_name_57 WHERE in_service = "2" AND origin = "united states" AND versions = "b-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_71 (goals INTEGER, rank INTEGER) ### Question: What is the total Goals with Rank larger than 10? ### Answer: SELECT SUM(goals) FROM table_name_71 WHERE 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_14573770_4 (winners INTEGER, nation VARCHAR) ### Question: How many times did argentina win? ### Answer: SELECT MAX(winners) FROM table_14573770_4 WHERE nation = "Argentina"
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 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR) ### Question: In 2007, how many points were won when more than 5 matches were played? ### Answer: SELECT COUNT(points_won) FROM table_name_74 WHERE year = "2007" AND total_matches > 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_14342367_15 (player VARCHAR, total_points VARCHAR) ### Question: How many player with total points of 75 ### Answer: SELECT COUNT(player) FROM table_14342367_15 WHERE total_points = 75
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 (record VARCHAR, game VARCHAR) ### Question: Can you tell me the Record that has the Game of 19? ### Answer: SELECT record FROM table_name_72 WHERE game = 19
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_2092557_12 (wimbledon VARCHAR, player VARCHAR) ### Question: What year did Martina Navratilova win Wimbledon? ### Answer: SELECT wimbledon FROM table_2092557_12 WHERE player = "Martina Navratilova"
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_19834691_4 (uk_air_date VARCHAR, audience_share_in_timeslot VARCHAR) ### Question: Name the uk air date for audience share in timeslot in 7.3% ### Answer: SELECT uk_air_date FROM table_19834691_4 WHERE audience_share_in_timeslot = "7.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_22 (position VARCHAR, round VARCHAR, nationality VARCHAR) ### Question: What is Position, when Round is less than 6, and when Nationality is "Denmark"? ### Answer: SELECT position FROM table_name_22 WHERE round < 6 AND nationality = "denmark"
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_29 (gameplan VARCHAR, roleplay VARCHAR) ### Question: Who is the GamePlan when Arabella Lazenby is the RolePlay actor? ### Answer: SELECT gameplan FROM table_name_29 WHERE roleplay = "arabella lazenby"
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 (score VARCHAR, high_rebounds VARCHAR) ### Question: What score has tim duncan (14) as the high rebounds? ### Answer: SELECT score FROM table_name_17 WHERE high_rebounds = "tim duncan (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_19929970_1 (directed_by VARCHAR, production_code VARCHAR) ### Question: Who directed the episode with production code 4akj08? ### Answer: SELECT directed_by FROM table_19929970_1 WHERE production_code = "4AKJ08"
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 (place VARCHAR, country VARCHAR, to_par VARCHAR) ### Question: Name the Place which has To par of –5, in united states? ### Answer: SELECT place FROM table_name_95 WHERE country = "united states" AND to_par = "–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_91 (surface VARCHAR, date VARCHAR) ### Question: What was the surface for the May 10, 2009 tournament? ### Answer: SELECT surface FROM table_name_91 WHERE date = "may 10, 2009"
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_35 (tie_no VARCHAR, away_team VARCHAR) ### Question: What was the tie number when peterborough united was the away team? ### Answer: SELECT tie_no FROM table_name_35 WHERE away_team = "peterborough united"
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_11 (losses INTEGER, games VARCHAR, season VARCHAR, team_name VARCHAR, points VARCHAR) ### Question: How many losses did the Burnaby Lakers accumulate when they scored 8 points in 1998 playing less than 25 games? ### Answer: SELECT SUM(losses) FROM table_name_11 WHERE team_name = "burnaby lakers" AND points = 8 AND season = "1998" AND games < 25
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_81 (year_completed INTEGER, rank VARCHAR, height_ft__m_ VARCHAR) ### Question: What year was the building with a top 3 rank and a height of 274 (84) ft (m) completed? ### Answer: SELECT MAX(year_completed) FROM table_name_81 WHERE rank < 3 AND height_ft__m_ = "274 (84)"
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_26914076_3 (us_viewers__millions_ VARCHAR, story_by VARCHAR) ### Question: How many viewers watched the episode with a story by david simon & mari kornhauser? ### Answer: SELECT us_viewers__millions_ FROM table_26914076_3 WHERE story_by = "David Simon & Mari Kornhauser"
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_23 (silver INTEGER, nation VARCHAR, total VARCHAR) ### Question: What average silver has belarus as the nation, with a total less than 1? ### Answer: SELECT AVG(silver) FROM table_name_23 WHERE nation = "belarus" AND total < 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_142159_1 (built VARCHAR, name VARCHAR) ### Question: How many are named River Esk ### Answer: SELECT COUNT(built) FROM table_142159_1 WHERE name = "River Esk"
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 (season VARCHAR, wins VARCHAR, races VARCHAR, position VARCHAR) ### Question: how many times is races more than 14, position is 9th and wins less than 0? ### Answer: SELECT COUNT(season) FROM table_name_48 WHERE races > 14 AND position = "9th" 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_28798161_3 (bbi VARCHAR, economy VARCHAR) ### Question: if the economy is 3.63 what is the bbi ### Answer: SELECT bbi FROM table_28798161_3 WHERE economy = "3.63"
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_32 (to_par VARCHAR, finish VARCHAR) ### Question: What is the To par when the finish is 66? ### Answer: SELECT to_par FROM table_name_32 WHERE finish = "66"
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_2267465_1 (manufacturer VARCHAR, team VARCHAR) ### Question: Can you tell me the manufacturer behind Race Hill Farm Team? ### Answer: SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm 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_5 (manufacturer VARCHAR, finish VARCHAR, team VARCHAR, year VARCHAR, start VARCHAR) ### Question: WHAT MANUFACTURER AFTER 1966 HAD A START SMALLER THAN 5, A WOOD TEAM AND FINISHED 35? ### Answer: SELECT manufacturer FROM table_name_5 WHERE year > 1966 AND start < 5 AND team = "wood" AND finish = 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_name_57 (name VARCHAR, height VARCHAR, date_of_birth VARCHAR) ### Question: Who has the height of m (ft 9in) and was born on 1980-03-05? ### Answer: SELECT name FROM table_name_57 WHERE height = "m (ft 9in)" AND date_of_birth = "1980-03-05"
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_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR) ### Question: WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1? ### Answer: SELECT tournament_venue FROM table_name_33 WHERE tournament_champion = "duke" AND record = "15–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_53 (round INTEGER, position VARCHAR, player VARCHAR) ### Question: What is the highest round where a back named Ed Cody can be found? ### Answer: SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"
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 flight (pilot VARCHAR) ### Question: which pilot is in charge of the most number of flights? ### Answer: SELECT pilot FROM flight GROUP BY pilot ORDER BY COUNT(*) 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_name_93 (court_surface VARCHAR, began INTEGER) ### Question: What was the surface played on for the match than began before 1897? ### Answer: SELECT court_surface FROM table_name_93 WHERE began < 1897
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 Person (job VARCHAR) ### Question: How many type of jobs do they have? ### Answer: SELECT COUNT(DISTINCT job) FROM Person
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_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR) ### Question: What eagle riders where ova (harmony gold dub) is lord zortek? ### Answer: SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Lord Zortek"
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 (win__percentage VARCHAR, tournament VARCHAR) ### Question: What is the win percentage when 2011 shows 1r in the Paris tournament? ### Answer: SELECT win__percentage FROM table_name_95 WHERE 2011 = "1r" AND tournament = "paris"
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 (finish VARCHAR, country VARCHAR) ### Question: For the player from Fiji, what was his finish? ### Answer: SELECT finish FROM table_name_83 WHERE country = "fiji"
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_24565004_14 (name VARCHAR, appearances¹ VARCHAR) ### Question: How many names correspond to the value 101 for appearances? ### Answer: SELECT COUNT(name) FROM table_24565004_14 WHERE appearances¹ = 101
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_1341843_10 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who was featured in the election of charles edward bennett redistricted from 2nd? ### Answer: SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd"
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 (city_of_license VARCHAR, class VARCHAR) ### Question: What is the city of license that has lp as the class? ### Answer: SELECT city_of_license FROM table_name_40 WHERE class = "lp"
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 (japanese VARCHAR, prefecture VARCHAR, name VARCHAR) ### Question: What Japanese prefecture has Ibaraki, Tsukuba? ### Answer: SELECT japanese FROM table_name_15 WHERE prefecture = "ibaraki" AND name = "tsukuba"
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_17978052_2 (_number_s_lake_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) ### Question: How many number of lakes are there in the Valdez-Cordova (CA) area? ### Answer: SELECT MIN(_number_s_lake_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Valdez-Cordova (CA)"
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 (home VARCHAR, date VARCHAR) ### Question: Who is the home team of the game on December 21? ### Answer: SELECT home FROM table_name_53 WHERE date = "december 21"
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 (airport VARCHAR, country VARCHAR, city VARCHAR) ### Question: What is the Airport when France was the country, and Montpellier was the city? ### Answer: SELECT airport FROM table_name_82 WHERE country = "france" AND city = "montpellier"
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 (games INTEGER, years VARCHAR, ranking VARCHAR) ### Question: What is the average Games for 1965–1981, and a Ranking larger than 4? ### Answer: SELECT AVG(games) FROM table_name_52 WHERE years = "1965–1981" AND ranking > 4
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 (folded INTEGER, stadium VARCHAR) ### Question: What is the maximum folded value of the team whose stadium is Fraser Field? ### Answer: SELECT MAX(folded) FROM table_24334261_1 WHERE stadium = "Fraser Field"
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 Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR) ### Question: Which organisation type hires most research staff? ### Answer: SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY COUNT(*) 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_name_50 (result VARCHAR, year VARCHAR, award VARCHAR) ### Question: In what year, prior to 2009, was the Mercury Prize awarded? ### Answer: SELECT result FROM table_name_50 WHERE year < 2009 AND award = "mercury prize"
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 (country VARCHAR, network VARCHAR) ### Question: Which Country has a Network of nelonen? ### Answer: SELECT country FROM table_name_61 WHERE network = "nelonen"
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 (others_percentage VARCHAR, others_number VARCHAR, kerry_percentage VARCHAR) ### Question: What is the value Others% when the value Others# is greater than 147 and the value Kerry% is 39.6%? ### Answer: SELECT others_percentage FROM table_name_83 WHERE others_number > 147 AND kerry_percentage = "39.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_62 (american VARCHAR, british VARCHAR) ### Question: Which American has British of ɛm? ### Answer: SELECT american FROM table_name_62 WHERE british = "ɛ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_32 (caps VARCHAR, player VARCHAR) ### Question: How many caps did Mitchell Duke have overall? ### Answer: SELECT COUNT(caps) FROM table_name_32 WHERE player = "mitchell duke"
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 (weight INTEGER, number VARCHAR) ### Question: Number of 13 that has what highest weight? ### Answer: SELECT MAX(weight) FROM table_name_44 WHERE number = 13
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_11 (date VARCHAR, score VARCHAR) ### Question: Which Date has a Score of 6–1 7–6 (8–6)? ### Answer: SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–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_52 (runs VARCHAR, opponent VARCHAR) ### Question: Which Run has an Opponent of Canterbury? ### Answer: SELECT runs FROM table_name_52 WHERE opponent = "canterbury"
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_2472711_31 (highest VARCHAR, lowest VARCHAR) ### Question: How many highest figures for the team with lowest of 16415? ### Answer: SELECT COUNT(highest) FROM table_2472711_31 WHERE lowest = 16415
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 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR) ### Question: what is the rank when the total is 39 in the county of dublin and the matches is less than 4? ### Answer: SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = "dublin" AND matches < 4
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_23 (branding VARCHAR, owner VARCHAR) ### Question: What is the Branding of the Frequency owned by Sound of Faith Broadcasting Group? ### Answer: SELECT branding FROM table_name_23 WHERE owner = "sound of faith broadcasting group"
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 (percentage___percentage_ VARCHAR, males VARCHAR) ### Question: Which language do 1% of males speak? ### Answer: SELECT percentage___percentage_ FROM table_name_31 WHERE males = "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 farm_competition (Hosts VARCHAR, Theme VARCHAR) ### Question: What are the hosts of competitions whose theme is not "Aliens"? ### Answer: SELECT Hosts FROM farm_competition WHERE Theme <> 'Aliens'
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 (title VARCHAR, year VARCHAR) ### Question: Name the title for 2005 ### Answer: SELECT title FROM table_name_2 WHERE year = 2005
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 (launched VARCHAR, name VARCHAR) ### Question: What is the launched date for the Harusame ship? ### Answer: SELECT launched FROM table_name_18 WHERE name = "harusame"
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_71 (Id VARCHAR) ### Question: How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1? ### Answer: SELECT SUM(2007) FROM table_name_71 WHERE 2006 = 0.2 AND 2010 < 0.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_4 (chassis VARCHAR, driver VARCHAR) ### Question: What chassis did John Watson drive? ### Answer: SELECT chassis FROM table_name_4 WHERE driver = "john watson"
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 (total INTEGER, to_par VARCHAR) ### Question: What is the Total for the Player with a To par of +11? ### Answer: SELECT MAX(total) FROM table_name_17 WHERE to_par = "+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_58 (date VARCHAR, visiting_team VARCHAR, year VARCHAR) ### Question: What date was the visiting team of Los Angeles Rams, earlier than 1958? ### Answer: SELECT date FROM table_name_58 WHERE visiting_team = "los angeles rams" AND year < 1958
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 (house VARCHAR, abbr VARCHAR) ### Question: Which house has an abbreviation of G? ### Answer: SELECT house FROM table_name_60 WHERE abbr = "g"
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 (money_requested__£_ VARCHAR, investing_dragon_s_ VARCHAR, episode VARCHAR) ### Question: How much was requested from Investing Dragon Peter Jones request in episode 2? ### Answer: SELECT money_requested__£_ FROM table_name_92 WHERE investing_dragon_s_ = "peter jones" AND episode = "episode 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_83 (surface VARCHAR, opponent_in_final VARCHAR) ### Question: On what surface did Katarina Srebotnik play Paola Suárez? ### Answer: SELECT surface FROM table_name_83 WHERE opponent_in_final = "paola suárez"
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 (time_retired VARCHAR, grid VARCHAR) ### Question: What is the time/retired for grid 8? ### Answer: SELECT time_retired FROM table_name_95 WHERE grid = 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_77 (away_team VARCHAR, home_team VARCHAR) ### Question: What away team did Carlton play? ### Answer: SELECT away_team FROM table_name_77 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_97 (score VARCHAR, set_1 VARCHAR) ### Question: Which Score has a Set 1 of 25–16? ### Answer: SELECT score FROM table_name_97 WHERE set_1 = "25–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_name_44 (game INTEGER, points INTEGER) ### Question: What hame has points larger than 81? ### Answer: SELECT SUM(game) FROM table_name_44 WHERE points > 81
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_47 (rank INTEGER, director VARCHAR) ### Question: what is the highest rank for director john woo? ### Answer: SELECT MAX(rank) FROM table_name_47 WHERE director = "john woo"
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_37 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR) ### Question: Name the cyrillic name for 518 ### Answer: SELECT cyrillic_name_other_names FROM table_2562572_37 WHERE population__2011_ = 518
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 (signal_quality VARCHAR, station_call_letters VARCHAR) ### Question: What signal quality does the KCAL-DT channel have? ### Answer: SELECT signal_quality FROM table_name_96 WHERE station_call_letters = "kcal-dt"
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 (location VARCHAR, final_score VARCHAR) ### Question: What location had a final score of W 30 – 5? ### Answer: SELECT location FROM table_name_92 WHERE final_score = "w 30 – 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_14070062_4 (points VARCHAR, try_bonus VARCHAR) ### Question: what was the score when the extras were 6 ### Answer: SELECT points FROM table_14070062_4 WHERE try_bonus = "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_11622840_1 (tournament VARCHAR, location VARCHAR) ### Question: Name all the tournaments that took place in Rhode Island. ### Answer: SELECT tournament FROM table_11622840_1 WHERE location = "Rhode Island"
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 (bullet_weight VARCHAR, max_pressure VARCHAR) ### Question: What is the bullet weight with a 12,000 cup max pressure? ### Answer: SELECT bullet_weight FROM table_name_98 WHERE max_pressure = "12,000 cup"
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 (division_record VARCHAR, school VARCHAR) ### Question: What is the division record for Woodbridge? ### Answer: SELECT division_record FROM table_name_78 WHERE school = "woodbridge"
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_17111812_1 (tenth VARCHAR, ninth VARCHAR) ### Question: When Kubb is in 9th, who is in 10th? ### Answer: SELECT tenth FROM table_17111812_1 WHERE ninth = "Kubb"
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 (director VARCHAR, title VARCHAR, year VARCHAR, leading_lady VARCHAR) ### Question: Who directs before 1948 with linda darnell, titled blood and sand? ### Answer: SELECT director FROM table_name_55 WHERE year < 1948 AND leading_lady = "linda darnell" AND title = "blood and sand"
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 (tyre VARCHAR, engine_† VARCHAR) ### Question: What is the tyre for the peugeot a20 engine? ### Answer: SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"
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 (car__number INTEGER, points VARCHAR, laps VARCHAR, make VARCHAR) ### Question: What is the car number that has less than 369 laps for a Dodge with more than 49 points? ### Answer: SELECT SUM(car__number) FROM table_name_62 WHERE laps < 369 AND make = "dodge" AND points > 49
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 (leading_scorer VARCHAR, date VARCHAR) ### Question: Who was the leading scorer on April 9, 2008? ### Answer: SELECT leading_scorer FROM table_name_34 WHERE date = "april 9, 2008"