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_59 (season_number VARCHAR) ### Question: Name the 2nd runner-up for season 7 ### Answer: SELECT 2 AS nd_runner_up FROM table_name_59 WHERE season_number = "season 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_27537870_6 (location_attendance VARCHAR, opponent VARCHAR) ### Question: If the opponent was @ Boston Bruins, what was the Location/Attendance? ### Answer: SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins"
Below is an context that describes a sql 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, displacement VARCHAR) ### Question: what is the name when the displacement is 8,305 t? ### Answer: SELECT name FROM table_name_12 WHERE displacement = "8,305 t"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, median_house__hold_income VARCHAR) ### Question: If the median income is $57,407, what is the per capita income? ### Answer: SELECT per_capita_income FROM table_1840495_2 WHERE median_house__hold_income = "$57,407"
Below is an context that describes a sql 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 (city VARCHAR, stadium VARCHAR) ### Question: Which City has a Stadium of estadio san cristóbal? ### Answer: SELECT city FROM table_name_96 WHERE stadium = "estadio san cristóbal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25017530_5 (cfl_team VARCHAR, player VARCHAR) ### Question: Name the cfl team for steven turner ### Answer: SELECT cfl_team FROM table_25017530_5 WHERE player = "Steven Turner"
Below is an context that describes a sql 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 (founded INTEGER, club VARCHAR, titles VARCHAR) ### Question: Which Founded has a Club of tri-city storm and a Titles larger than 1? ### Answer: SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 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_82 (away_team VARCHAR, venue VARCHAR) ### Question: What away team plays at Arden Street Oval? ### Answer: SELECT away_team FROM table_name_82 WHERE venue = "arden 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_name_76 (date_of_death VARCHAR, date_of_inauguration VARCHAR) ### Question: What was the date of death entry in the row that has a date of inauguration entry of date of inauguration? ### Answer: SELECT date_of_death FROM table_name_76 WHERE date_of_inauguration = "date of inauguration"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10138926_1 (city VARCHAR) ### Question: What's the 1991 census of the city of Carpi? ### Answer: SELECT MAX(1991 AS _census) FROM table_10138926_1 WHERE city = "Carpi"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: Can you tell me the Home team that has a Venue of Windy Hill? ### Answer: SELECT home_team FROM table_name_17 WHERE venue = "windy hill"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1816947_2 (division___section VARCHAR, season VARCHAR) ### Question: In which division did they compete in 2012? ### Answer: SELECT division___section FROM table_1816947_2 WHERE season = 2012
Below is an context that describes a sql 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 (original_channel VARCHAR, b_mountain_channel VARCHAR) ### Question: What original channel is associated with B Mountain Channel 9? ### Answer: SELECT original_channel FROM table_name_39 WHERE b_mountain_channel = "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_38 (points INTEGER, year VARCHAR) ### Question: Name the sum of points for 1992 ### Answer: SELECT SUM(points) FROM table_name_38 WHERE year = 1992
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR) ### Question: What is the i/o bus for the brand name Core i3-21xx? ### Answer: SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xx"
Below is an context that describes a sql 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 (opponent VARCHAR, season VARCHAR) ### Question: Which opponent played in 2001/02? ### Answer: SELECT opponent FROM table_name_65 WHERE season = "2001/02"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1974482_1 (type VARCHAR, institution VARCHAR) ### Question: Name the type for hobart college ### Answer: SELECT type FROM table_1974482_1 WHERE institution = "Hobart College"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (details VARCHAR, name VARCHAR) ### Question: What are the details for Marisa Ferretti Barth? ### Answer: SELECT details FROM table_name_55 WHERE name = "marisa ferretti barth"
Below is an context that describes a sql 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 (introduced VARCHAR, type VARCHAR) ### Question: What is the year of introduction for the Electro-Diesel locomotive? ### Answer: SELECT introduced FROM table_name_64 WHERE type = "electro-diesel locomotive"
Below is an context that describes a sql 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 (throws VARCHAR, first VARCHAR) ### Question: How many throws did Torey have? ### Answer: SELECT throws FROM table_name_77 WHERE first = "torey"
Below is an context that describes a sql 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 (podiums INTEGER, season VARCHAR, races VARCHAR) ### Question: Can you tell me the sum of Podiums that has the Season of 2006, and the Races larger than 16? ### Answer: SELECT SUM(podiums) FROM table_name_20 WHERE season = "2006" AND races > 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_59 (attendance INTEGER, home VARCHAR, date VARCHAR) ### Question: What was the Attendance when the Home team was Montreal, on the Date of March 24? ### Answer: SELECT SUM(attendance) FROM table_name_59 WHERE home = "montreal" AND date = "march 24"
Below is an context that describes a sql 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 (regular_season_champion_s_ VARCHAR, record VARCHAR, tournament_champion VARCHAR) ### Question: Which Regular Season Champion(s) has a Record of 9–0, and a Tournament Champion of north carolina? ### Answer: SELECT regular_season_champion_s_ FROM table_name_16 WHERE record = "9–0" AND tournament_champion = "north carolina"
Below is an context that describes a sql 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 (year VARCHAR, film_name VARCHAR) ### Question: Which year was the film Rang Barse introduced? ### Answer: SELECT COUNT(year) FROM table_name_63 WHERE film_name = "rang barse"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR) ### Question: How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)? ### Answer: SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)"
Below is an context that describes a sql 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 (position VARCHAR, jersey_number_s_ VARCHAR) ### Question: Which position was played by the player wearing jersey number 40? ### Answer: SELECT position FROM table_name_23 WHERE jersey_number_s_ = 40
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (report VARCHAR, winning_driver VARCHAR, date VARCHAR) ### Question: What is the report for the race that Ayrton Senna won on 27 August? ### Answer: SELECT report FROM table_name_84 WHERE winning_driver = "ayrton senna" AND date = "27 august"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29414946_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) ### Question: How many times did Silas leave as a team manager? ### Answer: SELECT COUNT(manner_of_departure) FROM table_29414946_3 WHERE outgoing_manager = "Silas"
Below is an context that describes a sql 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 (to_par VARCHAR, year_s__won VARCHAR) ### Question: What is To Par, when Year(s) Won is "1968 , 1971"? ### Answer: SELECT to_par FROM table_name_99 WHERE year_s__won = "1968 , 1971"
Below is an context that describes a sql 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 (rank INTEGER, singapore_cup VARCHAR) ### Question: What rank does the Singapore Cup of 0 (1) have? ### Answer: SELECT MAX(rank) FROM table_name_87 WHERE singapore_cup = "0 (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_8 (player VARCHAR, place VARCHAR, score VARCHAR) ### Question: What Player with a Place of T10 had a Score of 80-70-72-72=294? ### Answer: SELECT player FROM table_name_8 WHERE place = "t10" AND score = 80 - 70 - 72 - 72 = 294
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18646111_13 (round_1 VARCHAR) ### Question: Name the 1/8 finals for round 1 n/a ### Answer: SELECT 1 AS _8_finals FROM table_18646111_13 WHERE round_1 = "N/A"
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR) ### Question: What was the score for the away team at Glenferrie Oval? ### Answer: SELECT away_team AS score FROM table_name_53 WHERE venue = "glenferrie oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (percentage___percentage_ VARCHAR, number VARCHAR) ### Question: Name the percentage with number of 1 343 ### Answer: SELECT percentage___percentage_ FROM table_name_11 WHERE number = "1 343"
Below is an context that describes a sql 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 (wind_farm VARCHAR, country VARCHAR, notes VARCHAR) ### Question: Which wind farm is in the USA and is noted as having multiple farms? ### Answer: SELECT wind_farm FROM table_name_58 WHERE country = "usa" AND notes = "multiple farms"
Below is an context that describes a sql 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 (current_club VARCHAR, height VARCHAR, position VARCHAR) ### Question: What is the Current Club of the PG/SG player with a Height of less than 1.9500000000000002? ### Answer: SELECT current_club FROM table_name_87 WHERE height < 1.9500000000000002 AND position = "pg/sg"
Below is an context that describes a sql 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 (location_attendance VARCHAR, high_assists VARCHAR, record VARCHAR) ### Question: Which Location Attendance has a High assists of raymond felton (5), and a Record of 35–44? ### Answer: SELECT location_attendance FROM table_name_17 WHERE high_assists = "raymond felton (5)" AND record = "35–44"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16432543_3 (established VARCHAR, institution VARCHAR) ### Question: How many teams were established at University of Maryland? ### Answer: SELECT COUNT(established) FROM table_16432543_3 WHERE institution = "University of 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_86 (series VARCHAR, score VARCHAR) ### Question: Which Series has a Score of 9–4? ### Answer: SELECT series FROM table_name_86 WHERE score = "9–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_45 (score VARCHAR, visitor VARCHAR, record VARCHAR) ### Question: What is the score of the game with the chicago black hawks as the visitor and a 3-1 record? ### Answer: SELECT score FROM table_name_45 WHERE visitor = "chicago black hawks" AND record = "3-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_19487922_2 (championships VARCHAR, country VARCHAR) ### Question: How many championships does Pakistan have? ### Answer: SELECT COUNT(championships) FROM table_19487922_2 WHERE country = "Pakistan"
Below is an context that describes a sql 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 (registered_voters VARCHAR, ngilu VARCHAR) ### Question: What's listed for the Registered Voters with a Ngilu of 3,429? ### Answer: SELECT registered_voters FROM table_name_68 WHERE ngilu = "3,429"
Below is an context that describes a sql 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 (seats INTEGER, quantity INTEGER) ### Question: How many seats have a quantity over 45? ### Answer: SELECT SUM(seats) FROM table_name_53 WHERE quantity > 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_69 (col__m_ INTEGER, peak VARCHAR, elevation__m_ VARCHAR) ### Question: Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m? ### Answer: SELECT MIN(col__m_) FROM table_name_69 WHERE peak = "gerlachovský štít" AND elevation__m_ > 2 OFFSET 655
Below is an context that describes a sql 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 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR) ### Question: Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps? ### Answer: SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps"
Below is an context that describes a sql 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 (winner VARCHAR, stage VARCHAR) ### Question: Who was the winner in stage 3? ### Answer: SELECT winner FROM table_name_49 WHERE stage = "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_64 (years VARCHAR, engine_code VARCHAR, model VARCHAR) ### Question: During which years was the Model 318td (diesel) with the Engine code of m47d20 manufactured? ### Answer: SELECT years FROM table_name_64 WHERE engine_code = "m47d20" AND model = "318td (diesel)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR) ### Question: Find the name of dorms that do not have amenity TV Lounge. ### Answer: SELECT dorm_name FROM dorm EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge'
Below is an context that describes a sql 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 (team_1 VARCHAR) ### Question: What is the 2nd leg of the Comunicaciones team? ### Answer: SELECT 2 AS nd_leg FROM table_name_78 WHERE team_1 = "comunicaciones"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR) ### Question: what is the total viewers where the date of first broadcast is 28 january 2010 and the episode number is 1? ### Answer: SELECT MIN(total_viewers) FROM table_12995531_3 WHERE date_of_first_broadcast = "28 January 2010" AND episode_number = 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_22 (grid INTEGER, time VARCHAR, laps VARCHAR) ### Question: What is the highest Grid with a time of +1:19.905, and less than 20 laps? ### Answer: SELECT MAX(grid) FROM table_name_22 WHERE time = "+1:19.905" AND laps < 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_67 (points INTEGER, drawn VARCHAR, lost VARCHAR) ### Question: What is the greatest points value that have draws under 2 and 2 losses? ### Answer: SELECT MAX(points) FROM table_name_67 WHERE drawn < 2 AND lost = 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_62 (opponent VARCHAR, date VARCHAR) ### Question: Can you tell me the Opponent that has the Date of october 11, 1953? ### Answer: SELECT opponent FROM table_name_62 WHERE date = "october 11, 1953"
Below is an context that describes a sql 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 (away VARCHAR, home VARCHAR) ### Question: What away has 1-4 as the home? ### Answer: SELECT away FROM table_name_82 WHERE home = "1-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_1 (time VARCHAR, date VARCHAR) ### Question: Date of october 8 happened at what time? ### Answer: SELECT time FROM table_name_1 WHERE date = "october 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_22 (elevation__m_ INTEGER, country VARCHAR, rank VARCHAR) ### Question: What is the elevation of Vanuatu, when the rank is smaller than 3? ### Answer: SELECT AVG(elevation__m_) FROM table_name_22 WHERE country = "vanuatu" AND rank < 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_2522473_1 (home_city VARCHAR, home_ground VARCHAR) ### Question: What is the home city for the team whose home ground is dnb nor arena? ### Answer: SELECT home_city FROM table_2522473_1 WHERE home_ground = "DnB Nor Arena"
Below is an context that describes a sql 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 (constructor VARCHAR, rider VARCHAR) ### Question: Who was Constructor for rider Marco Melandri? ### Answer: SELECT constructor FROM table_name_76 WHERE rider = "marco melandri"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15988037_24 (place VARCHAR, perfect_40s VARCHAR, average VARCHAR) ### Question: What are all the places where the number of perfect 40s is 0 and the average is 27.25? ### Answer: SELECT place FROM table_15988037_24 WHERE perfect_40s = 0 AND average = "27.25"
Below is an context that describes a sql 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 (week_6 VARCHAR, week_2 VARCHAR, week_3 VARCHAR, week_7 VARCHAR, week_4 VARCHAR) ### Question: What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35? ### Answer: SELECT week_6 FROM table_name_22 WHERE week_7 = "evicted" AND week_4 = "evicted" AND week_3 = "evicted" AND week_2 = "29.35"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, gas_storage VARCHAR) ### Question: What wast the percent cut for the nation with an 80% full gas storage? ### Answer: SELECT _percentage_cut FROM table_21690339_1 WHERE gas_storage = "80% full"
Below is an context that describes a sql 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 (_number_of_phones_as__percentage_of_population INTEGER, last_updated_date VARCHAR, number_of_mobile_phones VARCHAR) ### Question: What percent is 327,577,529 people with phones in June 2013? ### Answer: SELECT MAX(_number_of_phones_as__percentage_of_population) FROM table_name_90 WHERE last_updated_date = "june 2013" AND number_of_mobile_phones = "327,577,529"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: What did the Tournament of SR get in 1951? ### Answer: SELECT 1951 FROM table_name_25 WHERE tournament = "sr"
Below is an context that describes a sql 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 (birthplace VARCHAR, _date VARCHAR, pick VARCHAR) ### Question: What is the birthplace and date of pick 4? ### Answer: SELECT birthplace, _date FROM table_name_47 WHERE pick = 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_53 (game INTEGER, team VARCHAR, series VARCHAR) ### Question: what is the highest game when the team is @boston and the series is 0-1? ### Answer: SELECT MAX(game) FROM table_name_53 WHERE team = "@boston" AND series = "0-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_14903999_1 (year INTEGER, mixed_doubles VARCHAR) ### Question: What was the earliest year Þorvaldur Ásgeirsson Lovísa Sigurðardóttir won mixed doubles ### Answer: SELECT MIN(year) FROM table_14903999_1 WHERE mixed_doubles = "Þorvaldur Ásgeirsson Lovísa Sigurðardóttir"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What shows for 2006 when 2002 is 0–1? ### Answer: SELECT 2006 FROM table_name_96 WHERE 2002 = "0–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 (result VARCHAR, score VARCHAR, city VARCHAR) ### Question: What was the result of the match in Penrith that featured a score of 48-12? ### Answer: SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (format VARCHAR, date VARCHAR) ### Question: Which format is released on August 29, 1998? ### Answer: SELECT format FROM table_name_72 WHERE date = "august 29, 1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR) ### Question: What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976? ### Answer: SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = "boston crusaders"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (the_year INTEGER, division INTEGER) ### Question: Which Year has a Division larger than 3? ### Answer: SELECT MAX(the_year) FROM table_name_97 WHERE division > 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_12962773_10 (no VARCHAR, height VARCHAR) ### Question: Which player number is 2.10 meters tall? ### Answer: SELECT no FROM table_12962773_10 WHERE height = "2.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 weather (zip_code VARCHAR, mean_visibility_miles INTEGER) ### Question: Find the zip code in which the average mean visibility is lower than 10. ### Answer: SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (game VARCHAR, march VARCHAR, points VARCHAR) ### Question: How many games have a March of 19, and Points smaller than 83? ### Answer: SELECT COUNT(game) FROM table_name_50 WHERE march = 19 AND points < 83
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR) ### Question: What is the Laker's record when they played against Kansas City Kings? ### Answer: SELECT record FROM table_name_84 WHERE opponent = "kansas city kings"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (type_of_game VARCHAR, results¹ VARCHAR) ### Question: what type of game has the resuts of 1:0? ### Answer: SELECT type_of_game FROM table_name_78 WHERE results¹ = "1: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 route (station_id VARCHAR); CREATE TABLE station (network_name VARCHAR, services VARCHAR, id VARCHAR) ### Question: Find the number of trains for each station, as well as the station network name and services. ### Answer: SELECT COUNT(*), t1.network_name, t1.services FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id GROUP BY t2.station_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 Skills_Required_To_Fix (part_fault_id VARCHAR, skill_id VARCHAR); CREATE TABLE Part_Faults (fault_short_name VARCHAR, part_fault_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR) ### Question: For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description. ### Answer: SELECT T1.fault_short_name, T3.skill_description FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR) ### Question: What was the date of the week 9 game? ### Answer: SELECT date FROM table_name_76 WHERE week = 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 county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR); CREATE TABLE city (County_ID VARCHAR, White INTEGER) ### Question: Show the crime rate of counties with a city having white percentage more than 90. ### Answer: SELECT T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID WHERE T1.White > 90
Below is an context that describes a sql 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 (round VARCHAR, scorers VARCHAR) ### Question: Which round has the scorer of Di Matteo? ### Answer: SELECT round FROM table_name_56 WHERE scorers = "di matteo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_60 (wins INTEGER, goals_conceded VARCHAR, club VARCHAR, points VARCHAR, goals_scored VARCHAR) ### Question: For the club Minija Kretinga, what's the lowest number of wins with points smaller than 25, goals at 22 and goals conceded below 39? ### Answer: SELECT MIN(wins) FROM table_name_60 WHERE points < 25 AND goals_scored = 22 AND club = "minija kretinga" AND goals_conceded < 39
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR) ### Question: Which player has a Club/province of direito, less than 21 caps, and a Position of lock? ### Answer: SELECT player FROM table_name_99 WHERE club_province = "direito" AND caps < 21 AND position = "lock"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (lyrics VARCHAR, date VARCHAR, catalog_number VARCHAR) ### Question: In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427? ### Answer: SELECT lyrics FROM table_name_48 WHERE date = "august 10, 2005" AND catalog_number = "tocp-66427"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Which opponent has april 1 as the date? ### Answer: SELECT opponent FROM table_name_39 WHERE date = "april 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_39 (winning_score VARCHAR, date VARCHAR) ### Question: What was Rosie's winning score on Apr 29, 2001? ### Answer: SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"
Below is an context that describes a sql 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 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR) ### Question: What is the venue of the match that had a win result and a score of 0-4 in the 2002 Tiger Cup Group Stage? ### Answer: SELECT venue FROM table_name_33 WHERE result = "win" AND competition = "2002 tiger cup group stage" AND score = "0-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR) ### Question: What is the smallest number of wins for the Totals Tournament with a Top-25 value greater than 3? ### Answer: SELECT MIN(wins) FROM table_name_25 WHERE tournament = "totals" AND top_25 > 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_22 (bronze INTEGER, silver INTEGER) ### Question: What is the most bronze a team with more than 2 silvers has? ### Answer: SELECT MAX(bronze) FROM table_name_22 WHERE silver > 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_59 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR) ### Question: How many wins for team mv agusta, over 10 points, and after 1957? ### Answer: SELECT SUM(wins) FROM table_name_59 WHERE team = "mv agusta" AND points > 10 AND year > 1957
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the 1991 when 1992 and 1990 are 1R? ### Answer: SELECT 1991 FROM table_name_69 WHERE 1992 = "1r" AND 1990 = "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 table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR) ### Question: What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404? ### Answer: SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27011761_2 (train_no VARCHAR, departure VARCHAR) ### Question: How many trains depart at 17:30? ### Answer: SELECT COUNT(train_no) FROM table_27011761_2 WHERE departure = "17: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_25730326_2 (touchdowns INTEGER, points VARCHAR) ### Question: How many touchdowns did the player with 10 points have? ### Answer: SELECT MIN(touchdowns) FROM table_25730326_2 WHERE points = 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 contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE votes (created VARCHAR, state VARCHAR, phone_number VARCHAR, contestant_number VARCHAR) ### Question: What are the create dates, states, and phone numbers of the votes that were for the contestant named 'Tabatha Gehling'? ### Answer: SELECT T2.created, T2.state, T2.phone_number FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number WHERE T1.contestant_name = 'Tabatha Gehling'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (points INTEGER, played INTEGER) ### Question: What is the average number of points of the team with more than 18 played? ### Answer: SELECT AVG(points) FROM table_name_72 WHERE 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 player (Team VARCHAR) ### Question: What are the teams of the players, sorted in ascending alphabetical order? ### Answer: SELECT Team FROM player ORDER BY Team
Below is an context that describes a sql 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 (nationality VARCHAR, player VARCHAR) ### Question: What nationality is Daryn Fersovich? ### Answer: SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich"
Below is an context that describes a sql 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 (space_crusade VARCHAR, english VARCHAR) ### Question: Name the space crusade when the english is of finnish ### Answer: SELECT space_crusade FROM table_name_7 WHERE english = "finnish"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (draw INTEGER, artist VARCHAR) ### Question: How many draws feature artist wendy fierce? ### Answer: SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce"