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_2076608_3 (control VARCHAR, founded VARCHAR) ### Question: What is the control type which was founded in 1818? ### Answer: SELECT control FROM table_2076608_3 WHERE founded = "1818"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27369069_4 (varsity_name VARCHAR, university VARCHAR) ### Question: What is the varsity name of the university of mcgill university? ### Answer: SELECT varsity_name FROM table_27369069_4 WHERE university = "McGill university"
Below is an context that describes a sql 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 (segment_a VARCHAR, netflix VARCHAR) ### Question: Name the segment A for netflix of s05e01 ### Answer: SELECT segment_a FROM table_name_89 WHERE netflix = "s05e01"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (vacated_throne VARCHAR, archbishop VARCHAR) ### Question: When did Archbishop Albert Daeger vacate the throne? ### Answer: SELECT vacated_throne FROM table_name_63 WHERE archbishop = "albert daeger"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What was the Score on 25 May 2007? ### Answer: SELECT score FROM table_name_79 WHERE date = "25 may 2007"
Below is an context that describes a sql 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 (average_annual_output__million_kwh_ INTEGER, name VARCHAR, installed_capacity__megawatts_ VARCHAR) ### Question: What is the Average annual output for Culligran power station with an Installed capacity less than 19? ### Answer: SELECT AVG(average_annual_output__million_kwh_) FROM table_name_12 WHERE name = "culligran" AND installed_capacity__megawatts_ < 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_name_23 (win_loss VARCHAR, coach VARCHAR) ### Question: What is the win/loss of coach Peter German? ### Answer: SELECT win_loss FROM table_name_23 WHERE coach = "peter german"
Below is an context that describes a sql 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 (long INTEGER, yards VARCHAR, returns VARCHAR) ### Question: Can you tell me the lowest Long that has the Yards 293, and the Returns smaller than 16? ### Answer: SELECT MIN(long) FROM table_name_56 WHERE yards = 293 AND returns < 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_10 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR) ### Question: I want to know the peak which is prom less than 147 and height less than 619 ### Answer: SELECT peak FROM table_name_10 WHERE prom__m_ < 147 AND height__m_ < 619
Below is an context that describes a sql 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 (capital VARCHAR, voivodeship_separate_city VARCHAR) ### Question: what is the capital with the Voivodeship Separate city of białostockie? ### Answer: SELECT capital FROM table_name_1 WHERE voivodeship_separate_city = "białostockie"
Below is an context that describes a sql 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 (match_report VARCHAR, result_score VARCHAR) ### Question: Which match report has l 7-30 as the result/score? ### Answer: SELECT match_report FROM table_name_98 WHERE result_score = "l 7-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_71 (runner_up VARCHAR, rank VARCHAR, last_win VARCHAR, wins VARCHAR) ### Question: Which Runner-up has a Last win smaller than 1998, and Wins of 1, and a Rank larger than 13? ### Answer: SELECT COUNT(runner_up) FROM table_name_71 WHERE last_win < 1998 AND wins = 1 AND rank > 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_40 (partner VARCHAR, style VARCHAR, results VARCHAR) ### Question: Who was the partner for the jazz piece in the bottom three? ### Answer: SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three"
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR) ### Question: What day did the VFL pay MCG? ### Answer: SELECT date FROM table_name_90 WHERE venue = "mcg"
Below is an context that describes a sql 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 (semifinalists VARCHAR, finalist VARCHAR) ### Question: Which Semifinalists have a Finalist of andrei chesnokov? ### Answer: SELECT semifinalists FROM table_name_82 WHERE finalist = "andrei chesnokov"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27902171_7 (game INTEGER, score VARCHAR) ### Question: Which game had a score of w 95-85? ### Answer: SELECT MIN(game) FROM table_27902171_7 WHERE score = "W 95-85"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Customers (customer_status_code VARCHAR, cell_mobile_phone_number VARCHAR, email_address VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: What is the status code, mobile phone number and email address of customer with last name as Kohler or first name as Marina? ### Answer: SELECT customer_status_code, cell_mobile_phone_number, email_address FROM Customers WHERE first_name = "Marina" OR last_name = "Kohler"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What was the home team when geelong was the away team? ### Answer: SELECT home_team FROM table_name_74 WHERE away_team = "geelong"
Below is an context that describes a sql 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 (venue VARCHAR, score VARCHAR, date VARCHAR) ### Question: What was the location for the match held on April 11, 2007, which ended with a score of 0-0? ### Answer: SELECT venue FROM table_name_90 WHERE score = "0-0" AND date = "april 11, 2007"
Below is an context that describes a sql 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 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR) ### Question: What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws? ### Answer: SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = "south warrnambool" 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_173103_1 (max_pressure VARCHAR, muzzle_energy VARCHAR) ### Question: What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)? ### Answer: SELECT max_pressure FROM table_173103_1 WHERE muzzle_energy = "201ft•lbf (273 J)"
Below is an context that describes a sql 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 (series VARCHAR, opponent VARCHAR, game VARCHAR) ### Question: Opponent of edmonton oilers, and a Game of 3 is what series? ### Answer: SELECT series FROM table_name_95 WHERE opponent = "edmonton oilers" AND 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 pilot (Pilot_name VARCHAR, Rank VARCHAR) ### Question: List the names of pilots in ascending order of rank. ### Answer: SELECT Pilot_name FROM pilot ORDER BY Rank
Below is an context that describes a sql 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 (game INTEGER, location_attendance VARCHAR, date VARCHAR) ### Question: What is the least game that was played in Alexander Memorial Coliseum on October 16? ### Answer: SELECT MIN(game) FROM table_name_98 WHERE location_attendance = "alexander memorial coliseum" AND date = "october 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_27713030_11 (high_rebounds VARCHAR, location_attendance VARCHAR) ### Question: How many entries are shown for high rebounds for the philips arena 20,024 game? ### Answer: SELECT COUNT(high_rebounds) FROM table_27713030_11 WHERE location_attendance = "Philips Arena 20,024"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE mountain (height INTEGER) ### Question: What are the maximum and average height of the mountains? ### Answer: SELECT MAX(height), AVG(height) FROM mountain
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1876825_6 (no_in_series INTEGER, original_air_date VARCHAR) ### Question: What episode number in the series aired on February 8, 2004? ### Answer: SELECT MAX(no_in_series) FROM table_1876825_6 WHERE original_air_date = "February 8, 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_27973624_1 (number_of_fixtures INTEGER) ### Question: What is the lowest number of fixtures? ### Answer: SELECT MIN(number_of_fixtures) FROM table_27973624_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_49 (type VARCHAR, title VARCHAR) ### Question: which Type has a Title of so alive? ### Answer: SELECT type FROM table_name_49 WHERE title = "so alive"
Below is an context that describes a sql 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 (opponent VARCHAR, method VARCHAR) ### Question: who is the opponent when the method is tko (punches) at 4:26 of round 1? ### Answer: SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 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_36 (date VARCHAR, away_team VARCHAR) ### Question: What is the date of the game where Essendon is the away team? ### Answer: SELECT date FROM table_name_36 WHERE away_team = "essendon"
Below is an context that describes a sql 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 (traditional_chinese VARCHAR, standard_order VARCHAR, simplified_chinese VARCHAR) ### Question: What is the Traditional Chinese of 国殇 which is over 9? ### Answer: SELECT traditional_chinese FROM table_name_14 WHERE standard_order > 9 AND simplified_chinese = "国殇"
Below is an context that describes a sql 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 (appearances VARCHAR, club VARCHAR, goals VARCHAR) ### Question: How many appearances did the player for the Rayo Vallecano club that scored more than 37 goals make? ### Answer: SELECT COUNT(appearances) FROM table_name_15 WHERE club = "rayo vallecano" AND goals > 37
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE member (LEVEL VARCHAR) ### Question: How many different levels do members have? ### Answer: SELECT COUNT(DISTINCT LEVEL) FROM member
Below is an context that describes a sql 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 (genre VARCHAR, year_recorded VARCHAR) ### Question: What's the genre of the song recorded in 1929? ### Answer: SELECT genre FROM table_name_41 WHERE year_recorded = "1929"
Below is an context that describes a sql 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 (attendance INTEGER, away VARCHAR) ### Question: What was the average attendance when marathon was the away team? ### Answer: SELECT AVG(attendance) FROM table_name_6 WHERE away = "marathon"
Below is an context that describes a sql 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 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) ### Question: What is the reserved for (ST/ST/None) when it was Uklana? ### Answer: SELECT reserved_for___sc___st__none_ FROM table_name_40 WHERE name = "uklana"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR) ### Question: Which NHL team has player Mike Loach? ### Answer: SELECT nhl_team FROM table_1013129_8 WHERE player = "Mike Loach"
Below is an context that describes a sql 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 (hometown VARCHAR, height VARCHAR) ### Question: What's the hometown of the player who is 6-4? ### Answer: SELECT hometown FROM table_name_45 WHERE height = "6-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_82 (position VARCHAR, notes VARCHAR) ### Question: Is there a Position for Notes 53.96? ### Answer: SELECT position FROM table_name_82 WHERE notes = "53.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_2430014_6 (written_by VARCHAR, directed_by VARCHAR) ### Question: Name the written by for john trefor ### Answer: SELECT written_by FROM table_2430014_6 WHERE directed_by = "John Trefor"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the district won by the incumbent Del Latta? ### Answer: SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_9 (pts INTEGER, coach VARCHAR, loss VARCHAR) ### Question: What is the highest percent of Bruce Arena when he loses more than 11 games? ### Answer: SELECT MAX(pts) FROM table_name_9 WHERE coach = "bruce arena" AND loss > 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_1174162_1 (density___km²_ INTEGER, suburb VARCHAR) ### Question: What is the density in Garran? ### Answer: SELECT MIN(density___km²_) FROM table_1174162_1 WHERE suburb = "Garran"
Below is an context that describes a sql 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 (round VARCHAR, player VARCHAR) ### Question: What was the round number when Michael Hjalm played? ### Answer: SELECT round FROM table_name_27 WHERE player = "michael hjalm"
Below is an context that describes a sql 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 (lost INTEGER, drawn VARCHAR, played VARCHAR) ### Question: Which Lost is the highest one that has a Drawn smaller than 4, and a Played smaller than 9? ### Answer: SELECT MAX(lost) FROM table_name_93 WHERE drawn < 4 AND played < 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_35 (stage VARCHAR, trofeo_fast_team VARCHAR) ### Question: During which stage was gatorade the Trofeo Fast Team? ### Answer: SELECT stage FROM table_name_35 WHERE trofeo_fast_team = "gatorade"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24055352_1 (height VARCHAR, hometown VARCHAR) ### Question: What is the height when the player is from Los Angeles? ### Answer: SELECT height FROM table_24055352_1 WHERE hometown = "Los Angeles"
Below is an context that describes a sql 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 (margin_of_victory VARCHAR, runner_s__up VARCHAR, winning_score VARCHAR) ### Question: what is the margin of victory when the runner-up is amy alcott and the winning score is –9 (72-68-67=207)? ### Answer: SELECT margin_of_victory FROM table_name_78 WHERE runner_s__up = "amy alcott" AND winning_score = –9(72 - 68 - 67 = 207)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25724294_2 (extra_points VARCHAR, player VARCHAR) ### Question: Jack Loell had how many extra points? ### Answer: SELECT extra_points FROM table_25724294_2 WHERE player = "Jack Loell"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE job_history (employee_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR, salary VARCHAR) ### Question: Can you return all detailed info of jobs which was done by any of the employees who is presently earning a salary on and above 12000? ### Answer: SELECT * FROM job_history AS T1 JOIN employees AS T2 ON T1.employee_id = T2.employee_id WHERE T2.salary >= 12000
Below is an context that describes a sql 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 (time VARCHAR, period VARCHAR, player VARCHAR) ### Question: What time does Dustin Byfuglien have in 1st period? ### Answer: SELECT time FROM table_name_36 WHERE period = "1st" AND player = "dustin byfuglien"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14752049_3 (change__2009_to_2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) ### Question: Name the change 2009 to 2010 where international tourist arrivals is 9.4 million ### Answer: SELECT change__2009_to_2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "9.4 million"
Below is an context that describes a sql 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 (rank INTEGER, gold INTEGER) ### Question: What's the rank average when the gold medals are less than 0? ### Answer: SELECT AVG(rank) FROM table_name_41 WHERE gold < 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_41 (prominence__m_ INTEGER, rank VARCHAR, col__m_ VARCHAR) ### Question: Which Prominence (m) has a Rank of 10, and a Col (m) smaller than 50? ### Answer: SELECT MIN(prominence__m_) FROM table_name_41 WHERE rank = 10 AND col__m_ < 50
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22993636_2 (home_record VARCHAR, percentage VARCHAR) ### Question: What's the home record of the team with percentage of .168? ### Answer: SELECT home_record FROM table_22993636_2 WHERE percentage = ".168"
Below is an context that describes a sql 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 (date VARCHAR, race_title VARCHAR) ### Question: Which date has a Race Title of dhl turkish grand prix? ### Answer: SELECT date FROM table_name_40 WHERE race_title = "dhl turkish grand prix"
Below is an context that describes a sql 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 (final_score VARCHAR, visiting_team VARCHAR) ### Question: What was the final score when the Buffalo Bills were the visiting team? ### Answer: SELECT final_score FROM table_name_94 WHERE visiting_team = "buffalo bills"
Below is an context that describes a sql 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 (date VARCHAR, runner_up_skip VARCHAR) ### Question: What's the date when Stu Harris was the Runner-up? ### Answer: SELECT date FROM table_name_58 WHERE runner_up_skip = "stu harris"
Below is an context that describes a sql 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 (co_contestant__yaar_vs_pyaar_ VARCHAR, main_contestant VARCHAR) ### Question: Who is the co-contestant (yaar vs. Pyaar) with Vishal Singh as the main contestant? ### Answer: SELECT co_contestant__yaar_vs_pyaar_ FROM table_name_90 WHERE main_contestant = "vishal singh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1912276_2 (__750m VARCHAR, __250m VARCHAR) ### Question: If the -250m is 18.852, what is the ### Answer: SELECT __750m FROM table_1912276_2 WHERE __250m = "18.852"
Below is an context that describes a sql 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 (transfer_window VARCHAR, moving_from VARCHAR) ### Question: What is the transfer window of the player moving from barueri? ### Answer: SELECT transfer_window FROM table_name_40 WHERE moving_from = "barueri"
Below is an context that describes a sql 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 (director VARCHAR, production_number VARCHAR) ### Question: What director had a production number of 1490? ### Answer: SELECT director FROM table_name_27 WHERE production_number = 1490
Below is an context that describes a sql 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 (fatalities INTEGER, airline VARCHAR, registration VARCHAR) ### Question: How many fatalities are there for the airline of spantax, with a registration of ec-arz? ### Answer: SELECT AVG(fatalities) FROM table_name_67 WHERE airline = "spantax" AND registration = "ec-arz"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 1993 value of the 1994 atp masters series? ### Answer: SELECT 1993 FROM table_name_59 WHERE 1994 = "atp masters series"
Below is an context that describes a sql 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 (place VARCHAR, money___$__ VARCHAR, player VARCHAR) ### Question: Which ranking has money of $82 and Al Watrous as the player? ### Answer: SELECT place FROM table_name_64 WHERE money___$__ = 82 AND player = "al watrous"
Below is an context that describes a sql 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 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR) ### Question: What year had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½? ### Answer: SELECT MAX(year) FROM table_name_19 WHERE result = "½–½" AND black = "kramnik" AND opening = "e05 catalan opening" AND moves > 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_20 (pos VARCHAR, from_club VARCHAR) ### Question: What is Pos., when From Club is "CSKA Moscow"? ### Answer: SELECT pos FROM table_name_20 WHERE from_club = "cska moscow"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27539535_5 (opponent VARCHAR, score VARCHAR) ### Question: Against what opponent did the game end 5-4? ### Answer: SELECT opponent FROM table_27539535_5 WHERE score = "5-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_27 (starting_point VARCHAR, terminus VARCHAR) ### Question: What is the starting point of the route that has its terminus at Ecat/Rosa Park Transit Center? ### Answer: SELECT starting_point FROM table_name_27 WHERE terminus = "ecat/rosa park transit center"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (outcome VARCHAR, partner VARCHAR) ### Question: What was the Outcome of the match with Partner Kateryna Bondarenko? ### Answer: SELECT outcome FROM table_name_84 WHERE partner = "kateryna bondarenko"
Below is an context that describes a sql 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 (term_end VARCHAR, party VARCHAR, minister VARCHAR) ### Question: When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party? ### Answer: SELECT term_end FROM table_name_37 WHERE party = "national religious party" AND minister = "shlomo-yisrael ben-meir"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12043148_2 (year VARCHAR, glos_ VARCHAR, _wilts VARCHAR) ### Question: what is the year where glos & wilts is gloucester city winget? ### Answer: SELECT year FROM table_12043148_2 WHERE glos_ & _wilts = "Gloucester City Winget"
Below is an context that describes a sql 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 (song_title VARCHAR, release_date VARCHAR, time VARCHAR) ### Question: Which song was released 12/8/70 with a time of 2:54? ### Answer: SELECT song_title FROM table_name_19 WHERE release_date = "12/8/70" AND time = "2:54"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13426649_1 (original_air_date VARCHAR, _number VARCHAR) ### Question: How many different original air dates did the episode number 6 have? ### Answer: SELECT COUNT(original_air_date) FROM table_13426649_1 WHERE _number = 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_18600760_7 (longitude VARCHAR, land___sqmi__ VARCHAR) ### Question: If the land square milage is 10.950, what is the longitude? ### Answer: SELECT longitude FROM table_18600760_7 WHERE land___sqmi__ = "10.950"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: What is the 1994 finish for the Miami tournament? ### Answer: SELECT 1994 FROM table_name_14 WHERE tournament = "miami"
Below is an context that describes a sql 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 (tie_no VARCHAR, away_team VARCHAR) ### Question: For which tie was Scunthorpe United the away team? ### Answer: SELECT tie_no FROM table_name_5 WHERE away_team = "scunthorpe united"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23988726_2 (Id VARCHAR) ### Question: When saif saaeed shaheen ( qat ) is the saif saaeed shaheen ( qat ) what is the date on September 3rd, 2004? ### Answer: SELECT 3 AS _september_2004 FROM table_23988726_2 WHERE "saif_saaeed_shaheen___qat__" = "saif_saaeed_shaheen___qat__"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: Which home team had an away team of Reading? ### Answer: SELECT home_team FROM table_name_37 WHERE away_team = "reading"
Below is an context that describes a sql 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 (time VARCHAR, event VARCHAR) ### Question: What time was the 50m freestyle event? ### Answer: SELECT time FROM table_name_26 WHERE event = "50m freestyle"
Below is an context that describes a sql 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 (bronze VARCHAR, rank VARCHAR) ### Question: How many Bronze medals did the team ranked 1 win? ### Answer: SELECT bronze FROM table_name_32 WHERE rank = "1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR) ### Question: What is the Number of Households that have a Per Capita Income of $21,345? ### Answer: SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19439864_2 (ålesund INTEGER, bergen VARCHAR) ### Question: When bergen is 88, what is the alesund? ### Answer: SELECT MIN(ålesund) FROM table_19439864_2 WHERE bergen = 88
Below is an context that describes a sql 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 (location VARCHAR, reservation VARCHAR) ### Question: What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8? ### Answer: SELECT AVG(2000) FROM table_name_97 WHERE location = "montana" AND reservation = "fort peck indian reservation" AND 1979 < 26.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_5 (home VARCHAR, date VARCHAR) ### Question: Who was the home team of the game on 26 February 2008? ### Answer: SELECT home FROM table_name_5 WHERE date = "26 february 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2311410_5 (erin_and_jake VARCHAR, week VARCHAR) ### Question: Name the erin and jake for week 4 ### Answer: SELECT erin_and_jake FROM table_2311410_5 WHERE week = 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR) ### Question: Name the least area for vas ### Answer: SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas"
Below is an context that describes a sql 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 (team_chassis VARCHAR, year INTEGER) ### Question: Which Team/Chassis has a Year larger than 1987? ### Answer: SELECT team_chassis FROM table_name_46 WHERE year > 1987
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR) ### Question: How many rounds have an Overall larger than 17, and a Position of quarterback? ### Answer: SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"
Below is an context that describes a sql 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 (points VARCHAR, place INTEGER) ### Question: Which points has place smaller than 2? ### Answer: SELECT points FROM table_name_39 WHERE place < 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_71 (signatories VARCHAR, purpose VARCHAR, payee VARCHAR) ### Question: What signatory has a purpose of police security and Infotalent payee? ### Answer: SELECT signatories FROM table_name_71 WHERE purpose = "police security" AND payee = "infotalent"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23292220_4 (scores VARCHAR, seans_team VARCHAR) ### Question: What was the score in the episode with john barrowman and vic reeves on sean's team? ### Answer: SELECT scores FROM table_23292220_4 WHERE seans_team = "John Barrowman and Vic Reeves"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_256286_21 (type VARCHAR, meas_num VARCHAR) ### Question: What type of proposal is measure number 3? ### Answer: SELECT type FROM table_256286_21 WHERE meas_num = 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_57 (location VARCHAR, year VARCHAR, gold VARCHAR) ### Question: What is the location of the Asian Games after 2002 when Kim Hyun-soo won the gold? ### Answer: SELECT location FROM table_name_57 WHERE year > 2002 AND 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 customers (state VARCHAR) ### Question: Which state has the most customers? ### Answer: SELECT state FROM customers GROUP BY state ORDER BY COUNT(*) 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_name_81 (location VARCHAR, year VARCHAR, killed VARCHAR) ### Question: What location has a killed of 100.9, and a year later than 1993? ### Answer: SELECT location FROM table_name_81 WHERE year > 1993 AND killed = "100.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_71 (gold VARCHAR, bronze VARCHAR) ### Question: What is Gold, when Bronze is 11? ### Answer: SELECT gold FROM table_name_71 WHERE bronze = "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_76 (opponent VARCHAR, record VARCHAR) ### Question: What opponent has 8-10 as the record? ### Answer: SELECT opponent FROM table_name_76 WHERE record = "8-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 job_history (job_id VARCHAR, end_date VARCHAR, start_date VARCHAR) ### Question: display job ID for those jobs that were done by two or more for more than 300 days. ### Answer: SELECT job_id FROM job_history WHERE end_date - start_date > 300 GROUP BY job_id HAVING COUNT(*) >= 2