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 member (Name VARCHAR, Country VARCHAR) ### Question: Show the names of members whose country is "United States" or "Canada". ### Answer: SELECT Name FROM member WHERE Country = "United States" OR Country = "Canada"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25773116_2 (winning_driver VARCHAR, date VARCHAR) ### Question: Who won the April 11 race? ### Answer: SELECT winning_driver FROM table_25773116_2 WHERE date = "April 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_23513241_5 (title VARCHAR, series_episode VARCHAR) ### Question: List the title of series episode 38. ### Answer: SELECT title FROM table_23513241_5 WHERE series_episode = 38
Below is an context that describes a 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_9 (crowd INTEGER, venue VARCHAR) ### Question: What is the average crowd size for corio oval? ### Answer: SELECT AVG(crowd) FROM table_name_9 WHERE venue = "corio 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_19418696_3 (name VARCHAR, qb_rating VARCHAR) ### Question: Which QB had a rating of 72.3? ### Answer: SELECT name FROM table_19418696_3 WHERE qb_rating = "72.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_41 (event VARCHAR, opponent VARCHAR) ### Question: What event was Donald Ouimet involved? ### Answer: SELECT event FROM table_name_41 WHERE opponent = "donald ouimet"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27537870_6 (january VARCHAR, decision VARCHAR) ### Question: If the decision was by Lalime, when in January was it made? ### Answer: SELECT january FROM table_27537870_6 WHERE decision = "Lalime"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23224961_2 (season VARCHAR, oberfranken_west VARCHAR) ### Question: When sv neuses is the oberfranken west what is the season? ### Answer: SELECT season FROM table_23224961_2 WHERE oberfranken_west = "SV Neuses"
Below is an context that describes a 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 (surface VARCHAR, against VARCHAR) ### Question: On what surface did Poland play as the against team? ### Answer: SELECT surface FROM table_name_38 WHERE against = "poland"
Below is an context that describes a 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 (circuit VARCHAR, team VARCHAR, series VARCHAR) ### Question: Which circuit did winfield team nissan win for the tooheys 1000? ### Answer: SELECT circuit FROM table_name_68 WHERE team = "winfield team nissan" AND series = "tooheys 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_19852975_4 (series__number INTEGER, writer_s_ VARCHAR) ### Question: Writer Max Ehrlich, what is the minimum series number? ### Answer: SELECT MIN(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich"
Below is an context that describes a 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 (score VARCHAR, set_2 VARCHAR) ### Question: What is the score for Set 2 at 15:21? ### Answer: SELECT score FROM table_name_48 WHERE set_2 = "15: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_7 (title VARCHAR, rank VARCHAR) ### Question: Which title placed in rank 7? ### Answer: SELECT title FROM table_name_7 WHERE rank = 7
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1825751_14 (other_awards VARCHAR, delegate VARCHAR) ### Question: How many awards did milagros gutierrez win? ### Answer: SELECT other_awards FROM table_1825751_14 WHERE delegate = "Milagros Gutierrez"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, run_time VARCHAR) ### Question: Name the broadcast date of run time being 24:14 ### Answer: SELECT broadcast_date FROM table_2114308_1 WHERE run_time = "24: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_69 (score VARCHAR, home VARCHAR) ### Question: What was the score of the Broadview Hawks home game? ### Answer: SELECT score FROM table_name_69 WHERE home = "broadview hawks"
Below is an context that describes a 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 (attendance INTEGER, result VARCHAR, week VARCHAR) ### Question: What was the largest number of people in attendance of the game with a W 14-3 result after week 10? ### Answer: SELECT MAX(attendance) FROM table_name_10 WHERE result = "w 14-3" AND week > 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_1859855_2 (result VARCHAR, candidate VARCHAR) ### Question: When stacy schneider is the candidate what are the results? ### Answer: SELECT result FROM table_1859855_2 WHERE candidate = "Stacy Schneider"
Below is an context that describes a 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 (method VARCHAR, opponent VARCHAR) ### Question: Tell me the method for stanislav nuschik ### Answer: SELECT method FROM table_name_60 WHERE opponent = "stanislav nuschik"
Below is an context that describes a 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 (minimum_tax_incl_sales_taxes__cad INTEGER, min_tax__cad¢_us_gal_ VARCHAR, federal_excise_tax___cad¢___l__ VARCHAR) ### Question: What is the least minimum sales tax when the min tax is 105.7 and fed tax is more than 10? ### Answer: SELECT MIN(minimum_tax_incl_sales_taxes__cad) AS ¢_l_ FROM table_name_27 WHERE min_tax__cad¢_us_gal_ = 105.7 AND federal_excise_tax___cad¢___l__ > 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_45 (team_1 VARCHAR) ### Question: What is 1st Leg, when Team 1 is "Portol Palma Mallorca"? ### Answer: SELECT 1 AS st_leg FROM table_name_45 WHERE team_1 = "portol palma mallorca"
Below is an context that describes a 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 (enrollment VARCHAR, nickname VARCHAR) ### Question: What is the total enrollment at the school that has the nickname of the Fightin' Blue Hens? ### Answer: SELECT COUNT(enrollment) FROM table_name_52 WHERE nickname = "fightin' blue hens"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29196086_4 (no_in_season INTEGER, original_air_date VARCHAR) ### Question: which episode of the season aired on october20,2012 ### Answer: SELECT MAX(no_in_season) FROM table_29196086_4 WHERE original_air_date = "October20,2012"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342149_18 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result in the election where Hale Boggs was the incumbent? ### Answer: SELECT result FROM table_1342149_18 WHERE incumbent = "Hale Boggs"
Below is an context that describes a 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 (fencing_victories__pts_ VARCHAR, equestrian_time__pts_ VARCHAR) ### Question: Which Fencing Victories (pts) that has a Equestrian Time (pts) of 67.88 (1144)? ### Answer: SELECT fencing_victories__pts_ FROM table_name_78 WHERE equestrian_time__pts_ = "67.88 (1144)"
Below is an context that describes a 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 (games INTEGER, drawn INTEGER) ### Question: What is the lowest game that has a drawn less than 0? ### Answer: SELECT MIN(games) FROM table_name_26 WHERE drawn < 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_10650711_1 (pick__number INTEGER, position VARCHAR) ### Question: what is the minimum pick # where position is defensive tackle ### Answer: SELECT MIN(pick__number) FROM table_10650711_1 WHERE position = "Defensive Tackle"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13618584_2 (elected INTEGER, district VARCHAR) ### Question: What was the last year someone was elected to the 14th district? ### Answer: SELECT MAX(elected) FROM table_13618584_2 WHERE district = "14th"
Below is an context that describes a 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 (rd_1 INTEGER, province VARCHAR, rd_4 VARCHAR) ### Question: Which is the highest Rd 1 has a Province of utrecht and a Rd 4 larger than 0? ### Answer: SELECT MAX(rd_1) FROM table_name_70 WHERE province = "utrecht" AND rd_4 > 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_38 (losses INTEGER, place VARCHAR, wins VARCHAR, ties VARCHAR) ### Question: What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5? ### Answer: SELECT MIN(losses) FROM table_name_38 WHERE wins < 4 AND ties = 2 AND place = 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_24329520_8 (county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR) ### Question: Which county has a membership of 1, a franchise type of corporation and a borough of Ennis? ### Answer: SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER) ### Question: Name the least clock rate mhz ### Answer: SELECT MIN(clock_rate__mhz_) FROM table_142573_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_96 (record VARCHAR, result VARCHAR, date VARCHAR) ### Question: what is the record when the result is win on 2004-06-26? ### Answer: SELECT record FROM table_name_96 WHERE result = "win" AND date = "2004-06-26"
Below is an context that describes a 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 (lead VARCHAR, nation VARCHAR) ### Question: Which Lead has a Nation of croatia? ### Answer: SELECT lead FROM table_name_99 WHERE nation = "croatia"
Below is an context that describes a 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 (grades VARCHAR, enrollment VARCHAR, student_body VARCHAR) ### Question: Which Grades has an Enrollment larger htan 443 with a Student body of Co-ed? ### Answer: SELECT grades FROM table_name_36 WHERE enrollment > 443 AND student_body = "co-ed"
Below is an context that describes a 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 (type VARCHAR, name VARCHAR) ### Question: What is the Type for l. publilius philo vulscus? ### Answer: SELECT type FROM table_name_46 WHERE name = "l. publilius philo vulscus"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) ### Question: Who was the womens doubles when the mixed doubles is jacco arends selena piek? ### Answer: SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26561506_1 (written_by VARCHAR, no VARCHAR) ### Question: Who wrote episode number 28? ### Answer: SELECT written_by FROM table_26561506_1 WHERE no = 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_29289372_1 (area__km²_ VARCHAR, income_classification VARCHAR, population__2010_ VARCHAR) ### Question: When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared? ### Answer: SELECT area__km²_ FROM table_29289372_1 WHERE income_classification = "1st Class" AND population__2010_ = 318676
Below is an context that describes a 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 (sixth VARCHAR, fourth VARCHAR, first VARCHAR) ### Question: What team placed sixth during the season where Western Australia placed fourth and Tasmania placed first? ### Answer: SELECT sixth FROM table_name_91 WHERE fourth = "western australia" AND first = "tasmania"
Below is an context that describes a 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 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) ### Question: What is the enrollment at the school with IHSAA class A and where mascot is the Vikings? ### Answer: SELECT enrollment FROM table_name_39 WHERE ihsaa_class = "a" AND mascot = "vikings"
Below is an context that describes a 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__ceremony_ VARCHAR, result VARCHAR, original_title VARCHAR) ### Question: What is the year of the ceremony with a not nominated result and ničiji sin as the original title? ### Answer: SELECT year__ceremony_ FROM table_name_12 WHERE result = "not nominated" AND original_title = "ničiji sin"
Below is an context that describes a 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 (score VARCHAR, team_1 VARCHAR) ### Question: What was the score of the match where paris sg (d1) was team 1? ### Answer: SELECT score FROM table_name_63 WHERE team_1 = "paris sg (d1)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE products (price INTEGER, Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR) ### Question: Find the average prices of all products from each manufacture, and list each company's name. ### Answer: SELECT AVG(T1.price), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name
Below is an context that describes a 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 (bronze INTEGER, silver VARCHAR, total VARCHAR) ### Question: What is the highest bronze number when silver is 0, and the total is smaller than 1? ### Answer: SELECT MAX(bronze) FROM table_name_92 WHERE silver = 0 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_name_24 (against INTEGER, difference VARCHAR, lost VARCHAR) ### Question: Which average Against has a Difference of 10, and a Lost smaller than 2? ### Answer: SELECT AVG(against) FROM table_name_24 WHERE difference = "10" AND lost < 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_14 (opponent VARCHAR, date VARCHAR) ### Question: What opponent has april 10 as the date? ### Answer: SELECT opponent FROM table_name_14 WHERE date = "april 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_63 (copa_del_rey INTEGER, name VARCHAR, fifa_club_world_championship VARCHAR) ### Question: Which Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0? ### Answer: SELECT SUM(copa_del_rey) FROM table_name_63 WHERE name = "guti" AND fifa_club_world_championship < 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_51 (nationality VARCHAR, player VARCHAR) ### Question: Tell me the nationality for rudolf vercik ### Answer: SELECT nationality FROM table_name_51 WHERE player = "rudolf vercik"
Below is an context that describes a 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 (finish VARCHAR, start VARCHAR) ### Question: What was 13's finish? ### Answer: SELECT finish FROM table_name_10 WHERE start = "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_83 (third VARCHAR, location VARCHAR, second VARCHAR) ### Question: In Winterberg, who was 3rd the year that Monique Riekewald was 2nd? ### Answer: SELECT third FROM table_name_83 WHERE location = "winterberg" AND second = "monique riekewald"
Below is an context that describes a 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 (Id VARCHAR) ### Question: WHICH 1990 has a 1993 of 1r? ### Answer: SELECT 1990 FROM table_name_3 WHERE 1993 = "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_12 (new_returning_same_network VARCHAR, previous_network VARCHAR, show VARCHAR) ### Question: Which New/Returning/Same Network has a Previous Network of nbc, and a Show of blockbusters? ### Answer: SELECT new_returning_same_network FROM table_name_12 WHERE previous_network = "nbc" AND show = "blockbusters"
Below is an context that describes a 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 (pick INTEGER, player VARCHAR, round VARCHAR) ### Question: Player of mike o'quinn, and a Round smaller than 15 had what lowest pick? ### Answer: SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 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_87 (time VARCHAR, competition VARCHAR, venue VARCHAR) ### Question: What's the Time for the Competition of european cup and has a Venue of Moscow? ### Answer: SELECT time FROM table_name_87 WHERE competition = "european cup" AND venue = "moscow"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25008327_8 (croatian VARCHAR, english VARCHAR) ### Question: What is every value for Croatian when value for English is dog? ### Answer: SELECT croatian FROM table_25008327_8 WHERE english = "dog"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE budget (budgeted VARCHAR, invested VARCHAR, school_id VARCHAR, year VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) ### Question: Show each school name, its budgeted amount, and invested amount in year 2002 or after. ### Answer: SELECT T2.school_name, T1.budgeted, T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16799784_9 (name VARCHAR, longitude VARCHAR) ### Question: At the longitude of 355.0e, what is the name origin? ### Answer: SELECT name AS origin FROM table_16799784_9 WHERE longitude = "355.0E"
Below is an context that describes a 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 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR) ### Question: What is the format of catalog number 886973273913 (gowow012) in the United Kingdom? ### Answer: SELECT format FROM table_name_70 WHERE country = "united kingdom" AND catalogue__number = "886973273913 (gowow012)"
Below is an context that describes a 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 (college VARCHAR, position VARCHAR) ### Question: What is the College of the Halfback Player? ### Answer: SELECT college FROM table_name_57 WHERE position = "halfback"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18335117_2 (production_code INTEGER, writer VARCHAR) ### Question: What is the highest production code of an episode written by Tim Loane? ### Answer: SELECT MAX(production_code) FROM table_18335117_2 WHERE writer = "Tim Loane"
Below is an context that describes a 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_85 (opponent VARCHAR, week VARCHAR) ### Question: Who was the opponent at the week 4 game? ### Answer: SELECT opponent FROM table_name_85 WHERE week = 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_7 (urban_population__2010_ INTEGER, city VARCHAR) ### Question: What is the urban population for the city of Fuzhou? ### Answer: SELECT AVG(urban_population__2010_) FROM table_name_7 WHERE city = "fuzhou"
Below is an context that describes a 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 (winner VARCHAR, circuit VARCHAR) ### Question: Which driver won the Phillip Island Grand Prix Circuit? ### Answer: SELECT winner FROM table_name_61 WHERE circuit = "phillip island grand prix circuit"
Below is an context that describes a 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 (time VARCHAR, grid VARCHAR, rider VARCHAR) ### Question: What is the time of Troy Bayliss with less than 8 grids? ### Answer: SELECT time FROM table_name_96 WHERE grid < 8 AND rider = "troy bayliss"
Below is an context that describes a 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 (season INTEGER, rank INTEGER) ### Question: What is the highest season that had rank under 1? ### Answer: SELECT MAX(season) FROM table_name_45 WHERE rank < 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_78 (avg_finish INTEGER, starts VARCHAR, top_10 VARCHAR) ### Question: How much average Finish has Starts of 9, and a Top 10 smaller than 0? ### Answer: SELECT SUM(avg_finish) FROM table_name_78 WHERE starts = 9 AND top_10 < 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_25 (score VARCHAR, to_par VARCHAR, country VARCHAR) ### Question: What score has a to par of 12 and is from Jersey? ### Answer: SELECT score FROM table_name_25 WHERE to_par = 12 AND country = "jersey"
Below is an context that describes a 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 (record VARCHAR, attendance VARCHAR) ### Question: What's the record when the attendance was 28,531? ### Answer: SELECT record FROM table_name_62 WHERE attendance = "28,531"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR) ### Question: Who were the candidates in the Kentucky 5 district? ### Answer: SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 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_1998037_9 (television_commentator VARCHAR, radio_commentator VARCHAR) ### Question: Who is the television commentator when the radio commentator is Galyna Babiy? ### Answer: SELECT television_commentator FROM table_1998037_9 WHERE radio_commentator = "Galyna Babiy"
Below is an context that describes a 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 (opponent VARCHAR, record VARCHAR) ### Question: Which Opponent has a Record of 2–0? ### Answer: SELECT opponent FROM table_name_80 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_14332822_1 (variant_id VARCHAR) ### Question: What is the 3'utr sequence with a variant id of acd'6a 3? ### Answer: SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE variant_id = "ACD'6A 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 swimmer (nationality VARCHAR) ### Question: List countries that have more than one swimmer. ### Answer: SELECT nationality, COUNT(*) FROM swimmer GROUP BY nationality 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_name_87 (us_krag_jørgensen_m1892 VARCHAR, norwegian_krag_jørgensen_m1894 VARCHAR) ### Question: What is the US Krag-Jørgensen M1892 when the Norwegian Krag-Jørgensen M1894 is 126.8cm? ### Answer: SELECT us_krag_jørgensen_m1892 FROM table_name_87 WHERE norwegian_krag_jørgensen_m1894 = "126.8cm"
Below is an context that describes a 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 (margin_of_victory VARCHAR, runner_s__up VARCHAR) ### Question: What was the margin of victory when Mark Calcavecchia was the runner-up? ### Answer: SELECT margin_of_victory FROM table_name_53 WHERE runner_s__up = "mark calcavecchia"
Below is an context that describes a 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 (tournament VARCHAR, date VARCHAR) ### Question: Which tournament has a Date of april 20, 1987? ### Answer: SELECT tournament FROM table_name_21 WHERE date = "april 20, 1987"
Below is an context that describes a 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 (lost INTEGER, played INTEGER) ### Question: What is the highest number of losses when there are under 1 games played? ### Answer: SELECT MAX(lost) FROM table_name_43 WHERE played < 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_41 (pada_3 VARCHAR, pada_1 VARCHAR) ### Question: Which Pada 3 has a Pada 1 of टे te? ### Answer: SELECT pada_3 FROM table_name_41 WHERE pada_1 = "टे 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 Person (city VARCHAR) ### Question: How many different cities are they from? ### Answer: SELECT COUNT(DISTINCT city) 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_name_42 (boat_builder VARCHAR, year_built VARCHAR, number VARCHAR) ### Question: What is the boat builder for a boat built in 1910/11 and a number of 39? ### Answer: SELECT boat_builder FROM table_name_42 WHERE year_built = "1910/11" AND number = 39
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24143253_5 (children_together VARCHAR, name VARCHAR) ### Question: Who were the children of Benjamin Harrison? ### Answer: SELECT children_together FROM table_24143253_5 WHERE name = "Benjamin Harrison"
Below is an context that describes a 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 (losses INTEGER, conceded VARCHAR, wins VARCHAR) ### Question: How many loses does the team have that conceded 25 and won more than 6 games? ### Answer: SELECT SUM(losses) FROM table_name_6 WHERE conceded = 25 AND wins > 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_90 (Id VARCHAR) ### Question: Which 2007 has a 2008 of 0 / 4? ### Answer: SELECT 2007 FROM table_name_90 WHERE 2008 = "0 / 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_12 (points VARCHAR, class VARCHAR, machine VARCHAR) ### Question: What points have 500cc as a class, and nsr500 as a machine? ### Answer: SELECT points FROM table_name_12 WHERE class = "500cc" AND machine = "nsr500"
Below is an context that describes a 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 (result VARCHAR, goal VARCHAR) ### Question: What is the Result of Goal number 3? ### Answer: SELECT result FROM table_name_21 WHERE goal = 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_38 (to_par VARCHAR, total VARCHAR) ### Question: What is the total number of To Par, when Total is "295"? ### Answer: SELECT COUNT(to_par) FROM table_name_38 WHERE total = 295
Below is an context that describes a 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 (track VARCHAR, catalogue VARCHAR) ### Question: Tell me the track that has the catalogue of apbo 0280 ### Answer: SELECT track FROM table_name_34 WHERE catalogue = "apbo 0280"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1350350_2 (place VARCHAR, per_capita_income VARCHAR) ### Question: who is the the place with per capita income being $14,793 ### Answer: SELECT place FROM table_1350350_2 WHERE per_capita_income = "$14,793"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE pilot (Nationality VARCHAR) ### Question: Show the most common nationality of pilots. ### Answer: SELECT Nationality FROM pilot GROUP BY Nationality 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_2588674_1 (region VARCHAR, village VARCHAR) ### Question: What region is inarajan in? ### Answer: SELECT region FROM table_2588674_1 WHERE village = "Inarajan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17323092_8 (location_attendance VARCHAR, high_assists VARCHAR) ### Question: Where was the location and what was the attendance in the game that Anthony Parker (7) earned high assists? ### Answer: SELECT location_attendance FROM table_17323092_8 WHERE high_assists = "Anthony Parker (7)"
Below is an context that describes a 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 (frequency VARCHAR, call_letters VARCHAR) ### Question: What is the frequency of WMAD? ### Answer: SELECT frequency FROM table_name_21 WHERE call_letters = "wmad"
Below is an context that describes a 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 (athlete VARCHAR, result VARCHAR) ### Question: Which athlete, has an 18.55 result ### Answer: SELECT athlete FROM table_name_43 WHERE result = 18.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_46 (wins INTEGER, draws VARCHAR, season VARCHAR) ### Question: What is the sum of Wins when draws shows 0 in 1964? ### Answer: SELECT SUM(wins) FROM table_name_46 WHERE draws = 0 AND season = 1964
Below is an context that describes a 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 (notes VARCHAR, time VARCHAR) ### Question: What were the notes for the time of 6:34.51? ### Answer: SELECT notes FROM table_name_56 WHERE time = "6:34.51"
Below is an context that describes a 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 (to_par VARCHAR, country VARCHAR, score VARCHAR) ### Question: What is the To par for the place in the United States and a score of 74-69-71-74=288? ### Answer: SELECT to_par FROM table_name_87 WHERE country = "united states" AND score = 74 - 69 - 71 - 74 = 288
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14903081_1 (tournament VARCHAR, current_venue VARCHAR) ### Question: How many tournaments have their current venue as the Lindner Family Tennis Center? ### Answer: SELECT COUNT(tournament) FROM table_14903081_1 WHERE current_venue = "Lindner Family Tennis Center"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE PersonFriend (name VARCHAR); CREATE TABLE person (name VARCHAR) ### Question: Who is the person that has no friend? ### Answer: SELECT name FROM person EXCEPT SELECT name FROM PersonFriend
Below is an context that describes a 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 (year INTEGER, expenditure VARCHAR, income VARCHAR) ### Question: Which Year has an Expenditure of 55, and an Income smaller than 36.2? ### Answer: SELECT MIN(year) FROM table_name_7 WHERE expenditure = 55 AND income < 36.2