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_1771753_3 (miles__km_ VARCHAR, race_time VARCHAR) ### Question: When 1:34:01 is the race time what is the miles in kilometers? ### Answer: SELECT miles__km_ FROM table_1771753_3 WHERE race_time = "1:34:01"
Below is an context that describes a sql 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 (callsign VARCHAR, analog VARCHAR) ### Question: what is the callsign for analog 19? ### Answer: SELECT callsign FROM table_name_42 WHERE analog = "19"
Below is an context that describes a sql 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 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR) ### Question: Name the average number of seasons for Prva HNL of 17 ### Answer: SELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 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_73 (home VARCHAR, date VARCHAR) ### Question: Who was home on November 26? ### Answer: SELECT home FROM table_name_73 WHERE date = "november 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_97 (smoke_point VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR) ### Question: What is the smoke point with a total fat of 100g, and monounsaturated fat of 46g? ### Answer: SELECT smoke_point FROM table_name_97 WHERE total_fat = "100g" AND monounsaturated_fat = "46g"
Below is an context that describes a sql 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 (opponent VARCHAR, result VARCHAR) ### Question: Who is iván navarro's opponent? ### Answer: SELECT opponent FROM table_name_7 WHERE result = "iván navarro"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR) ### Question: Where did Hawthorn play as the away team? ### Answer: SELECT venue FROM table_name_89 WHERE away_team = "hawthorn"
Below is an context that describes a sql 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 (draws INTEGER, byes VARCHAR, ballarat_fl VARCHAR, losses VARCHAR, against VARCHAR) ### Question: What is the lowest draws that have losses greater than 0, an against less than 1728, melton as the ballarat fl, and byes less than 2? ### Answer: SELECT MIN(draws) FROM table_name_66 WHERE losses > 0 AND against < 1728 AND ballarat_fl = "melton" AND byes < 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_2668367_21 (party VARCHAR, district VARCHAR) ### Question: Name the party for virginia 12 ### Answer: SELECT party FROM table_2668367_21 WHERE district = "Virginia 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_27988281_1 (production_code INTEGER, written_by VARCHAR) ### Question: What is the production code of the episode written by Jeff Filgo? ### Answer: SELECT MAX(production_code) FROM table_27988281_1 WHERE written_by = "Jeff Filgo"
Below is an context that describes a sql 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 (year INTEGER, outcome VARCHAR, championship VARCHAR) ### Question: Tell me the sum of Year for outcome of runner-up for world darts championship ### Answer: SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (goals_for VARCHAR, points_1 VARCHAR) ### Question: What is the total number of Goals For, when Points 1 is "41"? ### Answer: SELECT COUNT(goals_for) FROM table_name_68 WHERE points_1 = "41"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_62 (position VARCHAR, competition VARCHAR, year VARCHAR) ### Question: What position was played at the World Athletics Final Competition in a year more recent than 2008? ### Answer: SELECT position FROM table_name_62 WHERE competition = "world athletics final" AND year > 2008
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (part_2 VARCHAR, class VARCHAR) ### Question: What is the Part 2 when the class is 6? ### Answer: SELECT part_2 FROM table_name_4 WHERE class = "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_2668243_17 (candidates VARCHAR, incumbent VARCHAR) ### Question: Name the candidates for selah r. hobbie ### Answer: SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie"
Below is an context that describes a sql 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 (pick__number INTEGER, rd__number INTEGER) ### Question: Which Pick # is the highest and has the Rd # is under 1? ### Answer: SELECT MAX(pick__number) FROM table_name_9 WHERE rd__number < 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_10979230_5 (release_date VARCHAR, reference VARCHAR) ### Question: What release date is when kids-270 is a reference? ### Answer: SELECT release_date FROM table_10979230_5 WHERE reference = "KIDS-270"
Below is an context that describes a sql 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 (province_of_silla VARCHAR, modern_equivalent VARCHAR) ### Question: WHat kind of Province of Silla has a Modern equivalent of pyeongan? ### Answer: SELECT province_of_silla FROM table_name_25 WHERE modern_equivalent = "pyeongan"
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: What is the result of the game with 68,436 attending? ### Answer: SELECT result FROM table_name_98 WHERE attendance = "68,436"
Below is an context that describes a sql 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 (established VARCHAR, venue VARCHAR) ### Question: What is the Established date of the Brian Timmis Stadium? ### Answer: SELECT COUNT(established) FROM table_name_57 WHERE venue = "brian timmis 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_73 (enrollment INTEGER, location VARCHAR) ### Question: What's the enrollment for Kendallville? ### Answer: SELECT MAX(enrollment) FROM table_name_73 WHERE location = "kendallville"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2562572_33 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) ### Question: What is the largest ethnic group in мале пијаце (hungarian: kispiac)? ### Answer: SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE cyrillic_name_other_names = "Мале Пијаце (Hungarian: Kispiac)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_224844_4 (reason_for_change VARCHAR, district VARCHAR) ### Question: Why was a seat left open fo Connecticut at-large? ### Answer: SELECT reason_for_change FROM table_224844_4 WHERE district = "Connecticut At-large"
Below is an context that describes a sql 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 (founded INTEGER, league VARCHAR, club VARCHAR) ### Question: Which Founded has a League of women's flat track derby association, and a Club of omaha rollergirls? ### Answer: SELECT AVG(founded) FROM table_name_14 WHERE league = "women's flat track derby association" AND club = "omaha rollergirls"
Below is an context that describes a sql 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 (visiting_team VARCHAR, final_score VARCHAR) ### Question: Which visiting team wound up with a final score of 18-40? ### Answer: SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40"
Below is an context that describes a sql 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 (touchdowns INTEGER, field_goals INTEGER) ### Question: Who had the most touchdowns with more than 0 Field goals? ### Answer: SELECT MAX(touchdowns) FROM table_name_71 WHERE field_goals > 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22815259_1 (record VARCHAR, cowboys_points VARCHAR) ### Question: Name the number of record for 12 cowboys points ### Answer: SELECT COUNT(record) FROM table_22815259_1 WHERE cowboys_points = 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_99 (wins INTEGER, season VARCHAR, losses VARCHAR) ### Question: Which Wins is the lowest one that has a Season smaller than 1920, and Losses smaller than 14? ### Answer: SELECT MIN(wins) FROM table_name_99 WHERE season < 1920 AND losses < 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_85 (Id VARCHAR) ### Question: What is in 2002 has a 2001 score 1–0, and a 2000 of 3–0? ### Answer: SELECT 2002 FROM table_name_85 WHERE 2001 = "1–0" AND 2000 = "3–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_16323766_3 (preliminary_average VARCHAR, state VARCHAR) ### Question: What was the preliminary average for Miss Maryland? ### Answer: SELECT preliminary_average FROM table_16323766_3 WHERE state = "Maryland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19061741_3 (name VARCHAR, home_or_representative_town_or_province VARCHAR) ### Question: When guiguinto, bulacan is the home or representative town or province how many names are there? ### Answer: SELECT COUNT(name) FROM table_19061741_3 WHERE home_or_representative_town_or_province = "Guiguinto, Bulacan"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE representative (Name VARCHAR, Party VARCHAR) ### Question: What are the names and parties of representatives? ### Answer: SELECT Name, Party FROM representative
Below is an context that describes a sql 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 (nationality VARCHAR, pick VARCHAR, round VARCHAR, college VARCHAR) ### Question: What is the nationality of the player from Round 2, Pick 19 from College of Kansas State? ### Answer: SELECT nationality FROM table_name_42 WHERE round = "2" AND college = "kansas state" AND pick = "19"
Below is an context that describes a sql 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 (llws VARCHAR, year VARCHAR) ### Question: What is the LLWS when the Year is 2003? ### Answer: SELECT llws FROM table_name_37 WHERE year = 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_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR) ### Question: What is the ratio of Republicans to Democrats in South Carolina? ### Answer: SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south 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_2803106_1 (total VARCHAR, tonioli VARCHAR, horwood VARCHAR) ### Question: How many times did tonioli score a 9 when horwood scored a 6? ### Answer: SELECT COUNT(total) FROM table_2803106_1 WHERE tonioli = "9" AND horwood = "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_46 (entrant VARCHAR, rounds VARCHAR, driver VARCHAR) ### Question: Who was the entrant for all the round with Jean Alesi? ### Answer: SELECT entrant FROM table_name_46 WHERE rounds = "all" AND driver = "jean alesi"
Below is an context that describes a sql 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 (platform VARCHAR, name VARCHAR, system VARCHAR, license VARCHAR) ### Question: What platform is nds4droid on for the nintendo ds with a license of gpl v2? ### Answer: SELECT platform FROM table_name_93 WHERE system = "nintendo ds" AND license = "gpl v2" AND name = "nds4droid"
Below is an context that describes a sql 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 (current_version VARCHAR, license VARCHAR, name VARCHAR) ### Question: what is the current version of the project64 with gpl v2 license? ### Answer: SELECT current_version FROM table_name_38 WHERE license = "gpl v2" AND name = "project64"
Below is an context that describes a sql 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 (losses VARCHAR, total VARCHAR, wins VARCHAR) ### Question: How many losses had a total of 17 and more than 10 wins? ### Answer: SELECT COUNT(losses) FROM table_name_94 WHERE total = 17 AND wins > 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_23242933_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) ### Question: When did 6.09 million people in the US see the original airing of an episode of the show? ### Answer: SELECT original_air_date FROM table_23242933_2 WHERE us_viewers__millions_ = "6.09"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2380212_1 (league VARCHAR, avg_attendance VARCHAR) ### Question: How many different Leagues had average attendance of 3589? ### Answer: SELECT COUNT(league) FROM table_2380212_1 WHERE avg_attendance = 3589
Below is an context that describes a sql 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 (number_of_dances VARCHAR, place VARCHAR, total_points VARCHAR) ### Question: How many dances placed below 1 with a point total of 40? ### Answer: SELECT number_of_dances FROM table_name_69 WHERE place > 1 AND total_points = 40
Below is an context that describes a sql 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 (status VARCHAR, date VARCHAR) ### Question: Which Status has a Date of 19/05/1981? ### Answer: SELECT status FROM table_name_34 WHERE date = "19/05/1981"
Below is an context that describes a sql 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 (year__ceremony_ VARCHAR, original_title VARCHAR) ### Question: What year was Zona Sur nominated? ### Answer: SELECT year__ceremony_ FROM table_name_69 WHERE original_title = "zona sur"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR) ### Question: List all the dates of enrollment and completion of students. ### Answer: SELECT date_of_enrolment, date_of_completion FROM Student_Course_Enrolment
Below is an context that describes a sql 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 (pick VARCHAR, school_club_team VARCHAR) ### Question: How many picks does Auburn have? ### Answer: SELECT COUNT(pick) FROM table_name_47 WHERE school_club_team = "auburn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27537518_4 (record VARCHAR, date VARCHAR) ### Question: What was the record for the October 16 game? ### Answer: SELECT record FROM table_27537518_4 WHERE date = "October 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_26419467_1 (hometown VARCHAR, fresh_meat_partner VARCHAR) ### Question: How many cast members had sydney walker as their fresh meat partner? ### Answer: SELECT COUNT(hometown) FROM table_26419467_1 WHERE fresh_meat_partner = "Sydney Walker"
Below is an context that describes a sql 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 (tie_no VARCHAR, away_team VARCHAR) ### Question: What's the tie number when the away team was Mansfield Town? ### Answer: SELECT tie_no FROM table_name_3 WHERE away_team = "mansfield town"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12608427_8 (no INTEGER, name VARCHAR) ### Question: What is the number for De Vries? ### Answer: SELECT MIN(no) FROM table_12608427_8 WHERE name = "de Vries"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Customer_Payments (payment_method_code VARCHAR) ### Question: List all payment methods and number of payments using each payment methods. ### Answer: SELECT payment_method_code, COUNT(*) FROM Customer_Payments GROUP BY payment_method_code
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14984126_1 (game_site VARCHAR, result VARCHAR) ### Question: what's the game site with result being l 24–34 ### Answer: SELECT game_site FROM table_14984126_1 WHERE result = "L 24–34"
Below is an context that describes a sql 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 (location VARCHAR, mountain_peak VARCHAR) ### Question: What is the location of Blanca Peak? ### Answer: SELECT location FROM table_name_77 WHERE mountain_peak = "blanca peak"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26669939_1 (year VARCHAR, host_country VARCHAR) ### Question: In what year was Montenegro the host country? ### Answer: SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro"
Below is an context that describes a sql 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 (points INTEGER, score VARCHAR) ### Question: Which Points have a Score of 4–1? ### Answer: SELECT MAX(points) FROM table_name_35 WHERE score = "4–1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_17 (years VARCHAR, duration VARCHAR, character VARCHAR) ### Question: what is the years when the duration is 13 years and the character is renee phelan? ### Answer: SELECT years FROM table_name_17 WHERE duration = "13 years" AND character = "renee phelan"
Below is an context that describes a sql 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 (major_third VARCHAR, perfect_fifth VARCHAR) ### Question: What is the Major third with a Perfect fifth that is d? ### Answer: SELECT major_third FROM table_name_20 WHERE perfect_fifth = "d"
Below is an context that describes a sql 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 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR) ### Question: What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985? ### Answer: SELECT AVG(goal_ratio) FROM table_name_71 WHERE goals > 1 AND games > 161 AND debut_in_europe < 1985
Below is an context that describes a sql 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 (sponsor_s_ VARCHAR, rounds VARCHAR, driver_s_ VARCHAR) ### Question: Who sponsors Josele Garza in all rounds? ### Answer: SELECT sponsor_s_ FROM table_name_60 WHERE rounds = "all" AND driver_s_ = "josele garza"
Below is an context that describes a sql 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 (surface VARCHAR, tournament VARCHAR) ### Question: What is the type of Surface for the New Zealand F1 Futures Tournament? ### Answer: SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures"
Below is an context that describes a 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 (result VARCHAR, first_elected VARCHAR) ### Question: what's the result with first elected being 1922 ### Answer: SELECT result FROM table_1342359_15 WHERE first_elected = 1922
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15327489_1 (riders VARCHAR, team_name VARCHAR) ### Question: Name the rdiers for jir team scot motogp ### Answer: SELECT riders FROM table_15327489_1 WHERE team_name = "JiR Team Scot MotoGP"
Below is an context that describes a sql 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 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR) ### Question: Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1? ### Answer: SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 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_13 (length VARCHAR, disc VARCHAR) ### Question: What is the length of disc 67? ### Answer: SELECT length FROM table_name_13 WHERE disc = "67"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13836704_9 (freight__metric_tonnes_ INTEGER, airport VARCHAR) ### Question: what is the maximum freight (metric tonnes) with airport being liverpool ### Answer: SELECT MAX(freight__metric_tonnes_) FROM table_13836704_9 WHERE airport = "Liverpool"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_56 (nat VARCHAR, goals INTEGER) ### Question: What is the nationality for the player with over 64 goals? ### Answer: SELECT nat FROM table_name_56 WHERE goals > 64
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR, show VARCHAR) ### Question: Which Weekly Rank for a Live Final Show has an Official Ratings (millions) greater than 5.2? ### Answer: SELECT weekly_rank FROM table_name_8 WHERE official_ratings__millions_ > 5.2 AND show = "live 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_31 (owner VARCHAR, format VARCHAR, branding VARCHAR) ### Question: Who owns the kool-fm branding in the adult hits format? ### Answer: SELECT owner FROM table_name_31 WHERE format = "adult hits" AND branding = "kool-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_14288212_1 (win INTEGER, played VARCHAR) ### Question: For teams that played 5 games, what was the smallest number of wins? ### Answer: SELECT MIN(win) FROM table_14288212_1 WHERE played = 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_2 (points VARCHAR, chassis VARCHAR) ### Question: Tell me the total number of points with chassis of tf103 ### Answer: SELECT COUNT(points) FROM table_name_2 WHERE chassis = "tf103"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Services (Service_Type_Code VARCHAR); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR) ### Question: What is the description and code of the type of service that is performed the most often? ### Answer: SELECT T1.Service_Type_Description, T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T1.Service_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_80 (losses INTEGER, against VARCHAR, wins VARCHAR) ### Question: What is the greatest number of losses when the against is 1465 and there are more than 7 wins? ### Answer: SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 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_45 (gold INTEGER, rank VARCHAR, total VARCHAR) ### Question: How many Gold does the Nation in Rank 12 with less than 2 Total medals have? ### Answer: SELECT MAX(gold) FROM table_name_45 WHERE rank = "12" AND total < 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_26400438_1 (podiums VARCHAR, team VARCHAR) ### Question: how many seasons did he race in team Carlin? ### Answer: SELECT COUNT(podiums) FROM table_26400438_1 WHERE team = "Carlin"
Below is an context that describes 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_ID VARCHAR, Template_Type_Code VARCHAR); CREATE TABLE Documents (Template_ID VARCHAR) ### Question: How many documents are using the template with type code 'PPT'? ### Answer: SELECT COUNT(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID = T2.Template_ID WHERE T2.Template_Type_Code = 'PPT'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_15 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the game when the record was 21-13? ### Answer: SELECT loss FROM table_name_15 WHERE record = "21-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_25695027_1 (years_built VARCHAR, cylinder_size VARCHAR, firebox VARCHAR) ### Question: This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when? ### Answer: SELECT years_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Radial-stay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24278858_2 (week INTEGER, opponent VARCHAR) ### Question: What week did they play the amsterdam admirals? ### Answer: SELECT MAX(week) FROM table_24278858_2 WHERE opponent = "Amsterdam Admirals"
Below is an context that describes a sql 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, opponent VARCHAR) ### Question: When was there a game against the Indianapolis colts? ### Answer: SELECT date FROM table_name_72 WHERE opponent = "indianapolis colts"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30012404_4 (us_air_date VARCHAR, directed_by VARCHAR) ### Question: What is the US air date when the director is ken girotti? ### Answer: SELECT us_air_date FROM table_30012404_4 WHERE directed_by = "Ken Girotti"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (game INTEGER, location VARCHAR, attendance VARCHAR) ### Question: What is the lowest Game, when Location is Philips Arena, and when Attendance is less than 15,619? ### Answer: SELECT MIN(game) FROM table_name_68 WHERE location = "philips arena" AND attendance < 15 OFFSET 619
Below is an context that describes a sql 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 (elevation_ VARCHAR, _height VARCHAR, delivery VARCHAR, location VARCHAR) ### Question: Which Elevation + Height has a Delivery of barge and a Location of bikini, yurochi aka irioj (dog)? ### Answer: SELECT elevation_ + _height FROM table_name_96 WHERE delivery = "barge" AND location = "bikini, yurochi aka irioj (dog)"
Below is an context that describes a sql 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 (weight INTEGER, height VARCHAR, date_of_birth VARCHAR) ### Question: What is the lowest Weight when the height is 196, and the date of birth is 24.07.1977? ### Answer: SELECT MIN(weight) FROM table_name_28 WHERE height = 196 AND date_of_birth = "24.07.1977"
Below is an context that describes a sql 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 (years_for_jazz VARCHAR, position VARCHAR, school_club_team VARCHAR) ### Question: At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play? ### Answer: SELECT years_for_jazz FROM table_name_43 WHERE position = "guard" AND school_club_team = "notre dame"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2528382_5 (year INTEGER, music_director VARCHAR) ### Question: What year did Naushad Direct the Music? ### Answer: SELECT MAX(year) FROM table_2528382_5 WHERE music_director = "Naushad"
Below is an context that describes 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_Authors_and_Tutors (login_name VARCHAR); CREATE TABLE Students (login_name VARCHAR) ### Question: Find the common login name of course authors and students. ### Answer: SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17933600_2 (date_of_vacancy VARCHAR, outgoing_manage VARCHAR) ### Question: What day did the job open up when bogićević was outgoing? ### Answer: SELECT date_of_vacancy FROM table_17933600_2 WHERE outgoing_manage = "Bogićević"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_300283_1 (official_name VARCHAR, name_in_basque VARCHAR) ### Question: What is the official name of the municipality whose name in Basque is Bilar? ### Answer: SELECT official_name FROM table_300283_1 WHERE name_in_basque = "Bilar"
Below is an context that describes a sql 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 (total INTEGER, country VARCHAR, to_par VARCHAR) ### Question: What is Zimbabwe's total with a to par higher than 5? ### Answer: SELECT AVG(total) FROM table_name_34 WHERE country = "zimbabwe" AND to_par > 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_51 (grid VARCHAR, laps VARCHAR, driver VARCHAR) ### Question: When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid? ### Answer: SELECT COUNT(grid) FROM table_name_51 WHERE laps > 60 AND driver = "heinz-harald frentzen"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR) ### Question: Name the area for german ### Answer: SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German"
Below is an context that describes a sql 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 (tournament VARCHAR, partnering VARCHAR) ### Question: Partnering of franco ferreiro had what tournament? ### Answer: SELECT tournament FROM table_name_20 WHERE partnering = "franco ferreiro"
Below is an context that describes a sql 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 (budget VARCHAR, month_ VARCHAR, _year VARCHAR) ### Question: What was the Top Gear budget in March 2013? ### Answer: SELECT budget FROM table_name_39 WHERE month_ & _year = "march 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_28059992_6 (college VARCHAR, player VARCHAR) ### Question: What college did Francis Bellefroid go to? ### Answer: SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (date VARCHAR, venue VARCHAR) ### Question: What was the date of the game at Princes Park? ### Answer: SELECT date FROM table_name_83 WHERE venue = "princes 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_1341640_43 (district VARCHAR, incumbent VARCHAR) ### Question: Where was Al Gore elected ### Answer: SELECT district FROM table_1341640_43 WHERE incumbent = "Al Gore"
Below is an context that describes a sql 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 (team_1 VARCHAR) ### Question: What is the 1st leg where Team 1 is C.D. Plaza Amador? ### Answer: SELECT 1 AS st_leg FROM table_name_12 WHERE team_1 = "c.d. plaza amador"
Below is an context that describes a sql 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 (pick__number VARCHAR, round VARCHAR) ### Question: What is the pick number for the player(s) drafted in round 8? ### Answer: SELECT pick__number FROM table_name_31 WHERE round = "round 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_26842217_18 (time VARCHAR, visiting_team VARCHAR) ### Question: Name the number of time for uab ### Answer: SELECT COUNT(time) FROM table_26842217_18 WHERE visiting_team = "UAB"