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_74 (winner VARCHAR, time VARCHAR, jockey VARCHAR) ### Question: Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey? ### Answer: SELECT winner FROM table_name_74 WHERE time = "1:12.00" AND jockey = "melvin a. holland"
Below is an context that describes a sql 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 (station_code VARCHAR, arrival VARCHAR) ### Question: What's listed for the Station Code that has the Arrival of 02:20? ### Answer: SELECT station_code FROM table_name_40 WHERE arrival = "02: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_79 (school VARCHAR, player VARCHAR) ### Question: What is the name of the school that has a player named Michael Dunigan? ### Answer: SELECT school FROM table_name_79 WHERE player = "michael dunigan"
Below is an context that describes a sql 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 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR) ### Question: What is the average Year Named, when Latitude is 37.9N, and when Diameter (km) is greater than 76? ### Answer: SELECT AVG(year_named) FROM table_name_70 WHERE latitude = "37.9n" AND diameter__km_ > 76
Below is an context that describes 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_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (customer_id VARCHAR) ### Question: Find the name of the customer that has been involved in the most policies. ### Answer: SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_details 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_22982552_9 (position VARCHAR, highlight_s_ VARCHAR) ### Question: What position did the player whose highlights were 5 career INTs play? ### Answer: SELECT position FROM table_22982552_9 WHERE highlight_s_ = "5 career INTs"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14882588_3 (sail_number VARCHAR, yacht VARCHAR) ### Question: What are all sail numbers for the yacht Yendys? ### Answer: SELECT sail_number FROM table_14882588_3 WHERE yacht = "Yendys"
Below is an context that describes a sql 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 (premierships VARCHAR, league VARCHAR) ### Question: How many premierships for the commonwealth bank trophy league? ### Answer: SELECT premierships FROM table_name_25 WHERE league = "commonwealth bank trophy"
Below is an context that describes a sql 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 (model_number VARCHAR, sspec_number VARCHAR) ### Question: What Model number has the sSpec numebr of SLBJG(B1)? ### Answer: SELECT model_number FROM table_name_30 WHERE sspec_number = "slbjg(b1)"
Below is an context that describes a sql 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 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) ### Question: Played on Clay Surface, what was the Score of the Dortmund Tournament? ### Answer: SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, deaths VARCHAR) ### Question: Which Natural change has a Crude death rate (per 1000) larger than 9, and Deaths of 40 399? ### Answer: SELECT natural_change FROM table_name_88 WHERE crude_death_rate__per_1000_ > 9 AND deaths = "40 399"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR) ### Question: who scored highest points on the game with record 27–5 ### Answer: SELECT high_points FROM table_17190012_7 WHERE record = "27–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_51 (nationality VARCHAR, round VARCHAR, position VARCHAR) ### Question: What is the nationality of the goalie in Round 7? ### Answer: SELECT nationality FROM table_name_51 WHERE round = 7 AND position = "goalie"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20704243_6 (title VARCHAR, directed_by VARCHAR) ### Question: What episode did John Rogers direct? ### Answer: SELECT title FROM table_20704243_6 WHERE directed_by = "John Rogers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15088557_1 (stage INTEGER, mountains_classification VARCHAR, winner VARCHAR) ### Question: what is the minimum stage where mountains classification is aitor osa and aitor gonzález won? ### Answer: SELECT MIN(stage) FROM table_15088557_1 WHERE mountains_classification = "Aitor Osa" AND winner = "Aitor González"
Below is an context that describes a sql 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, ship VARCHAR) ### Question: Which Date has a Ship of hallbjorg? ### Answer: SELECT date FROM table_name_87 WHERE ship = "hallbjorg"
Below is an context that describes a sql 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 (winner VARCHAR, stages VARCHAR, year VARCHAR) ### Question: Who won the 17 staged event in 1987? ### Answer: SELECT winner FROM table_name_83 WHERE stages = "17" AND 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_1341738_19 (district VARCHAR, incumbent VARCHAR) ### Question: What district did Joe Waggonner belong to? ### Answer: SELECT district FROM table_1341738_19 WHERE incumbent = "Joe Waggonner"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25374338_1 (theme VARCHAR, original_artist VARCHAR) ### Question: What is the theme where the original artist is AC/DC? ### Answer: SELECT theme FROM table_25374338_1 WHERE original_artist = "AC/DC"
Below is an context that describes a sql 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 (year VARCHAR, result VARCHAR, title VARCHAR, award VARCHAR) ### Question: What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of Won? ### Answer: SELECT COUNT(year) FROM table_name_82 WHERE title = "the queen" AND award = "british academy film award" AND result = "won"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17323529_5 (score VARCHAR, location_attendance VARCHAR) ### Question: Name the total number of score for staples center 13,266 ### Answer: SELECT COUNT(score) FROM table_17323529_5 WHERE location_attendance = "Staples Center 13,266"
Below is an context that describes a sql 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 (attendance INTEGER, score VARCHAR) ### Question: What was the highest attendance of a game that had a score of 3-5? ### Answer: SELECT MAX(attendance) FROM table_name_83 WHERE score = "3-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 match_season (POSITION VARCHAR) ### Question: Show the most common position of players in match seasons. ### Answer: SELECT POSITION FROM match_season GROUP BY POSITION 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_name_41 (school VARCHAR, player VARCHAR) ### Question: Which School did Player Tyrone Johnson attend? ### Answer: SELECT school FROM table_name_41 WHERE player = "tyrone johnson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Apartment_Buildings (building_description VARCHAR) ### Question: Show all distinct building descriptions. ### Answer: SELECT DISTINCT building_description FROM Apartment_Buildings
Below is an context that describes a sql 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 (turns VARCHAR, city VARCHAR) ### Question: What is the number of turns for the City of san antonio? ### Answer: SELECT turns FROM table_name_35 WHERE city = "san antonio"
Below is an context that describes a sql 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 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR) ### Question: What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario? ### Answer: SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario"
Below is an context that describes a sql 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 (format VARCHAR, notes VARCHAR, call_sign VARCHAR) ### Question: What is the Format of the French Frequency with a Call sign of CKRL-FM? ### Answer: SELECT format FROM table_name_56 WHERE notes = "french" AND call_sign = "ckrl-fm"
Below is an context that describes a sql 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 (best VARCHAR, name VARCHAR) ### Question: What was Alex Figge's Best? ### Answer: SELECT best FROM table_name_47 WHERE name = "alex figge"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE addresses (address_id VARCHAR, address_details VARCHAR); CREATE TABLE supplier_addresses (supplier_id VARCHAR, address_id VARCHAR); CREATE TABLE Suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR) ### Question: List the name and phone number of all suppliers in the alphabetical order of their addresses. ### Answer: SELECT T1.supplier_name, T1.supplier_phone FROM Suppliers AS T1 JOIN supplier_addresses AS T2 ON T1.supplier_id = T2.supplier_id JOIN addresses AS T3 ON T2.address_id = T3.address_id ORDER BY T3.address_details
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (party VARCHAR, left_office VARCHAR) ### Question: What is the party of the minister who left office on 26 November 2002? ### Answer: SELECT party FROM table_name_3 WHERE left_office = "26 november 2002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28138035_20 (mens_singles VARCHAR, mens_doubles VARCHAR) ### Question: How many players are there for mens singles when chen qi ma lin played mens doubles? ### Answer: SELECT COUNT(mens_singles) FROM table_28138035_20 WHERE mens_doubles = "Chen Qi Ma Lin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who ran in the election where Claude Fuller was the incumbent? ### Answer: SELECT candidates FROM table_1342338_5 WHERE incumbent = "Claude Fuller"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Drama_Workshop_Groups (Store_Email_Address VARCHAR, Address_ID VARCHAR); CREATE TABLE Addresses (Address_ID VARCHAR, State_County VARCHAR) ### Question: What are the email addresses of the drama workshop groups with address in Alaska state? ### Answer: SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.State_County = "Alaska"
Below is an context that describes a sql 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 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR) ### Question: WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331? ### Answer: SELECT AVG(ast_avg) FROM table_name_74 WHERE games > 101 AND rank = 5 AND total_assists < 331
Below is an context that describes a sql 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 (year INTEGER, venue VARCHAR) ### Question: When is the earliest year for it is in barcelona, spain? ### Answer: SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain"
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR, position VARCHAR) ### Question: What Venue is listed that has a Year smaller than 2005 and a Position of 10th (sf)? ### Answer: SELECT venue FROM table_name_27 WHERE year < 2005 AND position = "10th (sf)"
Below is an context that describes a 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 (school VARCHAR, location_s_ VARCHAR) ### Question: What school is in Richmond? ### Answer: SELECT school FROM table_2076608_3 WHERE location_s_ = "Richmond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) ### Question: When 24:31 is the run time how many measurements of viewers (in millions) are there? ### Answer: SELECT COUNT(viewers__in_millions_) FROM table_2102945_1 WHERE run_time = "24:31"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18852984_2 (all_bills_sponsored INTEGER) ### Question: What is the greatest number of bills sponsored in any year? ### Answer: SELECT MAX(all_bills_sponsored) FROM table_18852984_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_77 (date VARCHAR, h_a_n VARCHAR, score VARCHAR) ### Question: What is Date, when H/A/N is "H", and when Score is 112-118? ### Answer: SELECT date FROM table_name_77 WHERE h_a_n = "h" AND score = "112-118"
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR) ### Question: What was the result for week 14? ### Answer: SELECT result FROM table_name_29 WHERE week = 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_6 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the home team when the VFL played Arden Street Oval? ### Answer: SELECT home_team FROM table_name_6 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 body_builder (Id VARCHAR) ### Question: How many body builders are there? ### Answer: SELECT COUNT(*) FROM body_builder
Below is an context that describes a sql 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 (phoneme VARCHAR, nuskhuri VARCHAR) ### Question: What is the Phoneme symbol for ⴥ in Nuskhuri? ### Answer: SELECT phoneme FROM table_name_43 WHERE nuskhuri = "ⴥ"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (champions VARCHAR, coeff VARCHAR) ### Question: Which Champion has a Coeff of 1.000? ### Answer: SELECT champions FROM table_name_85 WHERE coeff = "1.000"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21025437_2 (episode_no VARCHAR, written_by VARCHAR) ### Question: How many episodes were written by Kirstie Falkous & John Regier? ### Answer: SELECT COUNT(episode_no) FROM table_21025437_2 WHERE written_by = "Kirstie Falkous & John Regier"
Below is an context that describes a sql 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 (games VARCHAR, wins VARCHAR, losses VARCHAR, club VARCHAR) ### Question: What is the total number of Games, when Losses is greater than 6, when Club is "Club Sportif Sfaxien", and when Wins is less than 3? ### Answer: SELECT COUNT(games) FROM table_name_58 WHERE losses > 6 AND club = "club sportif sfaxien" AND wins < 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_95 (college VARCHAR, pick VARCHAR, team VARCHAR) ### Question: Which college did the player picked larger than 130 by the New York Jets go to? ### Answer: SELECT college FROM table_name_95 WHERE pick > 130 AND team = "new york jets"
Below is an context that describes a sql 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 (rank INTEGER, worldwide_gross VARCHAR) ### Question: How many ranks have $1,084,439,099 as the worldwide gross? ### Answer: SELECT SUM(rank) FROM table_name_91 WHERE worldwide_gross = "$1,084,439,099"
Below is an context that describes a sql 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 (owner VARCHAR, broadcasting_area VARCHAR) ### Question: Who's the owner of Sanam Pao as the broadcasting area? ### Answer: SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao"
Below is an context that describes a sql 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 (d_44 VARCHAR, d_46 VARCHAR) ### Question: Name the D 44 when it has a D 46 of d 31 ### Answer: SELECT d_44 FROM table_name_63 WHERE d_46 = "d 31"
Below is an context that describes a sql 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 (democrat VARCHAR, lead_margin VARCHAR) ### Question: What is the percentage for Schweitzer when the lead margin is 29? ### Answer: SELECT democrat AS :_brian_schweitzer FROM table_name_12 WHERE lead_margin = 29
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_55 (lane INTEGER, nationality VARCHAR, time VARCHAR) ### Question: What's Brazil's lane with a time less than 21.15? ### Answer: SELECT MIN(lane) FROM table_name_55 WHERE nationality = "brazil" AND time < 21.15
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (platform INTEGER, destination VARCHAR, frequency__per_hour_ VARCHAR, operator VARCHAR) ### Question: what is the highest platform number when the frequency (per hour) is 4, the operator is london overground and the destination is west croydon? ### Answer: SELECT MAX(platform) FROM table_name_32 WHERE frequency__per_hour_ = 4 AND operator = "london overground" AND destination = "west croydon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (tournament VARCHAR) ### Question: what is the 2011 performance for the US open? ### Answer: SELECT 2011 FROM table_name_2 WHERE tournament = "us 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_31 (frequency INTEGER, webcast VARCHAR, callsign VARCHAR) ### Question: Which Frequency has a Webcast of •, and a Callsign of xemr? ### Answer: SELECT AVG(frequency) FROM table_name_31 WHERE webcast = "•" AND callsign = "xemr"
Below is an context that describes a sql 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 (asts INTEGER, school_country VARCHAR, rebs VARCHAR) ### Question: What's the sum of asts for boston college with a rebs over 63? ### Answer: SELECT SUM(asts) FROM table_name_35 WHERE school_country = "boston college" AND rebs > 63
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_42 (laps VARCHAR, grid VARCHAR) ### Question: How many total laps for a grid of 3? ### Answer: SELECT COUNT(laps) FROM table_name_42 WHERE grid = 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_98 (runs VARCHAR, batting_partners VARCHAR) ### Question: How many runs did Vijay Hazare and Gul Mohammad score? ### Answer: SELECT runs FROM table_name_98 WHERE batting_partners = "vijay hazare and gul mohammad"
Below is an context that describes a sql 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 (finalist VARCHAR, week VARCHAR) ### Question: What is the May 7 finalist? ### Answer: SELECT finalist FROM table_name_14 WHERE week = "may 7"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (transfer_fee VARCHAR, name VARCHAR, source VARCHAR, country VARCHAR) ### Question: What is henry transfer fee at fcbarcelona.cat in fra? ### Answer: SELECT transfer_fee FROM table_name_41 WHERE source = "fcbarcelona.cat" AND country = "fra" AND name = "henry"
Below is an context that describes a sql 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 (stadium VARCHAR, date VARCHAR) ### Question: In what stadium was the game on August 22, 2008 played? ### Answer: SELECT stadium FROM table_name_36 WHERE date = "august 22, 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_name_3 (date VARCHAR, week VARCHAR, result VARCHAR) ### Question: What was the date of the game with a result of bye before week 12? ### Answer: SELECT date FROM table_name_3 WHERE week < 12 AND result = "bye"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27734286_1 (high_rebounds VARCHAR, location_attendance VARCHAR) ### Question: Who in the high rebounds is in the honda center 15,625 location attendance? ### Answer: SELECT high_rebounds FROM table_27734286_1 WHERE location_attendance = "Honda Center 15,625"
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### Question: What is the nomination title used for the original film, Monsieur Hawarden? ### Answer: SELECT film_title_used_in_nomination FROM table_name_18 WHERE original_title = "monsieur hawarden"
Below is an context that describes a sql 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 (hmos VARCHAR, conventional_plans VARCHAR, year VARCHAR) ### Question: Which HMO has a conventional plan of 3% in 2005? ### Answer: SELECT hmos FROM table_name_96 WHERE conventional_plans = "3%" AND year = 2005
Below is an context that describes a sql 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 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) ### Question: What nation has 0 as the silver, 1 as the bronze, with 18 as the rank? ### Answer: SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = "18"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (rider VARCHAR, speed VARCHAR) ### Question: Which rider had a speed of 104.630mph? ### Answer: SELECT rider FROM table_name_84 WHERE speed = "104.630mph"
Below is an context that describes a sql 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 (text VARCHAR, traditional_characters VARCHAR) ### Question: Which text has traditional characters of 心如猨猴? ### Answer: SELECT text FROM table_name_47 WHERE traditional_characters = "心如猨猴"
Below is an context that describes a sql 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 (player VARCHAR, total VARCHAR, country VARCHAR) ### Question: What player from South Africa had a total less than 284? ### Answer: SELECT player FROM table_name_93 WHERE total < 284 AND country = "south africa"
Below is an context that describes a sql 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 (round INTEGER, school VARCHAR) ### Question: What is the highest round that has a draftee from Washington State University? ### Answer: SELECT MAX(round) FROM table_name_60 WHERE school = "washington state 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_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) ### Question: Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host? ### Answer: SELECT studio_host FROM table_name_1 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" AND year = "2005-06"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248910_6 (high_points VARCHAR, team VARCHAR) ### Question: Who scored the highest points and how much against the raptors? ### Answer: SELECT high_points FROM table_23248910_6 WHERE team = "Raptors"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2528382_1 (additional_info VARCHAR, music_director VARCHAR) ### Question: Which song directed by datta naik had the ending stranza written by Johnny Walker? ### Answer: SELECT additional_info FROM table_2528382_1 WHERE music_director = "Datta Naik"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR) ### Question: How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points? ### Answer: SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 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_16432543_1 (nickname VARCHAR, established VARCHAR) ### Question: Nickname of the school established in 1773 ### Answer: SELECT nickname FROM table_16432543_1 WHERE established = 1773
Below is an context that describes a sql 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 (silver VARCHAR, year VARCHAR) ### Question: Who won silver in 1982? ### Answer: SELECT silver FROM table_name_15 WHERE year = 1982
Below is an context that describes a sql 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 (gold INTEGER, rank VARCHAR) ### Question: What is the number of gold for the country ranked 19? ### Answer: SELECT SUM(gold) FROM table_name_19 WHERE rank = "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_19 (enrollment INTEGER, founded VARCHAR, joined_conference VARCHAR) ### Question: What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998? ### Answer: SELECT MIN(enrollment) FROM table_name_19 WHERE founded = "1992" AND joined_conference < 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_94 (result VARCHAR, time___et__ VARCHAR, location VARCHAR) ### Question: What is the result of the game at the Shea Stadium at 12:30pm (ET)? ### Answer: SELECT result FROM table_name_94 WHERE time___et__ = "12:30pm" AND location = "shea stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (money___ INTEGER, score VARCHAR) ### Question: Which average money has a Score of 69-72-72-72=285? ### Answer: SELECT AVG(money___) AS $__ FROM table_name_38 WHERE score = 69 - 72 - 72 - 72 = 285
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23195_5 (present_share VARCHAR) ### Question: Name the most 10 3 bbl/d (2008) for present share being 1.7% ### Answer: SELECT MAX(10 AS _3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = "1.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_2501754_4 (episode__number INTEGER, viewing_figures_millions VARCHAR, prod_code VARCHAR) ### Question: What is the lowest episode number with 6.19 million viewers and a production code of icec487y? ### Answer: SELECT MIN(episode__number) FROM table_2501754_4 WHERE viewing_figures_millions = "6.19" AND prod_code = "ICEC487Y"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10360823_1 (overall INTEGER, college VARCHAR) ### Question: Which overall pick number went to college at Youngstown State? ### Answer: SELECT MIN(overall) FROM table_10360823_1 WHERE college = "Youngstown State"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_85 (week INTEGER, result VARCHAR) ### Question: What is the Week number with a Result of W 30-28? ### Answer: SELECT AVG(week) FROM table_name_85 WHERE result = "w 30-28"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What was the result for City of the Sun? ### Answer: SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "City of the Sun"
Below is an context that describes a sql 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 (nationality VARCHAR, pick VARCHAR, round VARCHAR) ### Question: Which Nationality has a Pick larger than 109, and a Round smaller than 5? ### Answer: SELECT nationality FROM table_name_9 WHERE pick > 109 AND round < 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 Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR) ### Question: What is the name of the activity that has the most faculty members involved in? ### Answer: SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID 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_name_83 (communes INTEGER, cantons VARCHAR, area__square_km_ VARCHAR) ### Question: How many communes associated with over 10 cantons and an area (Square km) of 1,589? ### Answer: SELECT AVG(communes) FROM table_name_83 WHERE cantons > 10 AND area__square_km_ = 1 OFFSET 589
Below is an context that describes a sql 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 (russian VARCHAR, avoirdupois_value VARCHAR) ### Question: What Russian has an Avoirdupois value of 0.686 gr? ### Answer: SELECT russian FROM table_name_16 WHERE avoirdupois_value = "0.686 gr"
Below is an context that describes a sql 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 (vehicle VARCHAR, ceased_operation VARCHAR) ### Question: Which vehicle failed at launch? ### Answer: SELECT vehicle FROM table_name_34 WHERE ceased_operation = "failed at launch"
Below is an context that describes a sql 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 (z___p__ INTEGER, element VARCHAR, n___n__ VARCHAR) ### Question: What is the highest Z (p) when arsenic is the element, and the N (n) is more than 42 ### Answer: SELECT MAX(z___p__) FROM table_name_46 WHERE element = "arsenic" AND n___n__ > 42
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (player VARCHAR, country VARCHAR, score VARCHAR) ### Question: Who scored 69-74=143 for Colombia? ### Answer: SELECT player FROM table_name_78 WHERE score = 69 - 74 = 143 AND country = "colombia"
Below is an context that describes a sql 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 (position VARCHAR, overall VARCHAR) ### Question: WHAT POSITION IS 273? ### Answer: SELECT position FROM table_name_26 WHERE overall = 273
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR) ### Question: When was the earliest that New England Patriots played? ### Answer: SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots"
Below is an context that describes a sql 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 (election VARCHAR, second_member VARCHAR, first_party VARCHAR, first_member VARCHAR) ### Question: Which election has a conservative first party, Rowland Smith as first member, and Sir Henry Wilmot, Bt as second member? ### Answer: SELECT election FROM table_name_11 WHERE first_party = "conservative" AND first_member = "rowland smith" AND second_member = "sir henry wilmot, bt"
Below is an context that describes a sql 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 (opponents VARCHAR, surface VARCHAR, score VARCHAR) ### Question: Who were the opponent in the match on a clay surface that had a score of 6–3, 7–6 (11–9)? ### Answer: SELECT opponents FROM table_name_84 WHERE surface = "clay" AND score = "6–3, 7–6 (11–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_2818164_5 (no_in_series VARCHAR, no_in_season VARCHAR) ### Question: What episode number in the series is also number 17 in the season? ### Answer: SELECT no_in_series FROM table_2818164_5 WHERE no_in_season = "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_35 (played INTEGER, goal_difference INTEGER) ### Question: Which Played has a Goal Difference larger than 24? ### Answer: SELECT AVG(played) FROM table_name_35 WHERE goal_difference > 24