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_29 (status VARCHAR, park VARCHAR) ### Question: Name the status for six flags new england ### Answer: SELECT status FROM table_name_29 WHERE park = "six flags new england"
Below is an context that describes a sql 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 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) ### Question: The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals? ### Answer: SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 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_5 (attendance VARCHAR, record VARCHAR) ### Question: What was the attendance at the game when the record was 74-77? ### Answer: SELECT attendance FROM table_name_5 WHERE record = "74-77"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27539272_4 (record VARCHAR, location_attendance VARCHAR) ### Question: Name the number of record for hp pavilion - 17,562 ### Answer: SELECT COUNT(record) FROM table_27539272_4 WHERE location_attendance = "HP Pavilion - 17,562"
Below is an context that describes a sql 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 (years_active VARCHAR, caps VARCHAR, country VARCHAR) ### Question: What were the years active of the player from New Zealand with more than 11 caps? ### Answer: SELECT years_active FROM table_name_1 WHERE caps > 11 AND country = "new zealand"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21692771_1 (isin VARCHAR, amount_issued_ VARCHAR, € VARCHAR) ### Question: What is the ISIN that has an amount issued of 223,000,000? ### Answer: SELECT isin FROM table_21692771_1 WHERE amount_issued_[€] = "223,000,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_9 (played INTEGER, against VARCHAR, drawn VARCHAR) ### Question: What is the average Played when the against is 51, and the drawn is more than 1? ### Answer: SELECT AVG(played) FROM table_name_9 WHERE against = 51 AND drawn > 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_14984126_1 (result VARCHAR, date VARCHAR) ### Question: how many result with date being october 25, 1964 ### Answer: SELECT COUNT(result) FROM table_14984126_1 WHERE date = "October 25, 1964"
Below is an context that describes a sql 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 (kit_manufacturer VARCHAR, captain VARCHAR) ### Question: What company is the kit manufacturer that Gareth Southgate belongs to? ### Answer: SELECT kit_manufacturer FROM table_name_50 WHERE captain = "gareth southgate"
Below is an context that describes a sql 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 (home VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: What is the home team of the game on May 22 with the Edmonton Oilers as the visiting team? ### Answer: SELECT home FROM table_name_29 WHERE visitor = "edmonton oilers" AND date = "may 22"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30049462_8 (game VARCHAR, score VARCHAR) ### Question: Name the game for l 111–126 ### Answer: SELECT game FROM table_30049462_8 WHERE score = "L 111–126"
Below is an context that describes a sql 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 (result VARCHAR, nationality___opponent VARCHAR) ### Question: Name the Result of new zealand Nationality / Opponent? ### Answer: SELECT result FROM table_name_56 WHERE nationality___opponent = "new zealand"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (faith VARCHAR, dcsf_number VARCHAR, name VARCHAR) ### Question: What faith has a DCSF number bigger than 2448 in Holtsmere End? ### Answer: SELECT faith FROM table_name_44 WHERE dcsf_number > 2448 AND name = "holtsmere end"
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR) ### Question: what's the results of week 12? ### Answer: SELECT result FROM table_name_57 WHERE week = 12
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE roller_coaster (Speed VARCHAR, LENGTH VARCHAR) ### Question: What are the speeds of the longest roller coaster? ### Answer: SELECT Speed FROM roller_coaster ORDER BY LENGTH 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_27561503_2 (results VARCHAR, sports_20_winning_team VARCHAR) ### Question: Name the results for #23 lotus ### Answer: SELECT COUNT(results) FROM table_27561503_2 WHERE sports_20_winning_team = "#23 Lotus"
Below is an context that describes a sql 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 (division VARCHAR, team VARCHAR) ### Question: Which division is the Derbyshire Falcons in? ### Answer: SELECT division FROM table_name_68 WHERE team = "derbyshire falcons"
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, partner VARCHAR) ### Question: Which Opponents in the final have a Partner of daniella dominikovic? ### Answer: SELECT opponents_in_the_final FROM table_name_91 WHERE partner = "daniella dominikovic"
Below is an context that describes a sql 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 (city VARCHAR, stadium VARCHAR) ### Question: In what city is the Don Valley Stadium located? ### Answer: SELECT city FROM table_name_61 WHERE stadium = "don valley 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_73 (catalogue VARCHAR, song_title VARCHAR) ### Question: What is Heart of Rome's catalogue number? ### Answer: SELECT catalogue FROM table_name_73 WHERE song_title = "heart of rome"
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR) ### Question: Which opponent has a Result of l 6–3? ### Answer: SELECT opponent FROM table_name_70 WHERE result = "l 6–3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (president VARCHAR, year VARCHAR) ### Question: Who was the president in 1999? ### Answer: SELECT president FROM table_name_57 WHERE year = 1999
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (high_rebounds VARCHAR, date VARCHAR) ### Question: Who had the high rebounds, and how many did he have, for the game played on April 9? ### Answer: SELECT high_rebounds FROM table_name_24 WHERE date = "april 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_25730460_2 (player VARCHAR, touchdowns VARCHAR) ### Question: Name the player for 1 touchdowns ### Answer: SELECT player FROM table_25730460_2 WHERE touchdowns = 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_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR) ### Question: What player attended avon old farms (ushs-ct)? ### Answer: SELECT player FROM table_2897457_5 WHERE college_junior_club_team = "Avon Old Farms (USHS-CT)"
Below is an context that describes a sql 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 (points_for VARCHAR, played_in VARCHAR) ### Question: For the played in, what are the total points? ### Answer: SELECT points_for FROM table_name_36 WHERE played_in = "total"
Below is an context that describes a sql 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 (opponents_in_the_final VARCHAR, partner VARCHAR) ### Question: Who is Partner Frederik Nielsen's Opponents in the final? ### Answer: SELECT opponents_in_the_final FROM table_name_38 WHERE partner = "frederik nielsen"
Below is an context that describes a sql 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 (goals INTEGER, leading_scorer VARCHAR) ### Question: Leading Scorer of Ian rush is what lowest # of goals? ### Answer: SELECT MIN(goals) FROM table_name_45 WHERE leading_scorer = "ian rush"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25572068_1 (date VARCHAR, series VARCHAR) ### Question: When was the F4 7 series? ### Answer: SELECT date FROM table_25572068_1 WHERE series = "F4 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 club (Id VARCHAR) ### Question: How many clubs are there? ### Answer: SELECT COUNT(*) FROM club
Below is an context that describes a sql 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 (tournament VARCHAR, partner VARCHAR) ### Question: Which tournament was Dieter Kindlmann a partner? ### Answer: SELECT tournament FROM table_name_51 WHERE partner = "dieter kindlmann"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22496374_1 (weight VARCHAR, home_town VARCHAR) ### Question: How many weight stats are there for players from San Francisco, CA? ### Answer: SELECT COUNT(weight) FROM table_22496374_1 WHERE home_town = "San Francisco, CA"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE customer_contact_channels (active_to_date VARCHAR, active_from_date VARCHAR) ### Question: What is the average time span of contact channels in the database? ### Answer: SELECT AVG(active_to_date - active_from_date) FROM customer_contact_channels
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25721_3 (dave_viewers INTEGER, dave_ja_vu_viewers VARCHAR) ### Question: What is the highest number of dave viewers of an episode with 119000 dave ja vu viewers? ### Answer: SELECT MAX(dave_viewers) FROM table_25721_3 WHERE dave_ja_vu_viewers = 119000
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR) ### Question: Name the most attendance for october 11 ### Answer: SELECT MAX(attendance) FROM table_name_75 WHERE date = "october 11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (country VARCHAR, director_s_ VARCHAR) ### Question: What Country has a Director of 2007? ### Answer: SELECT country FROM table_name_43 WHERE director_s_ = "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_42 (nationality VARCHAR, player VARCHAR) ### Question: What is Adam Keefe's nationality? ### Answer: SELECT nationality FROM table_name_42 WHERE player = "adam keefe"
Below is an context that describes a sql 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 (record VARCHAR, game_site VARCHAR, date VARCHAR) ### Question: What record has candlestick park as the game site, and october 12, 2008 as the date? ### Answer: SELECT record FROM table_name_36 WHERE game_site = "candlestick park" AND date = "october 12, 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_68 (gold INTEGER, silver INTEGER) ### Question: Which team has the lowest gold and 0 silver? ### Answer: SELECT MIN(gold) FROM table_name_68 WHERE silver < 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_287159_1 (family VARCHAR, genitive VARCHAR) ### Question: What is the family of the constellation that has lyncis /ˈlɪnsɨs/ as genitive? ### Answer: SELECT family FROM table_287159_1 WHERE genitive = "Lyncis /ˈlɪnsɨ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_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR) ### Question: What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia? ### Answer: SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia"
Below is an context that describes a sql 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 (attendance INTEGER, week VARCHAR) ### Question: In Week 7, what is the highest attendance number? ### Answer: SELECT MAX(attendance) FROM table_name_77 WHERE week = 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_96 (country VARCHAR, location VARCHAR) ### Question: In what country is Aberdeen? ### Answer: SELECT country FROM table_name_96 WHERE location = "aberdeen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27715173_6 (date VARCHAR, score VARCHAR) ### Question: What date was the game with a score of w 116–93 (ot)? ### Answer: SELECT date FROM table_27715173_6 WHERE score = "W 116–93 (OT)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR) ### Question: what's the premiere with hk viewers of 2.09 million ### Answer: SELECT premiere FROM table_11174272_1 WHERE hk_viewers = "2.09 million"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (attendance INTEGER, venue VARCHAR) ### Question: What is the average attendance for all events held at Palmerston Park venue? ### Answer: SELECT AVG(attendance) FROM table_name_24 WHERE venue = "palmerston 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_2493389_1 (calcium__mg_ VARCHAR, fat__g_ VARCHAR) ### Question: Name the calcium for fat being 6.5 ### Answer: SELECT calcium__mg_ FROM table_2493389_1 WHERE fat__g_ = "6.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_90 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR, top_5 VARCHAR) ### Question: Name the least cuts for top-5 more than 2 with top 25 less than 6 and top 10 less than 11 ### Answer: SELECT MIN(cuts_made) FROM table_name_90 WHERE top_10 < 11 AND top_5 > 2 AND top_25 < 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_1449176_1 (rank VARCHAR, area__km_2__ VARCHAR) ### Question: What rank is the common with an area of 47.3 km^2? ### Answer: SELECT rank FROM table_1449176_1 WHERE area__km_2__ = "47.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_69 (location_attendance VARCHAR, date VARCHAR) ### Question: Where was the game, and how many attended the game on january 2? ### Answer: SELECT location_attendance FROM table_name_69 WHERE date = "january 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_33 (arena VARCHAR, opponent VARCHAR) ### Question: In what arena was the game against the Sharks played? ### Answer: SELECT arena FROM table_name_33 WHERE opponent = "sharks"
Below is an context that describes a sql 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, tournament VARCHAR, score VARCHAR) ### Question: What day was the score for tournament of alcobaça 6–3, 2–6, 7–5? ### Answer: SELECT date FROM table_name_21 WHERE tournament = "alcobaça" AND score = "6–3, 2–6, 7–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_2500440_1 (population_density__per_km_2__ VARCHAR, municipal_district VARCHAR) ### Question: What is the density per km in Smoky Lake County? ### Answer: SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE municipal_district = "Smoky Lake County"
Below is an context that describes a sql 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 (bullet_tip_color VARCHAR, headstamp_id VARCHAR) ### Question: Tell me the bullet tip color of headstamp id of h1z ### Answer: SELECT bullet_tip_color FROM table_name_54 WHERE headstamp_id = "h1z"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (birthplace VARCHAR, birthdate VARCHAR, jersey__number VARCHAR, height__cm_ VARCHAR) ### Question: What is the Birthplace, when the Jersey # is less than 18, when the Height (cm) is higher than 185, and when the Birthdate is March 3, 1980? ### Answer: SELECT birthplace FROM table_name_24 WHERE jersey__number < 18 AND height__cm_ > 185 AND birthdate = "march 3, 1980"
Below is an context that describes a sql 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 (year_joined VARCHAR, mascot VARCHAR, year_left VARCHAR) ### Question: What year did the Ingots, who left after 2007, join? ### Answer: SELECT COUNT(year_joined) FROM table_name_48 WHERE mascot = "ingots" AND year_left > 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_6 (event VARCHAR, year VARCHAR, competition VARCHAR) ### Question: What is the Event, when Year is 2002, and when Competition is European Indoor Championships? ### Answer: SELECT event FROM table_name_6 WHERE year = 2002 AND competition = "european indoor 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_14 (pick__number INTEGER, round VARCHAR, overall VARCHAR, college VARCHAR) ### Question: Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3? ### Answer: SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = "north carolina" AND round < 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_23285849_10 (high_points VARCHAR, high_assists VARCHAR) ### Question: When chauncey billups (4) has the highest amount of assists who has the highest amount of points? ### Answer: SELECT high_points FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (4)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR) ### Question: Who was the driver, when the constructor was Renault, and when the Time/Retired was +38.600? ### Answer: SELECT driver FROM table_name_1 WHERE constructor = "renault" AND time_retired = "+38.600"
Below is an context that describes a sql 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 (grid INTEGER, manufacturer VARCHAR, time VARCHAR) ### Question: What is Honda's highest grid with a time of +1:38.407? ### Answer: SELECT MAX(grid) FROM table_name_61 WHERE manufacturer = "honda" AND time = "+1:38.407"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (location VARCHAR, record VARCHAR) ### Question: What was the location when he had a 2-0 record? ### Answer: SELECT location FROM table_name_41 WHERE record = "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_85 (finish VARCHAR, laps VARCHAR, year VARCHAR) ### Question: What was the finish with less than 200 laps in 1953? ### Answer: SELECT finish FROM table_name_85 WHERE laps < 200 AND year = "1953"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (comp VARCHAR, score VARCHAR) ### Question: What is the Comp of the Shooter with a Score of 489.5? ### Answer: SELECT comp FROM table_name_3 WHERE score = "489.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_11240028_1 (duration VARCHAR, portrayed_by VARCHAR) ### Question: What was the duration of Robert Joy's portrayal? ### Answer: SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18207285_2 (result VARCHAR, attendance VARCHAR) ### Question: What was the result of the game seen by 31095 people? ### Answer: SELECT result FROM table_18207285_2 WHERE attendance = 31095
Below is an context that describes a sql 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 (rank VARCHAR, location VARCHAR) ### Question: What is the rank when the game was at dnipro stadium , kremenchuk? ### Answer: SELECT rank FROM table_name_55 WHERE location = "dnipro stadium , kremenchuk"
Below is an context that describes a sql 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 (production_code VARCHAR, written_by VARCHAR, season__number VARCHAR, series__number VARCHAR) ### Question: What is the production code of the episode written by Gary Sturgis that is bigger than season number 23 and smaller than series number 126? ### Answer: SELECT production_code FROM table_name_75 WHERE season__number > 23 AND series__number < 126 AND written_by = "gary sturgis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2175858_1 (date VARCHAR, average_speed__mph_ VARCHAR) ### Question: How many dates had an average speed of 102.003? ### Answer: SELECT COUNT(date) FROM table_2175858_1 WHERE average_speed__mph_ = "102.003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27423508_1 (director VARCHAR, spanish_title VARCHAR) ### Question: Who was the director for Tango Bar? ### Answer: SELECT director FROM table_27423508_1 WHERE spanish_title = "Tango Bar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (wins VARCHAR, rank VARCHAR, top_fives VARCHAR) ### Question: What is the total number of wins when casey mears ranked 36th and had more than 0 top fives? ### Answer: SELECT COUNT(wins) FROM table_name_62 WHERE rank = "36th" AND top_fives > 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_1341586_26 (candidates VARCHAR, district VARCHAR) ### Question: Which candidates are from the Missouri 3 district? ### Answer: SELECT candidates FROM table_1341586_26 WHERE district = "Missouri 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_37 (constellation VARCHAR, object_type VARCHAR) ### Question: What is the constellation for open cluster? ### Answer: SELECT constellation FROM table_name_37 WHERE object_type = "open cluster"
Below is an context that describes a sql 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 (surface VARCHAR, week VARCHAR) ### Question: What was the type of surface played on for the week of March 17? ### Answer: SELECT surface FROM table_name_23 WHERE week = "march 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_81 (outcome VARCHAR, partner VARCHAR, venue VARCHAR) ### Question: What is the Outcome in the Malaysia Open with Partner Yoo Sang-Hee? ### Answer: SELECT outcome FROM table_name_81 WHERE partner = "yoo sang-hee" AND venue = "malaysia 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_24937583_1 (races__starts_ VARCHAR, points__dropped_points_ VARCHAR) ### Question: What were the starts when the points dropped 18? ### Answer: SELECT races__starts_ FROM table_24937583_1 WHERE points__dropped_points_ = "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_4 (total INTEGER, silver VARCHAR, gold VARCHAR, rank VARCHAR) ### Question: For ranks over 2 with Golds over 6 and Silvers over 5 what would be the lowest qualifying Total? ### Answer: SELECT MIN(total) FROM table_name_4 WHERE gold > 6 AND rank > 2 AND silver > 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_39 (venue VARCHAR, position VARCHAR) ### Question: Name the Venue which has a Position of 5th? ### Answer: SELECT venue FROM table_name_39 WHERE position = "5th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11960610_10 (score VARCHAR, location_attendance VARCHAR) ### Question: What was the score of united center 22,097? ### Answer: SELECT score FROM table_11960610_10 WHERE location_attendance = "United Center 22,097"
Below is an context that describes a sql 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 (time_retired VARCHAR, grid VARCHAR) ### Question: What is the Time/Retired for Grid 6? ### Answer: SELECT time_retired FROM table_name_4 WHERE grid = 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_20 (games VARCHAR, goals VARCHAR, assists VARCHAR) ### Question: How many games have 5 goals and less than 8 assists? ### Answer: SELECT COUNT(games) FROM table_name_20 WHERE goals = 5 AND assists < 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_28059992_5 (position VARCHAR, player VARCHAR) ### Question: How many positions does Trent Bagnail play? ### Answer: SELECT COUNT(position) FROM table_28059992_5 WHERE player = "Trent Bagnail"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1601792_4 (television_station VARCHAR, transmitted VARCHAR, frequency VARCHAR) ### Question: What is the station that is transmitted at 20 kw and has a frequency of 48 uhf? ### Answer: SELECT television_station FROM table_1601792_4 WHERE transmitted = "20 kW" AND frequency = "48 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_86 (against INTEGER, played INTEGER) ### Question: What is the sum of againsts the team with less than 38 played had? ### Answer: SELECT SUM(against) FROM table_name_86 WHERE played < 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_22862203_2 (opponent VARCHAR, record VARCHAR) ### Question: Who were the opponents when the record was 11-2? ### Answer: SELECT opponent FROM table_22862203_2 WHERE record = "11-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_51 (tournament VARCHAR) ### Question: Which 2009 tournament was french open? ### Answer: SELECT 2009 FROM table_name_51 WHERE tournament = "french 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_50 (score VARCHAR, player VARCHAR, tries VARCHAR) ### Question: Player of jaco coetzee, and a Tries larger than 6 had what total number of score? ### Answer: SELECT COUNT(score) FROM table_name_50 WHERE player = "jaco coetzee" AND tries > 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_28281704_1 (city VARCHAR, stadium VARCHAR) ### Question: Name the city for los angeles stadium ### Answer: SELECT city FROM table_28281704_1 WHERE stadium = "Los Angeles 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_71 (opponent VARCHAR, date VARCHAR) ### Question: Who was the Opponent on October 31, 1993? ### Answer: SELECT opponent FROM table_name_71 WHERE date = "october 31, 1993"
Below is an context that describes a sql 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 (year VARCHAR, theme VARCHAR) ### Question: What year was the year of the pig theme? ### Answer: SELECT year FROM table_name_43 WHERE theme = "year of the pig"
Below is an context that describes a sql 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 (pop_¹ INTEGER, prefecture VARCHAR) ### Question: Name the sum of pop for shizuoka ### Answer: SELECT SUM(pop_¹) FROM table_name_13 WHERE prefecture = "shizuoka"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12454156_1 (losing_hand VARCHAR, year VARCHAR) ### Question: How many losing hands are there before 2007? ### Answer: SELECT COUNT(losing_hand) FROM table_12454156_1 WHERE year = 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_92 (rider VARCHAR, time VARCHAR) ### Question: Which Rider has a 1:06.02.0 Time? ### Answer: SELECT rider FROM table_name_92 WHERE time = "1:06.02.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_28 (runs VARCHAR, batsmen VARCHAR) ### Question: Which runs had james bryant graeme welch as Batsmen? ### Answer: SELECT runs FROM table_name_28 WHERE batsmen = "james bryant graeme welch"
Below is an context that describes a sql 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 (country VARCHAR, transfer_window VARCHAR, moving_from VARCHAR) ### Question: What is the country of the player moving from belgrano with a summer transfer window? ### Answer: SELECT country FROM table_name_69 WHERE transfer_window = "summer" AND moving_from = "belgrano"
Below is an context that describes a sql 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 (name VARCHAR, pick__number VARCHAR, overall VARCHAR) ### Question: Pick # of 25, and an Overall of 207 has what name? ### Answer: SELECT name FROM table_name_61 WHERE pick__number = 25 AND overall = 207
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26173058_2 (ramtha VARCHAR, ahli VARCHAR) ### Question: what is the score where the record is 1-1 ### Answer: SELECT ramtha FROM table_26173058_2 WHERE ahli = "1-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_1341522_24 (opponent VARCHAR, incumbent VARCHAR) ### Question: Who opposed Marty Meehan in each election? ### Answer: SELECT opponent FROM table_1341522_24 WHERE incumbent = "Marty Meehan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (byes INTEGER, losses VARCHAR, draws VARCHAR) ### Question: When losses is 6 and draws is more than 0, what is the greatest byes? ### Answer: SELECT MAX(byes) FROM table_name_24 WHERE losses = 6 AND draws > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, class VARCHAR, stages_won VARCHAR) ### Question: What is the average year that has a car that won 0 stages with a position of DNF? ### Answer: SELECT AVG(year) FROM table_name_68 WHERE class = "car" AND stages_won = "0" AND position = "dnf"