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_15187735_15 (netflix VARCHAR, segment_d VARCHAR) ### Question: What is the netflix episode number where Segment D is high-performance engines? ### Answer: SELECT netflix FROM table_15187735_15 WHERE segment_d = "High-Performance Engines"
Below is an context that describes a sql 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 (position VARCHAR, wins VARCHAR, season VARCHAR) ### Question: Which position has 2 wins in 1992? ### Answer: SELECT position FROM table_name_31 WHERE wins = "2" AND season = 1992
Below is an context that describes a sql 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 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR) ### Question: Were the color commentators who worked with Bill Hewitt doing the play-by-play? ### Answer: SELECT colour_commentator_s_ FROM table_name_95 WHERE play_by_play = "bill hewitt"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (chassis VARCHAR, tyres VARCHAR, year VARCHAR) ### Question: What Chassis has g Tyres before 1987? ### Answer: SELECT chassis FROM table_name_26 WHERE tyres = "g" AND year < 1987
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23292220_13 (first_broadcast VARCHAR, episode VARCHAR) ### Question: How many episodes are numbered 12x03? ### Answer: SELECT COUNT(first_broadcast) FROM table_23292220_13 WHERE episode = "12x03"
Below is an context that describes a sql 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 (held_record VARCHAR, structural_type VARCHAR, town VARCHAR) ### Question: What is the church made from in Hamburg? ### Answer: SELECT held_record FROM table_name_88 WHERE structural_type = "church" AND town = "hamburg"
Below is an context that describes a sql 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 (title VARCHAR, track VARCHAR, translation VARCHAR) ### Question: Which title has tracks smaller than 7 with translation of an island? ### Answer: SELECT title FROM table_name_67 WHERE track < 7 AND translation = "an island"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (location__all_in_nagano__ VARCHAR, name VARCHAR) ### Question: What location has the name of Sakakita BS? ### Answer: SELECT location__all_in_nagano__ FROM table_name_7 WHERE name = "sakakita bs"
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: Final that has a Date of january 10, 2004 had what opponent? ### Answer: SELECT opponent_in_the_final FROM table_name_23 WHERE date = "january 10, 2004"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10975034_5 (cfl_team VARCHAR, player VARCHAR) ### Question: What is the cfl team with ryan folk? ### Answer: SELECT cfl_team FROM table_10975034_5 WHERE player = "Ryan Folk"
Below is an context that describes a sql 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 (rank VARCHAR, laps VARCHAR, qual VARCHAR) ### Question: Name the rank with laps of 200 and qual of 148.374 ### Answer: SELECT rank FROM table_name_5 WHERE laps = 200 AND qual = "148.374"
Below is an context that describes a sql 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 (first_match VARCHAR, final_position VARCHAR, competition VARCHAR) ### Question: What was the date of the first match of the Fifa Club World Cup that ended with the final position as winners? ### Answer: SELECT first_match FROM table_name_6 WHERE final_position = "winners" AND competition = "fifa club world cup"
Below is an context that describes a sql 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 (time___et__ VARCHAR, week VARCHAR) ### Question: What time was the game during week 5? ### Answer: SELECT time___et__ FROM table_name_14 WHERE week = 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_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR) ### Question: What is the verb meaning of the word with part 3 "sufun"? ### Answer: SELECT verb_meaning FROM table_1745843_8 WHERE part_3 = "sufun"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (round INTEGER, pick VARCHAR, college VARCHAR, overall VARCHAR) ### Question: What is the sum of the rounds where the draft pick came from the college of tennessee and had an overall pick number bigger than 153 and a pick less than 14? ### Answer: SELECT SUM(round) FROM table_name_11 WHERE college = "tennessee" AND overall > 153 AND pick < 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_26 (year_s__of_manufacture VARCHAR, type VARCHAR, quantity VARCHAR) ### Question: Which Year(s) of manufacture has a Type of 1b n2, and a Quantity of 10? ### Answer: SELECT year_s__of_manufacture FROM table_name_26 WHERE type = "1b n2" AND quantity = 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_26 (Id VARCHAR) ### Question: What is the 2007 value at the 2012 Grand Slam Tournaments? ### Answer: SELECT 2007 FROM table_name_26 WHERE 2012 = "grand slam 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_name_65 (surface VARCHAR, score VARCHAR) ### Question: Which Surface has a Score of 6–4, 6–2? ### Answer: SELECT surface FROM table_name_65 WHERE score = "6–4, 6–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_70 (date VARCHAR, attendance VARCHAR) ### Question: What was the date of the game attended by 25,022? ### Answer: SELECT date FROM table_name_70 WHERE attendance = "25,022"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Lessons (customer_id VARCHAR, lesson_status_code VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: How many lessons taken by customer with first name as Rylan and last name as Goodwin were completed? ### Answer: SELECT COUNT(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Rylan" AND T2.last_name = "Goodwin" AND T1.lesson_status_code = "Completed"
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the score of the away team when the home team is Essendon? ### Answer: SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon"
Below is an context that describes a sql 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 (nat VARCHAR, name VARCHAR) ### Question: What is the nationality of Acquafresca? ### Answer: SELECT nat FROM table_name_9 WHERE name = "acquafresca"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE airport (id VARCHAR, airport_id VARCHAR, pilot VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR, pilot VARCHAR) ### Question: How many airports haven't the pilot 'Thompson' driven an aircraft? ### Answer: SELECT COUNT(*) FROM airport WHERE NOT id IN (SELECT airport_id FROM flight WHERE pilot = 'Thompson')
Below is an context that describes a sql 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 (rank VARCHAR, opposition VARCHAR) ### Question: What is the total rank of the match with tipperary as the opposition? ### Answer: SELECT COUNT(rank) FROM table_name_6 WHERE opposition = "tipperary"
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR) ### Question: What were the lowest laps of Tarso Marques? ### Answer: SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques"
Below is an context that describes a sql 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 (format VARCHAR, frequency VARCHAR) ### Question: What was the format for the radio with a frequency of 00 96.3 fm? ### Answer: SELECT format FROM table_name_8 WHERE frequency = "00 96.3 fm"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (round VARCHAR, opponent VARCHAR, venue VARCHAR) ### Question: What is the round for the opponent CSKA Sofia in Venue A? ### Answer: SELECT round FROM table_name_67 WHERE opponent = "cska sofia" AND venue = "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_34 (player VARCHAR, college VARCHAR) ### Question: Who was recruited from Calgary? ### Answer: SELECT player FROM table_name_34 WHERE college = "calgary"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE evaluation (Employee_ID VARCHAR, bonus VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR) ### Question: Find the name of the employee who got the highest one time bonus. ### Answer: SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus 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_53 (competition VARCHAR, venue VARCHAR) ### Question: Which Competition has a Venue of hong kong? ### Answer: SELECT competition FROM table_name_53 WHERE venue = "hong kong"
Below is an context that describes a sql 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 (producer VARCHAR, production_cost VARCHAR) ### Question: What is the name of the producer that produced a film with a production cost of $1,000,000? ### Answer: SELECT producer FROM table_name_71 WHERE production_cost = "$1,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_12032893_1 (year VARCHAR, weight VARCHAR) ### Question: In which year was the Weight 170? ### Answer: SELECT year FROM table_12032893_1 WHERE weight = 170
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital INTEGER, institution VARCHAR) ### Question: Name the most tier 1 capital for irish nationwide ### Answer: SELECT MAX(tier_1_capital), _€_million FROM table_22368322_2 WHERE institution = "Irish Nationwide"
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR) ### Question: What is the venue when the date is September 24, 1980? ### Answer: SELECT venue FROM table_name_32 WHERE date = "september 24, 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_55 (win__percentage INTEGER, drawn INTEGER) ### Question: Tell me the sum of win % for drawn being larger than 35 ### Answer: SELECT SUM(win__percentage) FROM table_name_55 WHERE drawn > 35
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE editor (Age VARCHAR) ### Question: Please show the most common age of editors. ### Answer: SELECT Age FROM editor GROUP BY Age 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_6 (season VARCHAR, position VARCHAR, school_club_team VARCHAR) ### Question: What season was School/Club Team perpetual help in the guard position? ### Answer: SELECT season FROM table_name_6 WHERE position = "guard" AND school_club_team = "perpetual help"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (arena__capacity_ VARCHAR, town VARCHAR) ### Question: What is the Arena o Kazan? ### Answer: SELECT arena__capacity_ FROM table_name_19 WHERE town = "kazan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE branch (name VARCHAR, membership_amount VARCHAR) ### Question: What are names for top three branches with most number of membership? ### Answer: SELECT name FROM branch ORDER BY membership_amount 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_name_91 (theme VARCHAR, year INTEGER) ### Question: What is the theme of the coin from before 2006? ### Answer: SELECT theme FROM table_name_91 WHERE year < 2006
Below is an context that describes a sql 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 (score INTEGER, player VARCHAR) ### Question: What is the lowest score that wes ellis got? ### Answer: SELECT MIN(score) FROM table_name_81 WHERE player = "wes ellis"
Below is an context that describes a sql 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 (top_25 INTEGER, tournament VARCHAR, cuts_made VARCHAR) ### Question: What is the total top-25 of the U.S. Open, which has less than 7 cuts? ### Answer: SELECT SUM(top_25) FROM table_name_84 WHERE tournament = "u.s. open" AND cuts_made < 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_12 (previous_team VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) ### Question: What is the previous team of the player with 4 NBA years and a pick less than 16? ### Answer: SELECT previous_team FROM table_name_12 WHERE nba_years_[a_] = "4" AND pick < 16
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (elite_eight VARCHAR, conference VARCHAR) ### Question: How many elite eight teams came from the Atlantic 10? ### Answer: SELECT elite_eight FROM table_name_67 WHERE conference = "atlantic 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_40 (split_off___continuation_of VARCHAR, church_name VARCHAR) ### Question: What was the Pure Church of Christ's Split off/ Continuation? ### Answer: SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22903426_1 (other_builders VARCHAR, windows_builders VARCHAR) ### Question: Name the number of other builders for nant, visual studio ### Answer: SELECT COUNT(other_builders) FROM table_22903426_1 WHERE windows_builders = "NAnt, Visual Studio"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341453_37 (candidates VARCHAR, incumbent VARCHAR) ### Question: Tony P. Hall was the incumbent in the race between what two candidates? ### Answer: SELECT candidates FROM table_1341453_37 WHERE incumbent = "Tony P. Hall"
Below is an context that describes a sql 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 (year VARCHAR, finish_position VARCHAR) ### Question: What was the 4th day in the year before 2012 that the finish is 33rd? ### Answer: SELECT 4 AS th_day FROM table_name_52 WHERE year < 2012 AND finish_position = "33rd"
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR) ### Question: What date did the team play home in Toronto? ### Answer: SELECT date FROM table_name_64 WHERE home = "toronto"
Below is an context that describes a sql 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 (name VARCHAR, country VARCHAR, index VARCHAR) ### Question: What is the name of the player from Malaysia, Kuala Lumpur in Index f8? ### Answer: SELECT name FROM table_name_67 WHERE country = "malaysia, kuala lumpur" AND index = "f8"
Below is an context that describes a sql 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, player VARCHAR) ### Question: Who was ashley sampi's opponent? ### Answer: SELECT opponent FROM table_name_71 WHERE player = "ashley sampi"
Below is an context that describes a sql 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 (last_issue VARCHAR, title VARCHAR) ### Question: What is the last issue entry of Time and Again? ### Answer: SELECT last_issue FROM table_name_55 WHERE title = "time and again"
Below is an context that describes a sql 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 (finals_goals INTEGER, total_goals INTEGER) ### Question: What is the Average Finals Goals if the Total Goals is less than 1? ### Answer: SELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 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_77 (pages INTEGER, isbn VARCHAR) ### Question: I want the average pages for ISBN of 978-0-9766580-5-4 ### Answer: SELECT AVG(pages) FROM table_name_77 WHERE isbn = "978-0-9766580-5-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_60 (player VARCHAR, score VARCHAR) ### Question: What Player has a Score of 71-71=142? ### Answer: SELECT player FROM table_name_60 WHERE score = 71 - 71 = 142
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19149550_9 (total_asian_population INTEGER, chinese_population VARCHAR) ### Question: How many Asians live in the borough with 8109 Chinese population? ### Answer: SELECT MIN(total_asian_population) FROM table_19149550_9 WHERE chinese_population = 8109
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23308178_5 (score VARCHAR, record VARCHAR) ### Question: How many different scores are there for the game with 10-3-4 record? ### Answer: SELECT COUNT(score) FROM table_23308178_5 WHERE record = "10-3-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_87 (league INTEGER, total VARCHAR) ### Question: Which League Cup that has a Total of 19 and a League smaller than 15? ### Answer: SELECT AVG(league) AS Cup FROM table_name_87 WHERE total = 19 AND league < 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_97 (score VARCHAR, to_par VARCHAR) ### Question: What was the final score when the player was an e to par? ### Answer: SELECT score FROM table_name_97 WHERE to_par = "e"
Below is an context that describes a sql 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 (date VARCHAR, event VARCHAR) ### Question: What is the date of the 1500m freestyle event? ### Answer: SELECT date FROM table_name_91 WHERE event = "1500m freestyle"
Below is an context that describes a sql 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 (wheel_arrangement VARCHAR, year_made VARCHAR) ### Question: What is the wheel arrangement made in 1890? ### Answer: SELECT wheel_arrangement FROM table_name_99 WHERE year_made = "1890"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (away_team VARCHAR, home_team VARCHAR) ### Question: What is footscray's away team score? ### Answer: SELECT away_team AS score FROM table_name_66 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_13 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team against the Bolton Wanderers? ### Answer: SELECT home_team FROM table_name_13 WHERE away_team = "bolton 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_24427210_1 (date VARCHAR, stadium VARCHAR) ### Question: Name the date for raymond james stadium ### Answer: SELECT date FROM table_24427210_1 WHERE stadium = "Raymond James 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_27940569_1 (make VARCHAR, sponsor VARCHAR) ### Question: What car make was sponsored by Aflac? ### Answer: SELECT make FROM table_27940569_1 WHERE sponsor = "Aflac"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2618152_1 (written_by VARCHAR, original_air_date VARCHAR) ### Question: The episode with original air date January 13, 1999 is written by who? ### Answer: SELECT written_by FROM table_2618152_1 WHERE original_air_date = "January 13, 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_29414946_3 (replaced_by VARCHAR, team VARCHAR) ### Question: Who was the new Santos manager? ### Answer: SELECT replaced_by FROM table_29414946_3 WHERE team = "Santos"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR) ### Question: What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ? ### Answer: SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+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_25042332_31 (incarceration_rate_total VARCHAR, prison_inmates_women VARCHAR) ### Question: How many regions had 153 women prison inmates? ### Answer: SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE prison_inmates_women = 153
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR) ### Question: Who was the opponent at the game that had a record of 93-54? ### Answer: SELECT opponent FROM table_name_73 WHERE record = "93-54"
Below is an context that describes a sql 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 (position VARCHAR, no_s_ VARCHAR, years_for_rockets VARCHAR) ### Question: Name the position for number 11 and years on the rockets for 1989-95 ### Answer: SELECT position FROM table_name_89 WHERE no_s_ = "11" AND years_for_rockets = "1989-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 Student (advisor VARCHAR) ### Question: Show all advisors and corresponding number of students. ### Answer: SELECT advisor, COUNT(*) FROM Student GROUP BY advisor
Below is an context that describes a sql 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 (lane INTEGER, heat VARCHAR, name VARCHAR) ### Question: What's Sara Isakovič's lane number that had a heat of 3? ### Answer: SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "sara isakovič"
Below is an context that describes a sql 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 (theatre VARCHAR, performances VARCHAR, role VARCHAR) ### Question: Name the theatre for aaron jablonski schuyler grogan with performances more than 49 ### Answer: SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan"
Below is an context that describes a sql 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 (team VARCHAR, rider VARCHAR) ### Question: What team does Anthony Redmond ride for? ### Answer: SELECT team FROM table_name_32 WHERE rider = "anthony redmond"
Below is an context that describes a sql 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 (album VARCHAR, label VARCHAR, year VARCHAR) ### Question: What album had the reunion label in 2006? ### Answer: SELECT album FROM table_name_21 WHERE label = "reunion" AND year = 2006
Below is an context that describes a sql 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 (byes INTEGER, against VARCHAR, wins VARCHAR) ### Question: What is the most byes with 11 wins and fewer than 1867 againsts? ### Answer: SELECT MAX(byes) FROM table_name_95 WHERE against < 1867 AND wins = 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_7 (rank INTEGER, nation VARCHAR) ### Question: What is the lowest rank that spain got? ### Answer: SELECT MIN(rank) FROM table_name_7 WHERE nation = "spain"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (written_by VARCHAR, series__number VARCHAR) ### Question: Who wrote series number 99? ### Answer: SELECT written_by FROM table_name_68 WHERE series__number = 99
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26986076_1 (sat_28_aug VARCHAR, rank VARCHAR) ### Question: If the Rank is 10, what was the time on Sat aug 28? ### Answer: SELECT sat_28_aug FROM table_26986076_1 WHERE rank = 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_26815674_1 (wins VARCHAR, final_placing VARCHAR) ### Question: When 24th is the final placing how many wins are there? ### Answer: SELECT COUNT(wins) FROM table_26815674_1 WHERE final_placing = "24th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342149_11 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result of the election when Tic Forrester ran as an incumbent? ### Answer: SELECT result FROM table_1342149_11 WHERE incumbent = "Tic Forrester"
Below is an context that describes a sql 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 (rank INTEGER, athlete VARCHAR, react VARCHAR) ### Question: What is the lowest rank for Chris Brown with react greater than 0.244? ### Answer: SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR) ### Question: List the name of tracks belongs to genre Rock or media type is MPEG audio file. ### Answer: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "Rock" OR T3.name = "MPEG audio file"
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR, loss VARCHAR) ### Question: Which date has an Opponent of angels, and a Loss of sanderson (0–1)? ### Answer: SELECT date FROM table_name_95 WHERE opponent = "angels" AND loss = "sanderson (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_95 (date VARCHAR, venue VARCHAR, result VARCHAR) ### Question: What is Date, when Venue is Melbourne Cricket Ground, and when Result is Eng By Inns&225 Runs? ### Answer: SELECT date FROM table_name_95 WHERE venue = "melbourne cricket ground" AND result = "eng by inns&225 runs"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR) ### Question: List the hardware model name for the phones that were produced by "Nokia Corporation" or whose screen mode type is "Graphics." ### Answer: SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = "Graphics" OR t2.Company_name = "Nokia Corporation"
Below is an context that describes a sql 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 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR) ### Question: Which team had a year entering the league under 2009, located in Bath? ### Answer: SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (production_number INTEGER, director VARCHAR, release_date VARCHAR) ### Question: What is the highest production number released on 1955-04-02 with i. freleng as the director? ### Answer: SELECT MAX(production_number) FROM table_name_66 WHERE director = "i. freleng" AND release_date = "1955-04-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_10 (attendance VARCHAR, away_team VARCHAR) ### Question: What was the attendance for the away team Solihull Moors? ### Answer: SELECT attendance FROM table_name_10 WHERE away_team = "solihull moors"
Below is an context that describes a sql 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 (kickoff_time VARCHAR, date VARCHAR) ### Question: What is the Kickoff Time on January 7, 2002? ### Answer: SELECT kickoff_time FROM table_name_72 WHERE date = "january 7, 2002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_58 (wins INTEGER, south_west_dfl VARCHAR, byes VARCHAR) ### Question: What is the lowest value for Wins, when South West DFL is "Cavendish", and when Byes is less than 0? ### Answer: SELECT MIN(wins) FROM table_name_58 WHERE south_west_dfl = "cavendish" AND byes < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR) ### Question: Which Area km 2 has an Official Name of southampton, and a Population larger than 1,601? ### Answer: SELECT MIN(area_km_2) FROM table_name_61 WHERE official_name = "southampton" AND population > 1 OFFSET 601
Below is an context that describes a sql 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 (game_site VARCHAR, opponent VARCHAR) ### Question: What is the game site of the game with the san diego chargers as the opponent? ### Answer: SELECT game_site FROM table_name_83 WHERE opponent = "san diego chargers"
Below is an context that describes a sql 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 (place VARCHAR, draw VARCHAR, lost VARCHAR) ### Question: What was the total number of places in which the draw was less than 4 and the amount lost was less than 6? ### Answer: SELECT COUNT(place) FROM table_name_73 WHERE draw < 4 AND lost < 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_8 (bronze VARCHAR, rank VARCHAR, total VARCHAR) ### Question: What is the total number of Bronze when rank is 11, and the total is less than 1? ### Answer: SELECT COUNT(bronze) FROM table_name_8 WHERE rank = "11" AND total < 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_88 (opponent_in_the_final VARCHAR, partnering VARCHAR) ### Question: Which Opponent in the final has a Partnering of graydon oliver? ### Answer: SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon 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 products_for_hire (product_description VARCHAR, product_id VARCHAR); CREATE TABLE products_booked (product_id VARCHAR, booked_amount VARCHAR) ### Question: What is the product description of the product booked with an amount of 102.76? ### Answer: SELECT T2.product_description FROM products_booked AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.booked_amount = 102.76
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (lost VARCHAR, against VARCHAR, points VARCHAR) ### Question: Which amount of lost had an against of more than 22 and 9 points? ### Answer: SELECT lost FROM table_name_30 WHERE against > 22 AND points = 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_85 (position VARCHAR, affiliation VARCHAR) ### Question: Which position did the drafted player affiliated with UCLA play? ### Answer: SELECT position FROM table_name_85 WHERE affiliation = "ucla"