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_22 (issue VARCHAR, date VARCHAR) ### Question: What Issue number was released on August 17, 2011? ### Answer: SELECT issue FROM table_name_22 WHERE date = "august 17, 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_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR) ### Question: What seasons does stella malone appear? ### Answer: SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Stella Malone"
Below is an context that describes a sql 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 (status VARCHAR, authors VARCHAR) ### Question: What is the status of Author Del Corro? ### Answer: SELECT status FROM table_name_84 WHERE authors = "del corro"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE swimmer (meter_200 VARCHAR, meter_300 VARCHAR, nationality VARCHAR) ### Question: Find all 200 meter and 300 meter results of swimmers with nationality "Australia". ### Answer: SELECT meter_200, meter_300 FROM swimmer WHERE nationality = 'Australia'
Below is an context that describes a sql 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 (venue VARCHAR, competition VARCHAR) ### Question: Which Venue has a Competition of venice marathon? ### Answer: SELECT venue FROM table_name_98 WHERE competition = "venice marathon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2453243_5 (title VARCHAR, production_code VARCHAR) ### Question: What is the title of the episode with production code 406? ### Answer: SELECT title FROM table_2453243_5 WHERE production_code = "406"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341973_6 (result VARCHAR, district VARCHAR) ### Question: What was the result of the election in california 2? ### Answer: SELECT result FROM table_1341973_6 WHERE district = "California 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_17 (quantity_preserved VARCHAR, class VARCHAR) ### Question: What is the quantity preserved of the e-1 class? ### Answer: SELECT quantity_preserved FROM table_name_17 WHERE class = "e-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_81 (team VARCHAR, points VARCHAR, year VARCHAR) ### Question: Which team has points less than 6 in a year after 1969? ### Answer: SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (name VARCHAR, location VARCHAR) ### Question: What is the name of the building at the Jewellery quarter? ### Answer: SELECT name FROM table_name_61 WHERE location = "jewellery quarter"
Below is an context that describes a sql 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 (game INTEGER, location VARCHAR) ### Question: What was the total games played at the Staples Center? ### Answer: SELECT SUM(game) FROM table_name_56 WHERE location = "staples center"
Below is an context that describes a sql 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 (date VARCHAR, tonnage INTEGER) ### Question: What is the date of the ship with a tonnage greater than 8,017? ### Answer: SELECT date FROM table_name_10 WHERE tonnage > 8 OFFSET 017
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE gymnast (Id VARCHAR) ### Question: How many gymnasts are there? ### Answer: SELECT COUNT(*) FROM gymnast
Below is an context that describes a sql 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 (visitor VARCHAR, record VARCHAR, home VARCHAR, time VARCHAR) ### Question: Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2? ### Answer: SELECT visitor FROM table_name_14 WHERE home = "pittsburgh penguins" AND time = "7:00 pm" AND record = "0-2-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_52 (pick VARCHAR, player VARCHAR) ### Question: What is the pick number for Ray Giroux? ### Answer: SELECT pick FROM table_name_52 WHERE player = "ray giroux"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (wins INTEGER, against VARCHAR) ### Question: What are the total wins when there are 1261 against? ### Answer: SELECT SUM(wins) FROM table_name_46 WHERE against = 1261
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_78 (number_of_electorates__2009_ INTEGER, name VARCHAR) ### Question: What is the number of electorates (2009) for Hingna? ### Answer: SELECT AVG(number_of_electorates__2009_) FROM table_name_78 WHERE name = "hingna"
Below is an context that describes a sql 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 (marriage VARCHAR, death VARCHAR) ### Question: When did the person who died on 6 Dec 1240 get married? ### Answer: SELECT marriage FROM table_name_59 WHERE death = "6 dec 1240"
Below is an context that describes a sql 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 (school VARCHAR, date VARCHAR) ### Question: What is the School of the Player with a Date of June 4, 2011? ### Answer: SELECT school FROM table_name_72 WHERE date = "june 4, 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_19 (competition VARCHAR, result VARCHAR, score VARCHAR) ### Question: Which competition had a 4-1 result, and a score of 4-1? ### Answer: SELECT competition FROM table_name_19 WHERE result = "4-1" AND score = "4-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_83 (location VARCHAR, school VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) ### Question: Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka? ### Answer: SELECT location FROM table_name_83 WHERE year_joined = 1966 AND previous_conference = "noble county" AND school = "wawaka"
Below is an context that describes a sql 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 (week INTEGER, result VARCHAR) ### Question: What week has a result of L 17-31 first? ### Answer: SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-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_11677691_5 (player VARCHAR, college VARCHAR) ### Question: Which players attend Stanford college? ### Answer: SELECT player FROM table_11677691_5 WHERE college = "Stanford"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (time VARCHAR, ad_freq VARCHAR, show_name VARCHAR) ### Question: What Time has Ad Freq of 15 minutes, and a Show Name of country today? ### Answer: SELECT time FROM table_name_37 WHERE ad_freq = "15 minutes" AND show_name = "country today"
Below is an context that describes a sql 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 (rank VARCHAR, silver VARCHAR, nation VARCHAR) ### Question: Which rank has more than 1 silver and a total nation? ### Answer: SELECT rank FROM table_name_1 WHERE silver > 1 AND nation = "total"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_43 (college VARCHAR, team VARCHAR) ### Question: The New York Jets picked someone from what college? ### Answer: SELECT college FROM table_name_43 WHERE team = "new york jets"
Below is an context that describes a sql 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 (constellation VARCHAR, date_sent VARCHAR, distance___ly__ VARCHAR) ### Question: What is Constellation, when Date Sent is "September 4, 2001", and when Distance ( ly ) is less than 57.4? ### Answer: SELECT constellation FROM table_name_71 WHERE date_sent = "september 4, 2001" AND distance___ly__ < 57.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_59 (position VARCHAR, pick VARCHAR, player VARCHAR) ### Question: What was the position of terry jones whose pick number was after 256? ### Answer: SELECT position FROM table_name_59 WHERE pick > 256 AND player = "terry jones"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE review (u_id VARCHAR, rating VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR) ### Question: Find the name of the user who gave the highest rating. ### Answer: SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id ORDER BY T2.rating 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_92 (lost VARCHAR, team VARCHAR, against VARCHAR) ### Question: How many Lost have a Team of flamengo, and an Against smaller than 5? ### Answer: SELECT COUNT(lost) FROM table_name_92 WHERE team = "flamengo" AND against < 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_81 (points_against VARCHAR, played VARCHAR, lost VARCHAR) ### Question: What is the points against for the team that played 22 and lost 6? ### Answer: SELECT points_against FROM table_name_81 WHERE played = "22" 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_85 (date VARCHAR, venue VARCHAR) ### Question: What was the date of the game at MCG? ### Answer: SELECT date FROM table_name_85 WHERE venue = "mcg"
Below is an context that describes a sql 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 (dates_active VARCHAR, max_1_min_wind_mph__km_h_ VARCHAR) ### Question: What is the active Date that has a 65 (100) Max 1-min wind? ### Answer: SELECT dates_active FROM table_name_28 WHERE max_1_min_wind_mph__km_h_ = "65 (100)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_27 (laps INTEGER, grid VARCHAR, time VARCHAR) ### Question: Who had the lowest laps on a grid smaller than 16 with a time of +21.689? ### Answer: SELECT MIN(laps) FROM table_name_27 WHERE grid < 16 AND time = "+21.689"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (locality VARCHAR, ages VARCHAR, school VARCHAR) ### Question: What is the Locality of the Penarth Group School for Ages 8-16? ### Answer: SELECT locality FROM table_name_90 WHERE ages = "8-16" AND school = "penarth group school"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (constructor VARCHAR, grid VARCHAR) ### Question: What is the name of the Constructor with a 19 Grid? ### Answer: SELECT constructor FROM table_name_98 WHERE grid = 19
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12792876_2 (club VARCHAR, points_against VARCHAR) ### Question: Which club gave up 714 points? ### Answer: SELECT club FROM table_12792876_2 WHERE points_against = "714"
Below is an context that describes a sql 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 (freq_currently VARCHAR, frequency VARCHAR) ### Question: Which freq currently has 0 684? ### Answer: SELECT freq_currently FROM table_name_7 WHERE frequency = "0 684"
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR) ### Question: Where did Footscray play as the away team? ### Answer: SELECT venue FROM table_name_27 WHERE away_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 pilot (Name VARCHAR, Age VARCHAR) ### Question: List names of all pilot in descending order of age. ### Answer: SELECT Name FROM pilot ORDER BY Age 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_10566855_1 (premier VARCHAR, season VARCHAR) ### Question: who's the premier with in 1970 ### Answer: SELECT premier FROM table_10566855_1 WHERE season = 1970
Below is an context that describes a 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_19 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the election where william wilson was the incumbent? ### Answer: SELECT candidates FROM table_2668336_19 WHERE incumbent = "William Wilson"
Below is an context that describes a sql 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 (frequency_mhz INTEGER, erp_w VARCHAR) ### Question: What is the average frequency in MHz for stations with an ERP W of 170? ### Answer: SELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 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_2534387_10 (time__et_ VARCHAR, entries VARCHAR) ### Question: Name the time for entries being 907 ### Answer: SELECT time__et_ FROM table_2534387_10 WHERE entries = "907"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14465924_1 (telephone__052_ VARCHAR, area__km_2__ VARCHAR) ### Question: Name the total number of telephone 052 for 362.81 ### Answer: SELECT COUNT(telephone__052_) FROM table_14465924_1 WHERE area__km_2__ = "362.81"
Below is an context that describes a sql 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 (nationality VARCHAR, round VARCHAR) ### Question: What was the nationality for the player in Round 1? ### Answer: SELECT nationality FROM table_name_11 WHERE round = 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 (lane VARCHAR, react VARCHAR, rank VARCHAR) ### Question: What Lane has a 0.209 React entered with a Rank entry that is larger than 6? ### Answer: SELECT lane FROM table_name_84 WHERE react > 0.209 AND rank > 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_24278858_2 (date VARCHAR, week VARCHAR) ### Question: What date did the team play on week 8? ### Answer: SELECT date FROM table_24278858_2 WHERE week = 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_32 (team_1 VARCHAR) ### Question: When Aalborg BK is Team 1, what is the 1st leg? ### Answer: SELECT 1 AS st_leg FROM table_name_32 WHERE team_1 = "aalborg bk"
Below is an context that describes a sql 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 (location VARCHAR, round VARCHAR, opponent VARCHAR) ### Question: What location shows round was 1, and against Ricky Shivers? ### Answer: SELECT location FROM table_name_43 WHERE round = 1 AND opponent = "ricky shivers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR) ### Question: How many launch dates are there for digital transmission? ### Answer: SELECT COUNT(launch_date) FROM table_22274142_1 WHERE transmission = "Digital"
Below is an context that describes 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 (address VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: What is the address of employee Nancy Edwards? ### Answer: SELECT address 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_70 (country VARCHAR, player VARCHAR) ### Question: What country does Bobby Nichols play for? ### Answer: SELECT country FROM table_name_70 WHERE player = "bobby nichols"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (Id VARCHAR) ### Question: What is listed for the 2005 that has a 2012 of 4.2%? ### Answer: SELECT 2005 FROM table_name_35 WHERE 2012 = "4.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_15 (position VARCHAR, team VARCHAR) ### Question: What position did the kr team player play? ### Answer: SELECT position FROM table_name_15 WHERE team = "kr"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (year VARCHAR, opponent_in_the_final VARCHAR) ### Question: What year was the opponent in the final john higgins category:articles with hcards? ### Answer: SELECT year FROM table_name_45 WHERE opponent_in_the_final = "john higgins category:articles with hcards"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24565004_14 (position VARCHAR, name VARCHAR) ### Question: What positions correspond to the name Thierry Morin? ### Answer: SELECT position FROM table_24565004_14 WHERE name = "Thierry Morin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29619494_2 (sake_tuyas VARCHAR, denim_demons VARCHAR) ### Question: What place did the Sake Tuyas come in when the Denim Demons were 4th? ### Answer: SELECT sake_tuyas FROM table_29619494_2 WHERE denim_demons = "4th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR) ### Question: Name the pinyin for تىزناپ ### Answer: SELECT pinyin FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تىزناپ"
Below is an context that describes a sql 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 (takeover_date VARCHAR, fa_division_s_ VARCHAR) ### Question: What is the takeover date of the FA division mitre? ### Answer: SELECT takeover_date FROM table_name_19 WHERE fa_division_s_ = "mitre"
Below is an context that describes a sql 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 (result VARCHAR, opponent VARCHAR) ### Question: What is Result, when Opponent is Cincinnati Bengals? ### Answer: SELECT result FROM table_name_32 WHERE opponent = "cincinnati bengals"
Below is an context that describes a sql 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 (year_started INTEGER, number_of_cars VARCHAR, car__number VARCHAR) ### Question: Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100? ### Answer: SELECT MIN(year_started) FROM table_name_30 WHERE number_of_cars > 7 AND car__number = "100"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (years_of_nba_experience_ VARCHAR, a_ VARCHAR, pos VARCHAR, team VARCHAR) ### Question: How many years of NBA experience does the player who plays position g for the Portland Trail Blazers? ### Answer: SELECT years_of_nba_experience_[a_] FROM table_name_28 WHERE pos = "g" AND team = "portland trail blazers"
Below is an context that describes a sql 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 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR) ### Question: How many yards lost by the player with more gained than 51 and average/g of 3.6? ### Answer: SELECT COUNT(loss) FROM table_name_97 WHERE avg_g = "3.6" AND gain > 51
Below is an context that describes a 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 (notes VARCHAR, date__to_ VARCHAR) ### Question: how many times is the date (to) 1919? ### Answer: SELECT COUNT(notes) FROM table_12562214_1 WHERE date__to_ = "1919"
Below is an context that describes a sql 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 (riding_penalties__pts_ VARCHAR, swimming_time__pts_ VARCHAR) ### Question: What is the riding penaltie (pts) for the athlete that has a Swimming Time (pts) of 2:18.16 (1264)? ### Answer: SELECT riding_penalties__pts_ FROM table_name_83 WHERE swimming_time__pts_ = "2:18.16 (1264)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24990183_7 (name VARCHAR, rank VARCHAR) ### Question: If the rank is 17, what are the names? ### Answer: SELECT name FROM table_24990183_7 WHERE rank = 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (high_assists VARCHAR, game VARCHAR) ### Question: Who made the most assists in Game 2 of this season? ### Answer: SELECT high_assists FROM table_name_4 WHERE game = 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_1 (margin_of_victory VARCHAR, runner_s__up VARCHAR) ### Question: Which Margin of victory has a Runner(s)-up of dave barr? ### Answer: SELECT margin_of_victory FROM table_name_1 WHERE runner_s__up = "dave barr"
Below is an context that describes a sql 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 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR) ### Question: What is the smallest number of wins for a top-25 value greater than 5 and more than 38 cuts? ### Answer: SELECT MIN(wins) FROM table_name_52 WHERE top_25 > 5 AND cuts_made > 38
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16083989_1 (indole VARCHAR, species VARCHAR) ### Question: What is the result of proteus mirabilis tested with indole? ### Answer: SELECT indole FROM table_16083989_1 WHERE species = "Proteus mirabilis"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE projects (hours INTEGER) ### Question: Find the total hours of all projects. ### Answer: SELECT SUM(hours) FROM projects
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the away team when the home team was South Melbourne? ### Answer: SELECT away_team FROM table_name_77 WHERE home_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_name_76 (cuts_made INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR) ### Question: How man cuts were there of players who had 0 wins but had 1 player in the top 25 with more than 4 events? ### Answer: SELECT SUM(cuts_made) FROM table_name_76 WHERE wins = 0 AND top_25 = 1 AND events > 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_11274401_2 (share INTEGER, rank___number_ VARCHAR) ### Question: What was the share for the first episode that ranked 85? ### Answer: SELECT MIN(share) FROM table_11274401_2 WHERE rank___number_ = "85"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (date VARCHAR, country VARCHAR) ### Question: Which date was for Japan? ### Answer: SELECT date FROM table_name_66 WHERE country = "japan"
Below is an context that describes a sql 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 (team VARCHAR, win__number VARCHAR, rating VARCHAR) ### Question: What is the name of the team that had 1 win and a rating of +85? ### Answer: SELECT team FROM table_name_51 WHERE win__number = "1" AND rating = "+85"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE professor (emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE CLASS (prof_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) ### Question: What is the first names of the professors from the history department who do not teach a class. ### Answer: SELECT T1.emp_fname FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T3.dept_name = 'History' EXCEPT SELECT T4.emp_fname FROM employee AS T4 JOIN CLASS AS T5 ON T4.emp_num = T5.prof_num
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11664625_2 (original_air_date VARCHAR, no_in_season VARCHAR) ### Question: What is the original air date of season 18? ### Answer: SELECT original_air_date FROM table_11664625_2 WHERE no_in_season = 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_85 (datacenter VARCHAR, features VARCHAR) ### Question: What Datacenter is listed against the network access connections: rras Feature? ### Answer: SELECT datacenter FROM table_name_85 WHERE features = "network access connections: rras"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341640_11 (first_elected INTEGER, district VARCHAR) ### Question: What is the earliest first elected for district georgia 1? ### Answer: SELECT MIN(first_elected) FROM table_1341640_11 WHERE district = "Georgia 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_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR) ### Question: Which League that has a Open Cup of 1st round, and a Year of 2009? ### Answer: SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (country VARCHAR, format VARCHAR, catalog VARCHAR) ### Question: What country has CD format and catalog RCD 10523? ### Answer: SELECT country FROM table_name_45 WHERE format = "cd" AND catalog = "rcd 10523"
Below is an context that describes a sql 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 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR) ### Question: Which owner has a description of Mark 1 pos and is dated 1956? ### Answer: SELECT owner_s_ FROM table_name_18 WHERE date = 1956 AND description = "mark 1 pos"
Below is an context that describes a sql 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 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR) ### Question: Which Time/Retired has Laps smaller than 24, and a Manufacturer of aprilia, and a Grid smaller than 12, and a Rider of ángel rodríguez? ### Answer: SELECT time_retired FROM table_name_5 WHERE laps < 24 AND manufacturer = "aprilia" AND grid < 12 AND rider = "ángel rodríguez"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What is the score on December 2? ### Answer: SELECT score FROM table_name_51 WHERE date = "december 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_27319183_5 (date VARCHAR, share___percentage_ VARCHAR) ### Question: When was the episode that had a share (%) of 41.5? ### Answer: SELECT date FROM table_27319183_5 WHERE share___percentage_ = "41.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_49 (silver INTEGER, total VARCHAR, rank VARCHAR) ### Question: How many silver medals were won with a total medal of 3 and a rank above 9? ### Answer: SELECT AVG(silver) FROM table_name_49 WHERE total < 3 AND rank > 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_24 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) ### Question: Who built michael schumacher's car that went under 31 laps? ### Answer: SELECT constructor FROM table_name_24 WHERE laps < 31 AND driver = "michael schumacher"
Below is an context that describes a sql 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 (result VARCHAR, week INTEGER) ### Question: What results has a week smaller than 2? ### Answer: SELECT result FROM table_name_79 WHERE week < 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_65 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR) ### Question: What is the average cuts made at the top 25, less than 10, and at the Top 10 more than 3? ### Answer: SELECT AVG(cuts_made) FROM table_name_65 WHERE top_25 < 10 AND top_10 > 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_6 (crowd VARCHAR, away_team VARCHAR) ### Question: What was away team Geelong's crowd numbers? ### Answer: SELECT crowd FROM table_name_6 WHERE away_team = "geelong"
Below is an context that describes a sql 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 (rank VARCHAR, bronze INTEGER) ### Question: what is the rank when the bronze is less than 0? ### Answer: SELECT COUNT(rank) FROM table_name_63 WHERE bronze < 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_10749143_2 (title VARCHAR, us_viewers__millions_ VARCHAR) ### Question: What is the title of the episode wtih 10.34 million U.S viewers? ### Answer: SELECT title FROM table_10749143_2 WHERE us_viewers__millions_ = "10.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_59 (driver VARCHAR, laps VARCHAR) ### Question: I want the driver that has Laps of 10 ### Answer: SELECT driver FROM table_name_59 WHERE laps = 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 ORDER_ITEMS (Order_Quantity INTEGER, Product_ID VARCHAR); CREATE TABLE Products (Product_ID VARCHAR, Product_Name VARCHAR) ### Question: What are the total order quantities of photo products? ### Answer: SELECT SUM(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_Name = "photo"
Below is an context that describes a sql 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 (bore_x_stroke VARCHAR, year VARCHAR) ### Question: Name the Bore x stroke of 1929-32 ### Answer: SELECT bore_x_stroke FROM table_name_83 WHERE year = "1929-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_22916979_5 (_places VARCHAR, principal_city VARCHAR) ### Question: Name the least 10,000+ places for louisville ### Answer: SELECT MIN(10), 000 + _places FROM table_22916979_5 WHERE principal_city = "Louisville"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on April 21, 2008? ### Answer: SELECT opponent FROM table_name_44 WHERE date = "april 21, 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR) ### Question: Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0? ### Answer: SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.0