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_69 (roll VARCHAR, name VARCHAR, decile VARCHAR, authority VARCHAR) ### Question: What is the roll of Bishop Viard College (An Integrated College), which has a decile larger than 1? ### Answer: SELECT COUNT(roll) FROM table_name_69 WHERE decile > 1 AND authority = "integrated" AND name = "bishop viard 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_19897294_5 (original_air_date VARCHAR, no_overall VARCHAR) ### Question: Name the air date for uk17 ### Answer: SELECT original_air_date FROM table_19897294_5 WHERE no_overall = "UK17"
Below is an context that describes a sql 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 (result VARCHAR, venue VARCHAR) ### Question: What is the Result with a Venue that is n? ### Answer: SELECT result FROM table_name_45 WHERE venue = "n"
Below is an context that describes a sql 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 (party VARCHAR, constiuency VARCHAR) ### Question: What is the Party of the council member for the Fifth District? ### Answer: SELECT party FROM table_name_77 WHERE constiuency = "council member for the fifth district"
Below is an context that describes a sql 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 (performer_3 VARCHAR, performer_2 VARCHAR) ### Question: Performer 2 of chip esten has what performer 3? ### Answer: SELECT performer_3 FROM table_name_40 WHERE performer_2 = "chip esten"
Below is an context that describes a sql 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 (date VARCHAR, martin VARCHAR) ### Question: What is the Date when MARTIN had 8%? ### Answer: SELECT date FROM table_name_21 WHERE martin = "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_90 (nation VARCHAR, points VARCHAR) ### Question: Which Nation has Points of 300.38? ### Answer: SELECT nation FROM table_name_90 WHERE points = 300.38
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR) ### Question: Which Spoofed title had Mort Drucker as the artist in issue 88? ### Answer: SELECT spoofed_title FROM table_name_97 WHERE artist = "mort drucker" AND issue = 88
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (episode_number INTEGER, guest_host VARCHAR) ### Question: What is the highest episode number in which Jamie Oliver guest-hosted? ### Answer: SELECT MAX(episode_number) FROM table_name_89 WHERE guest_host = "jamie oliver"
Below is an context that describes a sql 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 (date VARCHAR, winning_score VARCHAR) ### Question: On which date was the Winning score –5 (70-65-69-75=279)? ### Answer: SELECT date FROM table_name_92 WHERE winning_score = –5(70 - 65 - 69 - 75 = 279)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR) ### Question: Name the number of weeks for october 26 ### Answer: SELECT COUNT(week) FROM table_17924362_1 WHERE date = "October 26"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20396710_1 (club VARCHAR) ### Question: which club is listed when bonus points is bonus points ### Answer: SELECT club FROM table_20396710_1 WHERE "bonus_points" = "bonus_points"
Below is an context that describes a sql 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 (runner_up VARCHAR, third_place VARCHAR, score VARCHAR) ### Question: What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]? ### Answer: SELECT runner_up FROM table_name_18 WHERE third_place = "yevgeny kafelnikov" AND score = "3–6, 6–4, [10–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_4 (score VARCHAR, home_team VARCHAR) ### Question: What's the score when the Wolverhampton Wanderers played at home? ### Answer: SELECT score FROM table_name_4 WHERE home_team = "wolverhampton wanderers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_27 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) ### Question: What are the dominant religions in the place with a population of 83? ### Answer: SELECT dominant_religion__2002_ FROM table_2562572_27 WHERE population__2011_ = "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 Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (YEAR INTEGER); CREATE TABLE Movie (year VARCHAR, mID VARCHAR) ### Question: What is the maximum stars and year for the most recent movie? ### Answer: SELECT MAX(T1.stars), T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.year = (SELECT MAX(YEAR) FROM Movie)
Below is an context that describes a sql 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 (city VARCHAR, year VARCHAR, conference VARCHAR) ### Question: Which city has a conference of LCC2 and a year earlier than 2009? ### Answer: SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1081235_1 (name_of_lava_dome VARCHAR, last_eruption_or_growth_episode VARCHAR) ### Question: Which lava domes erupted or had a growth episode during the Holocene period? ### Answer: SELECT name_of_lava_dome FROM table_1081235_1 WHERE last_eruption_or_growth_episode = "Holocene"
Below is an context that describes a sql 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 (bronze INTEGER, gold VARCHAR, silver VARCHAR) ### Question: Tell me the sum of bronze for gold being 27 and silver more than 30 ### Answer: SELECT SUM(bronze) FROM table_name_35 WHERE gold = 27 AND silver > 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_2076533_1 (founded INTEGER, enrollment__2005_ VARCHAR) ### Question: Name the most founded for enrollment 2005 being 1285 ### Answer: SELECT MAX(founded) FROM table_2076533_1 WHERE enrollment__2005_ = 1285
Below is an context that describes a sql 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 (population_millions INTEGER, influence VARCHAR) ### Question: What is the highest population in the millions that has an influence of 1.02? ### Answer: SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.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_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR) ### Question: For a venue of Rome on July 30, 2009, what are the notes? ### Answer: SELECT notes FROM table_name_59 WHERE venue = "rome" AND date = "july 30, 2009"
Below is an context that describes a sql 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 (withdrawn VARCHAR, name VARCHAR) ### Question: Name the withdrawn for charles dickens ### Answer: SELECT withdrawn FROM table_name_93 WHERE name = "charles dickens"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (lost INTEGER, points VARCHAR, games VARCHAR) ### Question: Name the least lost with points more than 6 and games less than 5 ### Answer: SELECT MIN(lost) FROM table_name_4 WHERE points > 6 AND games < 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_79 (year INTEGER, name VARCHAR) ### Question: What is the total time for one south broad? ### Answer: SELECT SUM(year) FROM table_name_79 WHERE name = "one south broad"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18595004_7 (inaba INTEGER) ### Question: What is Inaba's maximum score? ### Answer: SELECT MAX(inaba) FROM table_18595004_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_18733814_2 (general_classification VARCHAR, winner VARCHAR) ### Question: When danilo di luca is the winner who is the general classification? ### Answer: SELECT general_classification FROM table_18733814_2 WHERE winner = "Danilo Di Luca"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student (sex VARCHAR, age INTEGER) ### Question: Show the average age for male and female students. ### Answer: SELECT AVG(age), sex FROM Student GROUP BY sex
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (rank VARCHAR, third_quarter VARCHAR) ### Question: When the third quarter is China Mobile 195,680.4, what is the rank? ### Answer: SELECT rank FROM table_name_45 WHERE third_quarter = "china mobile 195,680.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_94 (haat VARCHAR, city_of_license VARCHAR) ### Question: what is the HAAT of devils lake ### Answer: SELECT haat FROM table_name_94 WHERE city_of_license = "devils lake"
Below is an context that describes a sql 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 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: What is the Time/Retired for laps higher than 52 on a grid larger than 21? ### Answer: SELECT time_retired FROM table_name_47 WHERE laps > 52 AND grid > 21
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR) ### Question: what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0? ### Answer: SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (score VARCHAR, visitor VARCHAR, record VARCHAR) ### Question: Name the score for toronto visitor and record of 29-17-8 ### Answer: SELECT score FROM table_name_89 WHERE visitor = "toronto" AND record = "29-17-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_30 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR) ### Question: Which class had a machine of RS125R, points over 113, and a rank of 4th? ### Answer: SELECT class FROM table_name_30 WHERE machine = "rs125r" AND points > 113 AND rank = "4th"
Below is an context that describes a sql 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 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR) ### Question: Name the lowest against for when wins are greater than 14, draws is 0 and losses are 4 ### Answer: SELECT MIN(against) FROM table_name_3 WHERE losses = 4 AND draws = 0 AND wins > 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_52 (manufacturer VARCHAR, year_withdrawn VARCHAR) ### Question: Who manufactured the vehicle that was withdrawn in 1927? ### Answer: SELECT manufacturer FROM table_name_52 WHERE year_withdrawn = 1927
Below is an context that describes a sql 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 (year VARCHAR, distributor_s_ VARCHAR, title VARCHAR) ### Question: Three Men and a Little Lady from Touchstone Pictures was from what year? ### Answer: SELECT year FROM table_name_12 WHERE distributor_s_ = "touchstone pictures" AND title = "three men and a little lady"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1233026_4 (club VARCHAR) ### Question: What is the 1st leg when club is a.c. libertas? ### Answer: SELECT 1 AS st_leg FROM table_1233026_4 WHERE club = "A.C. Libertas"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is 2011, when 2010 is "WTA Premier 5 Tournaments"? ### Answer: SELECT 2011 FROM table_name_49 WHERE 2010 = "wta premier 5 tournaments"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1850282_7 (trinidad VARCHAR, common_name VARCHAR) ### Question: Name the trinidad for yellow-bellied puffing snake ### Answer: SELECT trinidad FROM table_1850282_7 WHERE common_name = "Yellow-bellied puffing snake"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (Template_Type_Code VARCHAR, template_id VARCHAR) ### Question: What is the id and type code for the template used by the most documents? ### Answer: SELECT T1.template_id, T2.Template_Type_Code FROM Documents AS T1 JOIN Templates AS T2 ON T1.template_id = T2.template_id GROUP BY T1.template_id 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_51 (win__percentage VARCHAR, _number_of_bids VARCHAR, conference VARCHAR) ### Question: When the conference is west coast and the number of bids are at 2, what's the percentage of games won? ### Answer: SELECT win__percentage FROM table_name_51 WHERE _number_of_bids = 2 AND conference = "west coast"
Below is an context that describes a sql 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 (roll VARCHAR, decile VARCHAR, name VARCHAR) ### Question: What is the roll number of Poroti school, which has a 6 decile? ### Answer: SELECT roll FROM table_name_45 WHERE decile = "6" AND name = "poroti school"
Below is an context that describes a sql 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 (tracking_method VARCHAR, latest_stable_release VARCHAR) ### Question: Which tracking method has a latest stable release of 6.0? ### Answer: SELECT tracking_method FROM table_name_23 WHERE latest_stable_release = "6.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_22 (opponent VARCHAR, round VARCHAR) ### Question: Which Opponent has a Round of qf replay? ### Answer: SELECT opponent FROM table_name_22 WHERE round = "qf replay"
Below is an context that describes a sql 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 (attendance INTEGER, visitor VARCHAR) ### Question: What is the average attendance for a game against Phoenix? ### Answer: SELECT AVG(attendance) FROM table_name_16 WHERE visitor = "phoenix"
Below is an context that describes a sql 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 (score VARCHAR, game VARCHAR, october VARCHAR) ### Question: What was the score of the game after game 6 on October 28? ### Answer: SELECT score FROM table_name_32 WHERE game > 6 AND october = 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_name_64 (score VARCHAR, country VARCHAR) ### Question: Name the score for scotland ### Answer: SELECT score FROM table_name_64 WHERE country = "scotland"
Below is an context that describes a sql 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 (driver VARCHAR, chassis VARCHAR) ### Question: What driver has a 166 c 500 chassis? ### Answer: SELECT driver FROM table_name_56 WHERE chassis = "166 c 500"
Below is an context that describes a sql 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 (type VARCHAR, name VARCHAR) ### Question: What is the Type for l. publilius philo vulscus? ### Answer: SELECT type FROM table_name_31 WHERE name = "l. publilius philo vulscus"
Below is an context that describes a sql 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 (date VARCHAR, race_title VARCHAR) ### Question: What date was the race at Oran Park ran? ### Answer: SELECT date FROM table_name_25 WHERE race_title = "oran park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR) ### Question: What is the number of first class team with birthday of 5 december 1970? ### Answer: SELECT COUNT(first_class_team) FROM table_11950720_4 WHERE date_of_birth = "5 December 1970"
Below is an context that describes a sql 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, notes VARCHAR, competition VARCHAR) ### Question: Which Venue has Notes of 58.25 m, and a Competition of world championships? ### Answer: SELECT venue FROM table_name_33 WHERE notes = "58.25 m" AND competition = "world championships"
Below is an context that describes a sql 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 (set_1 VARCHAR, set_3 VARCHAR, set_2 VARCHAR) ### Question: What was the Set 1 game score when Set 3 game score was 15–4, and a Set 2 game score was 15–7? ### Answer: SELECT set_1 FROM table_name_75 WHERE set_3 = "15–4" AND set_2 = "15–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_2544694_3 (indonesia_super_series_2008 VARCHAR, runner_up VARCHAR) ### Question: Which series occurred in which the semi-finalist was runner-up and the 7800.00 was 6420.00? ### Answer: SELECT indonesia_super_series_2008 FROM table_2544694_3 WHERE runner_up = "Semi-Finalist" AND 780000 = "6420.00"
Below is an context that describes a sql 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 (visitor VARCHAR, home VARCHAR, decision VARCHAR) ### Question: Which Visitor has a Home of vancouver, and a Decision of cloutier? ### Answer: SELECT visitor FROM table_name_30 WHERE home = "vancouver" AND decision = "cloutier"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE cinema (name VARCHAR, openning_year VARCHAR, capacity VARCHAR) ### Question: Show name, opening year, and capacity for each cinema. ### Answer: SELECT name, openning_year, capacity FROM cinema
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: Which Away team has a Home team of walsall? ### Answer: SELECT away_team FROM table_name_3 WHERE home_team = "walsall"
Below is an context that describes a sql 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 (points INTEGER, games VARCHAR, pts_game VARCHAR, nation VARCHAR) ### Question: Can you tell me the average Points that has a Pts/game larger than 4, and the Nation of england, and the Games smaller than 5? ### Answer: SELECT AVG(points) FROM table_name_1 WHERE pts_game > 4 AND nation = "england" AND games < 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_86 (tail_number VARCHAR, fatalities VARCHAR) ### Question: What was the tail number of the aircraft that had 5/30 fatalities? ### Answer: SELECT tail_number FROM table_name_86 WHERE fatalities = "5/30"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER) ### Question: Tell me the most attendance for game less than 1 ### Answer: SELECT MAX(attendance) FROM table_name_15 WHERE game < 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_20745746_1 (score VARCHAR, attendance VARCHAR) ### Question: What was the score when 7260 people attended the game? ### Answer: SELECT score FROM table_20745746_1 WHERE attendance = 7260
Below is an context that describes a sql 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 (soap_opera VARCHAR, actor VARCHAR) ### Question: what is the soap opera for elin sogn? ### Answer: SELECT soap_opera FROM table_name_48 WHERE actor = "elin sogn"
Below is an context that describes a sql 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 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR) ### Question: What nation has a total more than 3, with more than 5 for bronze, and less than 4 for the silver? ### Answer: SELECT nation FROM table_name_29 WHERE total > 3 AND bronze > 5 AND silver < 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_13 (tournament VARCHAR) ### Question: What is the tournament with a 2006 value of A and a 2011 value of 1r? ### Answer: SELECT tournament FROM table_name_13 WHERE 2006 = "a" AND 2011 = "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_80 (label VARCHAR, date_of_release VARCHAR) ### Question: WHAT LABEL HAD A RELEASE DATE OF 1991? ### Answer: SELECT label FROM table_name_80 WHERE date_of_release = 1991
Below is an context that describes a sql 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 (class_a VARCHAR, school_year VARCHAR) ### Question: Name the class A with school year of 2004-05 ### Answer: SELECT class_a FROM table_name_59 WHERE school_year = "2004-05"
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR, score VARCHAR) ### Question: On what date was the game with fewer than 6650 in attendance, that finished 0:1? ### Answer: SELECT date FROM table_name_30 WHERE attendance < 6650 AND score = "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_91 (gymnast VARCHAR, vault VARCHAR, floor_exercise VARCHAR, balance_beam VARCHAR, total VARCHAR) ### Question: Which gymnast had a balance beam larger than 8.687, had a total less than 38.049, had a floor exercise less than 9.462, and a vault less than 9.275? ### Answer: SELECT gymnast FROM table_name_91 WHERE balance_beam > 8.687 AND total < 38.049 AND floor_exercise < 9.462 AND vault < 9.275
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26250151_1 (episode VARCHAR, original_recording_artist VARCHAR) ### Question: Which episode had Lavern Baker? ### Answer: SELECT episode FROM table_26250151_1 WHERE original_recording_artist = "LaVern Baker"
Below is an context that describes a sql 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 (team VARCHAR, position_in_table VARCHAR) ### Question: Which Team has a Position in table of 15th (c)? ### Answer: SELECT team FROM table_name_75 WHERE position_in_table = "15th (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_35 (city VARCHAR, _region VARCHAR, arena VARCHAR) ### Question: What is the city and region of the team in the dalhús arena? ### Answer: SELECT city, _region FROM table_name_35 WHERE arena = "dalhús"
Below is an context that describes a sql 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 (points VARCHAR, name VARCHAR) ### Question: What is Points, when Name is Ondrej Starosta? ### Answer: SELECT points FROM table_name_81 WHERE name = "ondrej starosta"
Below is an context that describes a sql 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 (t__µm_ VARCHAR, technology VARCHAR) ### Question: What is the total number of t (µm), when Technology is u c-si? ### Answer: SELECT COUNT(t__µm_) FROM table_name_67 WHERE technology = "u c-si"
Below is an context that describes a sql 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 (rank INTEGER, games INTEGER) ### Question: What is the smallest rank when there are more than 2 games? ### Answer: SELECT MIN(rank) FROM table_name_52 WHERE games > 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 Documents (document_id VARCHAR, Document_Name VARCHAR); CREATE TABLE Paragraphs (paragraph_id VARCHAR, paragraph_text VARCHAR, document_id VARCHAR) ### Question: Show all paragraph ids and texts for the document with name 'Welcome to NY'. ### Answer: SELECT T1.paragraph_id, T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24399615_8 (airdate VARCHAR, cable_rank VARCHAR, viewers VARCHAR) ### Question: When 656000 is the amount of viewers and n/a is the cable rank what is the airdate? ### Answer: SELECT airdate FROM table_24399615_8 WHERE cable_rank = "N/A" AND viewers = 656000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (rank INTEGER, title VARCHAR) ### Question: What is the rank of American Pie 2? ### Answer: SELECT MIN(rank) FROM table_name_4 WHERE title = "american pie 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_20462111_1 (location VARCHAR, date VARCHAR) ### Question: Where was the cup on 07.02.2009 held? ### Answer: SELECT location FROM table_20462111_1 WHERE date = "07.02.2009"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21977704_1 (no VARCHAR, entrant VARCHAR, driver VARCHAR) ### Question: Name the number for automóvil club argentino for juan manuel fangio ### Answer: SELECT no FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Juan Manuel Fangio"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12886178_4 (played VARCHAR, points VARCHAR) ### Question: How many games ended up with 16 points? ### Answer: SELECT played FROM table_12886178_4 WHERE points = "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_16684420_2 (stolen_ends_against INTEGER, country VARCHAR, Japan VARCHAR) ### Question: What is the maximum number of stolen ends against for Japan? ### Answer: SELECT MAX(stolen_ends_against) FROM table_16684420_2 WHERE country = Japan
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25369796_1 (f_laps VARCHAR, team VARCHAR) ### Question: What was the recorded flaps of HBR Motorsport team? ### Answer: SELECT f_laps FROM table_25369796_1 WHERE team = "HBR Motorsport"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR) ### Question: When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish? ### Answer: SELECT best_finish FROM table_name_10 WHERE top_10s > 0 AND scoring_average = 73.04
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29474407_11 (major_users VARCHAR, country_of_origin VARCHAR) ### Question: Who are the major users from Australia? ### Answer: SELECT major_users FROM table_29474407_11 WHERE country_of_origin = "Australia"
Below is an context that describes a sql 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 (studio VARCHAR, year VARCHAR, director VARCHAR) ### Question: What is the Studio of the Film with Director Gregory Ratoff after 1933? ### Answer: SELECT studio FROM table_name_38 WHERE year > 1933 AND director = "gregory ratoff"
Below is an context that describes a sql 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 (haat VARCHAR, channels_tv___rf VARCHAR) ### Question: Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf) ### Answer: SELECT haat FROM table_name_17 WHERE channels_tv___rf = "31 (psip) 44 (uhf)"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent in the September 20, 2010 match? ### Answer: SELECT opponent FROM table_name_49 WHERE date = "september 20, 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_8 (date VARCHAR, high_points VARCHAR, record VARCHAR) ### Question: On what date did the Suns have high points with a record of 33–13? ### Answer: SELECT date FROM table_name_8 WHERE high_points = "suns" AND record = "33–13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (finish VARCHAR, rank VARCHAR, start VARCHAR) ### Question: With a Rank of 19, and a Start of 14, what was the finish? ### Answer: SELECT finish FROM table_name_41 WHERE rank = "19" AND start = "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_76 (label VARCHAR, format VARCHAR, catalog VARCHAR) ### Question: What was the label's format LP and catalog of CH-9192? ### Answer: SELECT label FROM table_name_76 WHERE format = "lp" AND catalog = "ch-9192"
Below is an context that describes a sql 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 (rank VARCHAR, club_clubs VARCHAR) ### Question: Which rank is Hawthorn? ### Answer: SELECT rank FROM table_name_32 WHERE club_clubs = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (year INTEGER, role VARCHAR, character VARCHAR) ### Question: What year was the main role a character named Guan Yu (關羽)? ### Answer: SELECT MIN(year) FROM table_name_89 WHERE role = "main" AND character = "guan yu (關羽)"
Below is an context that describes a sql 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 (rank INTEGER, goals VARCHAR, matches VARCHAR) ### Question: What is the mean rank number when goals are 230 and there are more than 535? ### Answer: SELECT AVG(rank) FROM table_name_86 WHERE goals = 230 AND matches > 535
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29789_3 (country VARCHAR, _percentage_change VARCHAR) ### Question: Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012? ### Answer: SELECT country FROM table_29789_3 WHERE _percentage_change = "5.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_56 (to_par VARCHAR, score VARCHAR) ### Question: What to par has 66 as the score? ### Answer: SELECT to_par FROM table_name_56 WHERE score = 66
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR) ### Question: What is the ISO for South Sudan? ### Answer: SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan"
Below is an context that describes a sql 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 (pick__number INTEGER, cfl_team VARCHAR) ### Question: What is the total pick numbers for the CFL team Edmonton Eskimos? ### Answer: SELECT SUM(pick__number) FROM table_name_79 WHERE cfl_team = "edmonton eskimos"
Below is an context that describes a sql 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 (attendance INTEGER, record VARCHAR) ### Question: Which Attendance is the highest one that has a Record of 37-38? ### Answer: SELECT MAX(attendance) FROM table_name_45 WHERE record = "37-38"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (track VARCHAR, race_winner VARCHAR) ### Question: Tell me the track for scott lagasse jr. ### Answer: SELECT track FROM table_name_47 WHERE race_winner = "scott lagasse jr."