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 player (name_first VARCHAR, name_last VARCHAR, death_year VARCHAR) ### Question: Find all the players' first name and last name who have empty death record. ### Answer: SELECT name_first, name_last FROM player WHERE death_year = ''
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23399481_4 (title VARCHAR, us_viewers__in_millions_ VARCHAR) ### Question: What are the titles of the episodes which had 1.10 million U.S. viewers? ### Answer: SELECT title FROM table_23399481_4 WHERE us_viewers__in_millions_ = "1.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_62 (round_of_32 VARCHAR, conference VARCHAR) ### Question: Tell me the round of 32 for conference of southland ### Answer: SELECT round_of_32 FROM table_name_62 WHERE conference = "southland"
Below is an context that describes a sql 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 (rank INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR) ### Question: What is the sum of rank when silver is 1, and gold is less than 7, and bronze is 2? ### Answer: SELECT SUM(rank) FROM table_name_28 WHERE silver = 1 AND gold < 7 AND bronze = 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### Question: What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18? ### Answer: SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (year VARCHAR, label VARCHAR) ### Question: what year was cryptogramophon released ### Answer: SELECT year FROM table_name_11 WHERE label = "cryptogramophon"
Below is an context that describes a sql 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 (video_coding VARCHAR, format_name VARCHAR) ### Question: What type of video coding has a format name of dvcam? ### Answer: SELECT video_coding FROM table_name_69 WHERE format_name = "dvcam"
Below is an context that describes a sql 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 (displacement__cc_ INTEGER, model VARCHAR) ### Question: What is the highest displacement value for the R Fwd Auto Phase1? ### Answer: SELECT MAX(displacement__cc_) FROM table_name_12 WHERE model = "r fwd auto phase1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (result VARCHAR, game VARCHAR) ### Question: What is the Result of Game 3? ### Answer: SELECT result FROM table_name_16 WHERE game = "game 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_55 (crowd INTEGER, venue VARCHAR) ### Question: What was the lowest crowd size at the Windy Hill venue? ### Answer: SELECT MIN(crowd) FROM table_name_55 WHERE venue = "windy hill"
Below is an context that describes a sql 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 (province VARCHAR, _community VARCHAR, hometown VARCHAR) ### Question: What is the province for Jamao Afuera? ### Answer: SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22171978_1 (location VARCHAR, athletic_nickname VARCHAR) ### Question: How many locations are there for the athletic nickname is blue crusaders? ### Answer: SELECT COUNT(location) FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders"
Below is an context that describes a sql 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 (week INTEGER, date VARCHAR) ### Question: What is the Week number on September 6, 1946? ### Answer: SELECT SUM(week) FROM table_name_48 WHERE date = "september 6, 1946"
Below is an context that describes a sql 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 (school VARCHAR, location VARCHAR, previous_conference VARCHAR, year_joined VARCHAR) ### Question: Which School has a Previous Conference of none (new school), and a Year Joined larger than 1960, and a Location of versailles? ### Answer: SELECT school FROM table_name_78 WHERE previous_conference = "none (new school)" AND year_joined > 1960 AND location = "versailles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR) ### Question: Who directed the epsiode with production number 109? ### Answer: SELECT directed_by FROM table_2400842_1 WHERE prod__number = 109
Below is an context that describes a sql 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 (drawn VARCHAR, losing_bonus VARCHAR) ### Question: What is the value for Drawn, when the value for Losing bonus is 6? ### Answer: SELECT drawn FROM table_name_12 WHERE losing_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 editor (Id VARCHAR) ### Question: How many editors are there? ### Answer: SELECT COUNT(*) FROM editor
Below is an context that describes a sql 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 (outcome VARCHAR, score VARCHAR) ### Question: What was the outcome of the match with a score of 3-6, 2-6? ### Answer: SELECT outcome FROM table_name_52 WHERE score = "3-6, 2-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_21808535_1 (round VARCHAR, date VARCHAR) ### Question: How many rounds were on July 10? ### Answer: SELECT COUNT(round) FROM table_21808535_1 WHERE date = "July 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_2668378_5 (first_elected VARCHAR, district VARCHAR) ### Question: Name the first elected for kentucky 1 ### Answer: SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 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 Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER) ### Question: Of all players with an overall rating greater than 80, how many are right-footed and left-footed? ### Answer: SELECT preferred_foot, COUNT(*) FROM Player_Attributes WHERE overall_rating > 80 GROUP BY preferred_foot
Below is an context that describes a sql 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 (year INTEGER, gold VARCHAR) ### Question: What is the earliest year that kim hyun-soo won the gold? ### Answer: SELECT MIN(year) FROM table_name_51 WHERE gold = "kim hyun-soo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14312471_3 (home_team VARCHAR, ground VARCHAR) ### Question: Name the home team for manuka oval ### Answer: SELECT home_team FROM table_14312471_3 WHERE ground = "Manuka Oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (event VARCHAR, opponent VARCHAR) ### Question: Which Event has the Opponent, Bernard Ackah? ### Answer: SELECT event FROM table_name_15 WHERE opponent = "bernard ackah"
Below is an context that describes a sql 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 (january INTEGER, record VARCHAR, game VARCHAR) ### Question: What was the sum of January values with a record of 27-12-3 for a game less than 42? ### Answer: SELECT SUM(january) FROM table_name_36 WHERE record = "27-12-3" AND game < 42
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1963459_2 (average_speed__mph_ VARCHAR, driver VARCHAR) ### Question: What is Tony Stewart's average speed? ### Answer: SELECT average_speed__mph_ FROM table_1963459_2 WHERE driver = "Tony Stewart"
Below is an context that describes a sql 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 (team VARCHAR, finish VARCHAR) ### Question: What is the name of the team with a finish of 19? ### Answer: SELECT team FROM table_name_48 WHERE finish = "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_27776266_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) ### Question: What was the production code of the episode with an audience of 14.79 million in the US? ### Answer: SELECT production_code FROM table_27776266_1 WHERE us_viewers__million_ = "14.79"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27611593_5 (year INTEGER) ### Question: When did the earliest tournament happened? ### Answer: SELECT MIN(year) FROM table_27611593_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_221315_3 (pilot VARCHAR, max_altitude__miles_ VARCHAR) ### Question: Who was the pilot of max altitude of 55.9 miles? ### Answer: SELECT pilot FROM table_221315_3 WHERE max_altitude__miles_ = "55.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_1708014_2 (position VARCHAR, starts VARCHAR) ### Question: what is the posisiotn where the start is 3? ### Answer: SELECT position FROM table_1708014_2 WHERE starts = 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_1341586_44 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who are all the candidates vying for Henry B. Gonzalez' seat? ### Answer: SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"
Below is an context that describes a sql 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 (visitor VARCHAR, score VARCHAR) ### Question: What is the Visitor with a Score with 4 – 3? ### Answer: SELECT visitor FROM table_name_35 WHERE score = "4 – 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_37 (score VARCHAR, competition VARCHAR, date VARCHAR) ### Question: Which friendly competition took place on 19 April 1979? ### Answer: SELECT score FROM table_name_37 WHERE competition = "friendly" AND date = "19 april 1979"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (company VARCHAR, name VARCHAR, tracking_method VARCHAR, latest_stable_release VARCHAR) ### Question: Name the Company which has a Tracking Method of cookies via javascript, and a Latest stable release of n/a, and a Name of clicktale? ### Answer: SELECT company FROM table_name_61 WHERE tracking_method = "cookies via javascript" AND latest_stable_release = "n/a" AND name = "clicktale"
Below is an context that describes a sql 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 (seats_2010 INTEGER, in_de_creased_by VARCHAR, seats_2005 VARCHAR, governorate VARCHAR) ### Question: Name the lowest Seats 2010 which has Seats 2005 smaller than 9, and a Governorate of al muthanna governorate, and an In/de-creased by larger than 2? ### Answer: SELECT MIN(seats_2010) FROM table_name_46 WHERE seats_2005 < 9 AND governorate = "al muthanna governorate" AND in_de_creased_by > 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_51 (week_3_sept_8 VARCHAR, week_2_sept_2 VARCHAR) ### Question: What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)? ### Answer: SELECT week_3_sept_8 FROM table_name_51 WHERE week_2_sept_2 = "florida state (2-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_99 (points_against VARCHAR, played VARCHAR) ### Question: What were the points against in a game that was played correct as of 2009-05-16? ### Answer: SELECT points_against FROM table_name_99 WHERE played = "correct as of 2009-05-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_13 (tie_no VARCHAR, home_team VARCHAR) ### Question: What was the tie number with the home team of Swindon Town? ### Answer: SELECT tie_no FROM table_name_13 WHERE home_team = "swindon town"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14850099_18 (planet VARCHAR, cardinal_direction VARCHAR) ### Question: What is the planet associated with the direction of south? ### Answer: SELECT planet FROM table_14850099_18 WHERE cardinal_direction = "South"
Below is an context that describes a sql 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 (geo_id INTEGER, water__sqmi_ VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, latitude VARCHAR) ### Question: what is the geo id when the land (sqmi) is less than 36.112, the latitude is more than 47.536618, the township is west bay and water (sqmi) is more than 0.209? ### Answer: SELECT SUM(geo_id) FROM table_name_21 WHERE land___sqmi__ < 36.112 AND latitude > 47.536618 AND township = "west bay" AND water__sqmi_ > 0.209
Below is an context that describes a sql 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 (location_attendance VARCHAR, date VARCHAR) ### Question: What is the Location Attendance when the Date was February 27? ### Answer: SELECT location_attendance FROM table_name_83 WHERE date = "february 27"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (young_rider_classification VARCHAR, stage VARCHAR) ### Question: What Young rider classification has a Stage of 18? ### Answer: SELECT young_rider_classification FROM table_name_3 WHERE stage = "18"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (year VARCHAR, driver VARCHAR) ### Question: When did Hans Hartmann drive? ### Answer: SELECT COUNT(year) FROM table_name_42 WHERE driver = "hans hartmann"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR) ### Question: How many were won when the points were 12? ### Answer: SELECT COUNT(won) FROM table_17369472_2 WHERE points = "12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR) ### Question: What is the record of Jeremija Sanders' opponent? ### Answer: SELECT record FROM table_name_37 WHERE opponent = "jeremija sanders"
Below is an context that describes a sql 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 (chapters VARCHAR, director VARCHAR) ### Question: How many chapters did Elmer Clifton direct? ### Answer: SELECT COUNT(chapters) FROM table_name_86 WHERE director = "elmer clifton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR) ### Question: What was the titles of the episodes written by ken lazebnik? ### Answer: SELECT title FROM table_11111116_7 WHERE written_by = "Ken LaZebnik"
Below is an context that describes a sql 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 (laid_down VARCHAR, name VARCHAR) ### Question: What year was the USS Cambridge laid down? ### Answer: SELECT laid_down FROM table_name_17 WHERE name = "uss cambridge"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (name VARCHAR, laid_down VARCHAR) ### Question: what is the name when the laid down is 28 february 1943? ### Answer: SELECT name FROM table_name_37 WHERE laid_down = "28 february 1943"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24101118_1 (socket VARCHAR, brand_name VARCHAR) ### Question: what is the socket that has a brand name of core 2 extreme? ### Answer: SELECT socket FROM table_24101118_1 WHERE brand_name = "Core 2 Extreme"
Below is an context that describes a sql 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 (evening_gown VARCHAR, preliminary VARCHAR, average VARCHAR, country VARCHAR) ### Question: What is the evening gown number when the average is more than 8.984 in Louisiana and the preliminary is more than 8.597? ### Answer: SELECT COUNT(evening_gown) FROM table_name_60 WHERE average > 8.984 AND country = "louisiana" AND preliminary > 8.597
Below is an context that describes a sql 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 (distance VARCHAR, speed VARCHAR) ### Question: How far did the pilot go when averaging 124.1km/h? ### Answer: SELECT distance FROM table_name_44 WHERE speed = "124.1km/h"
Below is an context that describes a sql 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 (extra VARCHAR, year INTEGER) ### Question: What extra is from after 2009? ### Answer: SELECT extra FROM table_name_87 WHERE year > 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_95 (call_sign VARCHAR, city_of_license VARCHAR) ### Question: What Call sign has a City of license of higgston, ga? ### Answer: SELECT call_sign FROM table_name_95 WHERE city_of_license = "higgston, ga"
Below is an context that describes a sql 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 (sponsor_s_ VARCHAR, date_introduced VARCHAR) ### Question: Who sponsored the bill introduced on June 9, 2011? ### Answer: SELECT sponsor_s_ FROM table_name_77 WHERE date_introduced = "june 9, 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_92 (position VARCHAR, nhl_team VARCHAR) ### Question: What is the position of the player on the Los Angeles Kings? ### Answer: SELECT position FROM table_name_92 WHERE nhl_team = "los angeles kings"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27913160_3 (manufacturer VARCHAR, driver VARCHAR, most_laps_led VARCHAR) ### Question: Who manufactured the car driven by Will Power and Scott Dixon had the most laps? ### Answer: SELECT manufacturer FROM table_27913160_3 WHERE driver = "Will Power" AND most_laps_led = "Scott Dixon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents_to_be_destroyed (Destroyed_by_Employee_ID VARCHAR) ### Question: Show the ids of all employees who have destroyed a document. ### Answer: SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
Below is an context that describes a sql 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 (round INTEGER, position VARCHAR) ### Question: what is the round when the position is (c)? ### Answer: SELECT MAX(round) FROM table_name_85 WHERE position = "(c)"
Below is an context that describes a sql 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 (date VARCHAR, time VARCHAR) ### Question: What day had a time of 29.816? ### Answer: SELECT date FROM table_name_45 WHERE time = "29.816"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26160007_1 (imports VARCHAR, country VARCHAR) ### Question: In the country United Arab Emirates, what is the number of imports? ### Answer: SELECT imports FROM table_26160007_1 WHERE country = "United Arab Emirates"
Below is an context that describes a sql 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 (report VARCHAR, constructor VARCHAR, circuit VARCHAR) ### Question: What is the report status of the race with Ferrari as the constructor and a monza circuit? ### Answer: SELECT report FROM table_name_92 WHERE constructor = "ferrari" AND circuit = "monza"
Below is an context that describes a sql 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 (attendance INTEGER, game_site VARCHAR) ### Question: What's the highest attendance for a game the Texan's played at Arrowhead Stadium? ### Answer: SELECT MAX(attendance) FROM table_name_87 WHERE game_site = "arrowhead 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_10818465_1 (ru INTEGER) ### Question: What is the lowest ru? ### Answer: SELECT MIN(ru) FROM table_10818465_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 advisor (s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR) ### Question: What is the id of the instructor who advises of all students from History department? ### Answer: SELECT i_id FROM advisor AS T1 JOIN student AS T2 ON T1.s_id = T2.id WHERE T2.dept_name = 'History'
Below is an context that describes a sql 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, lane VARCHAR, heat VARCHAR, nationality VARCHAR) ### Question: What is Hungary's time with a heat higher than 2 and two lanes? ### Answer: SELECT time FROM table_name_45 WHERE heat > 2 AND nationality = "hungary" AND lane = 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_66 (points_won INTEGER, total_matches VARCHAR, total_w_l_h VARCHAR) ### Question: Can you tell me the lowest Points won that has the Total matches of 4, and the Total W-L-H of 4-0-0? ### Answer: SELECT MIN(points_won) FROM table_name_66 WHERE total_matches = 4 AND total_w_l_h = "4-0-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_13 (laps INTEGER, driver VARCHAR, grid VARCHAR) ### Question: How many laps for denny hulme with under 4 on the grid? ### Answer: SELECT SUM(laps) FROM table_name_13 WHERE driver = "denny hulme" AND grid < 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_24613895_1 (number_of_believers INTEGER, name_in_syriac VARCHAR) ### Question: Name the most number of believers for ܓܘܝܠܢ ### Answer: SELECT MAX(number_of_believers) FROM table_24613895_1 WHERE name_in_syriac = "ܓܘܝܠܢ"
Below is an context that describes a sql 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 (runner_up VARCHAR, score VARCHAR) ### Question: When the Score was kapunda 7-7-49 angaston 6-8-44, who was the Runner-up? ### Answer: SELECT runner_up FROM table_name_14 WHERE score = "kapunda 7-7-49 angaston 6-8-44"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR) ### Question: Which Opponent is on september 9, 2004? ### Answer: SELECT opponent FROM table_name_77 WHERE date = "september 9, 2004"
Below is an context that describes a sql 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 (builder VARCHAR, number VARCHAR, date VARCHAR, length VARCHAR) ### Question: Which Builder has a Date smaller than 1913, and a Length of feet (m), and a Number of 15? ### Answer: SELECT builder FROM table_name_15 WHERE date < 1913 AND length = "feet (m)" AND number = "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_12 (high_points VARCHAR, game INTEGER) ### Question: Who had the most points in games over 59? ### Answer: SELECT high_points FROM table_name_12 WHERE game > 59
Below is an context that describes a sql 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 (qual VARCHAR, laps VARCHAR, rank VARCHAR) ### Question: What is the qual with 200 laps and a rank of 27? ### Answer: SELECT qual FROM table_name_86 WHERE laps = 200 AND rank = "27"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (release_date VARCHAR, l3_cache VARCHAR, part_number_s_ VARCHAR) ### Question: What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm? ### Answer: SELECT release_date FROM table_name_92 WHERE l3_cache = "6 mb" AND part_number_s_ = "by80607005259aabx80607i7740qm"
Below is an context that describes a sql 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 (player VARCHAR, place VARCHAR) ### Question: Which player placed t10? ### Answer: SELECT player FROM table_name_72 WHERE place = "t10"
Below is an context that describes a sql 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 (heat_ VARCHAR, _lane VARCHAR, time VARCHAR) ### Question: What Heat & Lane is the person who has a time of 1:01.12? ### Answer: SELECT heat_ & _lane FROM table_name_72 WHERE time = "1:01.12"
Below is an context that describes a sql 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 (english VARCHAR, dutch VARCHAR) ### Question: Which English has Dutch of tong? ### Answer: SELECT english FROM table_name_26 WHERE dutch = "tong"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668199_2 (result VARCHAR, district VARCHAR) ### Question: What is the result for district pennsylvania 6? ### Answer: SELECT result FROM table_2668199_2 WHERE district = "Pennsylvania 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_1341522_38 (opponent VARCHAR, district VARCHAR) ### Question: who is the the opponent with district being ohio12 ### Answer: SELECT opponent FROM table_1341522_38 WHERE district = "Ohio12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14650162_1 (nfl_team VARCHAR, college VARCHAR) ### Question: What is the NFL team of the player whose college is Minnesota? ### Answer: SELECT nfl_team FROM table_14650162_1 WHERE college = "Minnesota"
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR) ### Question: On what day was the score of 1–6 6–1 3–6 achieved? ### Answer: SELECT date FROM table_name_12 WHERE score = "1–6 6–1 3–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_18 (no_s_ VARCHAR, height_in_ft VARCHAR) ### Question: Tell me the number for height in ft of 6-7 ### Answer: SELECT no_s_ FROM table_name_18 WHERE height_in_ft = "6-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 (record VARCHAR, march VARCHAR) ### Question: Which record's march was 26? ### Answer: SELECT record FROM table_name_77 WHERE march = 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_45 (school VARCHAR, hometown VARCHAR) ### Question: What school is the player who has a hometown of Chicago, IL from? ### Answer: SELECT school FROM table_name_45 WHERE hometown = "chicago, il"
Below is an context that describes a sql 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 (ranking VARCHAR, ep__number VARCHAR, rating VARCHAR) ### Question: What was the ranking for the episode number before 24 that had a rating of 25.7? ### Answer: SELECT ranking FROM table_name_21 WHERE ep__number < 24 AND rating = "25.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_12027364_1 (womens_doubles VARCHAR, womens_singles VARCHAR) ### Question: Who won the womens doubles when wu jianqui won the womens singles? ### Answer: SELECT womens_doubles FROM table_12027364_1 WHERE womens_singles = "Wu Jianqui"
Below is an context that describes a sql 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 (result VARCHAR, couple VARCHAR) ### Question: What was the result when the couple was steve & anna? ### Answer: SELECT result FROM table_name_97 WHERE couple = "steve & anna"
Below is an context that describes a sql 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 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) ### Question: What is Runner(s)-Up, when Margin of Victory is 1 Stroke, and when Tournament is Joburg Open 1? ### Answer: SELECT runner_s__up FROM table_name_51 WHERE margin_of_victory = "1 stroke" AND tournament = "joburg open 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_20 (result VARCHAR, group VARCHAR, venue VARCHAR) ### Question: What was the result of the race that had a group of G1 at Moonee Valley? ### Answer: SELECT result FROM table_name_20 WHERE group = "g1" AND venue = "moonee valley"
Below is an context that describes a sql 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 (first_elected INTEGER, district VARCHAR) ### Question: What is the lowest First Elected, when District is "Massachusetts 10"? ### Answer: SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 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_42 (points INTEGER, goal_difference INTEGER) ### Question: What is the fewest points that has more than 29 goals? ### Answer: SELECT MIN(points) FROM table_name_42 WHERE goal_difference > 29
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR) ### Question: What shooter has wc munich as the event, and 8 as the rank points? ### Answer: SELECT shooter FROM table_name_43 WHERE event = "wc munich" AND rank_points = "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_90 (country VARCHAR, player VARCHAR) ### Question: What country does david gilford play for? ### Answer: SELECT country FROM table_name_90 WHERE player = "david gilford"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21994729_3 (written_by VARCHAR, directed_by VARCHAR) ### Question: reginald hudlin directed how many written by. ### Answer: SELECT written_by FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin"
Below is an context that describes a sql 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 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR) ### Question: What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Bank Building, and Metres that's larger htan 138.8? ### Answer: SELECT MIN(floors) FROM table_name_29 WHERE feet > 262 AND name = "standard bank building" AND metres > 138.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_60 (grid INTEGER, laps VARCHAR) ### Question: What is the grid total for cars that went 17 laps? ### Answer: SELECT SUM(grid) FROM table_name_60 WHERE laps = 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_13 (steals VARCHAR, place VARCHAR) ### Question: Can you tell me the Steals that has the Place of 6? ### Answer: SELECT steals FROM table_name_13 WHERE place = 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_40 (country VARCHAR, of_1 VARCHAR) ### Question: What country has OF-1 Locotenent? ### Answer: SELECT country FROM table_name_40 WHERE of_1 = "locotenent"