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_47 (name VARCHAR, total_point VARCHAR, bonus VARCHAR, only_point VARCHAR, catch_taken VARCHAR) ### Question: What is Name, when Only Point is greater than 1, when Catch Taken is greater than 3, when Bonus is greater than 4, and when Total Point is less than 30? ### Answer: SELECT name FROM table_name_47 WHERE only_point > 1 AND catch_taken > 3 AND bonus > 4 AND total_point < 30
Below is an context that describes a sql 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 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR) ### Question: What years in orlando have the United States as the nationality, and montana as the school/club team? ### Answer: SELECT years_in_orlando FROM table_name_16 WHERE nationality = "united states" AND school_club_team = "montana"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341395_22 (first_elected INTEGER, district VARCHAR) ### Question: What was the earliest year someone was first elected from Massachusetts 3 ### Answer: SELECT MIN(first_elected) FROM table_1341395_22 WHERE district = "Massachusetts 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_76 (location VARCHAR, opponent VARCHAR) ### Question: Where was match which had Joe Lauzon as an opponent? ### Answer: SELECT location FROM table_name_76 WHERE opponent = "joe lauzon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR) ### Question: Name the broadcast network for saitama prefecture ### Answer: SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Saitama Prefecture"
Below is an context that describes a sql 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 (played VARCHAR, losing_bonus VARCHAR, points_against VARCHAR) ### Question: Name the played with losing bonus of 3 and points against of 426 ### Answer: SELECT played FROM table_name_37 WHERE losing_bonus = "3" AND points_against = "426"
Below is an context that describes a sql 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 (table_diameter VARCHAR, crown_height VARCHAR) ### Question: Which Table diameter has a Crown height of 14.45%? ### Answer: SELECT table_diameter FROM table_name_35 WHERE crown_height = "14.45%"
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR) ### Question: WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279? ### Answer: SELECT place FROM table_name_11 WHERE score = 69 - 71 - 66 - 73 = 279
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR) ### Question: What are the first and last name of the faculty who has the most students? ### Answer: SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID 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_14876228_1 (losses VARCHAR, team VARCHAR) ### Question: Name the losses for general caballero zc ### Answer: SELECT losses FROM table_14876228_1 WHERE team = "General Caballero ZC"
Below is an context that describes a sql 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 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR) ### Question: Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70 ### Answer: SELECT MIN(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "emerson fittipaldi" AND laps > 70
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (high_assists VARCHAR, game VARCHAR) ### Question: What was the number of high assists for game 1? ### Answer: SELECT high_assists FROM table_name_94 WHERE game = 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_40 (money___$__ VARCHAR, place VARCHAR, player VARCHAR) ### Question: What is T4 Place Player Nick Price's Money? ### Answer: SELECT money___$__ FROM table_name_40 WHERE place = "t4" AND player = "nick price"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_250309_1 (company VARCHAR, plant VARCHAR) ### Question: what is the name ofhte company where the plant is in burnaston? ### Answer: SELECT company FROM table_250309_1 WHERE plant = "Burnaston"
Below is an context that describes a sql 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 (season VARCHAR, losses VARCHAR, points VARCHAR, games VARCHAR) ### Question: Which season has less than 26 points, more than 18 games, and exactly 13 losses? ### Answer: SELECT season FROM table_name_78 WHERE points < 26 AND games > 18 AND losses = 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_39 (Box VARCHAR, home_team VARCHAR) ### Question: What was the box score during a home game of the Adelaide 36ers? ### Answer: SELECT Box AS score FROM table_name_39 WHERE home_team = "adelaide 36ers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15187735_12 (series_ep VARCHAR, segment_b VARCHAR) ### Question: What is the series episode where Segment B is popcorn ? ### Answer: SELECT series_ep FROM table_15187735_12 WHERE segment_b = "Popcorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (car__number INTEGER, make VARCHAR, pos VARCHAR) ### Question: Which Car # has a Make of toyota, and a Pos of 7? ### Answer: SELECT MAX(car__number) FROM table_name_98 WHERE make = "toyota" AND pos = 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_14 (Id VARCHAR) ### Question: Which 1998 tournament had a performance of 3R in 2007? ### Answer: SELECT 1998 FROM table_name_14 WHERE 2007 = "3r"
Below is an context that describes a sql 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 (final VARCHAR, no2 VARCHAR) ### Question: What was the final of play No. 2, Alzira Ricardo B.? ### Answer: SELECT final FROM table_name_34 WHERE no2 = "alzira ricardo b."
Below is an context that describes a sql 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 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR) ### Question: what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? ### Answer: SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 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_1266602_1 (_number INTEGER, owner_s_ VARCHAR) ### Question: What is the biggest number of the team who's owned by Jeff Gordon? ### Answer: SELECT MAX(_number) FROM table_1266602_1 WHERE owner_s_ = "Jeff Gordon"
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR, date VARCHAR) ### Question: What was the score of the game on October 20 when the home team is the NY Islanders? ### Answer: SELECT score FROM table_name_57 WHERE home = "ny islanders" AND date = "october 20"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR) ### Question: Name the average econ for runs more than 703 and ovrs more than 25.5 ### Answer: SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16226584_1 (parish VARCHAR, length_meters VARCHAR) ### Question: Which parishes have a railroad length of 51.8 meters? ### Answer: SELECT parish FROM table_16226584_1 WHERE length_meters = "51.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_15055594_6 (fall_09 INTEGER, fall_06 VARCHAR) ### Question: What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06? ### Answer: SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_06 = 3821
Below is an context that describes a sql 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 (years VARCHAR, rank VARCHAR, name VARCHAR) ### Question: Which years had a rank of more than 6 and involved Oleksandr Kosyrin? ### Answer: SELECT years FROM table_name_7 WHERE rank > 6 AND name = "oleksandr kosyrin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23982399_12 (winner VARCHAR, iron_chef VARCHAR) ### Question: Who was the winner when the iron chef is hiroyuki sakai? ### Answer: SELECT winner FROM table_23982399_12 WHERE iron_chef = "Hiroyuki Sakai"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25322130_3 (winning_driver VARCHAR, date VARCHAR) ### Question: Name the winning driver for 20 april ### Answer: SELECT winning_driver FROM table_25322130_3 WHERE date = "20 April"
Below is an context that describes a sql 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 (representing VARCHAR, original_title VARCHAR) ### Question: Name the representing for englar alheimsins ### Answer: SELECT representing FROM table_name_35 WHERE original_title = "englar alheimsins"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (colours VARCHAR, house_name VARCHAR) ### Question: What colours have a House Name of ogun? ### Answer: SELECT colours FROM table_name_93 WHERE house_name = "ogun"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27893892_2 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) ### Question: what was the opposition where the field is waldstadion during time 6 ### Answer: SELECT opponent FROM table_27893892_2 WHERE game_site = "Waldstadion" AND week = 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_41 (condition VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR) ### Question: I want the condition that has a prolonged bleeding time and a platelet count of decreased or unaffected ### Answer: SELECT condition FROM table_name_41 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased or unaffected"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21313327_1 (title VARCHAR, us_viewers__millions_ VARCHAR) ### Question: what was the name of the episode that got 3.3 (millions) of u.s viewers? ### Answer: SELECT title FROM table_21313327_1 WHERE us_viewers__millions_ = "3.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_80 (finals VARCHAR, total VARCHAR, conference_finals VARCHAR, semifinals VARCHAR) ### Question: Can you tell me the Finals that has the Conference Finals smaller than 12, and the Semifinals of 0, and the Total of 3? ### Answer: SELECT finals FROM table_name_80 WHERE conference_finals < 12 AND semifinals = 0 AND total = 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_79 (entrant VARCHAR, driver VARCHAR) ### Question: Which of the entrants had Luigi Fagioli as a driver? ### Answer: SELECT entrant FROM table_name_79 WHERE driver = "luigi fagioli"
Below is an context that describes a sql 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 (peak_position VARCHAR, date VARCHAR) ### Question: Which Peak Position has a Date of 10 june 1998? ### Answer: SELECT peak_position FROM table_name_21 WHERE date = "10 june 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 candidate (support_rate INTEGER, consider_rate INTEGER, oppose_rate INTEGER) ### Question: find the highest support percentage, lowest consider rate and oppose rate of all candidates. ### Answer: SELECT MAX(support_rate), MIN(consider_rate), MIN(oppose_rate) FROM candidate
Below is an context that describes a sql 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 (producer VARCHAR, director VARCHAR) ### Question: Who is the producer for the director Richard Clark? ### Answer: SELECT producer FROM table_name_31 WHERE director = "richard clark"
Below is an context that describes a sql 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 (nationality VARCHAR, jersey_number_s_ VARCHAR) ### Question: What is the nationality of the person with number 27? ### Answer: SELECT nationality FROM table_name_96 WHERE jersey_number_s_ = "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_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR) ### Question: What country has a compulsory deduction of 29.3%? ### Answer: SELECT country FROM table_24486462_1 WHERE compulsory_deduction = "29.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 manufacturers (Headquarter VARCHAR, code VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR) ### Question: Find the number of different products that are produced by companies at different headquarter cities. ### Answer: SELECT COUNT(DISTINCT T1.name), T2.Headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.Headquarter
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19215259_1 (location VARCHAR, power__kw_ VARCHAR, frequency VARCHAR) ### Question: Where is the frequency 102.3mhz and 5kw power? ### Answer: SELECT location FROM table_19215259_1 WHERE power__kw_ = "5kW" AND frequency = "102.3MHz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (draw VARCHAR, points VARCHAR) ### Question: When the points are 98 what is the draw? ### Answer: SELECT COUNT(draw) FROM table_name_50 WHERE points = 98
Below is an context that describes a sql 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 (zodiac_sign VARCHAR, english_name VARCHAR) ### Question: What is the zodiac sign for the English March? ### Answer: SELECT zodiac_sign FROM table_name_81 WHERE english_name = "march"
Below is an context that describes a sql 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 (goals INTEGER, competition VARCHAR, apps VARCHAR) ### Question: How many goals did he have in the bundesliga with under 7 appearances? ### Answer: SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 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_6 (score VARCHAR, result VARCHAR) ### Question: Which item has a score of 5-1? ### Answer: SELECT score FROM table_name_6 WHERE result = "5-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_73 (pick INTEGER, overall VARCHAR) ### Question: What is the lowest pick number where the overall pick number was 38? ### Answer: SELECT MIN(pick) FROM table_name_73 WHERE overall = 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_27 (dimensions VARCHAR, name VARCHAR) ### Question: What is the dimensions of the u50 appliance? ### Answer: SELECT dimensions FROM table_name_27 WHERE name = "u50"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22815265_1 (record VARCHAR, opponent VARCHAR) ### Question: How many records show Utah as the opponent? ### Answer: SELECT COUNT(record) FROM table_22815265_1 WHERE opponent = "Utah"
Below is an context that describes a sql 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 (location VARCHAR, years_in_gfl VARCHAR, nickname VARCHAR) ### Question: What is the location of the Saints having 1979- as Years in GFL? ### Answer: SELECT location FROM table_name_37 WHERE years_in_gfl = "1979-" AND nickname = "saints"
Below is an context that describes a sql 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 (administration_of_oaths VARCHAR, rights_of_audience VARCHAR, reserved_instruments VARCHAR) ### Question: What is Administration of Oaths, when Rights of Audience is Yes, and when Reserved Instruments is Yes? ### Answer: SELECT administration_of_oaths FROM table_name_43 WHERE rights_of_audience = "yes" AND reserved_instruments = "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_10 (season_outcome VARCHAR, school VARCHAR) ### Question: What is the Season Outcome for the Sussex Central School? ### Answer: SELECT season_outcome FROM table_name_10 WHERE school = "sussex central"
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: What was the result of the game when the attendance was 43,279? ### Answer: SELECT result FROM table_name_8 WHERE attendance = "43,279"
Below is an context that describes a sql 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 (stadium VARCHAR, visiting_team VARCHAR) ### Question: I want to know the stadium for tennessee titans visiting ### Answer: SELECT stadium FROM table_name_32 WHERE visiting_team = "tennessee titans"
Below is an context that describes a sql 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 (nationality VARCHAR, club_team VARCHAR) ### Question: What is the Nationality Club Team of Quebec remparts (qmjhl)? ### Answer: SELECT nationality FROM table_name_53 WHERE club_team = "quebec remparts (qmjhl)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342270_42 (result VARCHAR, district VARCHAR) ### Question: What was the result of the Tennessee 2 district election? ### Answer: SELECT result FROM table_1342270_42 WHERE district = "Tennessee 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_16494599_5 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) ### Question: when was the school/club team for grizzles was maryland ### Answer: SELECT years_for_grizzlies FROM table_16494599_5 WHERE school_club_team = "Maryland"
Below is an context that describes a sql 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 (games INTEGER, points VARCHAR, goals_for VARCHAR) ### Question: What are the most games when the points are 100 and goals for less than 356? ### Answer: SELECT MAX(games) FROM table_name_23 WHERE points = 100 AND goals_for < 356
Below is an context that describes a sql 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 (player VARCHAR, year_s__won VARCHAR) ### Question: Which player won in 1993? ### Answer: SELECT player FROM table_name_21 WHERE year_s__won = "1993"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28059992_6 (player VARCHAR, cfl_team VARCHAR) ### Question: Which player was drafted by Winnipeg? ### Answer: SELECT player FROM table_28059992_6 WHERE cfl_team = "Winnipeg"
Below is an context that describes a sql 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 (goals_scored VARCHAR, played VARCHAR, points VARCHAR, goals_conceded VARCHAR) ### Question: What is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times? ### Answer: SELECT COUNT(goals_scored) FROM table_name_17 WHERE points > 11 AND goals_conceded = 18 AND played < 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_22 (developer_s_ VARCHAR, genre VARCHAR) ### Question: Who was the developer(s) of the genre Adventure? ### Answer: SELECT developer_s_ FROM table_name_22 WHERE genre = "adventure"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Degree_Programs (department_id VARCHAR); CREATE TABLE Departments (department_name VARCHAR, department_id VARCHAR) ### Question: Which department offers the most number of degrees? List department name and id. ### Answer: SELECT T2.department_name, T1.department_id FROM Degree_Programs AS T1 JOIN Departments AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id 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_2817196_1 (season VARCHAR, goals_against VARCHAR) ### Question: What sesaon(s) did they have 254 goals against? ### Answer: SELECT season FROM table_2817196_1 WHERE goals_against = 254
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, act VARCHAR) ### Question: Name the percentage of votes for violinist ### Answer: SELECT percentage_of_votes FROM table_26267849_11 WHERE act = "Violinist"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23799417_2 (rating VARCHAR) ### Question: What is the rating if the rating/share (18-49) is 3.6? ### Answer: SELECT rating FROM table_23799417_2 WHERE rating / SHARE(18 AS –49) = 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_14 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) ### Question: Who is entered earlier than 1975 and has a Lotus 20 chassis? ### Answer: SELECT entrant FROM table_name_14 WHERE year < 1975 AND chassis = "lotus 20"
Below is an context that describes a sql 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 (against INTEGER, draws VARCHAR, losses VARCHAR, byes VARCHAR) ### Question: Can you tell me the highest Against that has the Losses larger than 9, and the Byes of 2, and the Draws larger than 0? ### Answer: SELECT MAX(against) FROM table_name_56 WHERE losses > 9 AND byes = 2 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_24998088_1 (points VARCHAR, position VARCHAR) ### Question: How many points did he have when he has in the 34th position? ### Answer: SELECT points FROM table_24998088_1 WHERE position = "34th"
Below is an context that describes a sql 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 (rank INTEGER, passengers INTEGER) ### Question: What is the smallest rank for passengers more than 73,754? ### Answer: SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR) ### Question: What is the earliest week with an opponent of cincinnati bengals? ### Answer: SELECT MIN(week) FROM table_name_15 WHERE opponent = "cincinnati bengals"
Below is an context that describes a sql 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 (year VARCHAR) ### Question: Name the average 2008 for beijing and 2005 more than 2 ### Answer: SELECT AVG(2008) FROM table_name_21 WHERE year = "beijing" AND 2005 > 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_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR) ### Question: What are the children per donor in the country where the allowed recipients are married or in cohabitation? ### Answer: SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "Married or in cohabitation"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR) ### Question: What is the IHSAA Football class at Culver? ### Answer: SELECT ihsaa_football_class FROM table_name_93 WHERE location = "culver"
Below is an context that describes a sql 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 (year_ceremony VARCHAR, english_title VARCHAR) ### Question: What year was Kelin nominated? ### Answer: SELECT year_ceremony FROM table_name_53 WHERE english_title = "kelin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (replaced_by VARCHAR, team VARCHAR) ### Question: Name the replaced by for racing santander ### Answer: SELECT replaced_by FROM table_name_64 WHERE team = "racing santander"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR) ### Question: What is the title that had 13.59 u.s. viewers (millions)? ### Answer: SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "13.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 Friend (student_id VARCHAR) ### Question: Show the student IDs and numbers of friends corresponding to each. ### Answer: SELECT student_id, COUNT(*) FROM Friend GROUP BY student_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_18069789_1 (year_ VARCHAR, e_ VARCHAR, original_title VARCHAR) ### Question: which year was the original title გაღმა αƒœαƒαƒžαƒ˜αƒ αƒ˜ ### Answer: SELECT year_[e_] AS __ceremony_ FROM table_18069789_1 WHERE original_title = "გაღმა αƒœαƒαƒžαƒ˜αƒ αƒ˜"
Below is an context that describes a sql 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 (stadium VARCHAR, host_team VARCHAR) ### Question: What is the home stadium of the Atlanta Falcons? ### Answer: SELECT stadium FROM table_name_11 WHERE host_team = "atlanta falcons"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24126606_2 (opponent VARCHAR, week VARCHAR) ### Question: Name the opponent for week 12 ### Answer: SELECT opponent FROM table_24126606_2 WHERE week = 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_92 (player VARCHAR, position VARCHAR, club_province VARCHAR) ### Question: Which Player has a Position of number 8, and a Club/province of scarlets? ### Answer: SELECT player FROM table_name_92 WHERE position = "number 8" AND club_province = "scarlets"
Below is an context that describes a sql 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 (long INTEGER, gp_gs VARCHAR, gain VARCHAR) ### Question: What is the lowest long with a Gp-GS of 11-8, and a gain less than 228? ### Answer: SELECT MIN(long) FROM table_name_16 WHERE gp_gs = "11-8" AND gain < 228
Below is an context that describes a sql 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 (wheel_arrangement VARCHAR, quantity_preserved VARCHAR) ### Question: What is the wheel arrangement with 1 quantity preserved? ### Answer: SELECT wheel_arrangement FROM table_name_1 WHERE quantity_preserved = "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_25 (event_place VARCHAR, time VARCHAR) ### Question: Where did someone run a 58:33? ### Answer: SELECT event_place FROM table_name_25 WHERE time = "58:33"
Below is an context that describes a sql 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 (rank VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: What Rank has a gold smaller than 1, and a silver larger than 0? ### Answer: SELECT rank FROM table_name_25 WHERE gold < 1 AND silver > 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_89 (winner VARCHAR) ### Question: Name the 2nd runner-up for yuming lai (θ³΄ιŠ˜ε‰) ### Answer: SELECT 2 AS nd_runner_up FROM table_name_89 WHERE winner = "yuming lai (θ³΄ιŠ˜ε‰)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342013_37 (incumbent VARCHAR, district VARCHAR) ### Question: What is the incumbent for pennsylvania 15 ### Answer: SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 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_61 (district VARCHAR, incumbent VARCHAR) ### Question: Which district has joseph t. johnson as an incumbent? ### Answer: SELECT district FROM table_name_61 WHERE incumbent = "joseph t. johnson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE technician (Team VARCHAR, Starting_Year VARCHAR) ### Question: What are the team and starting year of technicians? ### Answer: SELECT Team, Starting_Year FROM technician
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2161859_1 (series__number VARCHAR, title VARCHAR) ### Question: What is the series number for the Golden Frog? ### Answer: SELECT series__number FROM table_2161859_1 WHERE title = "The Golden Frog"
Below is an context that describes a sql 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 (class VARCHAR, dates VARCHAR) ### Question: What is Class, when Dates is "22 April - 3 May 2009"? ### Answer: SELECT class FROM table_name_20 WHERE dates = "22 april - 3 may 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_73 (home_team VARCHAR, away_team VARCHAR) ### Question: What home team played against Richmond? ### Answer: SELECT home_team FROM table_name_73 WHERE away_team = "richmond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (song VARCHAR, status VARCHAR, name VARCHAR) ### Question: Which song named Tan Dun was nominated? ### Answer: SELECT song FROM table_name_76 WHERE status = "nominated" AND name = "tan dun"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (location VARCHAR, league_division VARCHAR, position_in_2012_13 VARCHAR) ### Question: What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13? ### Answer: SELECT location FROM table_name_67 WHERE league_division = "second division" AND position_in_2012_13 = "4th, third division (promoted)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21666472_1 (no_in_series VARCHAR, written_by VARCHAR) ### Question: How many number in series's are written by Greg Haddrick? ### Answer: SELECT COUNT(no_in_series) FROM table_21666472_1 WHERE written_by = "Greg Haddrick"
Below is an context that describes a sql 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 (competition VARCHAR, year VARCHAR, score VARCHAR) ### Question: Which competition before 1982 had a score of 2:3? ### Answer: SELECT competition FROM table_name_96 WHERE year < 1982 AND score = "2: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_1341672_6 (result VARCHAR, candidates VARCHAR) ### Question: How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%? ### Answer: SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.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_59 (mass__kg_ INTEGER, landing_zone VARCHAR) ### Question: What is the largest mass for Tycho Crater? ### Answer: SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = "tycho crater"