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_2477085_1 (production VARCHAR, alpina_model VARCHAR) ### Question: Name the production for alpina model being b10 4,6 ### Answer: SELECT production FROM table_2477085_1 WHERE alpina_model = "B10 4,6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (manager VARCHAR, club VARCHAR) ### Question: Who is the manager of club fc twente? ### Answer: SELECT manager FROM table_name_48 WHERE club = "fc twente"
Below is an context that describes a sql 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 (total INTEGER, lecturers VARCHAR, professors VARCHAR) ### Question: What is the total in the case where theere are 6 lecturers and fewer than 48 professors? ### Answer: SELECT AVG(total) FROM table_name_96 WHERE lecturers = 6 AND professors < 48
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR, date VARCHAR) ### Question: What is Visitor, when Home is "Chicago Black Hawks", and when Date is "May 4"? ### Answer: SELECT visitor FROM table_name_77 WHERE home = "chicago black hawks" AND date = "may 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_83 (resident_state VARCHAR, election_year VARCHAR) ### Question: What is the resident state for the president elected in 1864? ### Answer: SELECT resident_state FROM table_name_83 WHERE election_year = 1864
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20726262_3 (no_in_season VARCHAR, production_code VARCHAR) ### Question: What season number did production code 2wab12? ### Answer: SELECT no_in_season FROM table_20726262_3 WHERE production_code = "2WAB12"
Below is an context that describes a sql 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 (team VARCHAR, date VARCHAR) ### Question: WHAT IS THE TEAM FOR DECEMBER 30? ### Answer: SELECT team FROM table_name_86 WHERE date = "december 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_22753245_1 (margin VARCHAR, party VARCHAR, winner VARCHAR) ### Question: How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress? ### Answer: SELECT COUNT(margin) FROM table_22753245_1 WHERE party = "Indian National Congress" AND winner = "L. Adaikalaraj c"
Below is an context that describes a sql 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 (city_of_license VARCHAR, frequency VARCHAR) ### Question: Name the city of license with frequency of 90.1 fm ### Answer: SELECT city_of_license FROM table_name_37 WHERE frequency = "90.1 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_20850527_1 (result VARCHAR, record VARCHAR) ### Question: How many wins or losses were there when the record was 3-0? ### Answer: SELECT COUNT(result) FROM table_20850527_1 WHERE record = "3-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 building (name VARCHAR, building_id VARCHAR); CREATE TABLE building (name VARCHAR); CREATE TABLE institution (building_id VARCHAR, founded VARCHAR) ### Question: Show the names of buildings except for those having an institution founded in 2003. ### Answer: SELECT name FROM building EXCEPT SELECT T1.name FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded = 2003
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR) ### Question: In which championship did John Newcombe play against Ken Rosewall in the final match? ### Answer: SELECT championship FROM table_23259077_1 WHERE opponent_in_the_final = "Ken Rosewall"
Below is an context that describes a sql 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 (relative_height__m_ VARCHAR, country VARCHAR, parent VARCHAR) ### Question: What is the relative height of Scotland with Ben Vorlich as parent? ### Answer: SELECT COUNT(relative_height__m_) FROM table_name_9 WHERE country = "scotland" AND parent = "ben vorlich"
Below is an context that describes a sql 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 (score VARCHAR, venue VARCHAR) ### Question: The game played at Sultan Qaboos Sports Complex, Muscat had what score? ### Answer: SELECT score FROM table_name_99 WHERE venue = "sultan qaboos sports complex, muscat"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28967275_2 (production_code VARCHAR, series__number VARCHAR) ### Question: What is the production code of the episode with series #8? ### Answer: SELECT production_code FROM table_28967275_2 WHERE series__number = 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_32 (ship_types_delivered VARCHAR, yard_name VARCHAR) ### Question: What types of ships were made at the Froemming Brothers ship yard? ### Answer: SELECT ship_types_delivered FROM table_name_32 WHERE yard_name = "froemming brothers"
Below is an context that describes a sql 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 (driving_force_ex VARCHAR, gt_force VARCHAR, g27_racing_wheel VARCHAR) ### Question: GT Force of yes, and a G27 Racing Wheel of 16 involves which driving force ex? ### Answer: SELECT driving_force_ex FROM table_name_87 WHERE gt_force = "yes" AND g27_racing_wheel = "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_63 (position VARCHAR, games_played VARCHAR, w_l_d VARCHAR) ### Question: Which position had 5 games played and a record of 1-2-2? ### Answer: SELECT position FROM table_name_63 WHERE games_played = 5 AND w_l_d = "1-2-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_31 (report VARCHAR, home_team VARCHAR) ### Question: what is the report when the home team is new zealand breakers? ### Answer: SELECT report FROM table_name_31 WHERE home_team = "new zealand breakers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1817852_1 (to_iran VARCHAR, survived VARCHAR) ### Question: If 4 went to iran and the amount that survived was less than 12.0 how many were there in 1990? ### Answer: SELECT COUNT(1990) FROM table_1817852_1 WHERE to_iran = 4 AND survived < 12.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_27155678_2 (gene_name VARCHAR, accession_number VARCHAR) ### Question: Name the gene name for accession number bx897700.1 ### Answer: SELECT gene_name FROM table_27155678_2 WHERE accession_number = "BX897700.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 PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER) ### Question: What are the different product names? What is the average product price for each of them? ### Answer: SELECT Product_Name, AVG(Product_Price) FROM PRODUCTS GROUP BY Product_Name
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11336756_6 (termini VARCHAR, route_name VARCHAR, direction VARCHAR, junctions VARCHAR) ### Question: How many termini are there that have "east west" listed in their direction section, "none" listed in their junction section, and have a route name of "sh 202"? ### Answer: SELECT COUNT(termini) FROM table_11336756_6 WHERE direction = "East West" AND junctions = "none" AND route_name = "SH 202"
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR) ### Question: Where is David Frost from? ### Answer: SELECT place FROM table_name_38 WHERE player = "david frost"
Below is an context that describes a sql 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 (attendance VARCHAR, result VARCHAR) ### Question: Result of l 17–20 had what attendance? ### Answer: SELECT attendance FROM table_name_31 WHERE result = "l 17–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 dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR) ### Question: Find the name of dorms which have both TV Lounge and Study Room as amenities. ### Answer: 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' INTERSECT 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 = 'Study Room'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (runner_up VARCHAR, location VARCHAR) ### Question: Who was the Runner-up in Hossegor? ### Answer: SELECT runner_up FROM table_name_68 WHERE location = "hossegor"
Below is an context that describes a sql 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 (venue VARCHAR, competition VARCHAR) ### Question: What is the Venue of the 2002 World Cup Qualification? ### Answer: SELECT venue FROM table_name_48 WHERE competition = "2002 world cup qualification"
Below is an context that describes a sql 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 (graded_hammer_three__gh3_ VARCHAR, model VARCHAR) ### Question: Which Graded Hammer Three (GH3) shows Model of clp320? ### Answer: SELECT graded_hammer_three__gh3_ FROM table_name_20 WHERE model = "clp320"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11658094_1 (enrollment INTEGER, institution VARCHAR) ### Question: What is the minimum enrollment at barton college ### Answer: SELECT MIN(enrollment) FROM table_11658094_1 WHERE institution = "Barton 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_84 (rank INTEGER, nation VARCHAR, bronze VARCHAR) ### Question: What is the total rank of Hungary (HUN) when the bronze medals were less than 0? ### Answer: SELECT SUM(rank) FROM table_name_84 WHERE nation = "hungary (hun)" AND bronze < 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 participants_in_Events (participant_id VARCHAR) ### Question: What are all the distinct participant ids who attended any events? ### Answer: SELECT COUNT(DISTINCT participant_id) FROM participants_in_Events
Below is an context that describes a sql 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 (notes VARCHAR, year INTEGER) ### Question: What notes are for years earlier than 2010? ### Answer: SELECT notes FROM table_name_50 WHERE year < 2010
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (against VARCHAR, opposing_teams VARCHAR) ### Question: What is the against when the opposing team is Italy? ### Answer: SELECT COUNT(against) FROM table_name_54 WHERE opposing_teams = "italy"
Below is an context that describes a sql 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 (shipyard VARCHAR, laid_down VARCHAR) ### Question: Which shipyard has a fleet that was laid down on April 21, 1962? ### Answer: SELECT shipyard FROM table_name_72 WHERE laid_down = "april 21, 1962"
Below is an context that describes 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 (name VARCHAR, age VARCHAR, pilot_id VARCHAR); CREATE TABLE MATCH (winning_pilot VARCHAR) ### Question: what is the name and age of the youngest winning pilot? ### Answer: SELECT t1.name, t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age 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_22665117_1 (date_opened VARCHAR, dist_id VARCHAR) ### Question: What is the date opened if thedistrict ID is 11901? ### Answer: SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901
Below is an context that describes a sql 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 (grid INTEGER, driver VARCHAR) ### Question: What is the average grid for piers courage? ### Answer: SELECT AVG(grid) FROM table_name_96 WHERE driver = "piers courage"
Below is an context that describes a sql 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 (song_sung VARCHAR, artist VARCHAR, week VARCHAR) ### Question: Which song was sung by Artist Luther Vandross in the Week Top 20? ### Answer: SELECT song_sung FROM table_name_17 WHERE artist = "luther vandross" AND week = "top 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_18 (bike VARCHAR, grid VARCHAR, time VARCHAR) ### Question: What is the name of the bike that has a grid number smaller than 9 with a time of +7.764? ### Answer: SELECT bike FROM table_name_18 WHERE grid < 9 AND time = "+7.764"
Below is an context that describes a sql 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 (weight INTEGER, position VARCHAR, name VARCHAR) ### Question: What is the average weight of Jeremy Case, who plays guard? ### Answer: SELECT AVG(weight) FROM table_name_63 WHERE position = "guard" AND name = "jeremy case"
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: What was the result when the attendance was 12,000? ### Answer: SELECT result FROM table_name_77 WHERE attendance = "12,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_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR) ### Question: What frequency has call sign w228bg? ### Answer: SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2911781_3 (fastest_lap VARCHAR, rd VARCHAR) ### Question: Who had the fastest lap in round 15? ### Answer: SELECT fastest_lap FROM table_2911781_3 WHERE rd = 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_92 (tries_for VARCHAR, points_against VARCHAR) ### Question: Name the tries for points against of 583 ### Answer: SELECT tries_for FROM table_name_92 WHERE points_against = "583"
Below is an context that describes a sql 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 (tyre VARCHAR, drivers VARCHAR) ### Question: What is the tyre for Yoshihisa Namekata? ### Answer: SELECT tyre FROM table_name_97 WHERE drivers = "yoshihisa namekata"
Below is an context that describes a sql 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 (founded VARCHAR, club VARCHAR) ### Question: Which Founded that has a Club of no coast derby girls? ### Answer: SELECT founded FROM table_name_97 WHERE club = "no coast derby girls"
Below is an context that describes a sql 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 (competition VARCHAR, score VARCHAR, date VARCHAR) ### Question: What Competition on August 3, 2005 had a Score of 5-0? ### Answer: SELECT competition FROM table_name_16 WHERE score = "5-0" AND date = "august 3, 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_16581695_4 (production_code VARCHAR, no_in_season VARCHAR) ### Question: What is the production code for episode 15 in season 3? ### Answer: SELECT production_code FROM table_16581695_4 WHERE no_in_season = "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_70 (artist VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR) ### Question: Which Artist has a Draw smaller than 14, and Points less than 73, and a Language of turkish? ### Answer: SELECT artist FROM table_name_70 WHERE draw < 14 AND points < 73 AND language = "turkish"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (stage VARCHAR, winner VARCHAR) ### Question: Which Stage has a Winner of jeremy hunt? ### Answer: SELECT stage FROM table_name_21 WHERE winner = "jeremy hunt"
Below is an context that describes a sql 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 (silver INTEGER, gold VARCHAR, rank VARCHAR) ### Question: What is the most silver medals when the total is more than 2 medals, and with a rank of total, and the number of gold medals is greater than 44? ### Answer: SELECT MAX(silver) FROM table_name_78 WHERE "total" > 2 AND rank = "total" AND gold > 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_name_21 (the_biggest_loser VARCHAR, at_home_winner VARCHAR) ### Question: Who won the season when Pete Thomas was the At-Home winner? ### Answer: SELECT the_biggest_loser FROM table_name_21 WHERE at_home_winner = "pete thomas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR) ### Question: how many candidates with result being retired to run for u. s. senate republican hold ### Answer: SELECT COUNT(candidates) FROM table_1341586_19 WHERE result = "Retired to run for U. S. Senate Republican hold"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR) ### Question: What positions does Tom Hammond play? ### Answer: SELECT position FROM table_14342592_3 WHERE player = "Tom Hammond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23871828_1 (theme VARCHAR, week__number VARCHAR) ### Question: List all themes from the top 9. ### Answer: SELECT theme FROM table_23871828_1 WHERE week__number = "Top 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_50 (date VARCHAR, streak VARCHAR) ### Question: What is the date when streak was won 8? ### Answer: SELECT date FROM table_name_50 WHERE streak = "won 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_1358608_4 (group VARCHAR, distance VARCHAR) ### Question: How many races were for a distance of 2020 m? ### Answer: SELECT COUNT(group) FROM table_1358608_4 WHERE distance = "2020 m"
Below is an context that describes a sql 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 (batting_style VARCHAR, player VARCHAR) ### Question: Name the batting style for heath streak ### Answer: SELECT batting_style FROM table_name_57 WHERE player = "heath streak"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE VOTING_RECORD (PRESIDENT_Vote VARCHAR, Registration_Date VARCHAR) ### Question: What are the distinct president votes on 08/30/2015? ### Answer: SELECT DISTINCT PRESIDENT_Vote FROM VOTING_RECORD WHERE Registration_Date = "08/30/2015"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22517564_3 (jockey VARCHAR, opening_odds VARCHAR) ### Question: Who was the jockey with opening odds of 4-1? ### Answer: SELECT jockey FROM table_22517564_3 WHERE opening_odds = "4-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 (home_team VARCHAR, tie_no VARCHAR) ### Question: What home team has 6 as the tie no.? ### Answer: SELECT home_team FROM table_name_82 WHERE tie_no = "6"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (solar VARCHAR, year VARCHAR, hydroelectricity VARCHAR) ### Question: In 2011 with a hydroelectricity less than 119.6, what was the solar? ### Answer: SELECT solar FROM table_name_48 WHERE year = 2011 AND hydroelectricity < 119.6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (name VARCHAR, province VARCHAR, appointed VARCHAR) ### Question: Who was appointed on October 21, 2011 from Quebec? ### Answer: SELECT name FROM table_name_31 WHERE province = "quebec" AND appointed = "october 21, 2011"
Below is an context that describes a sql 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 (game VARCHAR, location VARCHAR, record VARCHAR) ### Question: Which game is located in Boston Garden and has a record of 49-17? ### Answer: SELECT game FROM table_name_81 WHERE location = "boston garden" AND record = "49-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_17088705_2 (average VARCHAR, evening_gown VARCHAR) ### Question: What are the average scores of participants with 9.226 in evening gown ### Answer: SELECT average FROM table_17088705_2 WHERE evening_gown = "9.226"
Below is an context that describes a sql 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 (group VARCHAR, distance VARCHAR) ### Question: What group has 1200 m as the distance? ### Answer: SELECT group FROM table_name_82 WHERE distance = "1200 m"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (year VARCHAR, category VARCHAR) ### Question: What year saw an award in the category of Revelation? ### Answer: SELECT year FROM table_name_73 WHERE category = "revelation"
Below is an context that describes a sql 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 (place INTEGER, units_sold_in_the_uk VARCHAR) ### Question: Of the games that sold 321,000 units in the UK, what is their average place? ### Answer: SELECT AVG(place) FROM table_name_86 WHERE units_sold_in_the_uk = "321,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_name_5 (frequency VARCHAR, parent_magazine VARCHAR) ### Question: How often does Dengeki girl's style come out? ### Answer: SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style"
Below is an context that describes a sql 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 (event VARCHAR, opponent VARCHAR, method VARCHAR) ### Question: Which event had an opponent of Yasuhito Namekawa with a decision method? ### Answer: SELECT event FROM table_name_35 WHERE opponent = "yasuhito namekawa" AND method = "decision"
Below is an context that describes a sql 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 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) ### Question: Name the tournament for grass surface and opponent in the final being paul baccanello ### Answer: SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (draw INTEGER, place VARCHAR, percentage VARCHAR) ### Question: what is the highest draw when the place is less than 3 and the percentage is 30.71%? ### Answer: SELECT MAX(draw) FROM table_name_61 WHERE place < 3 AND percentage = "30.71%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14941284_1 (game_site VARCHAR, date VARCHAR) ### Question: When it is October 18, 1981 where is the game site? ### Answer: SELECT game_site FROM table_14941284_1 WHERE date = "October 18, 1981"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR) ### Question: Find the first names of all the authors who have written a paper with title containing the word "Functional". ### Answer: SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Functional%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_54 (assist_pass VARCHAR, date VARCHAR, score VARCHAR) ### Question: What is the assist/pass on 2008-01-16 when the score was 2-0? ### Answer: SELECT assist_pass FROM table_name_54 WHERE date = "2008-01-16" AND score = "2-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_61 (attendance INTEGER, venue VARCHAR, date VARCHAR) ### Question: When the venue was A and the date was 2 january 2008, what was the average attendance? ### Answer: SELECT AVG(attendance) FROM table_name_61 WHERE venue = "a" AND date = "2 january 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_2333416_2 (top_10 VARCHAR, winnings VARCHAR) ### Question: How many top 10 finishes did Ken Bouchard get in the year he won $17,695? ### Answer: SELECT top_10 FROM table_2333416_2 WHERE winnings = "$17,695"
Below is an context that describes a sql 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 (airport VARCHAR) ### Question: Which 2011 has an Airport of bole international airport? ### Answer: SELECT MAX(2011) FROM table_name_38 WHERE airport = "bole international airport"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25597136_1 (province_city VARCHAR, lighthouse VARCHAR) ### Question: The province/city corregidor island (2) is where the lighthouse is located. ### Answer: SELECT province_city FROM table_25597136_1 WHERE lighthouse = "Corregidor Island (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_29920800_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) ### Question: How many millions of U.S viewers watched the episode written by Liz Feldman? ### Answer: SELECT us_viewers__million_ FROM table_29920800_1 WHERE written_by = "Liz Feldman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23284271_11 (location_attendance VARCHAR, high_points VARCHAR) ### Question: Name the location attendance for dirk nowitzki , caron butler (17) ### Answer: SELECT location_attendance FROM table_23284271_11 WHERE high_points = "Dirk Nowitzki , Caron Butler (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_66 (date VARCHAR, tournament VARCHAR) ### Question: When was the general foods pga seniors' championship tournament? ### Answer: SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship"
Below is an context that describes a sql 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 (caps INTEGER, player VARCHAR) ### Question: How many caps for mike macdonald? ### Answer: SELECT SUM(caps) FROM table_name_30 WHERE player = "mike macdonald"
Below is an context that describes a sql 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 (b_score INTEGER, total VARCHAR, a_score VARCHAR) ### Question: Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4? ### Answer: SELECT SUM(b_score) FROM table_name_2 WHERE total > 15.325 AND a_score < 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_36 (races VARCHAR, poles VARCHAR, team_name VARCHAR) ### Question: Which race has a pole of test driver and a team name of Lucky Strike Honda Racing f1 team? ### Answer: SELECT races FROM table_name_36 WHERE poles = "test driver" AND team_name = "lucky strike honda racing f1 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_55 (date VARCHAR, winning_score VARCHAR) ### Question: What is the Date of the Tournament with a Winning score of −9 (65-71-68-67=271)? ### Answer: SELECT date FROM table_name_55 WHERE winning_score = −9(65 - 71 - 68 - 67 = 271)
Below is an context that describes a sql 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 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR) ### Question: Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score? ### Answer: SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oilers lead 3–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_11 (wins INTEGER, points VARCHAR, year VARCHAR, draws VARCHAR) ### Question: What is the lowest wins that has a year prior to 1999, with draws greater than 1, and points greater than 17? ### Answer: SELECT MIN(wins) FROM table_name_11 WHERE year < 1999 AND draws > 1 AND points > 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1560673_1 (position_in_2013 VARCHAR, first_season VARCHAR) ### Question: What position is the player whose first year is 2014 ### Answer: SELECT position_in_2013 FROM table_1560673_1 WHERE first_season = 2014
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_a VARCHAR) ### Question: Name the segment b for s dress form ### Answer: SELECT segment_b FROM table_15187735_10 WHERE segment_a = "s Dress Form"
Below is an context that describes a sql 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 (wins INTEGER, player VARCHAR) ### Question: How many wins does Greg Norman have? ### Answer: SELECT SUM(wins) FROM table_name_15 WHERE player = "greg norman"
Below is an context that describes a sql 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 (chord VARCHAR, minor_seventh VARCHAR) ### Question: What is the listed chord for a Minor seventh of F? ### Answer: SELECT chord FROM table_name_23 WHERE minor_seventh = "f"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR) ### Question: what is romanian when nuorese sardinian is [ˈkantata]? ### Answer: SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantata]"
Below is an context that describes a sql 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 (team VARCHAR, start VARCHAR) ### Question: What team has 33 starts? ### Answer: SELECT team FROM table_name_22 WHERE start = "33"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1147701_4 (comment VARCHAR, model_name VARCHAR) ### Question: what's the comment with model name being 2.4 (2001-2007) ### Answer: SELECT comment FROM table_1147701_4 WHERE model_name = "2.4 (2001-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_18 (score VARCHAR, date VARCHAR) ### Question: What was the Score on March 1? ### Answer: SELECT score FROM table_name_18 WHERE date = "march 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_84 (player VARCHAR, college VARCHAR) ### Question: Which player went to the college of Western Washington? ### Answer: SELECT player FROM table_name_84 WHERE college = "western washington"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (position VARCHAR, round VARCHAR, nationality VARCHAR) ### Question: What is the position of the player from round 2 from Sweden? ### Answer: SELECT position FROM table_name_21 WHERE round = 2 AND nationality = "sweden"
Below is an context that describes a sql 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 (winning_score VARCHAR, runner_s__up VARCHAR) ### Question: What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up? ### Answer: SELECT winning_score FROM table_name_15 WHERE runner_s__up = "jack nicklaus"