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_52 (pommel_horse VARCHAR, vault VARCHAR, total VARCHAR, team VARCHAR) ### Question: How many pommel horses have a Total smaller than 230.019, a Team of china (chn), and a Vault smaller than 38.437? ### Answer: SELECT COUNT(pommel_horse) FROM table_name_52 WHERE total < 230.019 AND team = "china (chn)" AND vault < 38.437
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24463470_1 (conditions VARCHAR, circuit VARCHAR) ### Question: What are the conditions for the athens circuit? ### Answer: SELECT conditions FROM table_24463470_1 WHERE circuit = "Athens"
Below is an context that describes a sql 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 (winning_score VARCHAR, date VARCHAR) ### Question: What is Winning Score, when Date is Jul 27, 1997? ### Answer: SELECT winning_score FROM table_name_53 WHERE date = "jul 27, 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_15926991_1 (winner_2nd VARCHAR, time VARCHAR) ### Question: Which horse won with a time of 1:35.98 and what was their position? ### Answer: SELECT winner_2nd FROM table_15926991_1 WHERE time = "1:35.98"
Below is an context that describes a sql 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, venue VARCHAR) ### Question: When did the venue of round 3 happen? ### Answer: SELECT date FROM table_name_23 WHERE venue = "round 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_17625749_3 (drawn VARCHAR, lost VARCHAR) ### Question: How many were drawn when 13 were lost? ### Answer: SELECT drawn FROM table_17625749_3 WHERE lost = "13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (streak VARCHAR, heat_points VARCHAR, game VARCHAR) ### Question: What is Streak, when Heat Points is "101", and when Game is "16"? ### Answer: SELECT streak FROM table_name_12 WHERE heat_points = 101 AND game = 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_2 (authority VARCHAR, name VARCHAR) ### Question: Is Upper valley middle school public or private? ### Answer: SELECT authority FROM table_name_2 WHERE name = "upper valley middle 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_32 (college VARCHAR, player VARCHAR) ### Question: Tell me the college that paul davis went to ### Answer: SELECT college FROM table_name_32 WHERE player = "paul davis"
Below is an context that describes a sql 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 (opponents VARCHAR, partner VARCHAR) ### Question: Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel? ### Answer: SELECT opponents FROM table_name_81 WHERE partner = "michelle strebel"
Below is an context that describes a sql 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 (record_company VARCHAR, year_of_recording VARCHAR, format VARCHAR) ### Question: What record company released a CD in 1964? ### Answer: SELECT record_company FROM table_name_48 WHERE year_of_recording = 1964 AND format = "cd"
Below is an context that describes a sql 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 (singapore_gross VARCHAR, director VARCHAR) ### Question: For the directed by 1991, what was the gross in Singapore? ### Answer: SELECT singapore_gross FROM table_name_66 WHERE director = "1991"
Below is an context that describes a sql 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 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR) ### Question: Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)? ### Answer: SELECT MAX(clock_rate__mhz_) FROM table_name_75 WHERE bandwidth__mb_s_ < 4800 AND bus_width__bits_ < 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_1855841_1 (running_with__in_team_ VARCHAR, candidate VARCHAR) ### Question: Name the running with for elizabeth falco ### Answer: SELECT running_with__in_team_ FROM table_1855841_1 WHERE candidate = "Elizabeth Falco"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, rating INTEGER); CREATE TABLE song (artist_name VARCHAR, country VARCHAR, rating INTEGER) ### Question: Find the names of the artists who are from Bangladesh and have never received rating higher than 7. ### Answer: SELECT DISTINCT artist_name FROM artist WHERE country = "Bangladesh" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 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_78 (first_leg VARCHAR, round VARCHAR) ### Question: What was the first leg of the semi-final? ### Answer: SELECT first_leg FROM table_name_78 WHERE round = "semi-final"
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: On which date did the Indians have a record of 67-58 ### Answer: SELECT date FROM table_name_92 WHERE record = "67-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 table_name_33 (team__number1 VARCHAR) ### Question: Which 1st leg has a Team #1 of ummc ekaterinburg? ### Answer: SELECT 1 AS st_leg FROM table_name_33 WHERE team__number1 = "ummc ekaterinburg"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21573750_2 (general_classification VARCHAR, stage VARCHAR) ### Question: When 4 is the stage who is the general classification? ### Answer: SELECT general_classification FROM table_21573750_2 WHERE stage = 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_44 (margin_of_victory VARCHAR, tournament VARCHAR) ### Question: What was the margin of victory at the Texas International Open? ### Answer: SELECT margin_of_victory FROM table_name_44 WHERE tournament = "texas international open"
Below is an context that describes a sql 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 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) ### Question: Which Spanish voice actor does the same character as French voice actor Véronique Desmadryl? ### Answer: SELECT spanish_voice_actor FROM table_name_4 WHERE french_voice_actor = "véronique desmadryl"
Below is an context that describes a sql 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 (year INTEGER, chassis VARCHAR) ### Question: What is the year with a kurtis kraft 500a chassis? ### Answer: SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a"
Below is an context that describes a sql 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 (province VARCHAR, rank INTEGER) ### Question: Name the province with rank more than 49 ### Answer: SELECT province FROM table_name_6 WHERE rank > 49
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR) ### Question: What is the location of Classification of T12? ### Answer: SELECT location FROM table_name_96 WHERE classification = "t12"
Below is an context that describes a sql 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 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) ### Question: What was the manner of departure for the outgoing manager, giuseppe iachini? ### Answer: SELECT manner_of_departure FROM table_name_77 WHERE outgoing_manager = "giuseppe iachini"
Below is an context that describes a sql 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 (competition VARCHAR, date VARCHAR) ### Question: Which match was played on April 2, 2006? ### Answer: SELECT competition FROM table_name_78 WHERE date = "april 2, 2006"
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR) ### Question: Name the score with record of 68-66 ### Answer: SELECT score FROM table_name_69 WHERE record = "68-66"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24222929_4 (episode_number_production_number VARCHAR, title VARCHAR) ### Question: Name the episode number for tasers and mind erasers ### Answer: SELECT episode_number_production_number FROM table_24222929_4 WHERE title = "Tasers and Mind Erasers"
Below is an context that describes a sql 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 (wkts INTEGER, ovrs VARCHAR, player VARCHAR) ### Question: If Adam Voges had less than 28.5 Ovrs, what are his highest Wkts? ### Answer: SELECT MAX(wkts) FROM table_name_58 WHERE ovrs < 28.5 AND player = "adam voges"
Below is an context that describes a sql 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 (year VARCHAR, class VARCHAR) ### Question: Tell me the year for class of 125cc ### Answer: SELECT year FROM table_name_55 WHERE class = "125cc"
Below is an context that describes a sql 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 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR) ### Question: What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par is greater than 12? ### Answer: SELECT COUNT(year_s__won) FROM table_name_27 WHERE player = "ed furgol" AND to_par > 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_21607058_1 (wed_3_june VARCHAR, rank VARCHAR) ### Question: What were the time and speed for the rider ranked in 12 on Wed, June 3? ### Answer: SELECT wed_3_june FROM table_21607058_1 WHERE rank = 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_20971444_3 (first_air_date VARCHAR, episode VARCHAR) ### Question: Name the first air date for 9 episode ### Answer: SELECT first_air_date FROM table_20971444_3 WHERE episode = 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_17 (bask INTEGER, soft VARCHAR, total VARCHAR) ### Question: Which Bask has Soft of 18, and a Total larger than 35? ### Answer: SELECT AVG(bask) FROM table_name_17 WHERE soft = "18" AND total > 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_22 (birthplace VARCHAR) ### Question: What was the 1980-1981 team of the player born in Warroad, Minnesota? ### Answer: SELECT 1980 AS _1981_team FROM table_name_22 WHERE birthplace = "warroad, minnesota"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) ### Question: When was the date of appointment for the manager replacing Wim Jansen? ### Answer: SELECT date_of_appointment FROM table_16075179_6 WHERE outgoing_manager = "Wim Jansen"
Below is an context that describes a sql 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 (film_title_used_in_nomination VARCHAR, original_name VARCHAR) ### Question: Name the film title for okkar á milli: í hita og þunga dagsins ### Answer: SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_name = "okkar á milli: í hita og þunga dagsins"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR) ### Question: What was the score on February 17? ### Answer: SELECT score FROM table_name_77 WHERE date = "february 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_3 (width VARCHAR, entered_service VARCHAR) ### Question: Which width had an entered service year of 2010? ### Answer: SELECT width FROM table_name_3 WHERE entered_service = 2010
Below is an context that describes a sql 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 (airport VARCHAR, country VARCHAR) ### Question: Which airport is located in Singapore? ### Answer: SELECT airport FROM table_name_33 WHERE country = "singapore"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2454550_1 (most_laps_led VARCHAR, track VARCHAR) ### Question: Who had most laps led at Chicagoland speedway? ### Answer: SELECT most_laps_led FROM table_2454550_1 WHERE track = "Chicagoland Speedway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR) ### Question: What location and it's attendance was the game against the Nets? ### Answer: SELECT location_attendance FROM table_23248910_6 WHERE team = "Nets"
Below is an context that describes a sql 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 (losses VARCHAR, games_played VARCHAR, wins VARCHAR) ### Question: How many losses occurred with less than 8 games played and less than 3 wins? ### Answer: SELECT COUNT(losses) FROM table_name_75 WHERE games_played < 8 AND wins < 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_8 (change__12_11_ VARCHAR, city VARCHAR) ### Question: When the city is agadir what is the change (12/11)? ### Answer: SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) ### Question: What is the title when the catalog number is cal01 / 0091037137319? ### Answer: SELECT title FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_250230_2 (power VARCHAR, model VARCHAR) ### Question: What is the power for the Spirit R (Type B)? ### Answer: SELECT power FROM table_250230_2 WHERE model = "Spirit R (Type B)"
Below is an context that describes a sql 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 (result_f___a VARCHAR, round VARCHAR) ### Question: What was the result F-A for round 5? ### Answer: SELECT result_f___a FROM table_name_22 WHERE round = "round 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_58 (date VARCHAR, goal VARCHAR) ### Question: What was the date of the game that had a goal of 4? ### Answer: SELECT date FROM table_name_58 WHERE goal = 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 contestants (contestant_number VARCHAR, contestant_name VARCHAR) ### Question: List the contestant numbers and names, ordered by contestant name descending. ### Answer: SELECT contestant_number, contestant_name FROM contestants ORDER BY contestant_name 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_43 (minister VARCHAR, party VARCHAR, end_date VARCHAR) ### Question: Who was the minister for the CSV party with a present day end date? ### Answer: SELECT minister FROM table_name_43 WHERE party = "csv" AND end_date = "present day"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18894744_6 (location_attendance VARCHAR, record VARCHAR) ### Question: Where was the game with a 13-5 record played, and in front of how many people? ### Answer: SELECT location_attendance FROM table_18894744_6 WHERE record = "13-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_23286112_6 (record VARCHAR, high_rebounds VARCHAR) ### Question: What was the record in the game in which Jeff Green (14) did the most high rebounds? ### Answer: SELECT record FROM table_23286112_6 WHERE high_rebounds = "Jeff Green (14)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_75 (tie_no VARCHAR, score VARCHAR, away_team VARCHAR) ### Question: What is the Tie no when Swansea City is the Away team with a Score of 2–2? ### Answer: SELECT tie_no FROM table_name_75 WHERE score = "2–2" AND away_team = "swansea 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_39 (primary_military_speciality VARCHAR, code_name VARCHAR) ### Question: What is Moondancer's Primary Military Speciality? ### Answer: SELECT primary_military_speciality FROM table_name_39 WHERE code_name = "moondancer"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR) ### Question: How many episodes had 4.44m viewers? ### Answer: SELECT COUNT(episode) FROM table_27039190_3 WHERE viewers = "4.44m"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27816698_2 (current_conference VARCHAR, institution VARCHAR) ### Question: Which conference did boise state university play at? ### Answer: SELECT current_conference FROM table_27816698_2 WHERE institution = "Boise State 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_256286_13 (type VARCHAR, description VARCHAR) ### Question: When restoring capital punishment is the description how many types are there? ### Answer: SELECT COUNT(type) FROM table_256286_13 WHERE description = "Restoring Capital Punishment"
Below is an context that describes a sql 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 (name VARCHAR, location VARCHAR) ### Question: What is Name, when Location is "DZ"? ### Answer: SELECT name FROM table_name_23 WHERE location = "dz"
Below is an context that describes a sql 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 (category VARCHAR, recipients_and_nominees VARCHAR) ### Question: Which Category were Libby Goldstein and Junie Lowry-Johnson recipients and nominees for? ### Answer: SELECT category FROM table_name_50 WHERE recipients_and_nominees = "libby goldstein and junie lowry-johnson"
Below is an context that describes a sql 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 (death VARCHAR, husband VARCHAR) ### Question: when was the death of the person with husband Charles, 1st dauphin? ### Answer: SELECT death FROM table_name_1 WHERE husband = "charles, 1st dauphin"
Below is an context that describes a sql 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 (name VARCHAR, caps VARCHAR, rank VARCHAR, confederation VARCHAR) ### Question: Which UEFA confederation member had a rank more than 17 and caps of 114? ### Answer: SELECT name FROM table_name_32 WHERE rank > 17 AND confederation = "uefa" AND caps = 114
Below is an context that describes 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 (Name VARCHAR, Code VARCHAR, Project VARCHAR); CREATE TABLE AssignedTo (Name VARCHAR, Code VARCHAR, Project VARCHAR) ### Question: Select the project names which are not assigned yet. ### Answer: SELECT Name FROM Projects WHERE NOT Code IN (SELECT Project FROM AssignedTo)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21304131_2 (original_air_date VARCHAR, no_in_series VARCHAR) ### Question: When did series number 65 originally air? ### Answer: SELECT original_air_date FROM table_21304131_2 WHERE no_in_series = 65
Below is an context that describes a sql 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 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR) ### Question: How many Points have a Game smaller than 37, and a Score of 2–3, and a December of 13? ### Answer: SELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = "2–3" AND december = 13
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_59 (cache VARCHAR, capacity VARCHAR) ### Question: What is the Cache with a Capacity that is 600 gb? ### Answer: SELECT cache FROM table_name_59 WHERE capacity = "600 gb"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11677100_11 (hometown VARCHAR, school VARCHAR) ### Question: WHAT TOWN IS WEST BROOK SENIOR HIGH SCHOOL FROM? ### Answer: SELECT hometown FROM table_11677100_11 WHERE school = "West Brook Senior High 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_91 (score VARCHAR, visitor VARCHAR) ### Question: What score has mtl. maroons as the visitor? ### Answer: SELECT score FROM table_name_91 WHERE visitor = "mtl. maroons"
Below is an context that describes a sql 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 (event VARCHAR, acts VARCHAR) ### Question: Tell me the event for 6 bands ### Answer: SELECT event FROM table_name_74 WHERE acts = "6 bands"
Below is an context that describes a sql 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 (bronze INTEGER, nation VARCHAR, silver VARCHAR) ### Question: How many bronze medals did west germany win when they had less than 2 silver medals? ### Answer: SELECT SUM(bronze) FROM table_name_29 WHERE nation = "west germany" AND silver < 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_5 (location___state VARCHAR, circuit VARCHAR) ### Question: What is the location/state that has adelaide international raceway as the circuit? ### Answer: SELECT location___state FROM table_name_5 WHERE circuit = "adelaide international raceway"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR) ### Question: Name the date for game 8 ### Answer: SELECT date FROM table_21091157_1 WHERE game = 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_96 (session VARCHAR, discipline VARCHAR) ### Question: Which session had a discipline of open wheel? ### Answer: SELECT session FROM table_name_96 WHERE discipline = "open wheel"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR) ### Question: Which Score has a Loss of buehrle (7-2)? ### Answer: SELECT score FROM table_name_91 WHERE loss = "buehrle (7-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_70 (date VARCHAR, away_team VARCHAR) ### Question: What day was south melbourne the away squad? ### Answer: SELECT date FROM table_name_70 WHERE away_team = "melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_5 (pct VARCHAR, years VARCHAR, team VARCHAR) ### Question: What is Akron's highest Pct in 100 years? ### Answer: SELECT COUNT(pct) FROM table_name_5 WHERE years > 100 AND team = "akron"
Below is an context that describes a sql 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, standalone VARCHAR) ### Question: In what year is Zaxxon the Standalone? ### Answer: SELECT year FROM table_name_88 WHERE standalone = "zaxxon"
Below is an context that describes a sql 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 (wins INTEGER, byes INTEGER) ### Question: What is the most wins with 0 byes? ### Answer: SELECT MAX(wins) FROM table_name_84 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_41 (competition VARCHAR, venue VARCHAR, result VARCHAR) ### Question: What Away Competition had a Result of lost 2-4? ### Answer: SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost 2-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (team VARCHAR, points VARCHAR, year VARCHAR) ### Question: What team did carlos cardus drive for in 1983 when he got less than 21 points? ### Answer: SELECT team FROM table_name_69 WHERE points < 21 AND year = 1983
Below is an context that describes a sql 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 (class VARCHAR, frequency VARCHAR) ### Question: What is the class when the frequency is 560 AM? ### Answer: SELECT class FROM table_name_57 WHERE frequency = "560 am"
Below is an context that describes a sql 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 (weight INTEGER, height VARCHAR, spike VARCHAR, block VARCHAR) ### Question: What is the smallest Weight, when Spike is less than 330, when Block is 315, and when Height is greater than 187? ### Answer: SELECT MIN(weight) FROM table_name_78 WHERE spike < 330 AND block = 315 AND height > 187
Below is an context that describes a sql 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 (communist_ticket VARCHAR, american_labor_ticket VARCHAR) ### Question: Who's the Communist ticket with an American Labor ticket of joseph v. o'leary? ### Answer: SELECT communist_ticket FROM table_name_49 WHERE american_labor_ticket = "joseph v. o'leary"
Below is an context that describes a sql 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 (mission VARCHAR, apogee VARCHAR) ### Question: What kind of Mission has a Apogee of 707 km? ### Answer: SELECT mission FROM table_name_47 WHERE apogee = "707 km"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE repair_assignment (technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR) ### Question: Show names of technicians and the number of machines they are assigned to repair. ### Answer: SELECT T2.Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID = T2.technician_ID GROUP BY T2.Name
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR) ### Question: What is the frequency for the Christian Kawz-fm Translator station? ### Answer: SELECT frequency FROM table_134987_3 WHERE format = "Christian KAWZ-FM translator"
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, mascot VARCHAR) ### Question: What is the IHSAA class for the school where the mascot is the Rebels? ### Answer: SELECT ihsaa_class FROM table_name_80 WHERE mascot = "rebels"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE votes (contestant_number VARCHAR, state VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE area_code_state (area_code VARCHAR, state VARCHAR) ### Question: List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'. ### Answer: SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Kelly Clauss'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE PURCHASES (purchase_details VARCHAR, purchase_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, amount_of_transaction INTEGER) ### Question: What are the purchase details of transactions with amount bigger than 10000? ### Answer: SELECT T1.purchase_details FROM PURCHASES AS T1 JOIN TRANSACTIONS AS T2 ON T1.purchase_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction > 10000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (story VARCHAR, date VARCHAR) ### Question: What is the story code of the story published on 2002-12? ### Answer: SELECT story AS code FROM table_name_38 WHERE date = "2002-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_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR) ### Question: Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC? ### Answer: SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc"
Below is an context that describes a sql 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 (_number___county VARCHAR, mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) ### Question: what is the #/county that is ihsaa class aaa, has enrollment higher than 611 and the dragons is the mascot? ### Answer: SELECT _number___county FROM table_name_13 WHERE ihsaa_class = "aaa" AND enrollment > 611 AND mascot = "dragons"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2886617_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR) ### Question: What team did the New York Rangers recruit a player from? ### Answer: SELECT college_junior_club_team FROM table_2886617_4 WHERE nhl_team = "New York Rangers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (result VARCHAR, date VARCHAR) ### Question: What was the result of the game played on November 23, 2003? ### Answer: SELECT result FROM table_name_67 WHERE date = "november 23, 2003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2668264_8 (district VARCHAR, incumbent VARCHAR) ### Question: What district(s) did henry clay represent? ### Answer: SELECT district FROM table_2668264_8 WHERE incumbent = "Henry Clay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, district VARCHAR) ### Question: What's the constituency number of the Seoni district and has none reserved? ### Answer: SELECT constituency_number FROM table_name_94 WHERE reserved_for___sc___st__none_ = "none" AND district = "seoni"
Below is an context that describes a sql 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 (points_won INTEGER, year VARCHAR) ### Question: How many points were won in 1996? ### Answer: SELECT MAX(points_won) FROM table_name_14 WHERE year = "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_27 (region VARCHAR, catalog VARCHAR) ### Question: What is the Region with a Catalog that is vlmx 1087-3? ### Answer: SELECT region FROM table_name_27 WHERE catalog = "vlmx 1087-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_39 (home_team VARCHAR, venue VARCHAR) ### Question: What's the home team for the western oval venue? ### Answer: SELECT home_team FROM table_name_39 WHERE venue = "western 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_27734577_7 (team VARCHAR, location_attendance VARCHAR) ### Question: What is every team with location attendance of Philips Arena 12,140? ### Answer: SELECT team FROM table_27734577_7 WHERE location_attendance = "Philips Arena 12,140"
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: Who did the Jets play in their pre-week 9 game at the Robert F. Kennedy memorial stadium? ### Answer: SELECT opponent FROM table_name_32 WHERE week < 9 AND game_site = "robert f. kennedy memorial stadium"