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_10 (city VARCHAR, region VARCHAR, venue VARCHAR) ### Question: What city is east region venue University Hall (University of Virginia) in? ### Answer: SELECT city FROM table_name_10 WHERE region = "east" AND venue = "university hall (university of virginia)"
Below is an context that describes a sql 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 (entrant VARCHAR, chassis VARCHAR) ### Question: Which entrant used the chassis de tomaso 505? ### Answer: SELECT entrant FROM table_name_9 WHERE chassis = "de tomaso 505"
Below is an context that describes a sql 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 (overall INTEGER, pick__number VARCHAR, round VARCHAR, college VARCHAR) ### Question: What is the total overall for the pick that went before round 4, who went to Tennessee for college, and was picked at a number bigger than 9? ### Answer: SELECT SUM(overall) FROM table_name_60 WHERE round < 4 AND college = "tennessee" AND pick__number > 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_1447085_1 (county VARCHAR, median_house__hold_income VARCHAR) ### Question: Which county has a median household income of $98,090? ### Answer: SELECT county FROM table_1447085_1 WHERE median_house__hold_income = "$98,090"
Below is an context that describes a sql 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 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR) ### Question: Which junior high school has male and female genders? ### Answer: SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female"
Below is an context that describes a sql 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 (position VARCHAR, losses VARCHAR, conceded VARCHAR) ### Question: What is the total number of positions having 1 loss and more than 9 conceded? ### Answer: SELECT COUNT(position) FROM table_name_7 WHERE losses = 1 AND conceded > 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_11456251_5 (_percentage_of_annual_production VARCHAR, power_source VARCHAR) ### Question: What is the % of annual production of solar? ### Answer: SELECT _percentage_of_annual_production FROM table_11456251_5 WHERE power_source = "Solar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1610496_3 (gdp_per_capita_nominal__ INTEGER, population__millions_ VARCHAR) ### Question: What is the nominal GDP per capita when the population is 63.056 million? ### Answer: SELECT MIN(gdp_per_capita_nominal__) AS $_ FROM table_1610496_3 WHERE population__millions_ = "63.056"
Below is an context that describes a sql 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 (la_cañada_flintridge VARCHAR, tujunga VARCHAR) ### Question: What is the percentage of La Canada Flintridge when Tujunga is 7%? ### Answer: SELECT la_cañada_flintridge FROM table_name_58 WHERE tujunga = "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_32 (industrial_use__m_3__p_yr__in__percentage_ VARCHAR, total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR) ### Question: What is Industrial Use (m 3 /p/yr)(in %), when Total Freshwater Withdrawal (km 3/yr) is less than 82.75, and when Agricultural Use (m 3 /p/yr)(in %) is 1363(92%)? ### Answer: SELECT industrial_use__m_3__p_yr__in__percentage_ FROM table_name_32 WHERE total_freshwater_withdrawal__km_3__yr_ < 82.75 AND agricultural_use__m_3__p_yr__in__percentage_ = "1363(92%)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_254776_1 (founded VARCHAR, institution VARCHAR) ### Question: When was Dickinson College founded? ### Answer: SELECT founded FROM table_254776_1 WHERE institution = "Dickinson College"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2771237_1 (season VARCHAR, average_attendance VARCHAR) ### Question: What season was the average attendance is 16043? ### Answer: SELECT season FROM table_2771237_1 WHERE average_attendance = 16043
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21501565_1 (original_artist VARCHAR, order__number VARCHAR, theme VARCHAR) ### Question: With order number 7 and the theme is Motown, who were the original artists? ### Answer: SELECT original_artist FROM table_21501565_1 WHERE order__number = "7" AND theme = "Motown"
Below is an context that describes a sql 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 (family VARCHAR, name VARCHAR) ### Question: What family has the name of eastern cottontail? ### Answer: SELECT family FROM table_name_57 WHERE name = "eastern cottontail"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR) ### Question: How many men from the Ukraine? ### Answer: SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine"
Below is an context that describes a sql 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 (monarch VARCHAR, left_office VARCHAR) ### Question: Who is the monarch that left office circa 1886? ### Answer: SELECT monarch FROM table_name_7 WHERE left_office = "circa 1886"
Below is an context that describes a sql 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 (college VARCHAR, pick INTEGER) ### Question: Which college had a pick of under 5? ### Answer: SELECT college FROM table_name_92 WHERE pick < 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_97 (caps VARCHAR, position VARCHAR, player VARCHAR) ### Question: Paddy Wallace who plays the position of fly-half has how many Caps? ### Answer: SELECT caps FROM table_name_97 WHERE position = "fly-half" AND player = "paddy wallace"
Below is an context that describes a sql 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 (passengers INTEGER, airport VARCHAR) ### Question: How many Passengers that have an Airport in indonesia, denpasar? ### Answer: SELECT AVG(passengers) FROM table_name_31 WHERE airport = "indonesia, denpasar"
Below is an context that describes a sql 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 (airport VARCHAR, country VARCHAR) ### Question: What is the Airport in Singapore? ### Answer: SELECT airport FROM table_name_77 WHERE country = "singapore"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR) ### Question: What is the value of barrel twist when the barrel profile is SFW? ### Answer: SELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = "SFW"
Below is an context that describes a sql 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 (final_score VARCHAR, stadium VARCHAR, date VARCHAR) ### Question: What was the final score at texas stadium on September 17? ### Answer: SELECT final_score FROM table_name_43 WHERE stadium = "texas stadium" AND date = "september 17"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (studio_host VARCHAR, play_by_play VARCHAR, colour_commentator_s_ VARCHAR) ### Question: Who is the studio host that has a play-by-play announcer of Bob Cole and a colour commentator of Harry Neale? ### Answer: SELECT studio_host FROM table_name_38 WHERE play_by_play = "bob cole" AND colour_commentator_s_ = "harry neale"
Below is an context that describes a sql 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 (team VARCHAR, year VARCHAR) ### Question: what is the team that played in 2006? ### Answer: SELECT team FROM table_name_70 WHERE year = 2006
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (total VARCHAR, a_score VARCHAR, b_score VARCHAR) ### Question: Can you tell me the Total that has the A Score larger than 6.4, and the B Score smaller than 9.025? ### Answer: SELECT total FROM table_name_31 WHERE a_score > 6.4 AND b_score < 9.025
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) ### Question: how many millions of North American people saw the episode whose director was Ed Sherin? ### Answer: SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = "Ed Sherin"
Below is an context that describes a sql 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 (qual_1 VARCHAR, team VARCHAR) ### Question: What is the qual 1 for conquest racing? ### Answer: SELECT qual_1 FROM table_name_41 WHERE team = "conquest racing"
Below is an context that describes a sql 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 (year VARCHAR, number INTEGER) ### Question: What is the Year with a Number that is larger than 34? ### Answer: SELECT year FROM table_name_96 WHERE number > 34
Below is an context that describes a sql 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 (surface VARCHAR, opponent VARCHAR) ### Question: On what Surface was the match against Malek Jaziri played? ### Answer: SELECT surface FROM table_name_78 WHERE opponent = "malek jaziri"
Below is an context that describes a sql 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 (system VARCHAR, license VARCHAR) ### Question: What is the System with a freeware License? ### Answer: SELECT system FROM table_name_9 WHERE license = "freeware"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, yield__approximate_ VARCHAR) ### Question: What was the altitude of the yield of 1.4 megatons? ### Answer: SELECT altitude__km_ FROM table_148578_1 WHERE yield__approximate_ = "1.4 megatons"
Below is an context that describes a sql 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 (bronze VARCHAR, silver VARCHAR, total VARCHAR, nation VARCHAR) ### Question: How many times was the total more than 1, the nation was east germany and silver was more than 1? ### Answer: SELECT COUNT(bronze) FROM table_name_25 WHERE total > 1 AND nation = "east germany" AND silver > 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_27922491_8 (innings INTEGER, average VARCHAR) ### Question: How many innings for the player with an average of 30.03? ### Answer: SELECT MIN(innings) FROM table_27922491_8 WHERE average = "30.03"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR) ### Question: what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes ### Answer: SELECT distribution FROM table_1357052_6 WHERE grsecurity = "Optional" AND compile_time_buffer_checks = "Yes"
Below is an context that describes a sql 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 (final_round VARCHAR, year VARCHAR) ### Question: In 1975, what was the final round? ### Answer: SELECT final_round FROM table_name_1 WHERE year = "1975"
Below is an context that describes a sql 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 (time VARCHAR, event VARCHAR) ### Question: What was the time of sportfight 10? ### Answer: SELECT time FROM table_name_45 WHERE event = "sportfight 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_29 (laps VARCHAR, grid VARCHAR) ### Question: How many laps led when the Grid was 15? ### Answer: SELECT laps AS Led FROM table_name_29 WHERE grid = "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_95 (total INTEGER, rank VARCHAR, bronze VARCHAR) ### Question: What is the sum of Total, when Rank is 8, and when Bronze is less than 1? ### Answer: SELECT SUM(total) FROM table_name_95 WHERE rank = "8" AND bronze < 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_63 (name VARCHAR, reported_death_date VARCHAR) ### Question: Who has a reported death of 6 march 1998? ### Answer: SELECT name FROM table_name_63 WHERE reported_death_date = "6 march 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_13950065_1 (per_lift INTEGER) ### Question: how heavy is the maximum ### Answer: SELECT MAX(per_lift) FROM table_13950065_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_13399573_3 (try_bonus VARCHAR, points_against VARCHAR) ### Question: What was the number of bonus tries when there were 522 points against? ### Answer: SELECT try_bonus FROM table_13399573_3 WHERE points_against = "522"
Below is an context that describes a sql 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 (session VARCHAR, circuit VARCHAR) ### Question: What was the session at the circuit of autodrom most? ### Answer: SELECT session FROM table_name_95 WHERE circuit = "autodrom most"
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: What is the result of the game when the attendance is 62,078? ### Answer: SELECT result FROM table_name_6 WHERE attendance = "62,078"
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR, total VARCHAR) ### Question: What's the lowest Gold if the Rank is over 4 but the Total is less than 1? ### Answer: SELECT MIN(gold) FROM table_name_88 WHERE rank > 4 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_262495_1 (type VARCHAR, nickname VARCHAR) ### Question: When pointers are the nickname what is the type? ### Answer: SELECT type FROM table_262495_1 WHERE nickname = "Pointers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_191105_3 (first_aired VARCHAR, subject VARCHAR) ### Question: If skeletal system is the subject when was it first aired? ### Answer: SELECT first_aired FROM table_191105_3 WHERE subject = "Skeletal system"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Project_Staff (role_code VARCHAR, date_from VARCHAR) ### Question: How many project staff worked as leaders or started working before '1989-04-24 23:51:54'? ### Answer: SELECT COUNT(*) FROM Project_Staff WHERE role_code = 'leader' OR date_from < '1989-04-24 23:51:54'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (rebounds VARCHAR, rank VARCHAR) ### Question: How many rebounds occurred in a rank 4 game? ### Answer: SELECT rebounds FROM table_name_73 WHERE rank = 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_51 (leading_scorer VARCHAR, home VARCHAR) ### Question: Who is the leading scorer when they were at home of the Clippers? ### Answer: SELECT leading_scorer FROM table_name_51 WHERE home = "clippers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE driver (home_city VARCHAR, age INTEGER) ### Question: Show all home cities except for those having a driver older than 40. ### Answer: SELECT home_city FROM driver EXCEPT SELECT home_city FROM driver WHERE age > 40
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1831262_2 (sesamin VARCHAR, foodstuff VARCHAR) ### Question: how much sesamin is in sesame seed? ### Answer: SELECT sesamin FROM table_1831262_2 WHERE foodstuff = "Sesame seed"
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR) ### Question: How many people attended the away league competition with a date of 22? ### Answer: SELECT attendance FROM table_name_61 WHERE competition = "league" AND venue = "away" AND date = 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_66 (year INTEGER, category VARCHAR) ### Question: Which Year has a Category of best film? ### Answer: SELECT MAX(year) FROM table_name_66 WHERE category = "best film"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who are the candidates in the race where Wright Patman is the incumbent? ### Answer: SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"
Below is an context that describes a sql 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 (haat VARCHAR, facility_id VARCHAR) ### Question: Which HAAT has 65944? ### Answer: SELECT haat FROM table_name_34 WHERE facility_id = 65944
Below is an context that describes a sql 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 (time VARCHAR, news_freq VARCHAR, local_networked VARCHAR, ad_freq VARCHAR) ### Question: Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news? ### Answer: SELECT time FROM table_name_24 WHERE local_networked = "local" AND ad_freq = "20 minutes" AND news_freq = "n/a after 7pm news"
Below is an context that describes a sql 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 (visitor VARCHAR, date VARCHAR) ### Question: Who was the visiting team on May 7? ### Answer: SELECT visitor FROM table_name_55 WHERE date = "may 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_77 (grid INTEGER, driver VARCHAR) ### Question: What was the highest grid for Patrick Carpentier? ### Answer: SELECT MAX(grid) FROM table_name_77 WHERE driver = "patrick carpentier"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2618061_1 (written_by VARCHAR, directed_by VARCHAR) ### Question: How many episodes were directed by james quinn? ### Answer: SELECT COUNT(written_by) FROM table_2618061_1 WHERE directed_by = "James Quinn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Who was elected in 1972 ### Answer: SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972
Below is an context that describes a sql 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 INTEGER, player VARCHAR, draft VARCHAR) ### Question: What is the average round of player dave pulkkinen, who had a draft after 1969? ### Answer: SELECT AVG(round) FROM table_name_61 WHERE player = "dave pulkkinen" AND draft > 1969
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (election VARCHAR) ### Question: Which 1st Party has an election in 1847? ### Answer: SELECT 1 AS st_party FROM table_name_28 WHERE election = "1847"
Below is an context that describes a sql 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 (location VARCHAR, team_nickname VARCHAR) ### Question: What Location has a Team Nickname called the Fighting Missionaries? ### Answer: SELECT location FROM table_name_13 WHERE team_nickname = "fighting missionaries"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2112766_1 (archive VARCHAR, run_time VARCHAR) ### Question: how many archive were when run time is 24:34 ### Answer: SELECT archive FROM table_2112766_1 WHERE run_time = "24:34"
Below is an context that describes a sql 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 (rounds VARCHAR, driver VARCHAR) ### Question: None of the rounds has Roger Williamson as a driver. ### Answer: SELECT rounds FROM table_name_8 WHERE driver = "roger williamson"
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, place VARCHAR) ### Question: Which player from United States is in place of t6? ### Answer: SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t6"
Below is an context that describes a sql 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 (b_score INTEGER, a_score INTEGER) ### Question: What is the greatest B score when the A score was less than 6.5? ### Answer: SELECT MAX(b_score) FROM table_name_4 WHERE a_score < 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_name_42 (date VARCHAR, opponents VARCHAR, league_position VARCHAR) ### Question: What is the date of the game against Chelsea when the league position is 14th? ### Answer: SELECT date FROM table_name_42 WHERE opponents = "chelsea" AND league_position = "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_14624447_39 (hometown VARCHAR, name VARCHAR) ### Question: Name the hometown for ventrell jenkins ### Answer: SELECT hometown FROM table_14624447_39 WHERE name = "Ventrell Jenkins"
Below is an context that describes a sql 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 (tournament VARCHAR, margin_of_victory VARCHAR) ### Question: What is the Tournament with a Margin of victory that was 4 strokes? ### Answer: SELECT tournament FROM table_name_57 WHERE margin_of_victory = "4 strokes"
Below is an context that describes a sql 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 (pop_act VARCHAR, album VARCHAR) ### Question: Which act's album has a name of All That You Can't Leave Behind? ### Answer: SELECT pop_act FROM table_name_58 WHERE album = "all that you can't leave behind"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR) ### Question: List the id and type of each thing, and the details of the organization that owns it. ### Answer: SELECT T1.thing_id, T1.type_of_Thing_Code, T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_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_59 (jockey VARCHAR, post_time_odds VARCHAR) ### Question: Who was the jockey that had post time odds of 34-1? ### Answer: SELECT jockey FROM table_name_59 WHERE post_time_odds = "34-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 (opponent VARCHAR, record VARCHAR) ### Question: Who is the opponent when the record is 3-8? ### Answer: SELECT opponent FROM table_name_53 WHERE record = "3-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_83 (fall_07 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR) ### Question: What is the average value for Fall 07 when Fall 05 is 271 and Fall 09 is less than 347? ### Answer: SELECT AVG(fall_07) FROM table_name_83 WHERE fall_05 = 271 AND fall_09 < 347
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22665117_1 (county VARCHAR, district_name VARCHAR) ### Question: If the name of the district is the Charyl Stockwell Academy, what is the county name? ### Answer: SELECT county FROM table_22665117_1 WHERE district_name = "Charyl Stockwell Academy"
Below is an context that describes a sql 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 (attendance INTEGER, opponent VARCHAR, record VARCHAR) ### Question: What is the average attendance of the Mariners' attendance when their record was 62-64? ### Answer: SELECT AVG(attendance) FROM table_name_86 WHERE opponent = "mariners" AND record = "62-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_92 (position VARCHAR, test_debut VARCHAR, year VARCHAR, cross_code_debut VARCHAR) ### Question: What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand? ### Answer: SELECT position FROM table_name_92 WHERE year < 1907 AND cross_code_debut = "inaugural rl test v new zealand" AND test_debut = "inaugural ru test v 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_43 (year INTEGER, award VARCHAR) ### Question: How many years had ozone awards? ### Answer: SELECT SUM(year) FROM table_name_43 WHERE award = "ozone awards"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE county (County_name VARCHAR) ### Question: Return the names of all counties sorted by county name in descending alphabetical order. ### Answer: SELECT County_name FROM county ORDER BY County_name DESC
Below is an context that describes a sql 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 (pregame_analysts VARCHAR, color_commentator VARCHAR, network VARCHAR) ### Question: Who does pregame analysts for TSN2 network when Taylor Twellman is the color commentator? ### Answer: SELECT pregame_analysts FROM table_name_74 WHERE color_commentator = "taylor twellman" AND network = "tsn2"
Below is an context that describes a sql 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 (year VARCHAR, catalogue_number VARCHAR) ### Question: What is the year of the disc with a catalogue number mash02? ### Answer: SELECT year FROM table_name_22 WHERE catalogue_number = "mash02"
Below is an context that describes a sql 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 (term_of_office VARCHAR, state VARCHAR, member VARCHAR) ### Question: What is the Term of office for Leonard Reynolds of NSW? ### Answer: SELECT term_of_office FROM table_name_1 WHERE state = "nsw" AND member = "leonard reynolds"
Below is an context that describes a sql 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 (against INTEGER, draws VARCHAR, wins VARCHAR, golden_rivers VARCHAR) ### Question: What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river? ### Answer: SELECT SUM(against) FROM table_name_36 WHERE wins < 12 AND golden_rivers = "moulamein" AND draws < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_70 (gfl_premierships VARCHAR, nickname VARCHAR) ### Question: What GLF Premiership did the Magpies have? ### Answer: SELECT gfl_premierships FROM table_name_70 WHERE nickname = "magpies"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23281862_9 (high_rebounds VARCHAR, game VARCHAR) ### Question: Who is the high rebounds for game 64? ### Answer: SELECT high_rebounds FROM table_23281862_9 WHERE game = 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_81 (position VARCHAR, year VARCHAR, player VARCHAR) ### Question: What is Position, when Year is less than 2000, and when Player is "Radek Dvorak Category:Articles with hCards"? ### Answer: SELECT position FROM table_name_81 WHERE year < 2000 AND player = "radek dvorak category:articles with hcards"
Below is an context that describes a sql 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 (year VARCHAR, pts VARCHAR) ### Question: What year had 13 points? ### Answer: SELECT year FROM table_name_23 WHERE pts = 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_57 (location VARCHAR, home_team VARCHAR) ### Question: What is the location with Honduras is Home team? ### Answer: SELECT location FROM table_name_57 WHERE home_team = "honduras"
Below is an context that describes a sql 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 (location VARCHAR, fatalities VARCHAR, aircraft VARCHAR) ### Question: In what location were the fatalities unknown for the Ju-52 aircraft? ### Answer: SELECT location FROM table_name_12 WHERE fatalities = "unknown" AND aircraft = "ju-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_11 (home_team VARCHAR, crowd INTEGER) ### Question: What is the home team score when the crowd was larger than 30,100? ### Answer: SELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100
Below is an context that describes a sql 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 (electricity_grid VARCHAR, commercial_operation VARCHAR) ### Question: Which Electricity Grid started its Commercial Operation of 24.03.1973? ### Answer: SELECT electricity_grid FROM table_name_17 WHERE commercial_operation = "24.03.1973"
Below is an context that describes a sql 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 (pick INTEGER, school VARCHAR) ### Question: What is the pick number for School of lsu? ### Answer: SELECT SUM(pick) FROM table_name_7 WHERE school = "lsu"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1594772_2 (s_no VARCHAR, match_date VARCHAR) ### Question: Name the numbers for date of feb 27, 1996 ### Answer: SELECT s_no FROM table_1594772_2 WHERE match_date = "Feb 27, 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_15607589_2 (points_against VARCHAR, date VARCHAR) ### Question: Name the points against for november 14 ### Answer: SELECT points_against FROM table_15607589_2 WHERE date = "November 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_46 (score VARCHAR, opponent VARCHAR) ### Question: What was the score when the opponent was Detroit Pistons? ### Answer: SELECT score FROM table_name_46 WHERE opponent = "detroit pistons"
Below is an context that describes a sql 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 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) ### Question: Which fleet numbers has quantity of 1? ### Answer: SELECT fleet_number_s_ FROM table_name_78 WHERE quantity_made = "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_45 (team VARCHAR, outgoing_manager VARCHAR) ### Question: Which team had Christoph John as an outgoing manager? ### Answer: SELECT team FROM table_name_45 WHERE outgoing_manager = "christoph john"
Below is an context that describes a sql 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 (opponent VARCHAR, venue VARCHAR) ### Question: Who was the opponent at memorial stadium? ### Answer: SELECT opponent FROM table_name_25 WHERE venue = "memorial stadium"
Below is an context that describes a sql 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 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) ### Question: What is the low lap total for a grid larger than 16 and has a Time/Retired of + 3:27.3? ### Answer: SELECT MIN(laps) FROM table_name_60 WHERE time_retired = "+ 3:27.3" AND grid > 16