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_1 (us_ac VARCHAR, label_and_cat_number VARCHAR) ### Question: What is the US AC of the label and cat# reprise 19466? ### Answer: SELECT us_ac FROM table_name_1 WHERE label_and_cat_number = "reprise 19466"
Below is an context that describes a sql 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 (release_date VARCHAR, production_num VARCHAR) ### Question: What release date has 6998 as the production num.? ### Answer: SELECT release_date FROM table_name_77 WHERE production_num = "6998"
Below is an context that describes a sql 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 (operator VARCHAR, region VARCHAR) ### Question: What is the operator of the ensemble from Yorkshire? ### Answer: SELECT operator FROM table_name_99 WHERE region = "yorkshire"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE trip (id VARCHAR, zip_code VARCHAR); CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER) ### Question: Give me ids for all the trip that took place in a zip code area with average mean temperature above 60. ### Answer: SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code = T2.zip_code GROUP BY T2.zip_code HAVING AVG(T2.mean_temperature_f) > 60
Below is an context that describes a sql 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 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR) ### Question: What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9? ### Answer: SELECT MAX(roll) FROM table_name_49 WHERE years = "1–8" AND name = "dorie school" AND decile > 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_26 (young_classification VARCHAR, sprint_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) ### Question: Which young classification has general classification of Christian Vande Velde for Team Columbia and Mark Cavendish? ### Answer: SELECT young_classification FROM table_name_26 WHERE general_classification = "christian vande velde" AND team_classification = "team columbia" AND sprint_classification = "mark cavendish"
Below is an context that describes a sql 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 (pick INTEGER, position VARCHAR, hometown_school VARCHAR) ### Question: What pick number was the rhp with a hometown/school of university of hawaii? ### Answer: SELECT MIN(pick) FROM table_name_42 WHERE position = "rhp" AND hometown_school = "university of hawaii"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30120556_1 (barony VARCHAR, townland VARCHAR) ### Question: How many barony's appear when Ballyvadona is the townland. ### Answer: SELECT COUNT(barony) FROM table_30120556_1 WHERE townland = "Ballyvadona"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_262527_1 (type VARCHAR, institution VARCHAR) ### Question: what type of institution is ottawa university? ### Answer: SELECT type FROM table_262527_1 WHERE institution = "Ottawa University"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (athlete VARCHAR, time VARCHAR) ### Question: Who had a time of 7:14.64? ### Answer: SELECT athlete FROM table_name_39 WHERE time = "7:14.64"
Below is an context that describes a sql 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 (method VARCHAR, round VARCHAR, time VARCHAR) ### Question: What is the method of the match with 1 round and a time of 1:58? ### Answer: SELECT method FROM table_name_60 WHERE round = 1 AND time = "1:58"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR) ### Question: Find names of all students who took some course and got A or C. ### Answer: SELECT T1.stu_fname, T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE T2.enroll_grade = 'C' OR T2.enroll_grade = 'A'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2273738_1 (type VARCHAR, local_authority VARCHAR) ### Question: Leeds City Council is the local authority for what type of location? ### Answer: SELECT type FROM table_2273738_1 WHERE local_authority = "Leeds city Council"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR) ### Question: What is the Attendance, when the Opponent is the Tampa Bay Buccaneers? ### Answer: SELECT attendance FROM table_name_80 WHERE opponent = "tampa bay buccaneers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20855452_4 (status VARCHAR, new_points VARCHAR) ### Question: What happened when the new points was 1705? ### Answer: SELECT status FROM table_20855452_4 WHERE new_points = 1705
Below is an context that describes a sql 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 (against INTEGER, peel VARCHAR, byes VARCHAR) ### Question: Which Against has a Peel of waroona, and a Byes larger than 0? ### Answer: SELECT MAX(against) FROM table_name_55 WHERE peel = "waroona" AND byes > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR) ### Question: Which team is from Birmingham & Telford? ### Answer: SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford"
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR, afl_team VARCHAR) ### Question: Which player is an offensive tackle for the New York Jets? ### Answer: SELECT player FROM table_name_37 WHERE position = "offensive tackle" AND afl_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_15872814_5 (location_attendance VARCHAR, team VARCHAR) ### Question: What is the location and total attendance for games played against New Orleans? ### Answer: SELECT location_attendance FROM table_15872814_5 WHERE team = "New Orleans"
Below is an context that describes a sql 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 (roman VARCHAR, sound__allophone_ VARCHAR) ### Question: What is the Roman entry for the allophone of [[[|k]]]? ### Answer: SELECT roman FROM table_name_79 WHERE sound__allophone_ = "[[[|k]]]"
Below is an context that describes a sql 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 (date VARCHAR, original_week VARCHAR, result VARCHAR) ### Question: Tell me the date for original week less than 16 and result of l 23–22 ### Answer: SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (date VARCHAR, runner_s__up VARCHAR) ### Question: On what Date was Judy Rankin Runner(s)-up? ### Answer: SELECT date FROM table_name_64 WHERE runner_s__up = "judy rankin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2850912_3 (pick__number INTEGER, player VARCHAR) ### Question: What is Graeme Bonar's lowest pick number? ### Answer: SELECT MIN(pick__number) FROM table_2850912_3 WHERE player = "Graeme Bonar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18425346_2 (city_area_km_2__ INTEGER) ### Question: What is the smallest city area? ### Answer: SELECT MIN(city_area_km_2__) FROM table_18425346_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_22 (bronze INTEGER, silver VARCHAR, total VARCHAR) ### Question: What is the sum of bronzes for teams with more than 0 silver and a total under 1? ### Answer: SELECT SUM(bronze) FROM table_name_22 WHERE silver > 0 AND total < 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR) ### Question: When was the attendance 3686? ### Answer: SELECT date FROM table_name_23 WHERE attendance = 3686
Below is an context that describes a sql 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 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR) ### Question: What rider is on an aprilia that went under 18 laps with a grid total of 17? ### Answer: SELECT rider FROM table_name_14 WHERE manufacturer = "aprilia" AND laps < 18 AND grid = 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_43 (lineup VARCHAR, assist_pass VARCHAR, competition VARCHAR) ### Question: Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying – group stage? ### Answer: SELECT lineup FROM table_name_43 WHERE assist_pass = "carli lloyd" AND competition = "2010 concacaf world cup qualifying – group stage"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1708050_1 (starts VARCHAR, position VARCHAR) ### Question: Name the starts when position is 16th ### Answer: SELECT starts FROM table_1708050_1 WHERE position = "16th"
Below is an context that describes a sql 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 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR) ### Question: Which is the smallest evening gown score when the interview score was more than 9.164, the swimsuit stat was less than 9.35, and the average is less than 9.233? ### Answer: SELECT MIN(evening_gown) FROM table_name_63 WHERE interview > 9.164 AND swimsuit < 9.35 AND average < 9.233
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) ### Question: What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach? ### Answer: SELECT date FROM table_name_68 WHERE outcome = "winner" AND opponent = "an-sophie mestach"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11694832_1 (no_in_series INTEGER, written_by VARCHAR) ### Question: What is the first series number that Adele Lim wrote? ### Answer: SELECT MIN(no_in_series) FROM table_11694832_1 WHERE written_by = "Adele Lim"
Below is an context that describes a sql 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 (result_f___a VARCHAR, league_position VARCHAR, opponents VARCHAR) ### Question: What Result F – A has a League position of 2nd, and Opponents of liverpool? ### Answer: SELECT result_f___a FROM table_name_92 WHERE league_position = "2nd" AND opponents = "liverpool"
Below is an context that describes a sql 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 (attendance VARCHAR, home_team VARCHAR) ### Question: What was the attendance record for Leicester City? ### Answer: SELECT attendance FROM table_name_17 WHERE home_team = "leicester city"
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR) ### Question: Who was the opponent at the Steelers game that had a result of l 20–17? ### Answer: SELECT opponent FROM table_name_46 WHERE result = "l 20–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_96 (chorley INTEGER, pendle VARCHAR, rossendale VARCHAR, party VARCHAR) ### Question: What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1? ### Answer: SELECT AVG(chorley) FROM table_name_96 WHERE rossendale > 0 AND party = "labour" AND pendle < 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_46 (year INTEGER, team VARCHAR) ### Question: Question doesn't make sense since there is no team of pramac d'antin ducati ### Answer: SELECT MIN(year) FROM table_name_46 WHERE team = "pramac d'antin ducati"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28211103_1 (hawthorn_score VARCHAR, year VARCHAR) ### Question: What is the hawthorn score at the year 2000? ### Answer: SELECT hawthorn_score FROM table_28211103_1 WHERE year = 2000
Below is an context that describes a sql 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 (game VARCHAR, team VARCHAR) ### Question: What is the game with the golden state warriors? ### Answer: SELECT game FROM table_name_37 WHERE team = "golden state warriors"
Below is an context that describes a sql 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 (round VARCHAR, behinds VARCHAR) ### Question: What is the Round with 1 Behinds? ### Answer: SELECT round FROM table_name_50 WHERE behinds = 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_11960944_7 (high_points VARCHAR, game VARCHAR) ### Question: How many high points were there in the game 67? ### Answer: SELECT COUNT(high_points) FROM table_11960944_7 WHERE game = 67
Below is an context that describes a sql 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 (report VARCHAR, venue VARCHAR) ### Question: What was the report for the game played at the Hisense Arena? ### Answer: SELECT report FROM table_name_42 WHERE venue = "hisense arena"
Below is an context that describes a sql 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 (game INTEGER, score VARCHAR) ### Question: What is the sum of Game with a Score that is w 104–90 (ot)? ### Answer: SELECT SUM(game) FROM table_name_44 WHERE score = "w 104–90 (ot)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668254_22 (party VARCHAR, candidates VARCHAR) ### Question: What party did candidate george mcduffie (j) represent? ### Answer: SELECT party FROM table_2668254_22 WHERE candidates = "George McDuffie (J)"
Below is an context that describes a sql 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 (tc VARCHAR, wins VARCHAR, races VARCHAR) ### Question: Which T.C. has a Win of 1, and a Race of 21? ### Answer: SELECT tc FROM table_name_40 WHERE wins = 1 AND races = 21
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23546266_1 (victim_s_ VARCHAR, executed_person VARCHAR) ### Question: What's the name of Linroy Bottoson's victim? ### Answer: SELECT victim_s_ FROM table_23546266_1 WHERE executed_person = "Linroy Bottoson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR) ### Question: Show first name and last name for all students. ### Answer: SELECT Fname, Lname FROM Student
Below is an context that describes a sql 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 (points INTEGER, attendance VARCHAR) ### Question: What is the lowest number of points scored when there were 1,500 in attendance? ### Answer: SELECT MIN(points) FROM table_name_50 WHERE attendance = "1,500"
Below is an context that describes a sql 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 (diameter__km_ INTEGER, name VARCHAR, year_named VARCHAR) ### Question: Which Diameter (km) has a Name of alma-merghen planitia, and a Year named smaller than 1997? ### Answer: SELECT MAX(diameter__km_) FROM table_name_4 WHERE name = "alma-merghen planitia" AND year_named < 1997
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30030227_1 (written_by VARCHAR, directed_by VARCHAR) ### Question: How many people wrote the episode directed by Arvin Brown? ### Answer: SELECT COUNT(written_by) FROM table_30030227_1 WHERE directed_by = "Arvin Brown"
Below is an context that describes a sql 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 (tournament VARCHAR) ### Question: Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A? ### Answer: SELECT tournament FROM table_name_75 WHERE 1996 = "a" AND 1998 = "a" AND 1994 = "rr"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2516282_3 (outcome VARCHAR, opponents VARCHAR) ### Question: When the opponent was Yan Zi Jie Zheng, what was the outcome? ### Answer: SELECT outcome FROM table_2516282_3 WHERE opponents = "Yan Zi Jie Zheng"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23284271_10 (date VARCHAR, team VARCHAR) ### Question: Which date is the team @ la clippers? ### Answer: SELECT date FROM table_23284271_10 WHERE team = "@ LA Clippers"
Below is an context that describes a sql 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 (weekly_rank___number_ VARCHAR, share VARCHAR, viewers__m_ VARCHAR) ### Question: What is the weekly rank for a share of 9 and 9.42 million viewers? ### Answer: SELECT weekly_rank___number_ FROM table_name_53 WHERE share = 9 AND viewers__m_ = 9.42
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR) ### Question: What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team? ### Answer: SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = "#56 Blue Thunder Racing" AND gto_winning_team = "#38 Mandeville Auto Tech"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11964154_11 (record VARCHAR, high_rebounds VARCHAR) ### Question: What was the record when the high rebounds was from Nick Collison (11)? ### Answer: SELECT record FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (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_2668336_17 (district VARCHAR, first_elected VARCHAR) ### Question: First elected in 1807 1817 in what district? ### Answer: SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (podiums VARCHAR, points VARCHAR, wins VARCHAR, fl VARCHAR) ### Question: What is the number of podiums with 0 wins, 0 F.L. and 35 points? ### Answer: SELECT podiums FROM table_name_87 WHERE wins = "0" AND fl = "0" AND points = "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_name_77 (pick__number INTEGER, overall VARCHAR) ### Question: What was the lowest pick number with an overall 86? ### Answer: SELECT MIN(pick__number) FROM table_name_77 WHERE overall = 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_78 (team_2 VARCHAR) ### Question: What 1st leg has 11 oktomvri as team 2? ### Answer: SELECT 1 AS st_leg FROM table_name_78 WHERE team_2 = "11 oktomvri"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21312959_1 (written_by VARCHAR, no_in_series VARCHAR) ### Question: Who are the writers for the episode number in series 129? ### Answer: SELECT written_by FROM table_21312959_1 WHERE no_in_series = 129
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (notes VARCHAR, time VARCHAR) ### Question: What is the notes entry for the row with a Time of 1:42.309? ### Answer: SELECT notes FROM table_name_33 WHERE time = "1:42.309"
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the Mariners game when they had a record of 22-35? ### Answer: SELECT loss FROM table_name_96 WHERE record = "22-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_name_64 (record VARCHAR, date VARCHAR) ### Question: Name the record for may 31 ### Answer: SELECT record FROM table_name_64 WHERE date = "may 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_28365816_2 (conference VARCHAR, regular_season_winner VARCHAR) ### Question: How many entries for conference tournament are listed when Texas Western is the regular season winner? ### Answer: SELECT COUNT(conference) AS Tournament FROM table_28365816_2 WHERE regular_season_winner = "Texas Western"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR) ### Question: What is the home team's score when south melbourne is away? ### Answer: SELECT home_team AS score FROM table_name_23 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_24431264_18 (points INTEGER, player VARCHAR) ### Question: List the total number of defensive points for radek štěpánek? ### Answer: SELECT MIN(points) AS defending FROM table_24431264_18 WHERE player = "Radek Štěpánek"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR) ### Question: What was the opponent on August 29? ### Answer: SELECT opponent FROM table_name_57 WHERE date = "august 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_32 (democratic_ticket VARCHAR, workers_ticket VARCHAR) ### Question: What is the name on the Democratic ticket when the Workers ticket is james p. cannon? ### Answer: SELECT democratic_ticket FROM table_name_32 WHERE workers_ticket = "james p. cannon"
Below is an context that describes a sql 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 (city VARCHAR, results¹ VARCHAR) ### Question: what city scored 0:0 ### Answer: SELECT city FROM table_name_78 WHERE results¹ = "0: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_46 (home_team VARCHAR, venue VARCHAR) ### Question: Which home team plays at victoria park? ### Answer: SELECT home_team FROM table_name_46 WHERE venue = "victoria park"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (height__cm_ INTEGER, birthplace VARCHAR) ### Question: Which Height (cm) has a Birthplace of bloomfield hills, michigan? ### Answer: SELECT AVG(height__cm_) FROM table_name_52 WHERE birthplace = "bloomfield hills, michigan"
Below is an context that describes a sql 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 (party VARCHAR, residence VARCHAR) ### Question: Which Party has a Residence of san diego? ### Answer: SELECT party FROM table_name_23 WHERE residence = "san diego"
Below is an context that describes a sql 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 (builder VARCHAR, works_number VARCHAR) ### Question: Who was the Builder for the locomotive that has a works number of 323? ### Answer: SELECT builder FROM table_name_92 WHERE works_number = "323"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1676073_13 (lost VARCHAR, club VARCHAR) ### Question: How many losses does Cross Keys RFC have? ### Answer: SELECT COUNT(lost) FROM table_1676073_13 WHERE club = "Cross Keys RFC"
Below is an context that describes a sql 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 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR) ### Question: Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7? ### Answer: SELECT MIN(apps) FROM table_name_29 WHERE club = "barcelona" AND season = "1996/97" AND rank < 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_76 (score VARCHAR, date VARCHAR) ### Question: What is the Score on 11 march 2001? ### Answer: SELECT score FROM table_name_76 WHERE date = "11 march 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_name_99 (score VARCHAR, loss VARCHAR) ### Question: What was the score of the game that had a loss of Drese (2-2)? ### Answer: SELECT score FROM table_name_99 WHERE loss = "drese (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_39 (lost INTEGER, goals_for INTEGER) ### Question: What was the lowest lost entry for a team with fewer than 21 goals for? ### Answer: SELECT MIN(lost) FROM table_name_39 WHERE goals_for < 21
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE invoices (billing_city VARCHAR, billing_state VARCHAR) ### Question: List the number of invoices from Chicago, IL. ### Answer: SELECT COUNT(*) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24195232_1 (affiliation VARCHAR, institution VARCHAR) ### Question: What is the affiliation when the institution was ohio christian university? ### Answer: SELECT affiliation FROM table_24195232_1 WHERE institution = "Ohio Christian University"
Below is an context that describes a sql 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 (time VARCHAR, athlete VARCHAR, year VARCHAR, place VARCHAR) ### Question: Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya? ### Answer: SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya"
Below is an context that describes a sql 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 (opponents VARCHAR, attendance VARCHAR, h___a VARCHAR, result_f___a VARCHAR) ### Question: Which Opponent has a H / A of a, and a Result F – A of 2 – 0, and a Attendance larger than 30,000? ### Answer: SELECT opponents FROM table_name_50 WHERE h___a = "a" AND result_f___a = "2 – 0" AND attendance > 30 OFFSET 000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_47 (elite_eight VARCHAR, conference VARCHAR) ### Question: How many teams from the Atlantic 10 conference made it to the Elite Eight? ### Answer: SELECT elite_eight FROM table_name_47 WHERE conference = "atlantic 10"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team when the venue was Lake Oval? ### Answer: SELECT away_team FROM table_name_30 WHERE venue = "lake oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (decision VARCHAR, date VARCHAR) ### Question: WHAT IS THE DECISION FOR NOVEMBER 28? ### Answer: SELECT decision FROM table_name_10 WHERE date = "november 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_83 (week INTEGER, result VARCHAR) ### Question: What was the latest week with a result of l 14-3? ### Answer: SELECT MAX(week) FROM table_name_83 WHERE result = "l 14-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_59 (purpose VARCHAR, freq_currently VARCHAR) ### Question: What is the Purpose of the Callsign with a Freq currently of 4gld? ### Answer: SELECT purpose FROM table_name_59 WHERE freq_currently = "4gld"
Below is an context that describes a sql 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 (third VARCHAR, lead VARCHAR) ### Question: WHAT IS THE THIRD WITH LEAD CINDY SIMMONS? ### Answer: SELECT third FROM table_name_76 WHERE lead = "cindy simmons"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_nord VARCHAR) ### Question: what's the season with regionalliga nord being vfb oldenburg ### Answer: SELECT season FROM table_14242137_11 WHERE regionalliga_nord = "VfB Oldenburg"
Below is an context that describes a sql 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 (league_goals INTEGER, fa_cup_goals INTEGER) ### Question: What is the average number of League Goals for palyers with 0 FA Cup Goals? ### Answer: SELECT AVG(league_goals) FROM table_name_26 WHERE fa_cup_goals < 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 poker_player (People_ID VARCHAR, Earnings VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) ### Question: What are the names of poker players in descending order of earnings? ### Answer: SELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Earnings DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (ranking VARCHAR, nationality VARCHAR, goals VARCHAR) ### Question: What ranking has the nationality of spain and the goals of 26? ### Answer: SELECT ranking FROM table_name_95 WHERE nationality = "spain" AND goals = 26
Below is an context that describes a sql 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 (against INTEGER, byes INTEGER) ### Question: Which against has the lowest when byes are larger than 0? ### Answer: SELECT MIN(against) FROM table_name_99 WHERE byes > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR) ### Question: What is listed as the Away team for the Home team of the Bristol Rovers? ### Answer: SELECT away_team FROM table_name_8 WHERE home_team = "bristol rovers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, area_coordinator VARCHAR) ### Question: How many Barangays lived in the municipality with area coordinator of 110.95? ### Answer: SELECT no_of_barangays FROM table_2402209_1 WHERE area_coordinator = "110.95"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (qual_1 VARCHAR, name VARCHAR) ### Question: What did Alex Tagliani get for Qual 1? ### Answer: SELECT qual_1 FROM table_name_93 WHERE name = "alex tagliani"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11703336_1 (cpu VARCHAR, ram VARCHAR, display_size VARCHAR) ### Question: what is the cpu for the calculator with 28 kb of ram and display size 128×64 pixels 21×8 characters? ### Answer: SELECT cpu FROM table_11703336_1 WHERE ram = "28 KB of ram" AND display_size = "128×64 pixels 21×8 characters"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR) ### Question: What is the adjusted GDP per capita when the population is 37.376 million? ### Answer: SELECT gdp_per_capita_adjusted__$_ FROM table_1610496_3 WHERE population__millions_ = "37.376"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR) ### Question: Which orchestra has a recording year of 1951? ### Answer: SELECT orchestra FROM table_222198_1 WHERE year_of_recording = 1951