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_57 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR) ### Question: Which driver was in 8 rounds with a chassis of dallara f306? ### Answer: SELECT driver FROM table_name_57 WHERE chassis = "dallara f306" AND rounds = "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_1341604_22 (party VARCHAR, candidates VARCHAR) ### Question: what's the party with candidates being silvio conte (r) unopposed ### Answer: SELECT party FROM table_1341604_22 WHERE candidates = "Silvio Conte (R) Unopposed"
Below is an context that describes a sql 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 (country VARCHAR, year_s__won VARCHAR) ### Question: Which Country has a Year(s) won of 1963? ### Answer: SELECT country FROM table_name_62 WHERE year_s__won = "1963"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE photos (mountain_id VARCHAR); CREATE TABLE mountain (id VARCHAR, name VARCHAR, height INTEGER) ### Question: What are the id and name of the photos for mountains? ### Answer: SELECT T1.id, T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id WHERE T1.height > 4000
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR) ### Question: What is the sum of laps for grid 20? ### Answer: SELECT SUM(laps) FROM table_name_53 WHERE grid = 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_21538523_1 (class VARCHAR, type VARCHAR) ### Question: Type FJ/RN/SC is associated with what class? ### Answer: SELECT class FROM table_21538523_1 WHERE type = "FJ/RN/SC"
Below is an context that describes a sql 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 (year INTEGER, hometown VARCHAR) ### Question: What's the latest year with a hometown of san carlos, pangasinan? ### Answer: SELECT MAX(year) FROM table_name_50 WHERE hometown = "san carlos, pangasinan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (finished VARCHAR, famous_for VARCHAR) ### Question: What place did the singer in atomic kitten finish? ### Answer: SELECT finished FROM table_name_91 WHERE famous_for = "singer in atomic kitten"
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR) ### Question: What is the average crowd size for Brunswick street oval? ### Answer: SELECT AVG(crowd) FROM table_name_32 WHERE venue = "brunswick street 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_17356205_1 (title VARCHAR, directed_by VARCHAR) ### Question: How many titles are given for the episode directed by Joanna Kerns? ### Answer: SELECT COUNT(title) FROM table_17356205_1 WHERE directed_by = "Joanna Kerns"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10420426_1 (podiums VARCHAR, season VARCHAR, series VARCHAR) ### Question: What is the number of podiums for season 2010 for campionato italiano superstars. ### Answer: SELECT COUNT(podiums) FROM table_10420426_1 WHERE season = "2010" AND series = "Campionato Italiano Superstars"
Below is an context that describes a sql 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 (no_7 VARCHAR, no_3 VARCHAR, no_10 VARCHAR) ### Question: Who is number 7 when Sophia is number 3 and Abigail is number 10? ### Answer: SELECT no_7 FROM table_name_70 WHERE no_3 = "sophia" AND no_10 = "abigail"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR, player VARCHAR) ### Question: What was the finish for Lanny Wadkins of the United States? ### Answer: SELECT finish FROM table_name_83 WHERE country = "united states" AND player = "lanny wadkins"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) ### Question: What is the score of player craig stadler from the United States with a t8 place? ### Answer: SELECT score FROM table_name_84 WHERE place = "t8" AND country = "united states" AND player = "craig stadler"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR) ### Question: Return the name and number of reservations made for each of the rooms. ### Answer: SELECT T2.roomName, COUNT(*), T1.Room FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14724369_1 (title VARCHAR, production_code VARCHAR) ### Question: Which title had the production code 1ACX04? ### Answer: SELECT title FROM table_14724369_1 WHERE production_code = "1ACX04"
Below is an context that describes a sql 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 (total VARCHAR, year_s__won VARCHAR) ### Question: What is the total for the year (s) won in 1977? ### Answer: SELECT total FROM table_name_99 WHERE year_s__won = "1977"
Below is an context that describes a sql 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 (competition VARCHAR, nationality___opponent VARCHAR) ### Question: Name the Nationality / Opponent of rosario? ### Answer: SELECT competition FROM table_name_64 WHERE nationality___opponent = "rosario"
Below is an context that describes a sql 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 (acting_segment VARCHAR, status VARCHAR, name VARCHAR) ### Question: What's the acting segment of 林佩琪 lin peiqi's events that are eliminated? ### Answer: SELECT acting_segment FROM table_name_36 WHERE status = "eliminated" AND name = "林佩琪 lin peiqi"
Below is an context that describes a sql 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 (release_date VARCHAR, production_num VARCHAR) ### Question: What was the release date for Production Number 8181? ### Answer: SELECT release_date FROM table_name_14 WHERE production_num = "8181"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR) ### Question: When belarus is the country what is the hometown? ### Answer: SELECT hometown FROM table_18626383_2 WHERE country = "Belarus"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21276428_21 (athlete VARCHAR, place VARCHAR) ### Question: Name the athlete for 3 ### Answer: SELECT athlete FROM table_21276428_21 WHERE place = 3
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (weight__kg_ INTEGER, position VARCHAR, jersey__number VARCHAR) ### Question: What was the highest weight in kg for F Position, Jersey #12? ### Answer: SELECT MAX(weight__kg_) FROM table_name_41 WHERE position = "f" AND jersey__number = 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_97 (date VARCHAR, opponent VARCHAR) ### Question: What date did the opponent George Khrikadze play? ### Answer: SELECT date FROM table_name_97 WHERE opponent = "george khrikadze"
Below is an context that describes a sql 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 (squad_no INTEGER, name VARCHAR, league_goals VARCHAR) ### Question: WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17? ### Answer: SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 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_1341718_14 (incumbent VARCHAR, candidates VARCHAR) ### Question: how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%? ### Answer: SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.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_87 (date VARCHAR, opponent VARCHAR, result VARCHAR, name VARCHAR) ### Question: What is the date of the match with a result of ud 12/12 between Pernell Whitaker and James Mcgirt? ### Answer: SELECT date FROM table_name_87 WHERE result = "ud 12/12" AND name = "pernell whitaker" AND opponent = "james mcgirt"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26609690_1 (year INTEGER) ### Question: What is the earliest year on the chart? ### Answer: SELECT MIN(year) FROM table_26609690_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_22862203_2 (location VARCHAR, record VARCHAR) ### Question: Where were games played when the record was 9-1? ### Answer: SELECT location FROM table_22862203_2 WHERE record = "9-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_34 (average VARCHAR, balls_faced VARCHAR, innings VARCHAR) ### Question: What is the number of averages having a balls faced over 297 and more than 7 innings? ### Answer: SELECT COUNT(average) FROM table_name_34 WHERE balls_faced > 297 AND innings > 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_28898974_3 (date VARCHAR, incumbent VARCHAR) ### Question: When james rutherford is the incumbent how many dates are there? ### Answer: SELECT COUNT(date) FROM table_28898974_3 WHERE incumbent = "James Rutherford"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (game VARCHAR, record VARCHAR) ### Question: What was the number of the game when the record was 11-12? ### Answer: SELECT game FROM table_name_82 WHERE record = "11-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_28190363_1 (network VARCHAR, judges VARCHAR) ### Question: How many networks are there that include the judges pete goffe-wood andrew atkinson benny masekwameng? ### Answer: SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "Pete Goffe-Wood Andrew Atkinson Benny Masekwameng"
Below is an context that describes a sql 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 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) ### Question: What is the number of the grid when there was a Time/Retired of engine and less than 9 laps? ### Answer: SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 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_name_14 (attendance INTEGER, match_no VARCHAR, score VARCHAR) ### Question: After Match 43, what was the Attendance of the Match with a Score of 2-4? ### Answer: SELECT MAX(attendance) FROM table_name_14 WHERE match_no > 43 AND score = "2-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_35 (tournament VARCHAR) ### Question: What is the 1976 value of the Australian Open? ### Answer: SELECT 1976 FROM table_name_35 WHERE tournament = "australian open"
Below is an context that describes a sql 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 (state VARCHAR, name VARCHAR) ### Question: What was the state that had the vassal name of li? ### Answer: SELECT state FROM table_name_8 WHERE name = "li"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR) ### Question: what's the permanence of the body where purity is apprehension ### Answer: SELECT permanence_of_the_body FROM table_11609814_1 WHERE purity = "apprehension"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1277350_1 (saturday_saturnus___saturn_ VARCHAR, wednesday_mercurius__mercury_ VARCHAR) ### Question: what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi ### Answer: SELECT saturday_saturnus___saturn_ FROM table_1277350_1 WHERE wednesday_mercurius__mercury_ = "Mercuridi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (location VARCHAR, year VARCHAR, record VARCHAR) ### Question: Which location's year was 2001 when the record was 3:52.983s? ### Answer: SELECT location FROM table_name_33 WHERE year = 2001 AND record = "3:52.983s"
Below is an context that describes a sql 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__2010_ INTEGER, geo_id VARCHAR, longitude VARCHAR) ### Question: What is the highest 2010 population having GEO ID of 3802763220 and longitude over -98.936777? ### Answer: SELECT MAX(pop__2010_) FROM table_name_58 WHERE geo_id = 3802763220 AND longitude > -98.936777
Below is an context that describes a sql 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 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR) ### Question: What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335? ### Answer: SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "aycliffe drive" AND ofsted_number < 117335
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR) ### Question: What was the score when the tie no was 13? ### Answer: SELECT score FROM table_name_87 WHERE tie_no = "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_30 (team VARCHAR, birthplace VARCHAR) ### Question: What is the Team for the player born in northfield, minnesota? ### Answer: SELECT team FROM table_name_30 WHERE birthplace = "northfield, 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_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR) ### Question: How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5? ### Answer: SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "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 head (age VARCHAR, head_id VARCHAR); CREATE TABLE management (head_id VARCHAR, temporary_acting VARCHAR) ### Question: What are the distinct ages of the heads who are acting? ### Answer: SELECT DISTINCT T1.age FROM management AS T2 JOIN head AS T1 ON T1.head_id = T2.head_id WHERE T2.temporary_acting = '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_69 (Highest INTEGER, album_title VARCHAR) ### Question: What is the average high position for the album unwritten? ### Answer: SELECT AVG(Highest) AS position FROM table_name_69 WHERE album_title = "unwritten"
Below is an context that describes a sql 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 (licensed_location VARCHAR, frequency__khz_ INTEGER) ### Question: What is the location with a frequency (kHz) greater than 1370? ### Answer: SELECT licensed_location FROM table_name_44 WHERE frequency__khz_ > 1370
Below is an context that describes a sql 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 (city_of_license VARCHAR, facility_id INTEGER) ### Question: Which city has a facility ID greater than 150833? ### Answer: SELECT city_of_license FROM table_name_17 WHERE facility_id > 150833
Below is an context that describes a sql 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 (goals INTEGER, tries VARCHAR, points VARCHAR) ### Question: What is the total number of goals from 24 tries and 96 or greater points? ### Answer: SELECT SUM(goals) FROM table_name_46 WHERE tries = 24 AND points > 96
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12310814_1 (order__number VARCHAR, original_artist VARCHAR) ### Question: What's the order number of the song originally performed by Rickie Lee Jones? ### Answer: SELECT order__number FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27823058_1 (title VARCHAR, written_by VARCHAR) ### Question: Which episodes did Katie Palmer write? ### Answer: SELECT title FROM table_27823058_1 WHERE written_by = "Katie Palmer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11677100_3 (position VARCHAR, hometown VARCHAR) ### Question: What's the position of the player from Germantown, TN? ### Answer: SELECT position FROM table_11677100_3 WHERE hometown = "Germantown, TN"
Below is an context that describes a sql 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 (goals_for INTEGER, goals_against VARCHAR, drawn VARCHAR) ### Question: What is the fewest goals for when goals against is 75 and drawn is smaller than 11? ### Answer: SELECT MIN(goals_for) FROM table_name_35 WHERE goals_against = 75 AND drawn < 11
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (goals_scored INTEGER, games_played INTEGER) ### Question: What is the sum of Goals scored when there was less than 20 Games played? ### Answer: SELECT SUM(goals_scored) FROM table_name_79 WHERE games_played < 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_22 (release_date VARCHAR, dvd_title VARCHAR) ### Question: What is the release date for Ben 10: Alien Force Volume 9 on DVD? ### Answer: SELECT release_date FROM table_name_22 WHERE dvd_title = "ben 10: alien force volume 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_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR) ### Question: How many states or District of Columbia have 65.4% overweight or obese adults? ### Answer: SELECT COUNT(state_and_district_of_columbia) FROM table_18958648_1 WHERE overweight__incl_obese__adults = "65.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_24 (date VARCHAR, leading_scorer VARCHAR, score VARCHAR) ### Question: What is the Date with a Leading scorer with maurice williams (25), and a Score with 102–105? ### Answer: SELECT date FROM table_name_24 WHERE leading_scorer = "maurice williams (25)" AND score = "102–105"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11545282_4 (position VARCHAR, school_club_team VARCHAR) ### Question: What position did the player from maynard evans hs play ### Answer: SELECT position FROM table_11545282_4 WHERE school_club_team = "Maynard Evans HS"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25965003_3 (length_of_stay_permitted VARCHAR, countries_and_territories VARCHAR) ### Question: What length of stay is permitted in the European Union? ### Answer: SELECT length_of_stay_permitted FROM table_25965003_3 WHERE countries_and_territories = "European Union"
Below is an context that describes a sql 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 (rank VARCHAR, tally VARCHAR, opposition VARCHAR) ### Question: How much Rank has a Tally of 0-10, and an Opposition of cork? ### Answer: SELECT COUNT(rank) FROM table_name_37 WHERE tally = "0-10" AND opposition = "cork"
Below is an context that describes a sql 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 (set_1 VARCHAR, total VARCHAR) ### Question: What is the score for set 1 with a total of 117–109? ### Answer: SELECT set_1 FROM table_name_58 WHERE total = "117–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_70 (lost INTEGER, against VARCHAR, drawn VARCHAR) ### Question: Which average Lost has an Against larger than 19, and a Drawn smaller than 1? ### Answer: SELECT AVG(lost) FROM table_name_70 WHERE against > 19 AND drawn < 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_91 (province_region VARCHAR, icao VARCHAR) ### Question: What province/region is RJTQ located? ### Answer: SELECT province_region FROM table_name_91 WHERE icao = "rjtq"
Below is an context that describes a sql 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 (teaching_language VARCHAR, program VARCHAR) ### Question: What is the teaching language for Master of Quantitative Finance? ### Answer: SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (regular_season VARCHAR, division VARCHAR) ### Question: WHICH Regular Season has a Division of 4? ### Answer: SELECT regular_season FROM table_name_19 WHERE division = 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_18118221_1 (location VARCHAR, total_passengers__millions__2011_12 VARCHAR) ### Question: Which location has 103.534 million passengers in 2011-12? ### Answer: SELECT location FROM table_18118221_1 WHERE total_passengers__millions__2011_12 = "103.534"
Below is an context that describes a sql 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 (kilometers VARCHAR, station_code VARCHAR) ### Question: What's the Kilometers listed that also has the Station Code of Kuda? ### Answer: SELECT kilometers FROM table_name_87 WHERE station_code = "kuda"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11200856_1 (hand VARCHAR) ### Question: How many 4 credits is the hand two pair? ### Answer: SELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = "Two pair"
Below is an context that describes a sql 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 (difference VARCHAR, position VARCHAR, points VARCHAR) ### Question: What is the Difference with a position of less than 3, and, 17 points. ### Answer: SELECT difference FROM table_name_57 WHERE position < 3 AND points = 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_5 (tournament VARCHAR) ### Question: What was the double's performance data from the Canada Masters tournament in 2008? ### Answer: SELECT 2008 FROM table_name_5 WHERE tournament = "canada masters"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR) ### Question: what is the goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16? ### Answer: SELECT goal_difference FROM table_name_82 WHERE drawn > 11 AND goals_against < 63 AND goals_for < 87 AND lost > 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_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR) ### Question: What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany? ### Answer: SELECT AVG(year) FROM table_name_66 WHERE position = "9th" AND event = "100 m" AND venue = "munich, germany"
Below is an context that describes a sql 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 (gross_tonnage INTEGER, ship VARCHAR, date_commissioned VARCHAR) ### Question: Tell me the sum of Gross Tonnage for isis ship on date commisioned less than 1842 ### Answer: SELECT SUM(gross_tonnage) FROM table_name_94 WHERE ship = "isis" AND date_commissioned < 1842
Below is an context that describes a sql 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 (title VARCHAR, presentation_of_credentials VARCHAR) ### Question: Name the title with presentation of credentials of april 10, 1907 ### Answer: SELECT title FROM table_name_62 WHERE presentation_of_credentials = "april 10, 1907"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16732659_2 (race_name VARCHAR, rnd VARCHAR) ### Question: PLEASE LIST ALL RACES WHERE THE RND IS 13. ### Answer: SELECT race_name FROM table_16732659_2 WHERE rnd = 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_7 (losses INTEGER, wins VARCHAR, draws VARCHAR) ### Question: What are the most losses when there are 5 wins and draws less than 0? ### Answer: SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 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 Sportsinfo (sportname VARCHAR, onscholarship VARCHAR) ### Question: Which sport has most number of students on scholarship? ### Answer: SELECT sportname FROM Sportsinfo WHERE onscholarship = 'Y' GROUP BY sportname 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_1140085_2 (date VARCHAR, constructor VARCHAR, location VARCHAR) ### Question: what is the date where the constructor is ferrari and the location is anderstorp? ### Answer: SELECT date FROM table_1140085_2 WHERE constructor = "Ferrari" AND location = "Anderstorp"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR) ### Question: Who owned the team Jeremy Mayfield raced for? ### Answer: SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = "Jeremy Mayfield"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 1999 for an A 1991, and a 1r 1997? ### Answer: SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Faculty (sex VARCHAR, rank VARCHAR) ### Question: Show the number of male and female assistant professors. ### Answer: SELECT sex, COUNT(*) FROM Faculty WHERE rank = "AsstProf" GROUP BY sex
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (goals_conceded__gc_ INTEGER, ____dif_ VARCHAR, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR) ### Question: What is the maximum goals conceded for a team with 2 draws, more than 29 goals and a diff larger than 15? ### Answer: SELECT MAX(goals_conceded__gc_) FROM table_name_84 WHERE draw__pe_ = 2 AND goals_scored__gf_ > 29 AND ____dif_ > 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_15416002_1 (saffir_simpson_category INTEGER) ### Question: What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index? ### Answer: SELECT MAX(saffir_simpson_category) FROM table_15416002_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_149330_1 (general_election VARCHAR, votes_swing VARCHAR) ### Question: Which general election had a vote swing of 1.84? ### Answer: SELECT general_election FROM table_149330_1 WHERE votes_swing = "1.84"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28578594_1 (no INTEGER, driver VARCHAR) ### Question: Name the least number for nello pagani ### Answer: SELECT MIN(no) FROM table_28578594_1 WHERE driver = "Nello Pagani"
Below is an context that describes a sql 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 (candidate VARCHAR, number_of_votes VARCHAR) ### Question: Who is the candidate with 73,494 votes? ### Answer: SELECT candidate FROM table_name_41 WHERE number_of_votes = "73,494"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (team_2 VARCHAR) ### Question: What is the 2nd Leg, when Team 2 is Marbella? ### Answer: SELECT 2 AS nd_leg FROM table_name_65 WHERE team_2 = "marbella"
Below is an context that describes a sql 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 (record VARCHAR, attendance VARCHAR) ### Question: Attendance of 30,335 had what record? ### Answer: SELECT record FROM table_name_74 WHERE attendance = "30,335"
Below is an context that describes a sql 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 (location VARCHAR, listed VARCHAR) ### Question: What location was listed on 1977-11-23? ### Answer: SELECT location FROM table_name_25 WHERE listed = "1977-11-23"
Below is an context that describes a sql 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 (winner_and_nominees VARCHAR, director VARCHAR) ### Question: Who was the winner and nominees for the movie directed by cary joji fukunaga? ### Answer: SELECT winner_and_nominees FROM table_name_44 WHERE director = "cary joji fukunaga"
Below is an context that describes a sql 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 (competition VARCHAR, score VARCHAR, location VARCHAR) ### Question: WHich competition was held on Alvor with a score 1-0? ### Answer: SELECT competition FROM table_name_77 WHERE score = "1-0" AND location = "alvor"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR) ### Question: Name the wininng yacht for 14 entries ### Answer: SELECT winning_yacht FROM table_256862_1 WHERE entries = "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_68 (Id VARCHAR) ### Question: What 2011 has 4r as the 2008? ### Answer: SELECT 2011 FROM table_name_68 WHERE 2008 = "4r"
Below is an context that describes a sql 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 (score VARCHAR, home_team VARCHAR) ### Question: What is the score when the home team is queens park rangers? ### Answer: SELECT score FROM table_name_29 WHERE home_team = "queens park rangers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16323766_3 (swimsuit VARCHAR, semifinal_average VARCHAR) ### Question: What was the swimsuit score for the one who had a semifinal average of 8.759 (5)? ### Answer: SELECT swimsuit FROM table_16323766_3 WHERE semifinal_average = "8.759 (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_20 (high_assists VARCHAR, location_attendance VARCHAR) ### Question: Who has the high assists when location attendance is 20,562? ### Answer: SELECT high_assists FROM table_name_20 WHERE location_attendance = "20,562"
Below is an context that describes a sql 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 (pick INTEGER, school_club_team VARCHAR) ### Question: What is the average pick number of Pennsylvania? ### Answer: SELECT AVG(pick) FROM table_name_97 WHERE school_club_team = "pennsylvania"
Below is an context that describes a sql 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 (name VARCHAR, area VARCHAR) ### Question: What is the name of the school in Hillcrest? ### Answer: SELECT name FROM table_name_12 WHERE area = "hillcrest"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_242813_2 (overall_rank INTEGER, league VARCHAR) ### Question: Name the most overall rank for nl/ua league ### Answer: SELECT MAX(overall_rank) FROM table_242813_2 WHERE league = "NL/UA"