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_20728138_1 (_percentage_in_seats_contested VARCHAR) ### Question: What is the 2003 seat number, when seats contested was at 38.23% ### Answer: SELECT MIN(2003 AS _seats) FROM table_20728138_1 WHERE _percentage_in_seats_contested = "38.23%"
Below is an context that describes a sql 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 (loss VARCHAR, date VARCHAR) ### Question: Who did the Blue Jays lose to on July 16? ### Answer: SELECT loss FROM table_name_15 WHERE date = "july 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_61 (goal VARCHAR, competition VARCHAR, score VARCHAR) ### Question: How many goals when the score is 3-0 in the euro 2012 q? ### Answer: SELECT COUNT(goal) FROM table_name_61 WHERE competition = "euro 2012 q" AND score = "3-0"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE captain (name VARCHAR, age VARCHAR) ### Question: What is the name of the youngest captain? ### Answer: SELECT name FROM captain ORDER BY age LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (player VARCHAR, round VARCHAR, college VARCHAR) ### Question: Who is the player from Arizona state with a round less than 7? ### Answer: SELECT player FROM table_name_84 WHERE round < 7 AND college = "arizona state"
Below is an context that describes 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 (Representative_ID VARCHAR); CREATE TABLE representative (Lifespan VARCHAR, Representative_ID VARCHAR) ### Question: What are the lifespans of representatives in descending order of vote percent? ### Answer: SELECT T2.Lifespan FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY Vote_Percent 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_10284385_1 (representative VARCHAR, date_of_birth VARCHAR) ### Question: Which representative has a birthday of January 31, 1866? ### Answer: SELECT representative FROM table_10284385_1 WHERE date_of_birth = "January 31, 1866"
Below is an context that describes a sql 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 (centerfold_model VARCHAR, interview_subject VARCHAR) ### Question: Who was the Centerfild model that used Bruce Willis as her Interview subject? ### Answer: SELECT centerfold_model FROM table_name_60 WHERE interview_subject = "bruce willis"
Below is an context that describes a sql 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 (league VARCHAR, year VARCHAR) ### Question: In 2010-11, what was the League name? ### Answer: SELECT league FROM table_name_18 WHERE year = "2010-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_21 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team in the match against Luton Town? ### Answer: SELECT home_team FROM table_name_21 WHERE away_team = "luton town"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14460085_3 (points VARCHAR, team VARCHAR) ### Question: How many points total for san lorenzo? ### Answer: SELECT COUNT(points) FROM table_14460085_3 WHERE team = "San Lorenzo"
Below is an context that describes a sql 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 (medal VARCHAR, event VARCHAR) ### Question: What medal was awarded in the men's freestyle 52 kg? ### Answer: SELECT medal FROM table_name_69 WHERE event = "men's freestyle 52 kg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE county (Population INTEGER) ### Question: Show the average population of all counties. ### Answer: SELECT AVG(Population) FROM 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_31 (fastest_lap VARCHAR, race VARCHAR) ### Question: What was the fastest lap in the Belgian Grand Prix? ### Answer: SELECT fastest_lap FROM table_name_31 WHERE race = "belgian grand prix"
Below is an context that describes a sql 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 (other VARCHAR, christianity VARCHAR) ### Question: What is the other value associated with a Christianity value of 10.24%? ### Answer: SELECT other FROM table_name_21 WHERE christianity = "10.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_83 (nation VARCHAR, points VARCHAR) ### Question: What nation has 187.84 points? ### Answer: SELECT nation FROM table_name_83 WHERE points = 187.84
Below is an context that describes a sql 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 (school VARCHAR, college_hall_of_fame VARCHAR) ### Question: What is the school of the player with a college hall of fame nevers hof profile? ### Answer: SELECT school FROM table_name_50 WHERE college_hall_of_fame = "nevers hof profile"
Below is an context that describes a sql 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 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR) ### Question: What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003? ### Answer: SELECT the_prize FROM table_name_19 WHERE tv_channel = "ant1" AND the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) ### Question: Return the distinct name of customers whose order status is Pending, in the order of customer id. ### Answer: SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending" ORDER BY T2.customer_id
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What is Score, when Date is 10 July 2011? ### Answer: SELECT score FROM table_name_65 WHERE date = "10 july 2011"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (nepalis_admitted INTEGER, bangladeshis_admitted INTEGER) ### Question: What was the most Nepalis admitted when fewer than 1,896 Bangladeshis were admitted? ### Answer: SELECT MAX(nepalis_admitted) FROM table_name_67 WHERE bangladeshis_admitted < 1 OFFSET 896
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR) ### Question: How many episodes were written by seth hoffman, russel friend & garrett lerner? ### Answer: SELECT COUNT(rank__week_) FROM table_28026156_1 WHERE written_by = "Seth Hoffman, Russel Friend & Garrett Lerner"
Below is an context that describes a sql 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 (points VARCHAR, points_for VARCHAR) ### Question: What is Points, when Points For is "points for"? ### Answer: SELECT points FROM table_name_71 WHERE points_for = "points for"
Below is an context that describes a sql 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 (loan_club VARCHAR, start_source VARCHAR, ended VARCHAR) ### Question: What is the loan club with bbc sport as the start source and ended in 3 February? ### Answer: SELECT loan_club FROM table_name_41 WHERE start_source = "bbc sport" AND ended = "3 february"
Below is an context that describes a sql 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 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) ### Question: Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship? ### Answer: SELECT date FROM table_name_3 WHERE runner_s__up = "bernhard langer" AND tournament = "at&t 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 department (num_employees INTEGER, ranking INTEGER) ### Question: What is the average number of employees of the departments whose rank is between 10 and 15? ### Answer: SELECT AVG(num_employees) FROM department WHERE ranking BETWEEN 10 AND 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_48 (enrollment INTEGER, location VARCHAR, mascot VARCHAR) ### Question: What is the highest enrollment in Lagrange where the mascot is panthers? ### Answer: SELECT MAX(enrollment) FROM table_name_48 WHERE location = "lagrange" AND mascot = "panthers"
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR, to_par VARCHAR) ### Question: What is Score, when Country is "United States", and when To Par is "+4"? ### Answer: SELECT score FROM table_name_56 WHERE country = "united states" AND to_par = "+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_47 (location_attendance VARCHAR, opponent VARCHAR) ### Question: When they played at Chicago Bulls, what was the Location/Attendance? ### Answer: SELECT location_attendance FROM table_name_47 WHERE opponent = "at chicago bulls"
Below is an context that describes a sql 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 (round VARCHAR, competition VARCHAR, series VARCHAR) ### Question: Which Round has a Competition of uefa cup, and a Series of 5–2? ### Answer: SELECT round FROM table_name_34 WHERE competition = "uefa cup" AND series = "5–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_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR) ### Question: What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665? ### Answer: SELECT release_date FROM table_name_16 WHERE director = "robert mckimson" AND series = "mm" AND production_number = "1665"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27116696_1 (production_code VARCHAR, written_by VARCHAR) ### Question: What is the total number of production code listings of episodes written by Matthew Lau? ### Answer: SELECT COUNT(production_code) FROM table_27116696_1 WHERE written_by = "Matthew Lau"
Below is an context that describes a sql 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 (date VARCHAR, opponent VARCHAR) ### Question: On which date was the opponent the Chicago Bears? ### Answer: SELECT date FROM table_name_54 WHERE opponent = "chicago bears"
Below is an context that describes 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 (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR) ### Question: Please show the names of aircrafts associated with airport with name "London Gatwick". ### Answer: SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Gatwick"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (game INTEGER, opponent VARCHAR) ### Question: Which Game has an Opponent of @ carolina hurricanes? ### Answer: SELECT SUM(game) FROM table_name_94 WHERE opponent = "@ carolina hurricanes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (d_42 VARCHAR, d_50 VARCHAR) ### Question: What is the D 42 when the D 50 is d 31? ### Answer: SELECT d_42 FROM table_name_17 WHERE d_50 = "d 31"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR) ### Question: Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889? ### Answer: SELECT SUM(capacity) FROM table_name_63 WHERE school = "windlehurst school" AND ofsted < 131889
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR) ### Question: Name the name of the state ### Answer: SELECT name FROM table_15463188_7 WHERE school_club_team = "State"
Below is an context that describes a sql 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 (home VARCHAR, visitor VARCHAR) ### Question: What is the home team when the visiting team is the Mavericks? ### Answer: SELECT home FROM table_name_26 WHERE visitor = "mavericks"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who is the opponent on april 16? ### Answer: SELECT opponent FROM table_name_91 WHERE date = "april 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_75 (result VARCHAR, date VARCHAR) ### Question: What was the result of the game on April 28? ### Answer: SELECT result FROM table_name_75 WHERE date = "april 28"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR) ### Question: What is the average number of silver medals won among nations that won 9 medals total? ### Answer: SELECT AVG(silver) FROM table_name_88 WHERE total = 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_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR) ### Question: What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie? ### Answer: SELECT sing_pres FROM table_name_51 WHERE sing_pret = "ou" AND subj_pres = "ie"
Below is an context that describes a sql 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 (tries_against VARCHAR, tries_for VARCHAR) ### Question: What was the tries against when they had 32 tries for? ### Answer: SELECT tries_against FROM table_name_14 WHERE tries_for = "32"
Below is an context that describes a sql 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 (city VARCHAR, stadium VARCHAR) ### Question: What city is the Stadium estádio dr. magalhães pessoa in? ### Answer: SELECT city FROM table_name_86 WHERE stadium = "estádio dr. magalhães pessoa"
Below is an context that describes a sql 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 (iwork_version VARCHAR, release_date VARCHAR, pages_version VARCHAR) ### Question: What version of iWork was released on October 22, 2013 with a pages version greater than 2? ### Answer: SELECT iwork_version FROM table_name_44 WHERE release_date = "october 22, 2013" AND pages_version > 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_38 (term_start VARCHAR, name VARCHAR) ### Question: When did Fejzi Bej Alizoti's term start? ### Answer: SELECT term_start FROM table_name_38 WHERE name = "fejzi bej alizoti"
Below is an context that describes a sql 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 (year VARCHAR, manager VARCHAR) ### Question: Manager of marty berghammer / nick allen is what year? ### Answer: SELECT year FROM table_name_91 WHERE manager = "marty berghammer / nick allen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR) ### Question: What year did the season finale have a total of 10.29 million viewers? ### Answer: SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = "10.29"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR) ### Question: What's the most laps when grid is 16? ### Answer: SELECT MAX(laps) FROM table_name_93 WHERE grid = 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 employees (title VARCHAR, phone VARCHAR, hire_date VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: What is the title, phone and hire date of Nancy Edwards? ### Answer: SELECT title, phone, hire_date FROM employees WHERE first_name = "Nancy" AND 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_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR) ### Question: What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%? ### Answer: SELECT szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE buildings (name VARCHAR, id VARCHAR); CREATE TABLE Companies (id VARCHAR); CREATE TABLE Office_locations (building_id VARCHAR, company_id VARCHAR) ### Question: Show the name of the building that has the most company offices. ### Answer: SELECT T2.name FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T1.building_id ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (date VARCHAR, opponent VARCHAR) ### Question: Which date has tigers as the opponent? ### Answer: SELECT date FROM table_name_14 WHERE opponent = "tigers"
Below is an context that describes a sql 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 (home_team VARCHAR) ### Question: What was Melbourne's score as the home team? ### Answer: SELECT home_team AS score FROM table_name_91 WHERE home_team = "melbourne"
Below is an context that describes a sql 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 (result VARCHAR, opponent VARCHAR, venue VARCHAR) ### Question: What is the result of the match with clyde as the opponent in the h venue? ### Answer: SELECT result FROM table_name_27 WHERE opponent = "clyde" AND venue = "h"
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR) ### Question: I want to know the opponent that ha a week of 3 ### Answer: SELECT opponent FROM table_name_61 WHERE week = "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_67 (rank VARCHAR, judge_m VARCHAR, judge_e VARCHAR) ### Question: what is the rank when judge m is 65.93 and judge e is 65.56? ### Answer: SELECT rank FROM table_name_67 WHERE judge_m = "65.93" AND judge_e = "65.56"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342256_13 (incumbent VARCHAR, district VARCHAR) ### Question: Who won the election of 1942 in the district Illinois 13? ### Answer: SELECT incumbent FROM table_1342256_13 WHERE district = "Illinois 13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22871239_9 (high_points VARCHAR, record VARCHAR) ### Question: Name the high points for 21-45 record ### Answer: SELECT COUNT(high_points) FROM table_22871239_9 WHERE record = "21-45"
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR) ### Question: what is the place for ireland? ### Answer: SELECT place FROM table_name_64 WHERE country = "ireland"
Below is an context that describes a sql 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 (language VARCHAR, country VARCHAR, publication_range VARCHAR) ### Question: What is the language with a France publication range of 1992–2003? ### Answer: SELECT language FROM table_name_65 WHERE country = "france" AND publication_range = "1992–2003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (specific_orbital_energy VARCHAR, orbital_period VARCHAR) ### Question: Orbital period of 89 to 128 min has what specific orbital energy? ### Answer: SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = "89 to 128 min"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR) ### Question: What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one? ### Answer: SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (time VARCHAR, event VARCHAR) ### Question: Which Time has an Event of call to arms i? ### Answer: SELECT time FROM table_name_15 WHERE event = "call to arms i"
Below is an context that describes a sql 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 (tournament VARCHAR, result VARCHAR) ### Question: In what tournament is there a result of 46-18? ### Answer: SELECT tournament FROM table_name_28 WHERE result = "46-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_75 (team VARCHAR, date VARCHAR) ### Question: What is Team, when Date is "March 27"? ### Answer: SELECT team FROM table_name_75 WHERE date = "march 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_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: What is the dominant religion for нови сад in 2002? ### Answer: SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = "Нови Сад"
Below is an context that describes a sql 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 (score VARCHAR, total_points VARCHAR) ### Question: What was the score where the total points was 50? ### Answer: SELECT score FROM table_name_34 WHERE total_points = 50
Below is an context that describes a sql 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 (place VARCHAR, date VARCHAR) ### Question: What is the Place that has a Date of 22 august 2004? ### Answer: SELECT place FROM table_name_92 WHERE date = "22 august 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_name_42 (points VARCHAR, played INTEGER) ### Question: What is the number of points when the played is less than 30? ### Answer: SELECT COUNT(points) FROM table_name_42 WHERE played < 30
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (tournament VARCHAR, score_in_the_final VARCHAR, partner VARCHAR) ### Question: Which tournament had a final score of 6–7, 2–6, and a Partner of wayne arthurs? ### Answer: SELECT tournament FROM table_name_7 WHERE score_in_the_final = "6–7, 2–6" AND partner = "wayne arthurs"
Below is an context that describes a sql 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 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR, first_season_of_current_spell_in_top_division VARCHAR) ### Question: What is the total number of Top division titles for the club that has more than 40 seasons in top division, a First season of current spell in top division of 1943-44, and more than 89 seasons in Liga MX? ### Answer: SELECT COUNT(top_division_titles) FROM table_name_55 WHERE number_of_seasons_in_top_division > 40 AND first_season_of_current_spell_in_top_division = "1943-44" AND number_of_seasons_in_liga_mx > 89
Below is an context that describes a sql 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 (second_vice_president VARCHAR, inaugurated VARCHAR) ### Question: What is Second Vice President, when Inaugurated is "26 March 1928"? ### Answer: SELECT second_vice_president FROM table_name_85 WHERE inaugurated = "26 march 1928"
Below is an context that describes a sql 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 (president VARCHAR, presidency INTEGER) ### Question: What President has a Presidency greater than 7? ### Answer: SELECT president FROM table_name_6 WHERE presidency > 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_35 (revenue__ INTEGER, debt_as__percentageof_value VARCHAR, operating_income_$m_ VARCHAR) ### Question: What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77? ### Answer: SELECT SUM(revenue__) AS $m_ FROM table_name_35 WHERE debt_as__percentageof_value > 27 AND operating_income_$m_ = 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_12562214_1 (location VARCHAR, date__to_ VARCHAR) ### Question: what is the location for the date (to) 8 october 1922? ### Answer: SELECT location FROM table_12562214_1 WHERE date__to_ = "8 October 1922"
Below is an context that describes a sql 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 (location VARCHAR, club VARCHAR) ### Question: Which Location has a Club of delfines ucv? ### Answer: SELECT location FROM table_name_96 WHERE club = "delfines ucv"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (score VARCHAR, winners VARCHAR, venue VARCHAR, runners_up VARCHAR) ### Question: What is the Score of the Rangers' Runner-ups and Hibernian Winners in Hampden Park? ### Answer: SELECT score FROM table_name_17 WHERE venue = "hampden park" AND runners_up = "rangers" AND winners = "hibernian"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19905183_1 (price VARCHAR, captain VARCHAR) ### Question: What's the price of the team whose captain is Sanath Jayasuriya? ### Answer: SELECT price FROM table_19905183_1 WHERE captain = "Sanath Jayasuriya"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11208143_9 (highest VARCHAR, average VARCHAR) ### Question: What are the highest recorded attendance rates of the stadiums with an average attendance of 4752? ### Answer: SELECT highest FROM table_11208143_9 WHERE average = 4752
Below is an context that describes a sql 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, writer_s_ VARCHAR) ### Question: What episode was written by jonathan lewis? ### Answer: SELECT episode FROM table_name_97 WHERE writer_s_ = "jonathan lewis"
Below is an context that describes a sql 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 (nation VARCHAR, result VARCHAR, year VARCHAR, competition VARCHAR) ### Question: What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0–3? ### Answer: SELECT nation FROM table_name_48 WHERE year = 2012 AND competition = "preseason" AND result = "w 0–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_26 (date VARCHAR, competition VARCHAR, score VARCHAR) ### Question: What date was the Competition of 2014 fifa world cup qualification, with a Score of 1–0? ### Answer: SELECT date FROM table_name_26 WHERE competition = "2014 fifa world cup qualification" AND score = "1–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_55 (athlete VARCHAR, punishment VARCHAR) ### Question: Which athlete had a six month suspension from IIHF? ### Answer: SELECT athlete FROM table_name_55 WHERE punishment = "six month suspension from iihf"
Below is an context that describes a sql 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 (record VARCHAR, week VARCHAR) ### Question: What is the Record for week 14? ### Answer: SELECT record FROM table_name_88 WHERE week = 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 list (grade VARCHAR, classroom VARCHAR) ### Question: Which grade is studying in classroom 103? ### Answer: SELECT DISTINCT grade FROM list WHERE classroom = 103
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR) ### Question: When did essendon play away? ### Answer: SELECT date FROM table_name_53 WHERE away_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_77 (tuesday VARCHAR, monday VARCHAR) ### Question: What is shown on Tuesday when Monday is showing Fox Sports Primetime? ### Answer: SELECT tuesday FROM table_name_77 WHERE monday = "fox sports primetime"
Below is an context that describes a sql 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 (events INTEGER, player VARCHAR, wins VARCHAR) ### Question: What is the average events that Al Geiberger played with wins smaller than 1? ### Answer: SELECT AVG(events) FROM table_name_55 WHERE player = "al geiberger" AND wins < 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_3 (distance VARCHAR, course VARCHAR) ### Question: Name the distance for Course of vittorio veneto to marina romea ### Answer: SELECT distance FROM table_name_3 WHERE course = "vittorio veneto to marina romea"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2208838_4 (played VARCHAR, points VARCHAR) ### Question: How many games were played by the player with 927 points? ### Answer: SELECT played FROM table_2208838_4 WHERE points = 927
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR) ### Question: Which party experienced a result of lost re-election democratic-republican hold? ### Answer: SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR) ### Question: What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13? ### Answer: SELECT title_rank FROM table_name_7 WHERE series = "1-8, 13" AND character = "arthur hastings"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR, car_s_ VARCHAR, listed_owner_s_ VARCHAR) ### Question: What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver? ### Answer: SELECT MIN(_number) FROM table_2182170_1 WHERE car_s_ = "Chevrolet Monte Carlo" AND listed_owner_s_ = "Teresa Earnhardt" AND driver_s_ = "Paul Menard"
Below is an context that describes a sql 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 (chassis VARCHAR, year VARCHAR) ### Question: Which chassis was used in 1971? ### Answer: SELECT chassis FROM table_name_1 WHERE year = 1971
Below is an context that describes a sql 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 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR, perth VARCHAR) ### Question: Which Melbourne has Gold Coast yes, Perth cancelled, and Adelaide cancelled? ### Answer: SELECT melbourne FROM table_name_11 WHERE gold_coast = "yes" AND perth = "cancelled" AND adelaide = "cancelled"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19112_3 (world_rank VARCHAR, market_value__billion_$_ VARCHAR) ### Question: Name the world rank for market value 17.2 ### Answer: SELECT world_rank FROM table_19112_3 WHERE market_value__billion_$_ = "17.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_30 (mascot VARCHAR, school VARCHAR, county VARCHAR, ihsaa_class VARCHAR) ### Question: Which Mascot has a County of 69 ripley, and an IHSAA Class of aa, and a School of south ripley? ### Answer: SELECT mascot FROM table_name_30 WHERE county = "69 ripley" AND ihsaa_class = "aa" AND school = "south ripley"
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR, week VARCHAR) ### Question: Name the most attendance for november 17, 1946 and week more than 8 ### Answer: SELECT MAX(attendance) FROM table_name_21 WHERE date = "november 17, 1946" AND week > 8