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_76 (gold VARCHAR, silver VARCHAR) ### Question: Who won gold in the games where Pan Cheng-Tsung won silver? ### Answer: SELECT gold FROM table_name_76 WHERE silver = "pan cheng-tsung"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1015914_24 (who_two VARCHAR, you_and_i VARCHAR) ### Question: What is who-two where you and i is ngœban? ### Answer: SELECT who_two FROM table_1015914_24 WHERE you_and_i = "ngœban"
Below is an context that describes a sql 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 (home_team VARCHAR, date VARCHAR) ### Question: WHAT IS THE HOME TEAM ON APRIL 25? ### Answer: SELECT home_team FROM table_name_52 WHERE date = "april 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_name_99 (pick INTEGER, position VARCHAR, school VARCHAR) ### Question: What's the lowest pick for a defensive back at Drake? ### Answer: SELECT MIN(pick) FROM table_name_99 WHERE position = "defensive back" AND school = "drake"
Below is an context that describes a sql 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 (seats INTEGER, share_of_votes VARCHAR) ### Question: What is the lowest number of seats from the election with 27.0% of votes? ### Answer: SELECT MIN(seats) FROM table_name_55 WHERE share_of_votes = "27.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_82 (visitor VARCHAR, record VARCHAR) ### Question: What was the visiting team that had a record of 26-18? ### Answer: SELECT visitor FROM table_name_82 WHERE record = "26-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_72 (loser VARCHAR, sport VARCHAR) ### Question: What losing team plays hockey? ### Answer: SELECT loser FROM table_name_72 WHERE sport = "hockey"
Below is an context that describes 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); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR) ### Question: Show the name of the party that has the most delegates. ### Answer: SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party 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_22265716_1 (director VARCHAR, original_title VARCHAR) ### Question: Who is the director of the film with the title лепа села лепо горе? ### Answer: SELECT director FROM table_22265716_1 WHERE original_title = "Лепа села лепо горе"
Below is an context that describes a sql 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 (years VARCHAR, roll VARCHAR, area VARCHAR) ### Question: Murupara has a roll greater than 296 for what years? ### Answer: SELECT years FROM table_name_6 WHERE roll > 296 AND area = "murupara"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE People (Name VARCHAR, Age VARCHAR) ### Question: List the names of the top 5 oldest people. ### Answer: SELECT Name FROM People ORDER BY Age DESC LIMIT 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_16 (winners VARCHAR, runners_up VARCHAR) ### Question: Who was the winner in the competition in which the runner-up was Rosenborg? ### Answer: SELECT winners FROM table_name_16 WHERE runners_up = "rosenborg"
Below is an context that describes a sql 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 (engine VARCHAR, entrant VARCHAR, year VARCHAR) ### Question: Which engine has an Entrant of team lotus, and a Year larger than 1962? ### Answer: SELECT engine FROM table_name_47 WHERE entrant = "team lotus" AND year > 1962
Below is an context that describes a sql 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 (djurgården_scorers VARCHAR, venue VARCHAR) ### Question: Who were the Djurgarden scorers when the venue was Idrottsparken? ### Answer: SELECT djurgården_scorers FROM table_name_21 WHERE venue = "idrottsparken"
Below is an context that describes a sql 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 (gross_to_date VARCHAR, date VARCHAR) ### Question: Name the Gross-to-date which has a Date of august 23–25? ### Answer: SELECT gross_to_date FROM table_name_53 WHERE date = "august 23–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_name_77 (score VARCHAR, record VARCHAR) ### Question: What was the score that led to an 11-16 record? ### Answer: SELECT score FROM table_name_77 WHERE record = "11-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_42 (term_in_office VARCHAR, member VARCHAR) ### Question: What was the term of Hon Peter Morris? ### Answer: SELECT term_in_office FROM table_name_42 WHERE member = "hon peter morris"
Below is an context that describes a sql 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 (d_47 VARCHAR, d_46 VARCHAR) ### Question: Tell me the D 47 for D 46 of r 35 ### Answer: SELECT d_47 FROM table_name_44 WHERE d_46 = "r 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 table_28979895_4 (opponents VARCHAR, partner VARCHAR) ### Question: Name the opponents for anabel medina garrigues ### Answer: SELECT COUNT(opponents) FROM table_28979895_4 WHERE partner = "Anabel Medina Garrigues"
Below is an context that describes a sql 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 (game INTEGER, points VARCHAR, february VARCHAR, record VARCHAR) ### Question: Which Game is the average one that has a February larger than 20, and a Record of 41–17–4, and Points smaller than 86? ### Answer: SELECT AVG(game) FROM table_name_23 WHERE february > 20 AND record = "41–17–4" AND points < 86
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (points INTEGER, rank VARCHAR, wins VARCHAR) ### Question: What is the total of the points for wins under 6 and a rank of 2nd? ### Answer: SELECT SUM(points) FROM table_name_59 WHERE rank = "2nd" AND wins < 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_76 (rank INTEGER, name VARCHAR) ### Question: What's the smallest rank of noriko inada? ### Answer: SELECT MIN(rank) FROM table_name_76 WHERE name = "noriko inada"
Below is an context that describes a sql 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 (engine VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR) ### Question: Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957 ### Answer: SELECT engine FROM table_name_8 WHERE chassis = "maserati 250f" AND entrant = "luigi piotti" AND year < 1957
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE inst (country VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR) ### Question: Retrieve the country that has published the most papers. ### Answer: SELECT t1.country FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.country 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_19 (player VARCHAR, position VARCHAR, round VARCHAR) ### Question: What player has defensive back as the position, with a round less than 2? ### Answer: SELECT player FROM table_name_19 WHERE position = "defensive back" AND round < 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_14 (event VARCHAR, date VARCHAR) ### Question: What event was on 26 August 2005? ### Answer: SELECT event FROM table_name_14 WHERE date = "26 august 2005"
Below is an context that describes a sql 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 (home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR) ### Question: What is Home Team, when Tie No is Replay, and when Attendance is 2,048? ### Answer: SELECT home_team FROM table_name_44 WHERE tie_no = "replay" AND attendance = "2,048"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR) ### Question: Who directed the episode that has 3x6752 listed as the production code? ### Answer: SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752"
Below is an context that describes a sql 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 (date VARCHAR, event VARCHAR) ### Question: What is Date, when Event is Billabong Pro? ### Answer: SELECT date FROM table_name_34 WHERE event = "billabong pro"
Below is an context that describes a sql 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 (grid VARCHAR, time_retired VARCHAR) ### Question: What's the total grid for someone with a time/retire of +44.831 ### Answer: SELECT COUNT(grid) FROM table_name_26 WHERE time_retired = "+44.831"
Below is an context that describes a sql 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 (first_aligned_day VARCHAR, date VARCHAR) ### Question: What is the First Aligned date in 1614? ### Answer: SELECT first_aligned_day FROM table_name_67 WHERE date = "1614"
Below is an context that describes a sql 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 (position VARCHAR, pick__number VARCHAR) ### Question: Which Position has a Pick # of 18? ### Answer: SELECT position FROM table_name_99 WHERE pick__number = 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_23619005_3 (position VARCHAR, player VARCHAR) ### Question: What's Doug Borden's position? ### Answer: SELECT position FROM table_23619005_3 WHERE player = "Doug Borden"
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR) ### Question: What was the crowd when Melbourne was the home team? ### Answer: SELECT AVG(crowd) FROM table_name_70 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_26041144_16 (rank VARCHAR, catches VARCHAR) ### Question: If the catches is 131, what is the rank total number? ### Answer: SELECT COUNT(rank) FROM table_26041144_16 WHERE catches = 131
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19089486_1 (new_entries_this_round VARCHAR, round VARCHAR) ### Question: Name the new entries this round for third round ### Answer: SELECT new_entries_this_round FROM table_19089486_1 WHERE round = "Third round"
Below is an context that describes a sql 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 (year VARCHAR, organization VARCHAR, team VARCHAR) ### Question: Which year has an Organization of new york yankees, and a Team of johnson city yankees? ### Answer: SELECT year FROM table_name_61 WHERE organization = "new york yankees" AND team = "johnson city yankees"
Below is an context that describes a sql 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 (building VARCHAR, floors VARCHAR, year VARCHAR) ### Question: For the Year 2013 what building(s) had more than 15 Floors? ### Answer: SELECT building FROM table_name_81 WHERE floors > 15 AND year = "2013"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19188562_2 (tv_season VARCHAR, rating__adults_18_49_ VARCHAR) ### Question: How many tv series had an adult rating of 1.2? ### Answer: SELECT COUNT(tv_season) FROM table_19188562_2 WHERE rating__adults_18_49_ = "1.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_8 (team VARCHAR, location_attendance VARCHAR) ### Question: WHAT IS THE TEAM WITH ATTENDANCE AT TARGET CENTER 11,921? ### Answer: SELECT team FROM table_name_8 WHERE location_attendance = "target center 11,921"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (byes VARCHAR, wins VARCHAR) ### Question: What is the total number of byes when the wins were 9? ### Answer: SELECT COUNT(byes) FROM table_name_59 WHERE wins = 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_74 (loss VARCHAR, time VARCHAR, record VARCHAR) ### Question: What is the loss when the time was 3:16, and a Record of 15–15? ### Answer: SELECT loss FROM table_name_74 WHERE time = "3:16" AND record = "15–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_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR) ### Question: Who was the GTU winning team when the TO winning team was Steve Ross? ### Answer: SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "Steve Ross"
Below is an context that describes a sql 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 (best_3_year_period VARCHAR, best_15_year_period VARCHAR, position VARCHAR) ### Question: Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5? ### Answer: SELECT best_3_year_period FROM table_name_61 WHERE best_15_year_period = "smyslov; kasparov" AND position = 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_99 (attendance VARCHAR, points VARCHAR, home VARCHAR) ### Question: What is the total number of attendence has points greater than 40, and detroit as the home? ### Answer: SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit"
Below is an context that describes a sql 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 (year VARCHAR, label VARCHAR, release_title VARCHAR) ### Question: What year was Neverchanger with the label of Latenight weeknight? ### Answer: SELECT year FROM table_name_70 WHERE label = "latenight weeknight" AND release_title = "neverchanger"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Movie (title VARCHAR, director VARCHAR); CREATE TABLE Movie (director VARCHAR, title VARCHAR) ### Question: For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title. ### Answer: SELECT T1.title, T1.director FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title ORDER BY T1.director, T1.title
Below is an context that describes a sql 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 (nationality___opponent VARCHAR, competition VARCHAR, result VARCHAR) ### Question: Name the Nationality / Opponent of the Competition of welsh rugby union challenge trophy and a Result of 38-29? ### Answer: SELECT nationality___opponent FROM table_name_63 WHERE competition = "welsh rugby union challenge trophy" AND result = "38-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_36 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) ### Question: Which Bronze has a Gold larger than 1, and a Total larger than 11, and a Silver larger than 5? ### Answer: SELECT AVG(bronze) FROM table_name_36 WHERE gold > 1 AND total > 11 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_27 (stls INTEGER, rebs INTEGER) ### Question: What is the lowest Stls, when Rebs is greater than 8.6? ### Answer: SELECT MIN(stls) FROM table_name_27 WHERE rebs > 8.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 customers (customer_name VARCHAR, payment_method VARCHAR) ### Question: What are the names of customers who use payment method "Cash"? ### Answer: SELECT customer_name FROM customers WHERE payment_method = "Cash"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19398910_4 (event VARCHAR, bout_2 VARCHAR) ### Question: wich were the events when bout 2 was zhang ( chn ) l 0-5? ### Answer: SELECT event FROM table_19398910_4 WHERE bout_2 = "Zhang ( CHN ) L 0-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_4 (tournament VARCHAR) ### Question: Which tournament's 2001 and 2008 were a when 2010 was qf? ### Answer: SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf"
Below is an context that describes 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 (Product_Name VARCHAR, Product_Price VARCHAR) ### Question: What is the name of the most expensive product? ### Answer: SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price 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_74 (accession_number VARCHAR, divergence_from_human_lineage__mya_ VARCHAR) ### Question: What is the accession number of the protein with a divergence from human lineage of 937.5? ### Answer: SELECT accession_number FROM table_name_74 WHERE divergence_from_human_lineage__mya_ = 937.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_2508633_11 (player VARCHAR, college VARCHAR, position VARCHAR) ### Question: Who are the all the players whose position is guard in college Clemson? ### Answer: SELECT player FROM table_2508633_11 WHERE college = "Clemson" AND position = "Guard"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (score VARCHAR, date VARCHAR) ### Question: What was the score on 26 July 1930? ### Answer: SELECT score FROM table_name_62 WHERE date = "26 july 1930"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (year INTEGER, regular_season VARCHAR, division VARCHAR) ### Question: Which Year is the lowest one that has a Regular Season of 5th, atlantic, and a Division larger than 4? ### Answer: SELECT MIN(year) FROM table_name_12 WHERE regular_season = "5th, atlantic" AND division > 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_69 (name VARCHAR, period VARCHAR) ### Question: What name is for the period 1945-1949 & 1953-1954 1949-1952? ### Answer: SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (to_par VARCHAR, year_s__won VARCHAR) ### Question: For the year won of 2001, what is the To Par? ### Answer: SELECT to_par FROM table_name_29 WHERE year_s__won = "2001"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28188239_1 (incumbent VARCHAR, district VARCHAR) ### Question: How many incumbents are in district la-1? ### Answer: SELECT COUNT(incumbent) FROM table_28188239_1 WHERE district = "LA-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_31 (home_team VARCHAR, away_team VARCHAR) ### Question: What did the home team score when the away team was South Melbourne? ### Answer: SELECT home_team AS score FROM table_name_31 WHERE away_team = "south 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_1096793_1 (first_season VARCHAR, position_in_2012 VARCHAR) ### Question: What was the first season of the club that in 2012 was 2nd in Superettan? ### Answer: SELECT first_season FROM table_1096793_1 WHERE position_in_2012 = "2nd in Superettan"
Below is an context that describes a sql 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 (location VARCHAR, year VARCHAR, silver VARCHAR) ### Question: What is the location for the year under 2010 and the year Hei Zhi Hong won silver? ### Answer: SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: What date had a record of 43-34? ### Answer: SELECT date FROM table_name_17 WHERE record = "43-34"
Below is an context that describes a sql 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 (player VARCHAR, college VARCHAR) ### Question: Which player is attending college at Virginia? ### Answer: SELECT player FROM table_name_43 WHERE college = "virginia"
Below is an context that describes a sql 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 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) ### Question: Gold of 0, and a Total larger than 0, and a Silver larger than 1 and what is the highest bronze? ### Answer: SELECT MAX(bronze) FROM table_name_70 WHERE gold = 0 AND total > 0 AND silver > 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_73 (party VARCHAR, district VARCHAR) ### Question: What is the party of the maryland 6 district? ### Answer: SELECT party FROM table_name_73 WHERE district = "maryland 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_30 (tries_against VARCHAR, try_diff VARCHAR, points_for VARCHAR) ### Question: How many Tries against has a Try diff of –17 and Points for smaller than 80? ### Answer: SELECT COUNT(tries_against) FROM table_name_30 WHERE try_diff = "–17" AND points_for < 80
Below is an context that describes a sql 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 (programming VARCHAR, channel VARCHAR) ### Question: Which Programming is on Channel 26.5? ### Answer: SELECT programming FROM table_name_98 WHERE channel = 26.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_34 (engine_† VARCHAR, tyre VARCHAR, driver VARCHAR) ### Question: what is the engine when the tyre is m and the driver is fernando alonso? ### Answer: SELECT engine_† FROM table_name_34 WHERE tyre = "m" AND driver = "fernando alonso"
Below is an context that describes a 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_17 (incumbent VARCHAR, candidates VARCHAR) ### Question: The candidates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% is for what incumbent? ### Answer: SELECT incumbent FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.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_28578594_1 (chassis VARCHAR, driver VARCHAR) ### Question: Name the chassis for ludwig fischer ### Answer: SELECT chassis FROM table_28578594_1 WHERE driver = "Ludwig Fischer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15780718_8 (record VARCHAR, team VARCHAR) ### Question: What was the record against Boston? ### Answer: SELECT record FROM table_15780718_8 WHERE team = "Boston"
Below is an context that describes a sql 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, date VARCHAR) ### Question: Who was the Opponent on July 29? ### Answer: SELECT opponent FROM table_name_61 WHERE date = "july 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_27277284_8 (v_core VARCHAR, mult_1 VARCHAR) ### Question: Name the vcore for multi 11x ### Answer: SELECT v_core FROM table_27277284_8 WHERE mult_1 = "11x"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1973729_1 (nickname VARCHAR, location VARCHAR) ### Question: How many nicknames were associated with Milton, Massachusetts? ### Answer: SELECT COUNT(nickname) FROM table_1973729_1 WHERE location = "Milton, Massachusetts"
Below is an context that describes a sql 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 (home VARCHAR, ground VARCHAR, time VARCHAR) ### Question: What is Home, when Ground is Humber College North, and when Time is 15:00? ### Answer: SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (first_member VARCHAR, second_member VARCHAR) ### Question: What is 1st Party, when First Member is "Peter John Locke King", and when Second Member is "James Watney"? ### Answer: SELECT 1 AS st_party FROM table_name_18 WHERE first_member = "peter john locke king" AND second_member = "james watney"
Below is an context that describes a sql 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 (jun VARCHAR, jul VARCHAR) ### Question: Name the june when it has july of 84 °f / 28.9 °c ### Answer: SELECT jun FROM table_name_28 WHERE jul = "84 °f / 28.9 °c"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (name VARCHAR, games VARCHAR) ### Question: Who won a medal at the 2008 Beijing Olympics? ### Answer: SELECT name FROM table_name_33 WHERE games = "2008 beijing"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR) ### Question: What is the area in km2 for Dufferin? ### Answer: SELECT area_km_2 FROM table_170969_2 WHERE official_name = "Dufferin"
Below is an context that describes a sql 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 (mississippi_st VARCHAR, alabama VARCHAR) ### Question: Who was the Mississippi State player associated with Cornelius Bennett? ### Answer: SELECT mississippi_st FROM table_name_55 WHERE alabama = "cornelius bennett"
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, silver VARCHAR) ### Question: Who scored the lowest with 8 gold medals and less than 4 silver medals? ### Answer: SELECT MIN(total) FROM table_name_40 WHERE gold = 8 AND silver < 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR) ### Question: what are the song names for the film kaal bhairav? ### Answer: SELECT song_name FROM table_11827596_2 WHERE film_name = "Kaal Bhairav"
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR) ### Question: What is the score when the tie number is 6? ### Answer: SELECT score FROM table_name_58 WHERE tie_no = "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_25 (year_born VARCHAR, position VARCHAR, current_club VARCHAR) ### Question: What year was the Guard who currently plays for the Memphis Grizzlies born? ### Answer: SELECT year_born FROM table_name_25 WHERE position = "guard" AND current_club = "memphis grizzlies"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17156199_1 (year__ceremony_ VARCHAR, original_title VARCHAR) ### Question: How many years was the original title was স্বপ্নডানায় (swopnodanay)? ### Answer: SELECT COUNT(year__ceremony_) FROM table_17156199_1 WHERE original_title = "স্বপ্নডানায় (Swopnodanay)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR) ### Question: What was the result in the election in the Kentucky 8 district? ### Answer: SELECT result FROM table_2668367_7 WHERE district = "Kentucky 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_79 (sunday VARCHAR, friday VARCHAR) ### Question: On the series in which Emma Willis Jamie East presented on Friday, who was the presenter on Sunday? ### Answer: SELECT sunday FROM table_name_79 WHERE friday = "emma willis jamie east"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14929574_3 (series__number INTEGER, directed_by VARCHAR) ### Question: Which episode number was directed by Bill Eagles? ### Answer: SELECT MIN(series__number) FROM table_14929574_3 WHERE directed_by = "Bill Eagles"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) ### Question: What is the total number of churches named Høyanger Kyrkje? ### Answer: SELECT COUNT(sub_parish__sogn_) FROM table_178389_1 WHERE church_name = "Høyanger kyrkje"
Below is an context that describes a sql 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 (time VARCHAR, react VARCHAR, athlete VARCHAR) ### Question: What the time of Paul Hession with more than an 0.187 react? ### Answer: SELECT time FROM table_name_76 WHERE react > 0.187 AND athlete = "paul hession"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20774360_2 (nec_record VARCHAR, standing VARCHAR) ### Question: Name the nec record for 11th standing ### Answer: SELECT nec_record FROM table_20774360_2 WHERE standing = "11th"
Below is an context that describes a sql 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 (set_2 VARCHAR, set_4 VARCHAR) ### Question: What set 2 has a set 4 of 21-25? ### Answer: SELECT set_2 FROM table_name_74 WHERE set_4 = "21-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_name_14 (score VARCHAR, visitor VARCHAR) ### Question: what team visited chicago ### Answer: SELECT score FROM table_name_14 WHERE visitor = "chicago"
Below is an context that describes a sql 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 (division VARCHAR, fa_cup VARCHAR, season VARCHAR) ### Question: What is the division in the season more recent than 2012 when the round of 16 was reached in the FA Cup? ### Answer: SELECT COUNT(division) FROM table_name_9 WHERE fa_cup = "round of 16" AND season > 2012
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1115992_1 (sept_1943 INTEGER, late_1943 VARCHAR) ### Question: What is the least september 1943 when late 1943 is 78000 ### Answer: SELECT MIN(sept_1943) FROM table_1115992_1 WHERE late_1943 = 78000
Below is an context that describes a sql 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 (drawn VARCHAR, try_bonus VARCHAR, lost VARCHAR) ### Question: When the try bonus is 9 and the lost 4, what is the drawn? ### Answer: SELECT drawn FROM table_name_50 WHERE try_bonus = "9" AND lost = "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_50 (location VARCHAR, built VARCHAR) ### Question: What is the Location of the Mill Built in the Early 19th Century? ### Answer: SELECT location FROM table_name_50 WHERE built = "early 19th century"