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_14624447_33 (number INTEGER, name VARCHAR) ### Question: What was Trevard Lindley's number? ### Answer: SELECT MAX(number) FROM table_14624447_33 WHERE name = "Trevard Lindley"
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What is Record, when Date is "April 24"? ### Answer: SELECT record FROM table_name_16 WHERE date = "april 24"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (crowd INTEGER, away_team VARCHAR) ### Question: What was the lowest amount of people to turn out at a game with the away team as collingwood? ### Answer: SELECT MIN(crowd) FROM table_name_93 WHERE away_team = "collingwood"
Below is an context that describes a sql 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 (position VARCHAR, pick VARCHAR, round VARCHAR) ### Question: What is position of the player with a pick number greater than 315 and a round of 30? ### Answer: SELECT position FROM table_name_51 WHERE pick > 315 AND round = 30
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR) ### Question: What is the percentage for Russian? ### Answer: SELECT percentage___percentage_ FROM table_name_90 WHERE language = "russian"
Below is an context that describes a sql 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 (engine VARCHAR, chassis VARCHAR, rank VARCHAR) ### Question: What engine was used by the teams that used a Lola b02/00 chassis and ranked 1st? ### Answer: SELECT engine FROM table_name_45 WHERE chassis = "lola b02/00" AND rank = "1st"
Below is an context that describes a sql 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 (total VARCHAR, country VARCHAR) ### Question: What was England's total? ### Answer: SELECT total FROM table_name_75 WHERE country = "england"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (laps VARCHAR, year VARCHAR) ### Question: Name the total number of Laps for year of 1961 ### Answer: SELECT COUNT(laps) FROM table_name_48 WHERE year = "1961"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29458735_5 (county VARCHAR, division VARCHAR, regiment VARCHAR) ### Question: what is he name of the county where the 2nd division and the 41st regiment was ### Answer: SELECT county FROM table_29458735_5 WHERE division = "2nd division" AND regiment = "41st regiment"
Below is an context that describes a sql 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 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR) ### Question: What's the duration of the Archers with Norman Painting as an actor? ### Answer: SELECT duration FROM table_name_98 WHERE soap_opera = "the archers" AND actor = "norman painting"
Below is an context that describes a sql 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 (erp_w INTEGER, call_sign VARCHAR) ### Question: How many ERP W is it that has a Call sign of w273bs? ### Answer: SELECT SUM(erp_w) FROM table_name_40 WHERE call_sign = "w273bs"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Birth_Date VARCHAR, Birth_Place VARCHAR, People_ID VARCHAR) ### Question: What are the birth date and birth place of the body builder with the highest total points? ### Answer: SELECT T2.Birth_Date, T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total 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_58 (score VARCHAR, date VARCHAR) ### Question: What was the score on september 28? ### Answer: SELECT score FROM table_name_58 WHERE date = "september 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_18676973_3 (different_holders INTEGER, jerseys VARCHAR) ### Question: When 155 is the jersey what is the highest amount of different holders? ### Answer: SELECT MAX(different_holders) FROM table_18676973_3 WHERE jerseys = 155
Below is an context that describes a sql 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 (company VARCHAR, country VARCHAR, author VARCHAR) ### Question: What is the company from Greece with author Aeschylus? ### Answer: SELECT company FROM table_name_45 WHERE country = "greece" AND author = "aeschylus"
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR) ### Question: What is the score when the record is 5-4-1? ### Answer: SELECT score FROM table_name_52 WHERE record = "5-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_56 (player VARCHAR, conf VARCHAR, pos VARCHAR) ### Question: Which player had a conference of PAC-10 and position of G? ### Answer: SELECT player FROM table_name_56 WHERE conf = "pac-10" AND pos = "g"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13940275_5 (try_bonus VARCHAR, club VARCHAR) ### Question: what's the try bonus with club being abercwmboi rfc ### Answer: SELECT try_bonus FROM table_13940275_5 WHERE club = "Abercwmboi 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_3 (episode_title VARCHAR, prod_code VARCHAR) ### Question: What was the title of the episode with a production code of 1gowo04? ### Answer: SELECT episode_title FROM table_name_3 WHERE prod_code = "1gowo04"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28540428_3 (event_3_deadlift VARCHAR, name VARCHAR) ### Question: Name the event 3 deadlift for hennie jordan ### Answer: SELECT event_3_deadlift FROM table_28540428_3 WHERE name = "Hennie Jordan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE department (dept_name VARCHAR, budget VARCHAR); CREATE TABLE instructor (salary INTEGER, dept_name VARCHAR) ### Question: Find the number and averaged salary of all instructors who are in the department with the highest budget. ### Answer: SELECT AVG(T1.salary), COUNT(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget 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_2562572_9 (type VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: What type of settlement is футог? ### Answer: SELECT type FROM table_2562572_9 WHERE cyrillic_name_other_names = "Футог"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (points_for VARCHAR, tries_against VARCHAR) ### Question: What is the Points for number of the team with a 10 Tries against number? ### Answer: SELECT points_for FROM table_name_44 WHERE tries_against = "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_9 (east VARCHAR, south VARCHAR) ### Question: Who was in the East when TUS Geretsried II was in the South? ### Answer: SELECT east FROM table_name_9 WHERE south = "tus geretsried ii"
Below is an context that describes a sql 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 (location VARCHAR, mascot VARCHAR) ### Question: Can you tell me the Location that has the Mascot of lakers? ### Answer: SELECT location FROM table_name_69 WHERE mascot = "lakers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE building (Id VARCHAR) ### Question: How many buildings are there? ### Answer: SELECT COUNT(*) FROM building
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19763199_4 (televotes VARCHAR, jury_votes VARCHAR) ### Question: How many televotes are there where there is 4 jury votes? ### Answer: SELECT televotes FROM table_19763199_4 WHERE jury_votes = 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_83 (round INTEGER, date VARCHAR, location VARCHAR, method VARCHAR) ### Question: Which Round has a Location of auckland, new zealand, and a Method of tko on 1994-11-24? ### Answer: SELECT AVG(round) FROM table_name_83 WHERE location = "auckland, new zealand" AND method = "tko" AND date = "1994-11-24"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (top_25 INTEGER, top_10 INTEGER) ### Question: What is the average number of top-25s for events with less than 2 top-10s? ### Answer: SELECT AVG(top_25) FROM table_name_93 WHERE top_10 < 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_13 (round INTEGER, name VARCHAR) ### Question: What is the round for bob randall? ### Answer: SELECT AVG(round) FROM table_name_13 WHERE name = "bob randall"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16729930_11 (frequency VARCHAR, part_number_s_ VARCHAR) ### Question: Name the frequency for part number of ac80566ue041dw ### Answer: SELECT frequency FROM table_16729930_11 WHERE part_number_s_ = "AC80566UE041DW"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR) ### Question: When 55 is the tries for what is the lost? ### Answer: SELECT lost FROM table_17941032_1 WHERE tries_for = "55"
Below is an context that describes a sql 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 (airport VARCHAR, icao VARCHAR) ### Question: What Airport's ICAO is ENTO? ### Answer: SELECT airport FROM table_name_23 WHERE icao = "ento"
Below is an context that describes a sql 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 (position VARCHAR, competition VARCHAR, year VARCHAR) ### Question: Which position was the World Indoor Championships in a year later than 2008? ### Answer: SELECT position FROM table_name_64 WHERE competition = "world indoor championships" AND year > 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_name_6 (model VARCHAR, number_of_cpus VARCHAR, performance__mips_ VARCHAR) ### Question: Which Model has a Number of CPUs of 1–10, and a Performance (MIPS) of 49–447? ### Answer: SELECT model FROM table_name_6 WHERE number_of_cpus = "1–10" AND performance__mips_ = "49–447"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23819979_3 (final_place VARCHAR, last_match VARCHAR) ### Question: Name the final place for july 25, 2009 ### Answer: SELECT final_place FROM table_23819979_3 WHERE last_match = "July 25, 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_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR, m_v_ft_s VARCHAR) ### Question: What is the average maximum height of a shell that travels for more than 16.3 seconds at 55° and has a maximum velocity of 2200 ft/s? ### Answer: SELECT AVG(max_height__ft_) FROM table_name_19 WHERE time_to_ft__m__at_55°__seconds_ > 16.3 AND m_v_ft_s = 2200
Below is an context that describes a sql 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 (opponent VARCHAR, points VARCHAR, attendance VARCHAR) ### Question: What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points? ### Answer: SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342149_42 (party VARCHAR, candidates VARCHAR) ### Question: How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%? ### Answer: SELECT COUNT(party) FROM table_1342149_42 WHERE candidates = "Howard Baker, Sr. (R) 68.9% Boyd W. Cox (D) 31.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 Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR) ### Question: What are the id and zip code of the address with the highest monthly rental? ### Answer: SELECT T2.address_id, T1.zip_postcode FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id ORDER BY monthly_rental 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_46 (venue VARCHAR, date VARCHAR) ### Question: What Venue has a Date of 17/03/1990? ### Answer: SELECT venue FROM table_name_46 WHERE date = "17/03/1990"
Below is an context that describes a sql 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 (d_45_√ VARCHAR, d_46_√ VARCHAR) ### Question: What is the D 45 √ with a D 46 √ with d 46 √? ### Answer: SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"
Below is an context that describes a sql 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 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR) ### Question: Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)? ### Answer: SELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = "13 february 1987 (aged 24)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR) ### Question: Who finished 3rd in Oslo? ### Answer: SELECT third FROM table_name_74 WHERE venue = "oslo"
Below is an context that describes a sql 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 (country VARCHAR, year VARCHAR) ### Question: What was the country in the year 2012? ### Answer: SELECT country FROM table_name_69 WHERE year = 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_15532342_2 (swimsuit VARCHAR, state VARCHAR) ### Question: Name the swimsuit for arizona ### Answer: SELECT swimsuit FROM table_15532342_2 WHERE state = "Arizona"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23292220_7 (episode VARCHAR, seans_team VARCHAR) ### Question: Name the episode for vic reeves and claudia winkleman ### Answer: SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman"
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR) ### Question: Name the result with week of 16 ### Answer: SELECT result FROM table_name_72 WHERE week = "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_76 (qual_1 VARCHAR, qual_2 VARCHAR) ### Question: Which Qual 1 has a Qual 2 of 59.822? ### Answer: SELECT qual_1 FROM table_name_76 WHERE qual_2 = "59.822"
Below is an context that describes a sql 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 (laps INTEGER, team VARCHAR, points VARCHAR) ### Question: Name the sum of laps for mi-jack conquest racing and points less than 11 ### Answer: SELECT SUM(laps) FROM table_name_19 WHERE team = "mi-jack conquest racing" AND points < 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_1342249_13 (first_elected VARCHAR, incumbent VARCHAR) ### Question: In what year was Leo E. Allen first elected? ### Answer: SELECT first_elected FROM table_1342249_13 WHERE incumbent = "Leo E. Allen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13857501_1 (year INTEGER, womens_singles VARCHAR) ### Question: Beata syta is the minimum year for womens singles. ### Answer: SELECT MIN(year) FROM table_13857501_1 WHERE womens_singles = "Beata Syta"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342379_41 (result VARCHAR, candidates VARCHAR) ### Question: How many times was the election joseph w. byrns, sr. (d) unopposed? ### Answer: SELECT COUNT(result) FROM table_1342379_41 WHERE candidates = "Joseph W. Byrns, Sr. (D) Unopposed"
Below is an context that describes a sql 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 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR) ### Question: How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smaller than 1? ### Answer: SELECT COUNT(gold) FROM table_name_26 WHERE silver < 3 AND total = 9 AND bronze < 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_22 (played INTEGER, team VARCHAR, lost VARCHAR, drawn VARCHAR) ### Question: How much Played has a Lost larger than 14, and Drawn of 8, and a Team of ipatinga? ### Answer: SELECT SUM(played) FROM table_name_22 WHERE lost > 14 AND drawn = 8 AND team = "ipatinga"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, type_of_ship VARCHAR) ### Question: what are all the date withdrawn for twin screw ro-ro motorship ### Answer: SELECT date_withdrawn FROM table_11662133_3 WHERE type_of_ship = "Twin Screw Ro-Ro Motorship"
Below is an context that describes a sql 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 (november VARCHAR, game VARCHAR, opponent VARCHAR) ### Question: How many Novembers have a Game larger than 14, and an Opponent of minnesota wild? ### Answer: SELECT COUNT(november) FROM table_name_50 WHERE game > 14 AND opponent = "minnesota wild"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24781886_2 (_number INTEGER, viewers VARCHAR) ### Question: When 7.55 is the amount of viewers what is the lowest number? ### Answer: SELECT MIN(_number) FROM table_24781886_2 WHERE viewers = "7.55"
Below is an context that describes a sql 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 (total VARCHAR, nation VARCHAR, rank VARCHAR) ### Question: Tell me the total number for costa rica and rank more than 8 ### Answer: SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 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_47 (assembled VARCHAR, elected VARCHAR) ### Question: What is the assembled date of the parliament elected in 1620/21? ### Answer: SELECT assembled FROM table_name_47 WHERE elected = "1620/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_15472061_1 (original_air_date VARCHAR, no_in_season VARCHAR) ### Question: Name the number of original air date for when the number in season is 10/11 ### Answer: SELECT COUNT(original_air_date) FROM table_15472061_1 WHERE no_in_season = "10/11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (total_area VARCHAR, in_state_area VARCHAR) ### Question: With an in-state area of 053 1,654km 2 639mi 2, what is the total area? ### Answer: SELECT total_area FROM table_name_7 WHERE in_state_area = "053 1,654km 2 639mi 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_21 (score VARCHAR, year VARCHAR) ### Question: What score did the year 1948 have? ### Answer: SELECT score FROM table_name_21 WHERE year = "1948"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE GENRE (Name VARCHAR, GenreId VARCHAR); CREATE TABLE TRACK (GenreId VARCHAR) ### Question: What is the name of the most common genre in all tracks? ### Answer: SELECT T1.Name FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId GROUP BY T2.GenreId 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_27893892_2 (attendance INTEGER, date VARCHAR) ### Question: what was the participation for saturday, may 12 ### Answer: SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 12"
Below is an context that describes a sql 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 (league VARCHAR, playoffs VARCHAR, record VARCHAR) ### Question: Playoffs of league champs, and a Record of 77-63 is in what league? ### Answer: SELECT league FROM table_name_63 WHERE playoffs = "league champs" AND record = "77-63"
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR, points VARCHAR) ### Question: What was the rank for karen frohner with under 1266 points? ### Answer: SELECT AVG(rank) FROM table_name_81 WHERE name = "karen frohner" AND points < 1266
Below is an context that describes a sql 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 (chassis VARCHAR, year VARCHAR, points VARCHAR) ### Question: Which chassis has more than 0 points and was before 1966? ### Answer: SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 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_88 (year VARCHAR, result VARCHAR, category VARCHAR) ### Question: Which Year has a nominated outstanding actor in a musical? ### Answer: SELECT year FROM table_name_88 WHERE result = "nominated" AND category = "outstanding actor in a musical"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22410780_1 (male_rep VARCHAR, artistic_director VARCHAR) ### Question: Who was the male rep. when Caroline Rhoads was the artistic director? ### Answer: SELECT male_rep FROM table_22410780_1 WHERE artistic_director = "Caroline Rhoads"
Below is an context that describes a sql 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 (wins INTEGER, losses VARCHAR) ### Question: What is the wins average when 17 games were lost? ### Answer: SELECT AVG(wins) FROM table_name_83 WHERE losses = 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_97 (race_winner VARCHAR, fastest_lap VARCHAR, date VARCHAR) ### Question: Who won with the fastest lap of daijiro hiura on March 29? ### Answer: SELECT race_winner FROM table_name_97 WHERE fastest_lap = "daijiro hiura" AND date = "march 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_10321124_1 (salmonella VARCHAR, escherichia VARCHAR) ### Question: what's the salmonella with escherichia being sepb (escn) ### Answer: SELECT salmonella FROM table_10321124_1 WHERE escherichia = "SepB (EscN)"
Below is an context that describes a sql 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, opponent VARCHAR, venue VARCHAR) ### Question: When was Leyton Orient an away team? ### Answer: SELECT date FROM table_name_68 WHERE opponent = "leyton orient" AND venue = "away"
Below is an context that describes a sql 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 (pavilion_depth VARCHAR, crown_angle VARCHAR) ### Question: Which Pavilion depth has a Crown angle of 34.0–34.7°? ### Answer: SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = "34.0–34.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_54 (points VARCHAR, wins VARCHAR, losses VARCHAR) ### Question: How many points has more than 15 wins and less than 10 losses? ### Answer: SELECT points FROM table_name_54 WHERE wins > 15 AND losses < 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_71 (Id VARCHAR) ### Question: What is the 1957 number when the 1955 is smaller than 0.63, and 1952 is larger than 0.22? ### Answer: SELECT COUNT(1957) FROM table_name_71 WHERE 1955 < 0.63 AND 1952 > 0.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_12444503_1 (season VARCHAR, runner_up VARCHAR) ### Question: In which season was Jeanne d'Arc (Bamako) the runner-up? ### Answer: SELECT season FROM table_12444503_1 WHERE runner_up = "Jeanne d'Arc (Bamako)"
Below is an context that describes a sql 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 (venue VARCHAR, competition VARCHAR) ### Question: What's the venue of the 1995 Southeast Asian Games? ### Answer: SELECT venue FROM table_name_97 WHERE competition = "1995 southeast asian games"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26240046_1 (first_appearance VARCHAR, played_by VARCHAR) ### Question: What is the first appearance of the character played by Obdul Reid? ### Answer: SELECT first_appearance FROM table_26240046_1 WHERE played_by = "Obdul Reid"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2446333_2 (circuit VARCHAR, country VARCHAR) ### Question: Name the circuit for united arab emirates ### Answer: SELECT circuit FROM table_2446333_2 WHERE country = "United Arab Emirates"
Below is an context that describes a sql 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 (august VARCHAR, october VARCHAR) ### Question: Who is the August playmate with the October playmate Shannon Long? ### Answer: SELECT august FROM table_name_51 WHERE october = "shannon long"
Below is an context that describes a sql 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 (locomotive VARCHAR, operator VARCHAR, entered_service VARCHAR) ### Question: Which Locomotive Entered Service in November 1984 and has an Operator of Southern Shorthaul Railroad? ### Answer: SELECT locomotive FROM table_name_59 WHERE operator = "southern shorthaul railroad" AND entered_service = "november 1984"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (overall VARCHAR, round INTEGER) ### Question: What total number of Overalls has a round that was smaller than 1? ### Answer: SELECT COUNT(overall) FROM table_name_86 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_85 (perpetrator VARCHAR, location VARCHAR) ### Question: Who went on a rampage in Baghdad? ### Answer: SELECT perpetrator FROM table_name_85 WHERE location = "baghdad"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23285805_4 (team VARCHAR, record VARCHAR) ### Question: If the record is 5-8, what is the team name? ### Answer: SELECT team FROM table_23285805_4 WHERE record = "5-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_22297140_3 (manner_of_departure VARCHAR, team VARCHAR) ### Question: What was the manner of leaving the team for the manager of Gostaresh Foolad? ### Answer: SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad"
Below is an context that describes a sql 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 (score VARCHAR, country VARCHAR) ### Question: What score has south africa as the country? ### Answer: SELECT score FROM table_name_92 WHERE country = "south africa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (chassis VARCHAR, season VARCHAR) ### Question: What was the winning car's chassis for the 1982 season? ### Answer: SELECT chassis FROM table_name_48 WHERE season = "1982"
Below is an context that describes 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 (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR) ### Question: display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara. ### Answer: SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara") AND first_name <> "Clara"
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR) ### Question: What home team plays at victoria park? ### Answer: SELECT home_team FROM table_name_4 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_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR) ### Question: What Ranking has Gold less than 20 and the Event 1976 Toronto? ### Answer: SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (roll INTEGER, name VARCHAR) ### Question: tell me the average roll for pirinoa school. ### Answer: SELECT AVG(roll) FROM table_name_83 WHERE name = "pirinoa 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_44 (events VARCHAR, top_25 INTEGER) ### Question: What is the total number of events with a top-25 less than 0? ### Answer: SELECT COUNT(events) FROM table_name_44 WHERE top_25 < 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_68 (engine VARCHAR, year VARCHAR, points VARCHAR) ### Question: what was the engine used before 1996 with 5 points? ### Answer: SELECT engine FROM table_name_68 WHERE year < 1996 AND points = 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_1924975_1 (q1_pos INTEGER, q1_time VARCHAR) ### Question: When the q1 time is 1:16.218 what is the highest q1 pos? ### Answer: SELECT MAX(q1_pos) FROM table_1924975_1 WHERE q1_time = "1:16.218"
Below is an context that describes a sql 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 (location VARCHAR, year VARCHAR, result VARCHAR) ### Question: what is the location when the year is before 1979 and the result is 19-17? ### Answer: SELECT location FROM table_name_68 WHERE year < 1979 AND result = "19-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_52 (series__number INTEGER, original_air_date VARCHAR) ### Question: What series # had an original air date of november 30, 1996? ### Answer: SELECT MIN(series__number) FROM table_name_52 WHERE original_air_date = "november 30, 1996"
Below is an context that describes a sql 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 (date VARCHAR, promotor VARCHAR, opponent VARCHAR) ### Question: Which date has the promoter Frank Moloney and the opponent Georgi Iliev? ### Answer: SELECT date FROM table_name_82 WHERE promotor = "frank moloney" AND opponent = "georgi iliev"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23285849_10 (game VARCHAR, team VARCHAR) ### Question: When the clippers are the team how many games are there? ### Answer: SELECT COUNT(game) FROM table_23285849_10 WHERE team = "Clippers"