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_56 (hanja VARCHAR, mccune_reischauer VARCHAR) ### Question: What is the Hanja for McCune-Reischauer of chŏn? ### Answer: SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn"
Below is an context that describes a sql 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 (no_1 VARCHAR, region__year_ VARCHAR) ### Question: What is the No 1 from the Maryland (2008) Region (year)? ### Answer: SELECT no_1 FROM table_name_27 WHERE region__year_ = "maryland (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_3 (week_1 VARCHAR, week_3 VARCHAR) ### Question: Who is week 1 if week 3 is Natasha Budhi? ### Answer: SELECT week_1 FROM table_name_3 WHERE week_3 = "natasha budhi"
Below is an context that describes a sql 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 (team VARCHAR, game VARCHAR) ### Question: Which team has a Game of 49? ### Answer: SELECT team FROM table_name_18 WHERE game = 49
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_41 (attendance VARCHAR, runner_up VARCHAR, title VARCHAR) ### Question: What is the Attendance number when the runner-up was suntory sungoliath, and a Title of 46th? ### Answer: SELECT attendance FROM table_name_41 WHERE runner_up = "suntory sungoliath" AND title = "46th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Sportsinfo (StuID VARCHAR, sex VARCHAR, sportname VARCHAR); CREATE TABLE Student (StuID VARCHAR, sex VARCHAR, sportname VARCHAR) ### Question: Show student ids who are female and play football. ### Answer: SELECT StuID FROM Student WHERE sex = 'F' INTERSECT SELECT StuID FROM Sportsinfo WHERE sportname = "Football"
Below is an context that describes a sql 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 (population INTEGER, per_capita_income VARCHAR) ### Question: When the Per capita income is $29,194, what is the average population? ### Answer: SELECT AVG(population) FROM table_name_70 WHERE per_capita_income = "$29,194"
Below is an context that describes a sql 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 (team VARCHAR, best VARCHAR) ### Question: What Team had a 1:25.602 Best? ### Answer: SELECT team FROM table_name_41 WHERE best = "1:25.602"
Below is an context that describes a sql 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 (event VARCHAR, placed VARCHAR, year VARCHAR) ### Question: What event placed bronze earlier than 1987? ### Answer: SELECT event FROM table_name_16 WHERE placed = "bronze" AND year < 1987
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17058178_8 (team VARCHAR, date VARCHAR) ### Question: Who did the Trail Blazers play on January 2? ### Answer: SELECT team FROM table_17058178_8 WHERE date = "January 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_78 (austria VARCHAR) ### Question: What is the smallest number for 102 when Friendly of friendly, and an Austria of greece? ### Answer: SELECT MIN(102) FROM table_name_78 WHERE "friendly" = "friendly" AND austria = "greece"
Below is an context that describes a sql 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 (host VARCHAR, city VARCHAR) ### Question: Which host university is based in Missoula? ### Answer: SELECT host FROM table_name_40 WHERE city = "missoula"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE actor (Character VARCHAR, Duration VARCHAR) ### Question: What are the characters and duration of actors? ### Answer: SELECT Character, Duration FROM actor
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17118657_7 (date VARCHAR, record VARCHAR) ### Question: On which date was the record 1-4? ### Answer: SELECT date FROM table_17118657_7 WHERE record = "1-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30120547_1 (civil_parish VARCHAR, area__acres__ VARCHAR) ### Question: What are the civil parishes of the townlands with an area of 119 acres? ### Answer: SELECT civil_parish FROM table_30120547_1 WHERE area__acres__ = 119
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE list (firstname VARCHAR, lastname VARCHAR) ### Question: Report the first name and last name of all the students. ### Answer: SELECT DISTINCT firstname, lastname FROM list
Below is an context that describes a sql 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 (score VARCHAR, goal INTEGER) ### Question: What is the score when there are less than 2 goals? ### Answer: SELECT score FROM table_name_18 WHERE goal < 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_14407512_24 (nationality VARCHAR) ### Question: Name the 1st m for nor ### Answer: SELECT 1 AS st__m_ FROM table_14407512_24 WHERE nationality = "NOR"
Below is an context that describes a sql 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 (second_member VARCHAR, first_member VARCHAR, first_party VARCHAR, year VARCHAR) ### Question: Who is the second member ewarlier than 1804 when Tory Henry Isherwood is the first member? ### Answer: SELECT second_member FROM table_name_15 WHERE first_party = "tory" AND year < 1804 AND first_member = "henry isherwood"
Below is an context that describes a sql 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 (televote_points VARCHAR, final_points VARCHAR) ### Question: What Televote Points had a Final Points score of 2? ### Answer: SELECT televote_points FROM table_name_43 WHERE final_points = "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_54 (horse VARCHAR, finished VARCHAR) ### Question: Which Horse finished in 8? ### Answer: SELECT horse FROM table_name_54 WHERE finished = "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_24 (year INTEGER, bsu_head_coach VARCHAR) ### Question: What is the sum of the years with bus conner as the BSU head coach? ### Answer: SELECT SUM(year) FROM table_name_24 WHERE bsu_head_coach = "bus conner"
Below is an context that describes a sql 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 (stadium VARCHAR, visiting_team VARCHAR) ### Question: What stadium did the Denver Broncos visit? ### Answer: SELECT stadium FROM table_name_60 WHERE visiting_team = "denver broncos"
Below is an context that describes a sql 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 (game INTEGER, date VARCHAR) ### Question: What is the highest game that has July 31 as the date? ### Answer: SELECT MAX(game) FROM table_name_6 WHERE date = "july 31"
Below is an context that describes a sql 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 (icao VARCHAR, iata VARCHAR) ### Question: What is the ICAO when the IATA is ist? ### Answer: SELECT icao FROM table_name_34 WHERE iata = "ist"
Below is an context that describes a sql 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 (original_title VARCHAR, director VARCHAR) ### Question: What is the original title where Paul Verhoeven is the director? ### Answer: SELECT original_title FROM table_name_42 WHERE director = "paul verhoeven"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15211468_3 (episode_no VARCHAR, presenter VARCHAR) ### Question: What episode number is presented by Ben Okri ? ### Answer: SELECT episode_no FROM table_15211468_3 WHERE presenter = "Ben Okri"
Below is an context that describes a sql 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 (year VARCHAR, runs VARCHAR) ### Question: For what year was 100* runs happen? ### Answer: SELECT year FROM table_name_45 WHERE runs = "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_name_81 (almalı__qax_ VARCHAR, malax VARCHAR) ### Question: What is the Almali village with the Malax village qaxingiloy? ### Answer: SELECT almalı__qax_ FROM table_name_81 WHERE malax = "qaxingiloy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25604014_5 (directed_by VARCHAR, production_code VARCHAR) ### Question: Who direcred the episode with production code 7d03? ### Answer: SELECT directed_by FROM table_25604014_5 WHERE production_code = "7D03"
Below is an context that describes a sql 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 (city VARCHAR, results¹ VARCHAR, opponent VARCHAR) ### Question: In what City was Bulgaria the Opponent with Results¹ of 1:0? ### Answer: SELECT city FROM table_name_6 WHERE results¹ = "1:0" AND opponent = "bulgaria"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11827596_2 (lyricist VARCHAR, co_singer VARCHAR, film_name VARCHAR) ### Question: how many times is the co-singer suresh wadkar and the film name is tera dukh mera dukh? ### Answer: SELECT COUNT(lyricist) FROM table_11827596_2 WHERE co_singer = "Suresh Wadkar" AND film_name = "Tera Dukh Mera Dukh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR) ### Question: Name the maximum year built for holmedal kyrkje ### Answer: SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = "Holmedal kyrkje"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22464308_2 (malaysian_team_classification VARCHAR, points_classification VARCHAR) ### Question: Which malaysian team classification had mohd nur rizuan zainal as points classification? ### Answer: SELECT malaysian_team_classification FROM table_22464308_2 WHERE points_classification = "Mohd Nur Rizuan Zainal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (airport VARCHAR, iata VARCHAR) ### Question: Which airport has an IATA of hgh? ### Answer: SELECT airport FROM table_name_29 WHERE iata = "hgh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (category VARCHAR, nominated VARCHAR) ### Question: In what category was Herself nominated? ### Answer: SELECT category FROM table_name_21 WHERE nominated = "herself"
Below is an context that describes a sql 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 (year INTEGER, result VARCHAR, nominated_work_title VARCHAR) ### Question: what is the lowest year with the result is nominated for the work title is love bites? ### Answer: SELECT MIN(year) FROM table_name_99 WHERE result = "nominated" AND nominated_work_title = "love bites"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2114238_1 (archive VARCHAR, run_time VARCHAR) ### Question: Which archive has a run time of 23:48? ### Answer: SELECT archive FROM table_2114238_1 WHERE run_time = "23: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 table_2511876_1 (reg_season VARCHAR, year VARCHAR) ### Question: Mame the reg season for 2001 ### Answer: SELECT reg_season FROM table_2511876_1 WHERE year = 2001
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_50 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR) ### Question: What is the Class for the ERP W of more than 2 and the call sign of w223au? ### Answer: SELECT class FROM table_name_50 WHERE erp_w > 2 AND call_sign = "w223au"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10975034_4 (player VARCHAR, pick__number VARCHAR) ### Question: Which players have a pick number of 27? ### Answer: SELECT player FROM table_10975034_4 WHERE pick__number = 27
Below is an context that describes a sql 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 (year VARCHAR) ### Question: what is 2001 when the year is ebitda and 2009 is less than 3,600? ### Answer: SELECT SUM(2001) FROM table_name_73 WHERE year = "ebitda" AND 2009 < 3 OFFSET 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_name_72 (score VARCHAR, tie_no VARCHAR) ### Question: What was the score when the tie no was 12? ### Answer: SELECT score FROM table_name_72 WHERE tie_no = "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_2 (week INTEGER, attendance VARCHAR) ### Question: For what week was the attendance 40,429? ### Answer: SELECT SUM(week) FROM table_name_2 WHERE attendance = 40 OFFSET 429
Below is an context that describes a sql 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 (bronze VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: What's the bronze medal count of Spain that has less than 39 Gold, 3 silver, and a rank better than 35? ### Answer: SELECT bronze FROM table_name_27 WHERE gold < 39 AND silver = 3 AND rank < 35 AND nation = "spain"
Below is an context that describes a 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_19 (director VARCHAR, series__number VARCHAR) ### Question: Who directed episode number 626 in the series? ### Answer: SELECT director FROM table_25800134_19 WHERE series__number = 626
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25360865_1 (_number VARCHAR, last_school VARCHAR) ### Question: Name the number for florida air academy ### Answer: SELECT _number FROM table_25360865_1 WHERE last_school = "Florida Air Academy"
Below is an context that describes 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 (LName VARCHAR, Major VARCHAR) ### Question: Find the last names of students with major 50. ### Answer: SELECT LName FROM STUDENT WHERE Major = 50
Below is an context that describes a sql 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 (part_3 VARCHAR, verb_meaning VARCHAR) ### Question: What is the Part 3 when the Verb meaning is to gather? ### Answer: SELECT part_3 FROM table_name_60 WHERE verb_meaning = "to gather"
Below is an context that describes a sql 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 (league INTEGER) ### Question: What is the lowest number of League Cups a player with a 434 league has? ### Answer: SELECT MIN(league) AS Cup FROM table_name_34 WHERE league = 434
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, series VARCHAR) ### Question: Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)? ### Answer: SELECT uk_co_presenter FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND series = "Eleven (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_23 (ifop_5_11_09 VARCHAR, opinionway_5_11_09 VARCHAR, ipsos_3_14_09 VARCHAR) ### Question: Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos 3/14/09 of 2% ### Answer: SELECT ifop_5_11_09 FROM table_name_23 WHERE opinionway_5_11_09 = "2%" AND ipsos_3_14_09 = "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_66 (played INTEGER, drawn VARCHAR, against VARCHAR) ### Question: What is the smallest played amount when there are 2 draws and an against of more than 73? ### Answer: SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 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_14058433_4 (points_against VARCHAR, won VARCHAR) ### Question: what's the points against with won being 11 ### Answer: SELECT points_against FROM table_14058433_4 WHERE won = "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_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) ### Question: Who was the winner if the Mountains Classification award was given to Jaime Vergara and the Team Classification award is given to Col es Pasion Café De Colombia 472? ### Answer: SELECT winner FROM table_28853064_15 WHERE mountains_classification = "Jaime Vergara" AND team_classification = "Col es Pasion Café De Colombia 472"
Below is an context that describes a sql 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 (time___et__ VARCHAR, location VARCHAR) ### Question: What time did the game at memorial stadium take place? ### Answer: SELECT time___et__ FROM table_name_49 WHERE location = "memorial 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_1974545_2 (nickname VARCHAR, institution VARCHAR) ### Question: What's the nickname of Westfield State University's students? ### Answer: SELECT nickname FROM table_1974545_2 WHERE institution = "Westfield State University"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23937219_3 (directed_by VARCHAR, season__number VARCHAR) ### Question: How many people directed episode 7 In the season? ### Answer: SELECT COUNT(directed_by) FROM table_23937219_3 WHERE season__number = 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_77 (college VARCHAR, name VARCHAR) ### Question: What college is Pat Thomas from? ### Answer: SELECT college FROM table_name_77 WHERE name = "pat thomas"
Below is an context that describes a sql 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 (game INTEGER, record VARCHAR) ### Question: Name the least game for record of 5-1-3 ### Answer: SELECT MIN(game) FROM table_name_93 WHERE record = "5-1-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_55 (bush_number INTEGER, bush_percentage VARCHAR, others_number VARCHAR) ### Question: What is the smallest bush# with 66.0% bush and less than 65 others#? ### Answer: SELECT MIN(bush_number) FROM table_name_55 WHERE bush_percentage = "66.0%" AND others_number < 65
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR) ### Question: What CFL teams are part of Simon Fraser college? ### Answer: SELECT cfl_team FROM table_10975034_4 WHERE college = "Simon Fraser"
Below is an context that describes a sql 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 (nord VARCHAR, berlin VARCHAR, year VARCHAR) ### Question: What is the Nord in 1952, when tennis borussia berlin was Berlin? ### Answer: SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_30018460_1 (total INTEGER) ### Question: What is the minimum sum? ### Answer: SELECT MIN(total) FROM table_30018460_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_1529260_2 (year VARCHAR, champion VARCHAR) ### Question: How many years was Jiyai Shin the champion? ### Answer: SELECT COUNT(year) FROM table_1529260_2 WHERE champion = "Jiyai Shin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (type VARCHAR, rank VARCHAR) ### Question: What is the type for rank 2? ### Answer: SELECT type FROM table_name_26 WHERE rank = 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_25 (series_premiere VARCHAR, tv_network_s_ VARCHAR) ### Question: Which series premiered on Acasa TV? ### Answer: SELECT series_premiere FROM table_name_25 WHERE tv_network_s_ = "acasa tv"
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR) ### Question: What's the date when the score was 690.3? ### Answer: SELECT date FROM table_name_77 WHERE score = "690.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_29 (length VARCHAR, junctions VARCHAR, route_name VARCHAR) ### Question: What's the length of route FM 2895 with junctions sh 359 us 59? ### Answer: SELECT length FROM table_name_29 WHERE junctions = "sh 359 us 59" AND route_name = "fm 2895"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR) ### Question: What was the reason for change when the successor was William Milnes, Jr. (C)? ### Answer: SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19744915_15 (rank INTEGER) ### Question: What is the lowest rank? ### Answer: SELECT MIN(rank) FROM table_19744915_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_20174050_1 (title VARCHAR, story__number VARCHAR) ### Question: What's the title of the audio book with story number 91? ### Answer: SELECT title FROM table_20174050_1 WHERE story__number = 91
Below is an context that describes a sql 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 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR) ### Question: What were the lowest goals when there were mor than 15 wins and the goal difference was larger than 35? ### Answer: SELECT MIN(goals_for) FROM table_name_25 WHERE wins > 15 AND goal_difference > 35
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_98 (res VARCHAR, event VARCHAR) ### Question: What is the result for the Call to Arms I event? ### Answer: SELECT res FROM table_name_98 WHERE event = "call to arms i"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR) ### Question: What is the country where there are 8 children per donor and no data for donor payments? ### Answer: SELECT country FROM table_16175217_1 WHERE children_per_donor = "8 children" AND donor_payment = "no data"
Below is an context that describes a sql 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 (rank INTEGER, gold VARCHAR, total VARCHAR) ### Question: What is the total of rank when gold is 2 and total is more than 4? ### Answer: SELECT SUM(rank) FROM table_name_99 WHERE gold = 2 AND total > 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR) ### Question: What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth? ### Answer: SELECT hypertransport_version FROM table_name_51 WHERE max_aggregate_bandwidth__bi_directional_ = "22.4 gb/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_21 (losses INTEGER, wins VARCHAR, matches VARCHAR) ### Question: What is the highest Losses, when Wins is "1", and when Matches is less than 2? ### Answer: SELECT MAX(losses) FROM table_name_21 WHERE wins = 1 AND matches < 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_18540104_1 (japanese_title VARCHAR, average_ratings VARCHAR) ### Question: What is the Japanese title with an average rating of 11.6%? ### Answer: SELECT japanese_title FROM table_18540104_1 WHERE average_ratings = "11.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_74 (title VARCHAR, doctor VARCHAR, published VARCHAR) ### Question: What is the title of the 8th doctor published in January 2003? ### Answer: SELECT title FROM table_name_74 WHERE doctor = "8th" AND published = "january 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_12 (opponent VARCHAR, record VARCHAR) ### Question: Which is the opponent when the record was 43-56? ### Answer: SELECT opponent FROM table_name_12 WHERE record = "43-56"
Below is an context that describes a sql 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 (class VARCHAR) ### Question: What 1958 CIE is class s? ### Answer: SELECT 1958 AS _cié FROM table_name_69 WHERE class = "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 entrepreneur (Name VARCHAR, People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) ### Question: List the names of people that are not entrepreneurs. ### Answer: SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM entrepreneur)
Below is an context that describes a sql 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 (call_sign VARCHAR, frequency_mhz VARCHAR) ### Question: Name the call sign with frequency of 89.5 ### Answer: SELECT call_sign FROM table_name_70 WHERE frequency_mhz = 89.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_20 (pennant_number VARCHAR, current_status VARCHAR) ### Question: what builder is now retired ### Answer: SELECT pennant_number FROM table_name_20 WHERE current_status = "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_25691838_11 (production_code VARCHAR, original_airdate VARCHAR) ### Question: How many production codes were there for the episode that aired on November 15? ### Answer: SELECT COUNT(production_code) FROM table_25691838_11 WHERE original_airdate = "November 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_59 (format VARCHAR, label VARCHAR, date VARCHAR) ### Question: Name the format on july 27, 1994 for alfa records ### Answer: SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27155243_4 (written_by VARCHAR, episode__number VARCHAR) ### Question: How many items appear in the written by column in episode 3? ### Answer: SELECT COUNT(written_by) FROM table_27155243_4 WHERE episode__number = 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 airport (name VARCHAR) ### Question: Which of the airport names contains the word 'international'? ### Answer: SELECT name FROM airport WHERE name LIKE '%international%'
Below is an context that describes a sql 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 (top_speed VARCHAR, model_name VARCHAR) ### Question: Which Top Speed has a Model Name of d14/4 supreme d14/4 sports & bushman? ### Answer: SELECT top_speed FROM table_name_69 WHERE model_name = "d14/4 supreme d14/4 sports & bushman"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1973842_2 (location VARCHAR, nickname VARCHAR) ### Question: Where is the school with nickname Tigers located? ### Answer: SELECT location FROM table_1973842_2 WHERE nickname = "Tigers"
Below is an context that describes a sql 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 (season VARCHAR, nationality VARCHAR, position VARCHAR) ### Question: What season did a United States center play in? ### Answer: SELECT season FROM table_name_46 WHERE nationality = "united states" AND position = "center"
Below is an context that describes a sql 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 (aggregate VARCHAR) ### Question: What was the 1st leg that had a 4-2 aggregate? ### Answer: SELECT 1 AS st_leg FROM table_name_33 WHERE aggregate = "4-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 employees (employee_id VARCHAR, salary VARCHAR, manager_id VARCHAR, first_name VARCHAR) ### Question: display the employee id and salary of all employees who report to Payam (first name). ### Answer: SELECT employee_id, salary FROM employees WHERE manager_id = (SELECT employee_id FROM employees WHERE first_name = 'Payam')
Below is an context that describes a sql 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 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR) ### Question: I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16 ### Answer: SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-2011" AND lost > 16
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR) ### Question: what is the lowest position when the name is esv türkheim, and Drawn more than 0? ### Answer: SELECT MIN(position) FROM table_name_12 WHERE name = "esv türkheim" AND drawn > 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_46 (Running VARCHAR, channel VARCHAR, date VARCHAR) ### Question: What is the running time of the transmission on bbc four channels on 23 March 2008? ### Answer: SELECT Running AS time FROM table_name_46 WHERE channel = "bbc four" AND date = "23 march 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_70 (pick__number INTEGER, round VARCHAR) ### Question: What is the sum pick # of the player from round 4? ### Answer: SELECT SUM(pick__number) FROM table_name_70 WHERE round = 4
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (total_points INTEGER, bonus_pts VARCHAR, matches VARCHAR, rides VARCHAR) ### Question: What is the total for 34 matches with 111 rides, but no more than 15 bonus points? ### Answer: SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 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_92 (best_fit__wmap VARCHAR, _extra_parameter_ VARCHAR, best_fit__all_data_ VARCHAR) ### Question: What is the best fit (WMAP, extra parameter)when the best fit (all data) is .0224 ± .0009? ### Answer: SELECT best_fit__wmap, _extra_parameter_ FROM table_name_92 WHERE best_fit__all_data_ = ".0224 ± .0009"