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_93 (size INTEGER, mascot VARCHAR) ### Question: What is the lowest size of the school with titans as the mascot? ### Answer: SELECT MIN(size) FROM table_name_93 WHERE mascot = "titans"
Below is an context that describes a sql 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 (rating VARCHAR, viewers__m_ VARCHAR) ### Question: What Rating has Viewers (m) of 2.73? ### Answer: SELECT rating FROM table_name_96 WHERE viewers__m_ = 2.73
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15530244_5 (qualifying VARCHAR, race_3 VARCHAR) ### Question: Name the total number of qualifiying for race 3 being 3 ### Answer: SELECT COUNT(qualifying) FROM table_15530244_5 WHERE race_3 = "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_3 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) ### Question: What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface? ### Answer: SELECT championship FROM table_name_3 WHERE surface = "clay" AND opponent_in_the_final = "vitas gerulaitis"
Below is an context that describes a sql 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 (first_elected VARCHAR, constiuency VARCHAR, name VARCHAR) ### Question: What is Myron Walwyn with a Territorial at-large Constiuency's First Elected Date ### Answer: SELECT first_elected FROM table_name_87 WHERE constiuency = "territorial at-large" AND name = "myron walwyn"
Below is an context that describes a sql 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 (spike INTEGER, weight VARCHAR, block VARCHAR) ### Question: What is the sum of Spike when the Weight was more than 84, and Block was less than 315? ### Answer: SELECT SUM(spike) FROM table_name_72 WHERE weight > 84 AND block < 315
Below is an context that describes a sql 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 (date VARCHAR, against INTEGER) ### Question: Which Date has an Against larger than 0? ### Answer: SELECT date FROM table_name_28 WHERE against > 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_4 (record VARCHAR, result VARCHAR) ### Question: What is the record for the result w 33-3? ### Answer: SELECT record FROM table_name_4 WHERE result = "w 33-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_16457934_5 (Id VARCHAR) ### Question: What is the minimum of 25 to 29? ### Answer: SELECT MIN(25 AS _to_29) FROM table_16457934_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_70 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team against Geelong? ### Answer: SELECT home_team AS score FROM table_name_70 WHERE away_team = "geelong"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (mother VARCHAR, number VARCHAR) ### Question: Who was number 12's mother? ### Answer: SELECT mother FROM table_name_90 WHERE number = 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_81 (station VARCHAR, genre VARCHAR, language VARCHAR) ### Question: What station has a genre of talk music and is in Malay English language? ### Answer: SELECT station FROM table_name_81 WHERE genre = "talk music" AND language = "malay english"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2155350_2 (cab_size VARCHAR, category VARCHAR) ### Question: Name the number of cab size for 4 medium tanker ### Answer: SELECT COUNT(cab_size) FROM table_2155350_2 WHERE category = "4 Medium tanker"
Below is an context that describes a sql 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 (college VARCHAR, round VARCHAR, position VARCHAR) ### Question: Which college has a defensive end with a round less than 6? ### Answer: SELECT college FROM table_name_84 WHERE round > 6 AND position = "defensive end"
Below is an context that describes a sql 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 (class VARCHAR, team VARCHAR) ### Question: Which class Pos has a Team of jml team panoz? ### Answer: SELECT class AS pos FROM table_name_71 WHERE team = "jml team panoz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR) ### Question: What is the title of Episode #2 ### Answer: SELECT title FROM table_165732_2 WHERE episode__number = 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_59 (club VARCHAR, home_ground VARCHAR) ### Question: What was the club when home ground was Central Reserve? ### Answer: SELECT club FROM table_name_59 WHERE home_ground = "central reserve"
Below is an context that describes a sql 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 (played VARCHAR, points VARCHAR, drawn VARCHAR, position VARCHAR) ### Question: How much Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10? ### Answer: SELECT COUNT(played) FROM table_name_1 WHERE drawn = 2 AND position > 3 AND points < 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_1986692_1 (division VARCHAR, year VARCHAR) ### Question: When 1992 is the year how many divisions are there? ### Answer: SELECT COUNT(division) FROM table_1986692_1 WHERE year = "1992"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE documents (document_name VARCHAR, document_type_code VARCHAR, document_structure_code VARCHAR) ### Question: Find the list of documents that are both in the most three popular type and have the most three popular structure. ### Answer: SELECT document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC LIMIT 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_1 (wk_7 INTEGER, wk_2 VARCHAR, wk_3 VARCHAR, wk_4 VARCHAR) ### Question: What is the lowest wk 7 with a wk 3 value of 12, a wk 4 less than 9, and a wk 2 greater than 11? ### Answer: SELECT MIN(wk_7) FROM table_name_1 WHERE wk_3 = 12 AND wk_4 < 9 AND wk_2 > 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_22165661_3 (head_coach VARCHAR, championship_game_opponent VARCHAR) ### Question: Who is the head coach when Miami University is the championship game opponent? ### Answer: SELECT head_coach FROM table_22165661_3 WHERE championship_game_opponent = "Miami University"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (attendance VARCHAR, date VARCHAR) ### Question: What is the attendance number of the game on April 16? ### Answer: SELECT COUNT(attendance) FROM table_name_91 WHERE date = "april 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_12108_1 (population VARCHAR) ### Question: what is the population where the area (sq. mi.) is area (sq. mi.)? ### Answer: SELECT population FROM table_12108_1 WHERE "area__sq_mi_" = "area__sq_mi_"
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR) ### Question: Name the sum of laps for 12 grids ### Answer: SELECT SUM(laps) FROM table_name_82 WHERE grid = 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_69 (rating INTEGER, viewers__m_ VARCHAR, overall_rank VARCHAR) ### Question: What is the rating of the episode with 13.47 million viewers and overall rank larger than 6? ### Answer: SELECT SUM(rating) FROM table_name_69 WHERE viewers__m_ = 13.47 AND overall_rank > 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (date VARCHAR, site VARCHAR, opponent VARCHAR) ### Question: What is the Date at memorial stadium • minneapolis, mn, and an Opponent of northwestern? ### Answer: SELECT date FROM table_name_45 WHERE site = "memorial stadium • minneapolis, mn" AND opponent = "northwestern"
Below is an context that describes a sql 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 (surface VARCHAR, finalist VARCHAR) ### Question: What is the Surface, when the Finalist is Andrei Pavel? ### Answer: SELECT surface FROM table_name_90 WHERE finalist = "andrei pavel"
Below is an context that describes a sql 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 (h___a VARCHAR, opponents VARCHAR, round VARCHAR) ### Question: What is the H/A in the semi-final round where oldham athletic were the opponents? ### Answer: SELECT h___a FROM table_name_90 WHERE opponents = "oldham athletic" AND 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_90 (competition VARCHAR, score VARCHAR) ### Question: What is the name of the competition that ended with a score of 2-1? ### Answer: SELECT competition FROM table_name_90 WHERE score = "2-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_15977768_1 (centennial VARCHAR, akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river VARCHAR) ### Question: Name the centennial for 1992 akimel ### Answer: SELECT centennial FROM table_15977768_1 WHERE akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river = "1992"
Below is an context that describes a sql 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 (elected VARCHAR) ### Question: Who is the 2nd member elected in 1461? ### Answer: SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461"
Below is an context that describes a sql 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 (record VARCHAR, score VARCHAR) ### Question: What is the record for the w 100-99 score? ### Answer: SELECT record FROM table_name_95 WHERE score = "w 100-99"
Below is an context that describes a sql 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 (total INTEGER, premier_league VARCHAR, league_cup VARCHAR) ### Question: How many totals have a Premier League smaller than 6, and a League Cup larger than 0? ### Answer: SELECT SUM(total) FROM table_name_9 WHERE premier_league < 6 AND league_cup > 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 Templates (template_type_code VARCHAR) ### Question: Which template type code has most number of templates? ### Answer: SELECT template_type_code FROM Templates GROUP BY template_type_code 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_31 (date VARCHAR, runner_up VARCHAR) ### Question: When was the match that had Shaun Murphy as runner-up? ### Answer: SELECT date FROM table_name_31 WHERE runner_up = "shaun murphy"
Below is an context that describes a sql 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 (grand_prix VARCHAR, location VARCHAR) ### Question: Which Grand Prix is located in Jerez? ### Answer: SELECT grand_prix FROM table_name_25 WHERE location = "jerez"
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, score VARCHAR) ### Question: What is Player, when Country is United States, and when Score is 73-76-72-66=287? ### Answer: SELECT player FROM table_name_6 WHERE country = "united states" AND score = 73 - 76 - 72 - 66 = 287
Below is an context that describes a sql 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 (language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR) ### Question: What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service? ### Answer: SELECT language FROM table_name_23 WHERE hdtv = "no" AND package_option = "sky famiglia" AND television_service = "national geographic 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_60 (date VARCHAR, opponent_in_the_final VARCHAR) ### Question: When did Mathieu play against Flavio Cipolla? ### Answer: SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla"
Below is an context that describes a sql 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_sent VARCHAR, hd_designation VARCHAR, signal_power___kw__ VARCHAR, arrival_date VARCHAR) ### Question: What is Date Sent, when Signal Power ( kW ) is less than 126, when Arrival Date is "January 2059", and when HD Designation is "HD193664"? ### Answer: SELECT date_sent FROM table_name_75 WHERE signal_power___kw__ < 126 AND arrival_date = "january 2059" AND hd_designation = "hd193664"
Below is an context that describes a sql 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 (year VARCHAR, location VARCHAR) ### Question: What year did the event in Hiroshima take place? ### Answer: SELECT COUNT(year) FROM table_name_70 WHERE location = "hiroshima"
Below is an context that describes a sql 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 (player VARCHAR, subtotal VARCHAR, round_1 VARCHAR) ### Question: Which player has a subtotal of more than 3 and more than 8 in round 1? ### Answer: SELECT player FROM table_name_59 WHERE subtotal > 3 AND round_1 > 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_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR) ### Question: Name the total number of EBIT (US $m) in 2011 and a Earnings per share (¢) larger than 47? ### Answer: SELECT COUNT(ebit__us_) AS $m_ FROM table_name_46 WHERE year_to_april = 2011 AND earnings_per_share__¢_ > 47
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_34 (events INTEGER, player VARCHAR) ### Question: How many events for bob murphy? ### Answer: SELECT MAX(events) FROM table_name_34 WHERE player = "bob murphy"
Below is an context that describes a sql 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 (session VARCHAR, circuit VARCHAR) ### Question: The Milwaukee Mile circuit has what type of session? ### Answer: SELECT session FROM table_name_41 WHERE circuit = "milwaukee mile"
Below is an context that describes a sql 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 (director VARCHAR, gross VARCHAR) ### Question: What director grossed $200,512,643 ### Answer: SELECT director FROM table_name_96 WHERE gross = "$200,512,643"
Below is an context that describes a sql 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 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR) ### Question: What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2? ### Answer: SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 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_99 (location VARCHAR, country VARCHAR, event VARCHAR) ### Question: What was the location of the Havaianas Beachley Classic, held in Australia? ### Answer: SELECT location FROM table_name_99 WHERE country = "australia" AND event = "havaianas beachley classic"
Below is an context that describes a sql 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 (date VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR) ### Question: Which Date has a Location Attendance of madison square garden 19,763, and a High rebounds of david lee (12)? ### Answer: SELECT date FROM table_name_99 WHERE location_attendance = "madison square garden 19,763" AND high_rebounds = "david lee (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_9 (date VARCHAR, home VARCHAR) ### Question: What is the Date of the game in Vancouver? ### Answer: SELECT date FROM table_name_9 WHERE home = "vancouver"
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR, result VARCHAR) ### Question: a Year smaller than 2007, and a Result of 1st is in what venue? ### Answer: SELECT venue FROM table_name_41 WHERE year < 2007 AND result = "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_33 (score VARCHAR, date VARCHAR) ### Question: What is the score for 17 April 2013? ### Answer: SELECT score FROM table_name_33 WHERE date = "17 april 2013"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_65 (word_wrap_support VARCHAR, format VARCHAR) ### Question: Which Word wrap support has a Format of mobipocket? ### Answer: SELECT word_wrap_support FROM table_name_65 WHERE format = "mobipocket"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12148147_2 (third_year VARCHAR, subjects VARCHAR) ### Question: What is the third year course in science? ### Answer: SELECT third_year FROM table_12148147_2 WHERE subjects = "Science"
Below is an context that describes a sql 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 (top_10 VARCHAR, top_25 VARCHAR, wins VARCHAR) ### Question: How many top-10 numbers had a top 25 of more than 6 with less than 2 wins? ### Answer: SELECT COUNT(top_10) FROM table_name_61 WHERE top_25 > 6 AND wins < 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_25800134_9 (series__number VARCHAR, airdate VARCHAR) ### Question: what is the number of series where the airdate is december 26, 1964? ### Answer: SELECT COUNT(series__number) FROM table_25800134_9 WHERE airdate = "December 26, 1964"
Below is an context that describes a sql 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 (proxy VARCHAR, license VARCHAR, image_quality VARCHAR, encryption VARCHAR) ### Question: what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary? ### Answer: SELECT proxy FROM table_name_59 WHERE image_quality = "✓" AND encryption = "ssl" AND license = "proprietary"
Below is an context that describes a sql 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 (venue VARCHAR, opposing_team VARCHAR) ### Question: Venue for Hawke's bay? ### Answer: SELECT venue FROM table_name_14 WHERE opposing_team = "hawke's bay"
Below is an context that describes a sql 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 (floors INTEGER, location VARCHAR, rank VARCHAR) ### Question: What is the highest amount of floors in Stockholm with a rank of 15? ### Answer: SELECT MAX(floors) FROM table_name_96 WHERE location = "stockholm" AND rank = "15"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (chassis VARCHAR, points VARCHAR) ### Question: Which chassis has 17 points? ### Answer: SELECT chassis FROM table_name_30 WHERE points = 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 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR) ### Question: What is the total (kg) when the snatch was 84, and bodyweight was less than 57.35? ### Answer: SELECT AVG(total__kg_) FROM table_name_3 WHERE snatch = 84 AND bodyweight < 57.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_29102612_1 (season__number INTEGER, us_viewers__millions_ VARCHAR) ### Question: What is the season # when ther are 5.3 million U.S viewers? ### Answer: SELECT MAX(season__number) FROM table_29102612_1 WHERE us_viewers__millions_ = "5.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_63 (position VARCHAR, points INTEGER) ### Question: What position has less than 6 Points? ### Answer: SELECT COUNT(position) FROM table_name_63 WHERE points < 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR) ### Question: From what county was the team that left the conference in 1993? ### Answer: SELECT county FROM table_name_3 WHERE year_left = "1993"
Below is an context that describes a sql 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 (erp_w INTEGER, frequency_mhz VARCHAR) ### Question: What does the ERP W sum equal for 105.1 fm frequency? ### Answer: SELECT SUM(erp_w) FROM table_name_66 WHERE frequency_mhz = "105.1 fm"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR) ### Question: who is the the candidates with dbeingtrict being kansas 5 ### Answer: SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 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_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR) ### Question: What number has the builder ruston hornsby, the date 1961, and the name Topsy? ### Answer: SELECT COUNT(number) FROM table_name_10 WHERE builder = "ruston hornsby" AND date = 1961 AND name = "topsy"
Below is an context that describes a sql 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 (loss VARCHAR, date VARCHAR) ### Question: What was the score June 22? ### Answer: SELECT loss FROM table_name_82 WHERE date = "june 22"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_20 (quantity VARCHAR, year_s__of_manufacture VARCHAR, class VARCHAR) ### Question: what is the quantity when the year of manufacture is 1900 and the class is mc? ### Answer: SELECT quantity FROM table_name_20 WHERE year_s__of_manufacture = "1900" AND class = "mc"
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR, event VARCHAR, round VARCHAR) ### Question: Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura? ### Answer: SELECT method FROM table_name_33 WHERE event = "shooto" AND round = 2 AND opponent = "issei tamura"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23242958_1 (original_air_date VARCHAR, written_by VARCHAR) ### Question: What is the original air date of the episode written by David Zuckerman? ### Answer: SELECT original_air_date FROM table_23242958_1 WHERE written_by = "David Zuckerman"
Below is an context that describes a sql 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 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) ### Question: Kaimganj has what reserved for (SC / ST /None)? ### Answer: SELECT reserved_for___sc___st__none_ FROM table_name_87 WHERE name = "kaimganj"
Below is an context that describes a sql 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 (club VARCHAR, league_goals VARCHAR, total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR) ### Question: Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13? ### Answer: SELECT club FROM table_name_99 WHERE league_cup_goals = "0" AND fa_cup_goals = "1" AND total > 11 AND league_goals = "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_22849575_6 (tournament_venue__city_ VARCHAR, conference VARCHAR) ### Question: Name the tournament venue for big sky conference ### Answer: SELECT tournament_venue__city_ FROM table_22849575_6 WHERE conference = "Big Sky conference"
Below is an context that describes a sql 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 (bowling_style VARCHAR, player VARCHAR) ### Question: What is Damien Martyn's bowling style? ### Answer: SELECT bowling_style FROM table_name_49 WHERE player = "damien martyn"
Below is an context that describes a sql 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 (on_air_id VARCHAR, frequency VARCHAR, purpose VARCHAR) ### Question: What is the On-air ID with the frequency of 105.9, and purpose of commercial? ### Answer: SELECT on_air_id FROM table_name_24 WHERE frequency = "105.9" AND purpose = "commercial"
Below is an context that describes a sql 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 (location VARCHAR, established VARCHAR) ### Question: What is the location of the university that was established in 2000? ### Answer: SELECT location FROM table_name_44 WHERE established = 2000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (score VARCHAR, game VARCHAR, october VARCHAR) ### Question: What score has a game greater than 11 on October 30? ### Answer: SELECT score FROM table_name_1 WHERE game > 11 AND october = 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_40 (nickname VARCHAR, name VARCHAR) ### Question: What's the Nickname listed for the Name of University Cricket Club? ### Answer: SELECT nickname FROM table_name_40 WHERE name = "university cricket club"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR) ### Question: What was the height of representative #6? ### Answer: SELECT height FROM table_28062822_3 WHERE represent = 6
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Lots (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE Lots (lot_details VARCHAR); CREATE TABLE transactions_lots (lot_id VARCHAR) ### Question: What are the details of the lots which are not used in any transactions? ### Answer: SELECT lot_details FROM Lots EXCEPT SELECT T1.lot_details FROM Lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.lot_id
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE products (product_details VARCHAR) ### Question: What are the details of all products? ### Answer: SELECT DISTINCT product_details FROM products
Below is an context that describes a sql 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 (order VARCHAR, title VARCHAR) ### Question: What order has the title Deacon of SS. Cosma E Damiano? ### Answer: SELECT order FROM table_name_18 WHERE title = "deacon of ss. cosma e damiano"
Below is an context that describes a sql 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 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) ### Question: What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211? ### Answer: SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211
Below is an context that describes a sql 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 (rank VARCHAR, attendance VARCHAR) ### Question: What is the Rank of the game with an Attendance of 93,039? ### Answer: SELECT COUNT(rank) FROM table_name_98 WHERE attendance = 93 OFFSET 039
Below is an context that describes a sql 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 (laps INTEGER, class VARCHAR, driver VARCHAR) ### Question: What was the highest amount of laps for class c1 and driver Derek Bell? ### Answer: SELECT MAX(laps) FROM table_name_73 WHERE class = "c1" AND driver = "derek bell"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR, stu_lname VARCHAR) ### Question: What is the first name of the student whose last name starting with the letter S and is taking ACCT-211 class? ### Answer: SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211' AND T1.stu_lname LIKE 'S%'
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR) ### Question: What day is their record 13-15? ### Answer: SELECT date FROM table_name_14 WHERE record = "13-15"
Below is an context that describes a sql 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 (american VARCHAR) ### Question: What is 17th c., when American is "ə"? ### Answer: SELECT 17 AS th_c FROM table_name_25 WHERE american = "ə"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team in the match with an away team of Millwall? ### Answer: SELECT home_team FROM table_name_6 WHERE away_team = "millwall"
Below is an context that describes a sql 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 (type VARCHAR, name VARCHAR) ### Question: What type of bridge is Colton's Crossing Bridge? ### Answer: SELECT type FROM table_name_46 WHERE name = "colton's crossing bridge"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1751142_2 (shuttle_time__seconds_ VARCHAR, speed__km_h_ VARCHAR) ### Question: What is the shuttle time for the level where the speed is 15.5 km/h? ### Answer: SELECT shuttle_time__seconds_ FROM table_1751142_2 WHERE speed__km_h_ = "15.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_12451376_3 (title VARCHAR, season_3_ep__number VARCHAR) ### Question: What is the title of season 3 ep# 12? ### Answer: SELECT title FROM table_12451376_3 WHERE season_3_ep__number = 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_96 (lose INTEGER, point VARCHAR, lost_point VARCHAR, goal_difference VARCHAR) ### Question: I want the average lose for lost point more than 16 and goal difference less than 37 and point less than 43 ### Answer: SELECT AVG(lose) FROM table_name_96 WHERE lost_point > 16 AND goal_difference < 37 AND point < 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_81 (pick INTEGER, round VARCHAR, college VARCHAR) ### Question: What was the average pick of northwestern state college under round 3? ### Answer: SELECT AVG(pick) FROM table_name_81 WHERE round < 3 AND college = "northwestern 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_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR) ### Question: What's the highest annual interchange for wimbledon railway station? ### Answer: SELECT MAX(annual_interchanges__millions__2011_12) FROM table_name_82 WHERE railway_station = "wimbledon"
Below is an context that describes a sql 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 (first_elected VARCHAR, result VARCHAR, district VARCHAR) ### Question: What is the first date of election for the incumbent that was re-elected in the South Carolina 1 district? ### Answer: SELECT first_elected FROM table_name_45 WHERE result = "re-elected" AND district = "south carolina 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_48 (time VARCHAR, set_1 VARCHAR) ### Question: What is the time when the set 1 is 21–25? ### Answer: SELECT time FROM table_name_48 WHERE set_1 = "21–25"
Below is an context that describes a sql 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 (team VARCHAR, points VARCHAR, chassis VARCHAR) ### Question: What team has 4 points and a Chassis of march 82/83c? ### Answer: SELECT team FROM table_name_71 WHERE points = 4 AND chassis = "march 82/83c"