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_91 (prohibition_ticket VARCHAR, office VARCHAR) ### Question: What kind of Prohibition ticket that has a Office of lieutenant governor? ### Answer: SELECT prohibition_ticket FROM table_name_91 WHERE office = "lieutenant governor"
Below is an context that describes a sql 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 (british VARCHAR, australian VARCHAR) ### Question: What is the British for the Australian ɔ? ### Answer: SELECT british FROM table_name_93 WHERE australian = "ɔ"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) ### Question: How many game sites are there where the team record is 1–7? ### Answer: SELECT COUNT(game_site) FROM table_25380472_2 WHERE team_record = "1–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_14688744_2 (arrival VARCHAR, station_code VARCHAR) ### Question: what is the arrival time where the station code is awy? ### Answer: SELECT arrival FROM table_14688744_2 WHERE station_code = "AWY"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (wins INTEGER, draws VARCHAR, goals_for VARCHAR) ### Question: What is the average win total associated with under 4 draws, and under 15 goals? ### Answer: SELECT AVG(wins) FROM table_name_86 WHERE draws < 4 AND goals_for < 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_1 (engine VARCHAR, entrant VARCHAR, points VARCHAR) ### Question: What engine has the Mercedes AMG Petronas f1 team, and 93 points? ### Answer: SELECT engine FROM table_name_1 WHERE entrant = "mercedes amg petronas f1 team" AND points = "93"
Below is an context that describes a sql 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 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR) ### Question: What place is associated with under 28 points, under 11 games lost, and under 18 games played? ### Answer: SELECT SUM(place) FROM table_name_71 WHERE points < 28 AND lost < 11 AND played < 18
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13514348_7 (venue VARCHAR, captain VARCHAR) ### Question: Which venue did Luke Blackwell serve as captain? ### Answer: SELECT venue FROM table_13514348_7 WHERE captain = "Luke Blackwell"
Below is an context that describes a sql 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 (isbn VARCHAR, japanese_title VARCHAR) ### Question: What is the ISBN of Japanese Title of 霧の訪問者 (kiri no hōmonsha)? ### Answer: SELECT isbn FROM table_name_54 WHERE japanese_title = "霧の訪問者 (kiri no hōmonsha)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Flight (flno VARCHAR, distance VARCHAR) ### Question: Show the flight number of flights with three lowest distances. ### Answer: SELECT flno FROM Flight ORDER BY distance 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_29 (team_2 VARCHAR, team_1 VARCHAR) ### Question: who is the team 2 when the team 1 is sestese(e16)? ### Answer: SELECT team_2 FROM table_name_29 WHERE team_1 = "sestese(e16)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE tryout (pID VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) ### Question: Find the name of all students who were in the tryout sorted in alphabetic order. ### Answer: SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID ORDER BY T1.pName
Below is an context that describes a sql 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 (lost INTEGER, draw VARCHAR, matches VARCHAR, points VARCHAR) ### Question: What is the sum of the losses that a match score larger than 26, a points score of 62, and a draw greater than 5? ### Answer: SELECT SUM(lost) FROM table_name_6 WHERE matches > 26 AND points = 62 AND draw > 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_94 (score VARCHAR, record VARCHAR) ### Question: WHAT IS THE SCORE WITH A RECORD OF 1-0? ### Answer: SELECT score FROM table_name_94 WHERE record = "1-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_2385460_1 (lines VARCHAR, route VARCHAR) ### Question: Name the number of lines for porta nolana - ottaviano- sarno ### Answer: SELECT COUNT(lines) FROM table_2385460_1 WHERE route = "Porta Nolana - Ottaviano- Sarno"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Rooms (roomName VARCHAR, bedType VARCHAR, decor VARCHAR) ### Question: List the type of bed and name of all traditional rooms. ### Answer: SELECT roomName, bedType FROM Rooms WHERE decor = "traditional"
Below is an context that describes a sql 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 (label VARCHAR, catalog VARCHAR, date VARCHAR, region VARCHAR) ### Question: What is the label for 2002, in Germany, Catalog Dos 195? ### Answer: SELECT label FROM table_name_23 WHERE date = "2002" AND region = "germany" AND catalog = "dos 195"
Below is an context that describes a sql 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 (laps INTEGER, rider VARCHAR) ### Question: What is the lowest laps that Vittorio Iannuzzo completed? ### Answer: SELECT MIN(laps) FROM table_name_1 WHERE rider = "vittorio iannuzzo"
Below is an context that describes a sql 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 (place VARCHAR, date VARCHAR) ### Question: Which place was earned on 12 feb 2012? ### Answer: SELECT place FROM table_name_93 WHERE date = "12 feb 2012"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR) ### Question: What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9? ### Answer: SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE TV_Channel (LANGUAGE VARCHAR) ### Question: How many TV Channel using language English? ### Answer: SELECT COUNT(*) FROM TV_Channel WHERE LANGUAGE = "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_name_41 (icelandic VARCHAR, english VARCHAR) ### Question: What is the Icelandic word for the English word bride? ### Answer: SELECT icelandic FROM table_name_41 WHERE english = "bride"
Below is an context that describes a sql 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, year VARCHAR) ### Question: Which Length has a Year of 2000? ### Answer: SELECT length FROM table_name_13 WHERE year = 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_47 (touchdowns INTEGER, player VARCHAR, extra_points VARCHAR, points VARCHAR) ### Question: Which Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden? ### Answer: SELECT AVG(touchdowns) FROM table_name_47 WHERE extra_points = 0 AND points > 5 AND player = "curtis redden"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (location VARCHAR, result VARCHAR) ### Question: What location was the game with the result of 29-14? ### Answer: SELECT location FROM table_name_11 WHERE result = "29-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_33 (player VARCHAR, score VARCHAR, place VARCHAR) ### Question: Which Player has a Score smaller than 69, and a Place of t1? ### Answer: SELECT player FROM table_name_33 WHERE score < 69 AND place = "t1"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (average INTEGER, rank_by_average INTEGER) ### Question: What is the average when the rank by average is more than 12? ### Answer: SELECT SUM(average) FROM table_name_88 WHERE rank_by_average > 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_60 (earnings___ INTEGER, player VARCHAR) ### Question: What is the highest earnings for curtis strange? ### Answer: SELECT MAX(earnings___) AS $__ FROM table_name_60 WHERE player = "curtis strange"
Below is an context that describes a sql 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 (tries_for VARCHAR, tries_against VARCHAR) ### Question: What is the tries for when 52 was the tries against? ### Answer: SELECT tries_for FROM table_name_89 WHERE tries_against = "52"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR) ### Question: Which Location Attendance has a Date of april 15? ### Answer: SELECT location_attendance FROM table_name_52 WHERE date = "april 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 Movie (mID VARCHAR, title VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) ### Question: Find the names of all reviewers who rated Gone with the Wind. ### Answer: SELECT DISTINCT T3.name FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.title = 'Gone with the Wind'
Below is an context that describes a sql 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 (rank VARCHAR) ### Question: What is the 2006 sum with a rank 1 and more than 6758845 in 1996? ### Answer: SELECT SUM(2006) FROM table_name_38 WHERE rank = 1 AND 1996 > 6758845
Below is an context that describes a sql 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 (year INTEGER, opponent VARCHAR) ### Question: Name the sum of year for penrith panthers opponent ### Answer: SELECT SUM(year) FROM table_name_93 WHERE opponent = "penrith panthers"
Below is an context that describes a sql 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 (league INTEGER, other VARCHAR, name VARCHAR) ### Question: What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1? ### Answer: SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 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_83 (venue VARCHAR, score VARCHAR, year VARCHAR) ### Question: What venue has 3 & 2 as the score, and 1965 as the year? ### Answer: SELECT venue FROM table_name_83 WHERE score = "3 & 2" AND year = "1965"
Below is an context that describes a sql 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 (recorded VARCHAR, time VARCHAR, track VARCHAR, release_date VARCHAR) ### Question: Tell me the recorded for time of 2:50 and released date of 6/6/77 with track more than 20 ### Answer: SELECT recorded FROM table_name_84 WHERE track > 20 AND release_date = "6/6/77" AND time = "2: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_13397394_1 (completed VARCHAR, address VARCHAR) ### Question: what is the maximum completed for address on 410 22nd st e ### Answer: SELECT completed FROM table_13397394_1 WHERE address = "410 22nd St E"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR) ### Question: Name the IHSAA Class of Mascot of pioneers? ### Answer: SELECT ihsaa_class FROM table_name_32 WHERE mascot = "pioneers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23286158_11 (score VARCHAR, high_points VARCHAR) ### Question: What is the score when high points were Andre Miller (31)? ### Answer: SELECT score FROM table_23286158_11 WHERE high_points = "Andre Miller (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_75 (road_number VARCHAR, type VARCHAR, rank VARCHAR) ### Question: What is the rad number for the dead end in rank 22? ### Answer: SELECT road_number FROM table_name_75 WHERE type = "dead end" AND rank = "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_28005160_2 (country VARCHAR, sponsored_name VARCHAR) ### Question: What country are the new orleans shell shockers from? ### Answer: SELECT country FROM table_28005160_2 WHERE sponsored_name = "New Orleans Shell Shockers"
Below is an context that describes a sql 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 (week INTEGER, opponent VARCHAR, attendance VARCHAR) ### Question: Which Week has an Opponent of pittsburgh steelers, and an Attendance larger than 47,727? ### Answer: SELECT MIN(week) FROM table_name_69 WHERE opponent = "pittsburgh steelers" AND attendance > 47 OFFSET 727
Below is an context that describes a sql 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 (rank INTEGER, time VARCHAR) ### Question: What is the rank of the person with a time of 1:44.757? ### Answer: SELECT MAX(rank) FROM table_name_62 WHERE time = "1:44.757"
Below is an context that describes a sql 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 (bronze INTEGER, rank VARCHAR) ### Question: What is the high bronze total for nations ranked 12? ### Answer: SELECT MAX(bronze) FROM table_name_15 WHERE rank = "12"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_26 (free_or_pay VARCHAR, years VARCHAR, provider VARCHAR) ### Question: What kind of Free or pay has Years of 2006– and a Provider of bt tv (formerly bt vision)? ### Answer: SELECT free_or_pay FROM table_name_26 WHERE years = "2006–" AND provider = "bt tv (formerly bt vision)"
Below is an context that describes a sql 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 (date VARCHAR, result VARCHAR, venue VARCHAR) ### Question: Which Date has a Result of 2–2, and a Venue of H? ### Answer: SELECT date FROM table_name_3 WHERE result = "2–2" AND venue = "h"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11167610_1 (torque VARCHAR, performance VARCHAR) ### Question: what's the torque where performance is 0–100km/h: 7.5s auto, vmax: km/h (mph) ### Answer: SELECT torque FROM table_11167610_1 WHERE performance = "0–100km/h: 7.5s auto, VMax: km/h (mph)"
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR) ### Question: What is the highest crowd number of the game where the away team was south melbourne? ### Answer: SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (distance_duration VARCHAR, date VARCHAR, race_title VARCHAR) ### Question: What is the distance/duration on sept 5 of le grand prix de trois-rivières? ### Answer: SELECT distance_duration FROM table_name_3 WHERE date = "sept 5" AND race_title = "le grand prix de trois-rivières"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_32 (total VARCHAR, gold VARCHAR, rank VARCHAR) ### Question: How many totals have 1 gold and a rank smaller than 2? ### Answer: SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND 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_2517159_1 (last_appearance VARCHAR, name_of_bowl VARCHAR) ### Question: Name the last appearance for music city bowl ### Answer: SELECT last_appearance FROM table_2517159_1 WHERE name_of_bowl = "Music City Bowl"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, daves_team VARCHAR) ### Question: What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay? ### Answer: SELECT first_broadcast FROM table_23292220_3 WHERE daves_team = "Dave Johns and Sally Lindsay"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR) ### Question: Which start has 32 as the finish and laps more than 6? ### Answer: SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 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_96 (year VARCHAR, laps VARCHAR, start VARCHAR) ### Question: Tell me the year with Laps less than 197 and start of 2 ### Answer: SELECT year FROM table_name_96 WHERE laps < 197 AND start = "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_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR) ### Question: What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16? ### Answer: SELECT MIN(highest_score) FROM table_name_72 WHERE dance = "quickstep" AND lowest_score < 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_29 (venue VARCHAR, competition VARCHAR, goal VARCHAR) ### Question: In what Venue was the game with a Friendly Competition and 1 Goal played? ### Answer: SELECT venue FROM table_name_29 WHERE competition = "friendly" AND goal = 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_25 (venue VARCHAR, home_team VARCHAR) ### Question: Where did North Melbourne play as the home team? ### Answer: SELECT venue FROM table_name_25 WHERE home_team = "north melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) ### Question: What is Score, when Date is December 23? ### Answer: SELECT score FROM table_name_76 WHERE date = "december 23"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) ### Question: Where was the Singapore Charity Shield tournament played? ### Answer: SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield"
Below is an context that describes a sql 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 (home VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: What home has Philadelphia as the visitor, and december 4 as the date? ### Answer: SELECT home FROM table_name_1 WHERE visitor = "philadelphia" AND date = "december 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_18025024_7 (ncaat_record VARCHAR, date VARCHAR) ### Question: What is the June 22 ncaat baseball record for Fresno State Bulldogs? ### Answer: SELECT ncaat_record FROM table_18025024_7 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_5 (points INTEGER, assists VARCHAR, goals VARCHAR) ### Question: What is the highest amount of points with less than 5 assists and less than 2 goals? ### Answer: SELECT MAX(points) FROM table_name_5 WHERE assists < 5 AND goals < 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_12 (birth VARCHAR, marriage VARCHAR) ### Question: When was the duchess, who was married on 11 july 1643, born? ### Answer: SELECT birth FROM table_name_12 WHERE marriage = "11 july 1643"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26826304_1 (written_by VARCHAR, production_code VARCHAR) ### Question: Who was the writer of the episode with a production code of 5aky04? ### Answer: SELECT written_by FROM table_26826304_1 WHERE production_code = "5AKY04"
Below is an context that describes a sql 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 (winning_constructor VARCHAR, name VARCHAR) ### Question: What Winning constructor has a Name of grand prix de la marne? ### Answer: SELECT winning_constructor FROM table_name_97 WHERE name = "grand prix de la marne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (week VARCHAR, opponent VARCHAR) ### Question: Which Week has an Opponent of at seattle seahawks? ### Answer: SELECT week FROM table_name_11 WHERE opponent = "at seattle seahawks"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_64 (kerry_number VARCHAR, county VARCHAR, others_number VARCHAR) ### Question: What Kerry number does Taylor county have with more than 65 others#? ### Answer: SELECT COUNT(kerry_number) FROM table_name_64 WHERE county = "taylor" 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_28194879_1 (directed_by VARCHAR, production_code VARCHAR) ### Question: Who directed the episode whose production code is pabf05? ### Answer: SELECT directed_by FROM table_28194879_1 WHERE production_code = "PABF05"
Below is an context that describes a sql 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 (closure_date VARCHAR, region VARCHAR) ### Question: What date was the ensemble in North East England closed? ### Answer: SELECT closure_date FROM table_name_70 WHERE region = "north east england"
Below is an context that describes a sql 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 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) ### Question: What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts? ### Answer: SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "19.4" AND tourism_receipts__2011___us$_per_arrival_ < 655
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) ### Question: How much time does it take for jean alesi and grids lesser than 5? ### Answer: SELECT time_retired FROM table_name_53 WHERE grid < 5 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_16 (pommel_horse VARCHAR, rings VARCHAR, total VARCHAR) ### Question: How many pommel Horses have Rings of 37.461, and a Total smaller than 229.507? ### Answer: SELECT COUNT(pommel_horse) FROM table_name_16 WHERE rings = 37.461 AND total < 229.507
Below is an context that describes a sql 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 (date INTEGER, catalog VARCHAR) ### Question: What is the total number of Dates during which the Catalog nebbc003 was given? ### Answer: SELECT SUM(date) FROM table_name_71 WHERE catalog = "nebbc003"
Below is an context that describes a sql 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 (venue VARCHAR, year VARCHAR, outcome VARCHAR) ### Question: What was the Venue in 1986 with an Outcome of 1? ### Answer: SELECT venue FROM table_name_71 WHERE year = "1986" AND outcome = "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 (partner VARCHAR, tournament VARCHAR) ### Question: Which Partner has a Tournament of catella swedish open? ### Answer: SELECT partner FROM table_name_13 WHERE tournament = "catella swedish open"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (points INTEGER, draw VARCHAR) ### Question: Which Points have a Draw of 2? ### Answer: SELECT AVG(points) FROM table_name_46 WHERE 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 (record VARCHAR, method VARCHAR, opponent VARCHAR) ### Question: What is Record, when Method is KO, and when Opponent is Rich Guerin? ### Answer: SELECT record FROM table_name_99 WHERE method = "ko" AND opponent = "rich guerin"
Below is an context that describes a sql 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 (points INTEGER, driver VARCHAR, grid VARCHAR) ### Question: What is the highest points total scored by Dan Clarke in a grid higher than 10? ### Answer: SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 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_name_58 (date VARCHAR, score VARCHAR) ### Question: What is the Date of the tournament with a score of 199 (–17)? ### Answer: SELECT date FROM table_name_58 WHERE score = "199 (–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_25 (position VARCHAR, name VARCHAR) ### Question: what is the position for robert johnson? ### Answer: SELECT position FROM table_name_25 WHERE name = "robert johnson"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (round VARCHAR, college VARCHAR) ### Question: Which round goes to Stanford college? ### Answer: SELECT round FROM table_name_21 WHERE college = "stanford"
Below is an context that describes a sql 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 (airport VARCHAR, country VARCHAR) ### Question: What airport is in Vietnam? ### Answer: SELECT airport FROM table_name_77 WHERE country = "vietnam"
Below is an context that describes a sql 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 (election_date VARCHAR, member VARCHAR) ### Question: What is the election date for the electorate of member charles brown category:articles with hcards? ### Answer: SELECT election_date FROM table_name_94 WHERE member = "charles brown category:articles with hcards"
Below is an context that describes a sql 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 (year VARCHAR, artist VARCHAR, weeks_at_number_one VARCHAR) ### Question: What's the sum of years when the Artist of the queen were less than 1? ### Answer: SELECT COUNT(year) FROM table_name_59 WHERE artist = "queen" AND weeks_at_number_one < 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_24 (Id VARCHAR) ### Question: what is 2010 when 2006 is 3r? ### Answer: SELECT 2010 FROM table_name_24 WHERE 2006 = "3r"
Below is an context that describes a sql 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 (north_american_release_date VARCHAR, european_release_date VARCHAR) ### Question: What is the North American release date of the remake with a European release date on 2013-03-20? ### Answer: SELECT north_american_release_date FROM table_name_25 WHERE european_release_date = "2013-03-20"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, FDA_approved VARCHAR) ### Question: What are the names and trade names of the medicines which has 'Yes' value in the FDA record? ### Answer: SELECT name, trade_name FROM medicine WHERE FDA_approved = 'Yes'
Below is an context that describes a sql 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 (best VARCHAR, team VARCHAR, name VARCHAR) ### Question: What is Best, when Team is "Rocketsports Racing", and when Name is "Alex Tagliani"? ### Answer: SELECT best FROM table_name_99 WHERE team = "rocketsports racing" AND name = "alex tagliani"
Below is an context that describes a sql 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 (date VARCHAR, winning_score VARCHAR) ### Question: What is the date that has a winning score of 67-70-68-67=272? ### Answer: SELECT date FROM table_name_84 WHERE winning_score = 67 - 70 - 68 - 67 = 272
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22542179_3 (total_apps INTEGER, player VARCHAR) ### Question: Name the least total apaps for txema ### Answer: SELECT MIN(total_apps) FROM table_22542179_3 WHERE player = "Txema"
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR) ### Question: Who was the opponent when the record was 31-24? ### Answer: SELECT opponent FROM table_name_40 WHERE record = "31-24"
Below is an context that describes a sql 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 (attendance VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: What is the number of people in Attendance when Visitor was the warriors on 2006-11-04? ### Answer: SELECT attendance FROM table_name_40 WHERE visitor = "warriors" AND date = "2006-11-04"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR) ### Question: What is the longitude of the feature named Razia Patera? ### Answer: SELECT longitude FROM table_16799784_8 WHERE name = "Razia Patera"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19897294_5 (family_families VARCHAR, no_overall VARCHAR) ### Question: Name the family/families uk17 ### Answer: SELECT family_families FROM table_19897294_5 WHERE no_overall = "UK17"
Below is an context that describes a sql 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 (year INTEGER, engine VARCHAR, points VARCHAR) ### Question: What is the latest year that has more than 5 points and a renault ef15 1.5 v6 t engine? ### Answer: SELECT MAX(year) FROM table_name_20 WHERE engine = "renault ef15 1.5 v6 t" AND points > 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_21100348_15 (rank INTEGER, player VARCHAR) ### Question: What rank does Rodney Marsh have? ### Answer: SELECT MAX(rank) FROM table_21100348_15 WHERE player = "Rodney Marsh"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11545282_4 (no INTEGER, school_club_team VARCHAR) ### Question: What is the largest jersey number for the player from maryland ### Answer: SELECT MAX(no) FROM table_11545282_4 WHERE school_club_team = "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_name_58 (crowd INTEGER, venue VARCHAR) ### Question: What was the largest crowd size at arden street oval? ### Answer: SELECT MAX(crowd) FROM table_name_58 WHERE venue = "arden street oval"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_25 (city VARCHAR, winner VARCHAR) ### Question: What is the City, when the Winner is Ruben Visser? ### Answer: SELECT city FROM table_name_25 WHERE winner = "ruben visser"
Below is an context that describes a sql 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 (competition VARCHAR, venue VARCHAR) ### Question: Which competition was held in Arles, France? ### Answer: SELECT competition FROM table_name_87 WHERE venue = "arles, france"