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_4 (frequency INTEGER, callsign VARCHAR) ### Question: What's the highest frequency of the KBDR callsign? ### Answer: SELECT MAX(frequency) FROM table_name_4 WHERE callsign = "kbdr"
Below is an context that describes a sql 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 (terminus VARCHAR, length VARCHAR) ### Question: What terminus is 3.5km in lenght? ### Answer: SELECT terminus FROM table_name_37 WHERE length = "3.5km"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27723526_12 (high_points VARCHAR, date VARCHAR) ### Question: Name the high points for march 30 ### Answer: SELECT high_points FROM table_27723526_12 WHERE date = "March 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_1876825_2 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR) ### Question: Name the total number of production code by david richardson and todd holland ### Answer: SELECT COUNT(production_code) FROM table_1876825_2 WHERE written_by = "David Richardson" AND directed_by = "Todd Holland"
Below is an context that describes a sql 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 (home_team VARCHAR, score VARCHAR, away_team VARCHAR) ### Question: What home team has a score of 2–1, when the away team was Telford United? ### Answer: SELECT home_team FROM table_name_10 WHERE score = "2–1" AND away_team = "telford united"
Below is an context that describes a sql 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 (episode VARCHAR, segment_b VARCHAR) ### Question: Which episode's segment b is s hacksaw? ### Answer: SELECT episode FROM table_name_67 WHERE segment_b = "s hacksaw"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11636213_7 (partnering VARCHAR, result VARCHAR) ### Question: How many matches had the result of 6–3, 6–2? ### Answer: SELECT COUNT(partnering) FROM table_11636213_7 WHERE result = "6–3, 6–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_28 (frequency VARCHAR, multi_1 VARCHAR) ### Question: What's the frequency of the device that has a Multi 1 of 7.5×? ### Answer: SELECT frequency FROM table_name_28 WHERE multi_1 = "7.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_53 (series VARCHAR, date VARCHAR) ### Question: what series was on may 14 ### Answer: SELECT series FROM table_name_53 WHERE date = "may 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_59 (tie_no VARCHAR, away_team VARCHAR) ### Question: What is the tie no for the away team altrincham? ### Answer: SELECT tie_no FROM table_name_59 WHERE away_team = "altrincham"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR) ### Question: Name the college/junior club team for john campbell ### Answer: SELECT college_junior_club_team FROM table_1965650_3 WHERE player = "John Campbell"
Below is an context that describes a sql 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 (date VARCHAR, opponents VARCHAR, score VARCHAR) ### Question: When was Göteborg the opponent with a score of 3-1? ### Answer: SELECT date FROM table_name_9 WHERE opponents = "göteborg" AND score = "3-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_87 (opponent VARCHAR, attendance VARCHAR) ### Question: Who was the opponent with attendance at 64,002? ### Answer: SELECT opponent FROM table_name_87 WHERE attendance = "64,002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26998135_2 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) ### Question: What is the date of appointment when the date of vacancy is 15 march 2011? ### Answer: SELECT date_of_appointment FROM table_26998135_2 WHERE date_of_vacancy = "15 March 2011"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR) ### Question: Name the sum of Comp which has a Yds/game smaller than 209.5,brytus Name, and a Rating smaller than 100? ### Answer: SELECT SUM(comp) FROM table_name_94 WHERE yds_game < 209.5 AND name = "brytus" AND rating < 100
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR) ### Question: How many episodes had a broadcast date and run time of 24:43? ### Answer: SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = "24:43"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (date VARCHAR, format_s_ VARCHAR) ### Question: Which date has a format's album? ### Answer: SELECT date FROM table_name_31 WHERE format_s_ = "album"
Below is an context that describes a sql 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 (disposition_of_ship VARCHAR, ship_type VARCHAR, location VARCHAR) ### Question: For the ship that was a brig and located in the English Channel, what was the disposition of ship? ### Answer: SELECT disposition_of_ship FROM table_name_57 WHERE ship_type = "brig" AND location = "english channel"
Below is an context that describes a sql 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 (stadium VARCHAR, date VARCHAR) ### Question: What is the Stadium held on november 29? ### Answer: SELECT stadium FROM table_name_41 WHERE date = "november 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_75 (streak VARCHAR, location_attendance VARCHAR, record VARCHAR) ### Question: Which Streak is in new orleans arena and a Record of 31–33? ### Answer: SELECT streak FROM table_name_75 WHERE location_attendance = "new orleans arena" AND record = "31–33"
Below is an context that describes a sql 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 (to_par VARCHAR, finish VARCHAR) ### Question: What was the To par for the player who finished t56? ### Answer: SELECT to_par FROM table_name_84 WHERE finish = "t56"
Below is an context that describes a sql 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 (money___ VARCHAR, country VARCHAR, player VARCHAR) ### Question: How much does it cost for United States and Byron nelson? ### Answer: SELECT COUNT(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "byron nelson"
Below is an context that describes a sql 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 (class VARCHAR, call_sign VARCHAR) ### Question: What is the class of the w267an call sign? ### Answer: SELECT class FROM table_name_13 WHERE call_sign = "w267an"
Below is an context that describes a sql 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 (against INTEGER, draws INTEGER) ### Question: What is the average entry in the against column with draws smaller than 0? ### Answer: SELECT AVG(against) FROM table_name_80 WHERE draws < 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_47 (bronze INTEGER, sport VARCHAR, gold VARCHAR) ### Question: What is the lowest number of bronze a short track athlete with 0 gold medals has? ### Answer: SELECT MIN(bronze) FROM table_name_47 WHERE sport = "short track" AND gold = 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_39 (home_team VARCHAR, away_team VARCHAR) ### Question: What was the home teams score against the away team footscray? ### Answer: SELECT home_team AS score FROM table_name_39 WHERE away_team = "footscray"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR) ### Question: What is the Score for the Date of April 23? ### Answer: SELECT score FROM table_name_69 WHERE date = "april 23"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE campuses (campus VARCHAR, LOCATION VARCHAR, county VARCHAR) ### Question: Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco. ### Answer: SELECT campus FROM campuses WHERE LOCATION = "Northridge" AND county = "Los Angeles" UNION SELECT campus FROM campuses WHERE LOCATION = "San Francisco" AND county = "San Francisco"
Below is an context that describes a sql 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 (player VARCHAR, college VARCHAR) ### Question: Which player came from Kent State? ### Answer: SELECT player FROM table_name_38 WHERE college = "kent state"
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, tournament VARCHAR) ### Question: Who is the opponent in the final of the Tournament of Blenheim? ### Answer: SELECT opponent_in_the_final FROM table_name_42 WHERE tournament = "blenheim"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12094609_1 (evening_gown VARCHAR, preliminaries VARCHAR) ### Question: what's the evening gown where preliminaries is 8.977 ### Answer: SELECT evening_gown FROM table_12094609_1 WHERE preliminaries = "8.977"
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR, visitor VARCHAR) ### Question: What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves? ### Answer: SELECT date FROM table_name_7 WHERE home = "grizzlies" AND visitor = "timberwolves"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28138035_27 (womens_singles VARCHAR, year_location VARCHAR) ### Question: Who is listed under womens singles when year location is 1998 doha? ### Answer: SELECT womens_singles FROM table_28138035_27 WHERE year_location = "1998 Doha"
Below is an context that describes a sql 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 (date_of_vacancy VARCHAR, team VARCHAR) ### Question: What is the vacancy date of Dundee? ### Answer: SELECT date_of_vacancy FROM table_name_75 WHERE team = "dundee"
Below is an context that describes a sql 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 (main_date VARCHAR, number_of_fixtures VARCHAR) ### Question: What was the main date of the round with 20 fixtures? ### Answer: SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2226817_8 (no_in_series VARCHAR, production_code VARCHAR) ### Question: Which series number has the production code 7.07? ### Answer: SELECT COUNT(no_in_series) FROM table_2226817_8 WHERE production_code = "7.07"
Below is an context that describes a sql 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 (number INTEGER, player VARCHAR, yards VARCHAR) ### Question: What is Larry Centers' average number when there were less than 600 yards? ### Answer: SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 600
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27021001_1 (status VARCHAR, district VARCHAR) ### Question: What is the status for district georgia's 10th? ### Answer: SELECT status FROM table_27021001_1 WHERE district = "Georgia's 10th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26375386_28 (place INTEGER, couple VARCHAR) ### Question: What is the least place when the couple is Keiron & Brianne? ### Answer: SELECT MIN(place) FROM table_26375386_28 WHERE couple = "Keiron & Brianne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) ### Question: On what Date is West Ham United the Home team? ### Answer: SELECT date FROM table_name_35 WHERE home_team = "west ham united"
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR) ### Question: What is the attendance of the November 19, 1990 game? ### Answer: SELECT attendance FROM table_name_49 WHERE date = "november 19, 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_27700375_10 (high_rebounds VARCHAR, game VARCHAR) ### Question: who had high rebounds at game 69? ### Answer: SELECT high_rebounds FROM table_27700375_10 WHERE game = 69
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR) ### Question: How many times was the result is hired by serepisos? ### Answer: SELECT COUNT(hometown) FROM table_26263322_1 WHERE result = "Hired by Serepisos"
Below is an context that describes a sql 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 (placement_in_miss_universe VARCHAR, delegate VARCHAR) ### Question: What kind of Placement in Miss Universe that rosita cornell capuyon is in? ### Answer: SELECT placement_in_miss_universe FROM table_name_4 WHERE delegate = "rosita cornell capuyon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (strain VARCHAR, species VARCHAR) ### Question: What is the Strain name of Species Thiomicrospira crunogena? ### Answer: SELECT strain FROM table_name_24 WHERE species = "thiomicrospira crunogena"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (origin_of_programming VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR, language VARCHAR) ### Question: What is the origin of the Malayalam Dish Service that shows general programming on the Asianet Plus network? ### Answer: SELECT origin_of_programming FROM table_name_11 WHERE service = "dish" AND language = "malayalam" AND genre = "general" AND network = "asianet plus"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_18 (year VARCHAR, box_office VARCHAR) ### Question: The box office was $961,147 in what year? ### Answer: SELECT year FROM table_name_18 WHERE box_office = "$961,147"
Below is an context that describes a sql 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 (democratic_ticket VARCHAR, office VARCHAR) ### Question: Who was on the Democratic ticket for the Office of Attorney General? ### Answer: SELECT democratic_ticket FROM table_name_70 WHERE office = "attorney general"
Below is an context that describes a sql 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 (home_team VARCHAR) ### Question: What was Geelong's score when they were the home team? ### Answer: SELECT home_team AS score FROM table_name_9 WHERE home_team = "geelong"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (date VARCHAR, week VARCHAR, attendance VARCHAR) ### Question: When was the pre-Week 10 game that had an attendance of over 38,865? ### Answer: SELECT date FROM table_name_98 WHERE week < 10 AND attendance = "38,865"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10705060_1 (position VARCHAR, season VARCHAR) ### Question: how many positions in 2009? ### Answer: SELECT COUNT(position) FROM table_10705060_1 WHERE season = "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_48 (wins VARCHAR, draws VARCHAR, points VARCHAR) ### Question: Can you tell me the total number of Wins that has the Draws larger than 0, and the Points of 11? ### Answer: SELECT COUNT(wins) FROM table_name_48 WHERE draws > 0 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_name_74 (name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) ### Question: WHAT NAME HAS A FREE TRANSFER FREE AND RETIRED? ### Answer: SELECT name FROM table_name_74 WHERE transfer_fee = "free" AND moving_to = "retired"
Below is an context that describes a sql 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 (date VARCHAR, game VARCHAR) ### Question: What is the date of game 23? ### Answer: SELECT date FROM table_name_27 WHERE game = 23
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR) ### Question: what are the details of the cmi masters that have the cross reference code 'Tax'? ### Answer: SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax'
Below is an context that describes a sql 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 (home_team VARCHAR, crowd INTEGER) ### Question: Which home team has a crowd that is bigger than 22,449? ### Answer: SELECT home_team FROM table_name_38 WHERE crowd > 22 OFFSET 449
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2618152_1 (title VARCHAR, original_air_date VARCHAR) ### Question: What is the title of the episode with the original air date October 21, 1998? ### Answer: SELECT title FROM table_2618152_1 WHERE original_air_date = "October 21, 1998"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (losses VARCHAR, year VARCHAR) ### Question: What is the losses for the year 2012? ### Answer: SELECT losses FROM table_name_73 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_name_60 (away_team VARCHAR, venue VARCHAR) ### Question: What away team plays at Victoria Park? ### Answer: SELECT away_team FROM table_name_60 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_97 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) ### Question: Which Round is the lowest one that has a Pick # larger than 10, and a Position of tight end, and an Overall smaller than 132? ### Answer: SELECT MIN(round) FROM table_name_97 WHERE pick__number > 10 AND position = "tight end" AND overall < 132
Below is an context that describes a sql 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 (visiting_team VARCHAR, final_score VARCHAR) ### Question: Who was the vistiting team in the game with the final score of 7-13? ### Answer: SELECT visiting_team FROM table_name_3 WHERE final_score = "7-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_216776_2 (municipality VARCHAR, pop_density__per_km²_ VARCHAR) ### Question: In what municipality were there 757.5 people per km2? ### Answer: SELECT municipality FROM table_216776_2 WHERE pop_density__per_km²_ = "757.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_60 (score VARCHAR, game VARCHAR, march VARCHAR) ### Question: Game larger than 76, and a March larger than 26 involves what score? ### Answer: SELECT score FROM table_name_60 WHERE game > 76 AND march > 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_23 (power_output VARCHAR, build_date VARCHAR) ### Question: Which power output had a Build date of 1951–1956? ### Answer: SELECT power_output FROM table_name_23 WHERE build_date = "1951–1956"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2472711_32 (hosted VARCHAR, highest VARCHAR) ### Question: How many values of hosted have a highest value of 42659? ### Answer: SELECT COUNT(hosted) FROM table_2472711_32 WHERE highest = 42659
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR) ### Question: What is the high 10 profile number when the high profile is 80? ### Answer: SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Fault_Log (fault_log_entry_id VARCHAR); CREATE TABLE Engineer_Visits (fault_log_entry_id VARCHAR) ### Question: How many engineer visits are required at most for a single fault log? List the number and the log entry id. ### Answer: SELECT COUNT(*), T1.fault_log_entry_id FROM Fault_Log AS T1 JOIN Engineer_Visits AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (year VARCHAR, town VARCHAR) ### Question: What year was the structure in greensboro, north carolina considered tallest? ### Answer: SELECT year FROM table_name_16 WHERE town = "greensboro, north carolina"
Below is an context that describes a sql 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 (date VARCHAR, opposing_team VARCHAR) ### Question: When has an Opposing Team of mid-districts? ### Answer: SELECT date FROM table_name_72 WHERE opposing_team = "mid-districts"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1499774_5 (santee_sisseton VARCHAR, yankton_yanktonai VARCHAR) ### Question: Name the santee sisseton for wičháša ### Answer: SELECT santee_sisseton FROM table_1499774_5 WHERE yankton_yanktonai = "wičháš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 happy_hour (MONTH VARCHAR) ### Question: Which months have more than 2 happy hours? ### Answer: SELECT MONTH FROM happy_hour GROUP BY MONTH HAVING COUNT(*) > 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_15190346_2 (_number INTEGER, attendance VARCHAR) ### Question: What is the number of the bowl game when attendance was 79,280? ### Answer: SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = "79,280"
Below is an context that describes a sql 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 (car_model VARCHAR, engine VARCHAR) ### Question: What Car Model has the Engine of Ford 6.0 V8? ### Answer: SELECT car_model FROM table_name_19 WHERE engine = "ford 6.0 v8"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE course_arrange (Course_ID VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course (Course_ID VARCHAR, Course VARCHAR); CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR) ### Question: Show the name of the teacher for the math course. ### Answer: SELECT T3.Name FROM course_arrange AS T1 JOIN course AS T2 ON T1.Course_ID = T2.Course_ID JOIN teacher AS T3 ON T1.Teacher_ID = T3.Teacher_ID WHERE T2.Course = "Math"
Below is an context that describes a sql 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 (round INTEGER, pole_position VARCHAR) ### Question: what is the lowest round pole position of satoshi motoyama ### Answer: SELECT MIN(round) FROM table_name_22 WHERE pole_position = "satoshi motoyama"
Below is an context that describes a sql 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 (kickoff___et__ VARCHAR, game_site VARCHAR) ### Question: What is the kickoff time for the game that was at Ralph Wilson Stadium? ### Answer: SELECT kickoff___et__ FROM table_name_92 WHERE game_site = "ralph wilson stadium"
Below is an context that describes a sql 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 (player VARCHAR, college VARCHAR) ### Question: Who went to ohio state? ### Answer: SELECT player FROM table_name_53 WHERE college = "ohio state"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341522_41 (opponent VARCHAR, incumbent VARCHAR) ### Question: Who was in the election that was for incumbent bud shuster's seat? ### Answer: SELECT opponent FROM table_1341522_41 WHERE incumbent = "Bud Shuster"
Below is an context that describes a sql 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 (carries INTEGER, points VARCHAR, touchdowns VARCHAR) ### Question: What is the sum of carries associated with 80 points and fewer than 16 touchdowns? ### Answer: SELECT SUM(carries) FROM table_name_98 WHERE points = 80 AND touchdowns < 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_10705060_1 (poles INTEGER) ### Question: what is the least number of poles? ### Answer: SELECT MIN(poles) FROM table_10705060_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 CAR_MAKERS (Id VARCHAR, Country VARCHAR); CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR) ### Question: How many car models are produced in the usa? ### Answer: SELECT COUNT(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa'
Below is an context that describes a sql 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 (entered_office VARCHAR, throne_name VARCHAR) ### Question: What was the Entered Office of the man with the throne name Mohammad Ali Shah Qajar? ### Answer: SELECT entered_office FROM table_name_45 WHERE throne_name = "mohammad ali shah qajar"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21995420_6 (school VARCHAR, stunts VARCHAR) ### Question: What is every school with stunts of 48? ### Answer: SELECT school FROM table_21995420_6 WHERE stunts = "48"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE country (Country_name VARCHAR, Capital VARCHAR) ### Question: Show the country name and capital of all countries. ### Answer: SELECT Country_name, Capital FROM country
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_61 (format VARCHAR, catalog VARCHAR) ### Question: What shows as the format for catalog 11 135? ### Answer: SELECT format FROM table_name_61 WHERE catalog = "11 135"
Below is an context that describes a sql 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 (goal_difference INTEGER, draw VARCHAR, played VARCHAR) ### Question: Name the average goal difference for draw of 7 and played more than 18 ### Answer: SELECT AVG(goal_difference) FROM table_name_2 WHERE draw = 7 AND played > 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (crowd VARCHAR, date VARCHAR, away_team VARCHAR) ### Question: When the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd? ### Answer: SELECT crowd FROM table_name_1 WHERE date = "19 july 1980" AND away_team = "footscray"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14465924_1 (name_of_administrative_unit VARCHAR, population__people_ VARCHAR) ### Question: Name the name of administrative unit for 3464 people ### Answer: SELECT name_of_administrative_unit FROM table_14465924_1 WHERE population__people_ = 3464
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, player VARCHAR) ### Question: What is the Place when Fuzzy Zoeller plated in the United States? ### Answer: SELECT place FROM table_name_78 WHERE country = "united states" AND player = "fuzzy zoeller"
Below is an context that describes a sql 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 (rank VARCHAR, title VARCHAR) ### Question: What rank did Best Friends receive? ### Answer: SELECT rank FROM table_name_90 WHERE title = "best friends"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (round INTEGER, school_club_team VARCHAR) ### Question: Where's the first round that southern mississippi shows up during the draft? ### Answer: SELECT MIN(round) FROM table_name_31 WHERE school_club_team = "southern mississippi"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_31 (overs VARCHAR, ground VARCHAR, opponent VARCHAR) ### Question: How many overs occurred at Waca Ground against Queensland? ### Answer: SELECT overs FROM table_name_31 WHERE ground = "waca ground" AND opponent = "queensland"
Below is an context that describes a sql 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 (position VARCHAR, years_with_spurs VARCHAR) ### Question: WHAT POSITION HAD SPURS IN 2009-2012? ### Answer: SELECT position FROM table_name_75 WHERE years_with_spurs = "2009-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_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR) ### Question: Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966? ### Answer: SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_197446_1 (location VARCHAR, term_ended VARCHAR) ### Question: What location was the congressional service of which the term ended in January 3, 2011? ### Answer: SELECT location FROM table_197446_1 WHERE term_ended = "January 3, 2011"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_72 (tournament VARCHAR) ### Question: What is the value in 2006 when the value for 2009 is 0 with runner-ups for tournament? ### Answer: SELECT 2006 FROM table_name_72 WHERE 2009 = "0" AND tournament = "runner-ups"
Below is an context that describes a sql 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, record VARCHAR) ### Question: What was the score of the Mariners game when they had a record of 56–21? ### Answer: SELECT score FROM table_name_91 WHERE record = "56–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_name_75 (university_of_dublin INTEGER, industrial_and_commercial_panel VARCHAR, national_university_of_ireland VARCHAR) ### Question: What is the average for the university of dublin when the industrial and commercial panel is greater than 4 and the total of the national university of ireland is larger than 3? ### Answer: SELECT AVG(university_of_dublin) FROM table_name_75 WHERE industrial_and_commercial_panel > 4 AND national_university_of_ireland > 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_2 (share INTEGER, air_date VARCHAR) ### Question: What is the total share for an episode with an air date of November 19, 2007? ### Answer: SELECT SUM(share) FROM table_name_2 WHERE air_date = "november 19, 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (raised VARCHAR, original_team VARCHAR, hometown VARCHAR) ### Question: How much did the Hydra team from Bronx, New York raise? ### Answer: SELECT raised FROM table_name_35 WHERE original_team = "hydra" AND hometown = "bronx, new york"