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_96 (grid INTEGER, rider VARCHAR, laps VARCHAR) ### Question: What is the lowest grid with rider casey stoner and laps that are smaller than 27? ### Answer: SELECT MIN(grid) FROM table_name_96 WHERE rider = "casey stoner" AND laps < 27
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28768925_1 (title VARCHAR, no_in_series VARCHAR) ### Question: What is the name of episode 43 in the series? ### Answer: SELECT title FROM table_28768925_1 WHERE no_in_series = 43
Below is an context that describes a sql 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 (road_team VARCHAR, result VARCHAR) ### Question: Which road team has a result of 117-114? ### Answer: SELECT road_team FROM table_name_61 WHERE result = "117-114"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26013618_1 (date_established VARCHAR, name_of_the_nature_reserve VARCHAR) ### Question: When was Stellbrookmoor established? ### Answer: SELECT date_established FROM table_26013618_1 WHERE name_of_the_nature_reserve = "Stellbrookmoor"
Below is an context that describes a sql 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 (total INTEGER, year_s__won VARCHAR) ### Question: What is the Total of the Player who won in 1998? ### Answer: SELECT MAX(total) FROM table_name_72 WHERE year_s__won = "1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (Id VARCHAR) ### Question: What is the 2002 average when 2003 is less than 13.2, 2006 is more than 12.1, 2011 is more than 13.5 and 2001 is 11.5? ### Answer: SELECT AVG(2002) FROM table_name_64 WHERE 2003 < 13.2 AND 2006 > 12.1 AND 2011 > 13.5 AND 2001 = 11.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_95 (crowd VARCHAR, home_team VARCHAR) ### Question: What was the total crowd size for the him team footscray? ### Answer: SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray"
Below is an context that describes a sql 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 (single VARCHAR, artist VARCHAR) ### Question: what is the single of the queen ### Answer: SELECT single FROM table_name_67 WHERE artist = "queen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (prominence__m_ VARCHAR, col__m_ VARCHAR, peak VARCHAR) ### Question: With a Col (m) larger than 2012, what is Mount Kazbek's Prominence (m)? ### Answer: SELECT prominence__m_ FROM table_name_88 WHERE col__m_ > 2012 AND peak = "mount kazbek"
Below is an context that describes a sql 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 (rounds VARCHAR, team VARCHAR) ### Question: Which rounds did the team Walther participate in? ### Answer: SELECT rounds FROM table_name_77 WHERE team = "walther"
Below is an context that describes a sql 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 (reign VARCHAR, date_of_birth VARCHAR) ### Question: What was the Reign of the person whose Date of Birth was 22 March 1459? ### Answer: SELECT reign FROM table_name_25 WHERE date_of_birth = "22 march 1459"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (margin VARCHAR, year VARCHAR, championship VARCHAR) ### Question: What was the margin in 2001 at the McDonald's LPGA Championship? ### Answer: SELECT margin FROM table_name_88 WHERE year = 2001 AND championship = "mcdonald's lpga 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_2201541_3 (championship__titles_finals_ VARCHAR, year VARCHAR) ### Question: What championship was played in 1981? ### Answer: SELECT championship__titles_finals_ FROM table_2201541_3 WHERE year = 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 table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR) ### Question: What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? ### Answer: SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001
Below is an context that describes a sql 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 (year INTEGER, mintage VARCHAR, issue_price VARCHAR) ### Question: What is the latest year that has an n/a mintage and an Issue Price of $89.95? ### Answer: SELECT MAX(year) FROM table_name_39 WHERE mintage = "n/a" AND issue_price = "$89.95"
Below is an context that describes a sql 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 (part_number_s_ VARCHAR, frequency VARCHAR) ### Question: What is the part number of the model that has a frequency of 933mhz? ### Answer: SELECT part_number_s_ FROM table_name_32 WHERE frequency = "933mhz"
Below is an context that describes a sql 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 (ensemble_name VARCHAR, advertisement_date VARCHAR) ### Question: Which Ensemble Name has the Advertisement date October 2007? ### Answer: SELECT ensemble_name FROM table_name_79 WHERE advertisement_date = "october 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_46 (second_runner_up VARCHAR, miss_universe_philippines VARCHAR) ### Question: When Bianca Manalo won Miss Universe Philippines who was the second runner-up? ### Answer: SELECT second_runner_up FROM table_name_46 WHERE miss_universe_philippines = "bianca manalo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR) ### Question: What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? ### Answer: SELECT length__miles_ FROM table_1817879_2 WHERE endpoints = "Westlake/MacArthur Park to Wilshire/Western"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (venue VARCHAR, partnerships VARCHAR) ### Question: What venue did the partnership of herschelle gibbs / justin kemp happen? ### Answer: SELECT venue FROM table_name_74 WHERE partnerships = "herschelle gibbs / justin kemp"
Below is an context that describes a 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_20 (episode INTEGER, segment_a VARCHAR) ### Question: What episode number is the episode with a segment on thinning shears? ### Answer: SELECT MIN(episode) FROM table_15187735_20 WHERE segment_a = "Thinning Shears"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24560733_1 (opponents VARCHAR, opponent VARCHAR) ### Question: How many opponents' points numbers are associated with the game at Ole Miss? ### Answer: SELECT COUNT(opponents) FROM table_24560733_1 WHERE opponent = "at Ole Miss"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19630743_2 (no INTEGER, tournament VARCHAR) ### Question: What is the minimum number of the bmw championship tournament. ### Answer: SELECT MIN(no) FROM table_19630743_2 WHERE tournament = "BMW 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_53 (school_club_team_country VARCHAR, no_s_ INTEGER) ### Question: What school, club team, or country did the player with a number smaller than 4 come from? ### Answer: SELECT school_club_team_country FROM table_name_53 WHERE no_s_ < 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 instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) ### Question: What instruments does the the song "Le Pop" use? ### Answer: SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop"
Below is an context that describes a sql 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 (date VARCHAR, registration VARCHAR) ### Question: When was the registration of tc-jes? ### Answer: SELECT date FROM table_name_14 WHERE registration = "tc-jes"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Which 1994 has a 1998 of 0–1? ### Answer: SELECT 1994 FROM table_name_35 WHERE 1998 = "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_24565004_19 (position VARCHAR, period VARCHAR) ### Question: Name the position for 1980 – 1987 ### Answer: SELECT position FROM table_24565004_19 WHERE period = "1980 – 1987"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR) ### Question: What is the average duration in milliseconds of tracks that belong to Latin or Pop genre? ### Answer: SELECT AVG(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Latin" OR T1.Name = "Pop"
Below is an context that describes a sql 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 (nominee VARCHAR, category VARCHAR) ### Question: Who is the nominee for Best Lead Actress? ### Answer: SELECT nominee FROM table_name_96 WHERE category = "best lead actress"
Below is an context that describes 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 (dormid VARCHAR, gender VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR) ### Question: Find the total number of students living in the male dorm (with gender M). ### Answer: SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.gender = '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_25 (yards INTEGER, solo VARCHAR, sack VARCHAR) ### Question: How many yards for the player with 1 solo tackle and over 0 sacks? ### Answer: SELECT MAX(yards) FROM table_name_25 WHERE solo = 1 AND sack > 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_54 (points_classification VARCHAR, stage VARCHAR) ### Question: Which points classification was used in stage 15? ### Answer: SELECT points_classification FROM table_name_54 WHERE stage = "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_37 (place INTEGER, national_final VARCHAR, points VARCHAR) ### Question: what is the highest place when the national final is 4th and the points is less than 139? ### Answer: SELECT MAX(place) FROM table_name_37 WHERE national_final = "4th" AND points < 139
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26454128_4 (country VARCHAR, athlete VARCHAR) ### Question: What is the country of Paavo Yrjölä? ### Answer: SELECT country FROM table_26454128_4 WHERE athlete = "Paavo Yrjölä"
Below is an context that describes a sql 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 (position INTEGER, drawn VARCHAR, points VARCHAR) ### Question: At what average position is the drawn 9 and the points greater than 25? ### Answer: SELECT AVG(position) FROM table_name_75 WHERE drawn = 9 AND points > 25
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25355392_2 (june_10_11 VARCHAR, march_27_29 VARCHAR) ### Question: what is june 10-11 when march 27-29 is 149? ### Answer: SELECT june_10_11 FROM table_25355392_2 WHERE march_27_29 = "149"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22883210_8 (score VARCHAR, date VARCHAR) ### Question: What was the final score of the game held on February 24? ### Answer: SELECT score FROM table_22883210_8 WHERE date = "February 24"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (lineup VARCHAR, location VARCHAR) ### Question: Which lineup has a Location of usa virginia beach? ### Answer: SELECT lineup FROM table_name_95 WHERE location = "usa virginia beach"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24765815_1 (player VARCHAR, vote_percentage VARCHAR) ### Question: What was the name of the player that had a vote percentage of 7.85%? ### Answer: SELECT player FROM table_24765815_1 WHERE vote_percentage = "7.85%"
Below is an context that describes a sql 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 (date VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) ### Question: What date were the high assists rondo (5) and the high rebounds rondo (10)? ### Answer: SELECT date FROM table_name_18 WHERE high_assists = "rondo (5)" AND high_rebounds = "rondo (10)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (total INTEGER, rank VARCHAR, bronze VARCHAR) ### Question: What is the average Total with a Rank greater than 1, and a Bronze larger than 8? ### Answer: SELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 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_33 (date VARCHAR, away_team VARCHAR) ### Question: What is the Date of the Crystal Palace Away game? ### Answer: SELECT date FROM table_name_33 WHERE away_team = "crystal palace"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR) ### Question: How many teams drew the widnes vikings? ### Answer: SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) ### Question: Who is Jason Leffler's primary sponsor? ### Answer: SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24961421_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) ### Question: Who wrote the episode that had 12.15 million viewers? ### Answer: SELECT written_by FROM table_24961421_1 WHERE us_viewers__millions_ = "12.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_27 (attendance INTEGER, venue VARCHAR, round VARCHAR) ### Question: What is the lowest attendance at Venue H in Round R2? ### Answer: SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (season_7 VARCHAR, season_6 VARCHAR) ### Question: Which Season 7 has a Season 6 of jim treliving? ### Answer: SELECT season_7 FROM table_name_98 WHERE season_6 = "jim treliving"
Below is an context that describes a sql 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 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) ### Question: What is the highest total for bronze with a gold larger than 0, a silver smaller than 5, and a total of 15? ### Answer: SELECT MAX(bronze) FROM table_name_84 WHERE gold > 0 AND total = 15 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_83 (away_team VARCHAR) ### Question: hat was Hawthorn's score as the away team? ### Answer: SELECT away_team AS score FROM table_name_83 WHERE away_team = "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 employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, reports_to VARCHAR) ### Question: find the full name of employees who report to Nancy Edwards? ### Answer: SELECT T2.first_name, T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = "Nancy" AND T1.last_name = "Edwards"
Below is an context that describes a sql 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 (tournament VARCHAR, score VARCHAR) ### Question: What Tournament's Score was 6–2, 4–6, 6–4? ### Answer: SELECT tournament FROM table_name_14 WHERE score = "6–2, 4–6, 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 musical (Musical_ID VARCHAR, Year VARCHAR); CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR) ### Question: Show names of actors in descending order of the year their musical is awarded. ### Answer: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID ORDER BY T2.Year DESC
Below is an context that describes a sql 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 (fin_pos VARCHAR, grid VARCHAR) ### Question: What is the finishing position for the person who had a grid of 3? ### Answer: SELECT fin_pos FROM table_name_44 WHERE grid = "3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12000368_1 (author___editor___source VARCHAR, index__year_ VARCHAR) ### Question: what's the author / editor / source with index (year) being press freedom (2007) ### Answer: SELECT author___editor___source FROM table_12000368_1 WHERE index__year_ = "Press Freedom (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_21 (date VARCHAR, week VARCHAR) ### Question: What date has 9 as the week? ### Answer: SELECT date FROM table_name_21 WHERE week = 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (date_founded VARCHAR, park_name VARCHAR) ### Question: how many parks are name beltzville state park? ### Answer: SELECT COUNT(date_founded) FROM table_name_77 WHERE park_name = "beltzville state 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 election (Party VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR) ### Question: What are the names of parties that do not have delegates in election? ### Answer: SELECT Party FROM party WHERE NOT Party_ID IN (SELECT Party FROM election)
Below is an context that describes a sql 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 (name VARCHAR, heat VARCHAR, lane VARCHAR) ### Question: what is the name that saw 4 heats and a lane higher than 7? ### Answer: SELECT name FROM table_name_68 WHERE heat = 4 AND lane > 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 Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR) ### Question: Find the title and score of the movie with the lowest rating among all movies directed by each director. ### Answer: SELECT T2.title, T1.stars, T2.director, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.director
Below is an context that describes a sql 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 (away_team VARCHAR, attendance VARCHAR, home_team VARCHAR) ### Question: What is the Away Team when the Home Team is Torquay United and the Attendence is 6 December 1997? ### Answer: SELECT away_team FROM table_name_48 WHERE attendance = "6 december 1997" AND home_team = "torquay united"
Below is an context that describes a sql 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 (location_attendance VARCHAR, date VARCHAR) ### Question: Where is the location of attendance for the Date of december 14? ### Answer: SELECT location_attendance FROM table_name_1 WHERE date = "december 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 district (city_population INTEGER, city_area VARCHAR) ### Question: Find the total population of the top 3 districts with the largest area. ### Answer: SELECT SUM(city_population) FROM district ORDER BY city_area DESC LIMIT 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_10333757_1 (branding VARCHAR, group_owner VARCHAR) ### Question: What is the Branding for Group Owner Qantam of Cape Cod, LLC? ### Answer: SELECT branding FROM table_10333757_1 WHERE group_owner = "Qantam of Cape Cod, LLC"
Below is an context that describes a sql 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 (report VARCHAR, date VARCHAR) ### Question: Tell me the report for 30 july ### Answer: SELECT report FROM table_name_86 WHERE date = "30 july"
Below is an context that describes a sql 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 (parentheses VARCHAR, dots VARCHAR) ### Question: What is the value for parentheses with a dots value of 0.\dot{6}? ### Answer: SELECT parentheses FROM table_name_91 WHERE dots = "0.\dot{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_40 (aircraft VARCHAR, quantity VARCHAR) ### Question: What aircraft has 129 made? ### Answer: SELECT aircraft FROM table_name_40 WHERE quantity = "129"
Below is an context that describes a sql 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 (score VARCHAR, progress VARCHAR, year VARCHAR) ### Question: What was the score in 1997 for the team that has a Progress of no entrants? ### Answer: SELECT score FROM table_name_83 WHERE progress = "no entrants" AND year = 1997
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1672804_2 (region VARCHAR, province VARCHAR) ### Question: What is the region containing the Constitutional Province of Callao? ### Answer: SELECT region FROM table_1672804_2 WHERE province = "Constitutional province of Callao"
Below is an context that describes a sql 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 (episode VARCHAR, viewers VARCHAR) ### Question: What episode had 6.71 viewers? ### Answer: SELECT episode FROM table_name_97 WHERE viewers = 6.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_name_86 (away_captain VARCHAR, venue VARCHAR) ### Question: Who was the Away Captain at The Oval? ### Answer: SELECT away_captain FROM table_name_86 WHERE venue = "the oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (d_45_o VARCHAR, d_44_o VARCHAR) ### Question: What is the value of D 45 O when the value of D 44 O is ← majority? ### Answer: SELECT d_45_o FROM table_name_67 WHERE d_44_o = "← majority"
Below is an context that describes a sql 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 (released VARCHAR, english_title VARCHAR) ### Question: English title of oxygenie of happiness has what release date? ### Answer: SELECT released FROM table_name_41 WHERE english_title = "oxygenie of happiness"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25220821_3 (tues_1_june VARCHAR, mon_31_may VARCHAR) ### Question: What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph? ### Answer: SELECT COUNT(tues_1_june) FROM table_25220821_3 WHERE mon_31_may = "20' 15.35 111.761mph"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) ### Question: How many measurements of the Czech Republic's population density are recorded in this table? ### Answer: SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "Czech Republic"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19359427_6 (replaced_by VARCHAR, team VARCHAR) ### Question: Who came as a replacement in Sheffield United? ### Answer: SELECT replaced_by FROM table_19359427_6 WHERE team = "Sheffield United"
Below is an context that describes a sql 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 (stadium VARCHAR, coach VARCHAR) ### Question: Which stadium did Rashid Budaj coach? ### Answer: SELECT stadium FROM table_name_76 WHERE coach = "rashid budaj"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20010140_9 (record VARCHAR, game VARCHAR) ### Question: What was the record after game 20? ### Answer: SELECT record FROM table_20010140_9 WHERE game = 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_28 (points INTEGER, driver VARCHAR, laps VARCHAR) ### Question: What was Scott Riggs points when he had more than 400 laps? ### Answer: SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (event VARCHAR, class VARCHAR) ### Question: What is the event when the class is time trial hc a? ### Answer: SELECT event FROM table_name_95 WHERE class = "time trial hc a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (tonnage VARCHAR, date VARCHAR) ### Question: What is the total number of Tonnage, when Date is "25 June 1943"? ### Answer: SELECT COUNT(tonnage) FROM table_name_4 WHERE date = "25 june 1943"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29635868_1 (origin VARCHAR, title_ VARCHAR, _link_to_episode_on_youtube VARCHAR) ### Question: How many origins have titles of Samoan cricket bats? ### Answer: SELECT COUNT(origin) FROM table_29635868_1 WHERE title_ & _link_to_episode_on_youtube = "Samoan Cricket Bats"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668336_24 (incumbent VARCHAR, candidates VARCHAR) ### Question: How many times is the candidates charles f. mercer (f) 100%? ### Answer: SELECT COUNT(incumbent) FROM table_2668336_24 WHERE candidates = "Charles F. Mercer (F) 100%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (number INTEGER, name VARCHAR, year_end VARCHAR) ### Question: Which Number has a Name of cooper, c. kenneth, and a Year End larger than 1984? ### Answer: SELECT AVG(number) FROM table_name_90 WHERE name = "cooper, c. kenneth" AND year_end > 1984
Below is an context that describes a sql 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 (series_5 VARCHAR, series_3 VARCHAR) ### Question: Who in series 5 corresponds to Deborah Meaden in series 3? ### Answer: SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden"
Below is an context that describes a sql 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 (opponent VARCHAR, loss VARCHAR) ### Question: Which opponent lost with pitcher Kinney (0-1)? ### Answer: SELECT opponent FROM table_name_54 WHERE loss = "kinney (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_27369069_4 (province VARCHAR, stadium_capacity VARCHAR) ### Question: What is the province for with the stadium capacity of 5100? ### Answer: SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR) ### Question: IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT? ### Answer: SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford"
Below is an context that describes a sql 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 (december INTEGER, points VARCHAR) ### Question: Which December is the lowest one that has Points of 52? ### Answer: SELECT MIN(december) FROM table_name_96 WHERE points = 52
Below is an context that describes a sql 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 (uni_number VARCHAR, surname VARCHAR) ### Question: Which Uni # has a Surname of ough? ### Answer: SELECT uni_number FROM table_name_40 WHERE surname = "ough"
Below is an context that describes a sql 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 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, common_of VARCHAR) ### Question: Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1467.5, and a Common of moncalieri? ### Answer: SELECT SUM(altitude__mslm_) FROM table_name_89 WHERE density__inhabitants_km_2__ < 1467.5 AND common_of = "moncalieri"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27756014_1 (team VARCHAR, date VARCHAR) ### Question: What is the team played on october 5? ### Answer: SELECT team FROM table_27756014_1 WHERE date = "October 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_85 (draws INTEGER, goal_differential VARCHAR, wins VARCHAR, losses VARCHAR) ### Question: How many draws have 1 win, 1 loss, and a Goal Differential of +1? ### Answer: SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+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_67 (area VARCHAR, decile VARCHAR, name VARCHAR) ### Question: What was Spring Creek School's area when the decile was 4? ### Answer: SELECT area FROM table_name_67 WHERE decile = 4 AND name = "spring creek 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_56 (road_team VARCHAR, home_team VARCHAR, game VARCHAR) ### Question: What is the road team of game 6 with Philadelphia as the home team? ### Answer: SELECT road_team FROM table_name_56 WHERE home_team = "philadelphia" AND game = "game 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_47 (date VARCHAR, record VARCHAR) ### Question: When was the race that set the record for the Izod Indycar Series? ### Answer: SELECT date FROM table_name_47 WHERE record = "izod indycar series"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1620397_2 (author VARCHAR, featuring VARCHAR, released VARCHAR) ### Question: Name the author for peri and april 2010 ### Answer: SELECT author FROM table_1620397_2 WHERE featuring = "Peri" AND released = "April 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_22756549_1 (winner VARCHAR, runner_up_a VARCHAR) ### Question: Who won when V. A. Muthiah was the runner-up? ### Answer: SELECT winner FROM table_22756549_1 WHERE runner_up_a = "V. A. Muthiah"
Below is an context that describes a sql 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 (language VARCHAR, package_option VARCHAR) ### Question: What language has sky famiglia as the package/option? ### Answer: SELECT language FROM table_name_82 WHERE package_option = "sky famiglia"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27734286_1 (high_points VARCHAR, team VARCHAR) ### Question: Who is in the high points in the @ l.a. clippers team? ### Answer: SELECT high_points FROM table_27734286_1 WHERE team = "@ L.A. Clippers"