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_9 (points_against VARCHAR, lost VARCHAR) ### Question: With the lost of 3, how many points? ### Answer: SELECT points_against FROM table_name_9 WHERE lost = "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_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR) ### Question: Who is the athlete who's rank is 8 and competed in the olympics during 1948–1952? ### Answer: SELECT athlete FROM table_22355_20 WHERE rank = 8 AND olympics = "1948–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_name_41 (category VARCHAR, year VARCHAR) ### Question: Which category had a year of 1991? ### Answer: SELECT category FROM table_name_41 WHERE year = 1991
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE building (name VARCHAR, height_feet VARCHAR, floors VARCHAR) ### Question: List the names of buildings with at least 200 feet of height and with at least 20 floors. ### Answer: SELECT name FROM building WHERE height_feet >= 200 AND floors >= 20
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_83 (directed___undirected VARCHAR, name VARCHAR, basis VARCHAR) ### Question: What is the directed/undirected for mfinder, which has a network-centric basis? ### Answer: SELECT directed___undirected FROM table_name_83 WHERE name = "mfinder" AND basis = "network-centric"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_95 (history VARCHAR, built VARCHAR, name VARCHAR) ### Question: What is the history behind the vessel Speedrunner IV (SSC4) built after 1997? ### Answer: SELECT history FROM table_name_95 WHERE built > 1997 AND name = "speedrunner iv (ssc4)"
Below is an context that describes a sql 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 (record VARCHAR, method VARCHAR) ### Question: With a method of tko (kick) what is the record of the match? ### Answer: SELECT record FROM table_name_73 WHERE method = "tko (kick)"
Below is an context that describes a sql 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 (region VARCHAR, label VARCHAR, date VARCHAR) ### Question: Which regio has a label of zzt and a date of 27 september 2004? ### Answer: SELECT region FROM table_name_5 WHERE label = "zzt" AND date = "27 september 2004"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (Id VARCHAR) ### Question: What is the 2007 value with 2r in 2011 and 2r in 2008? ### Answer: SELECT 2007 FROM table_name_67 WHERE 2011 = "2r" AND 2008 = "2r"
Below is an context that describes a sql 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 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR) ### Question: What is the Population of the New Bandon Parish with an Area km 2 larger than 326.76? ### Answer: SELECT MAX(population) FROM table_name_97 WHERE area_km_2 > 326.76 AND official_name = "new bandon"
Below is an context that describes a sql 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 (format VARCHAR, date VARCHAR, label VARCHAR) ### Question: Which Format has a Date of 14 october 2008, and a Label of eagle eye media? ### Answer: SELECT format FROM table_name_40 WHERE date = "14 october 2008" AND label = "eagle eye media"
Below is an context that describes a sql 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 (place INTEGER, time VARCHAR) ### Question: What is the highest rank of a rider whose time was 1:19.02.8? ### Answer: SELECT MAX(place) FROM table_name_70 WHERE time = "1:19.02.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_29 (high_rebounds VARCHAR, high_points VARCHAR) ### Question: Which High rebounds have High points of chris bosh (34)? ### Answer: SELECT high_rebounds FROM table_name_29 WHERE high_points = "chris bosh (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 party_forms (form_id VARCHAR); CREATE TABLE forms (form_name VARCHAR, form_id VARCHAR) ### Question: Find the name of the most popular party form. ### Answer: SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id = t2.form_id GROUP BY t2.form_id ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (skip VARCHAR, third VARCHAR) ### Question: Which skip's third is Steffen Walstad? ### Answer: SELECT skip FROM table_name_1 WHERE third = "steffen walstad"
Below is an context that describes a sql 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 (date VARCHAR, partner VARCHAR) ### Question: What date was the match where Daniel Gimeno-Traver's partner was pere riba? ### Answer: SELECT date FROM table_name_26 WHERE partner = "pere riba"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (set_5 VARCHAR, set_2 VARCHAR) ### Question: What is the Set 5 if Set 2 is 25-20? ### Answer: SELECT set_5 FROM table_name_44 WHERE set_2 = "25-20"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (internal_floppy_disk VARCHAR, s_100_slots VARCHAR, year_introduced VARCHAR) ### Question: What is the value for internal floppy disk with s-100 slots greater than 8 introduced earlier than 1978? ### Answer: SELECT internal_floppy_disk FROM table_name_19 WHERE s_100_slots > 8 AND year_introduced < 1978
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19763199_4 (jury_votes VARCHAR, televotes VARCHAR) ### Question: How many jury votes for the televote of 7? ### Answer: SELECT jury_votes FROM table_19763199_4 WHERE televotes = 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_17 (style VARCHAR, choreographer_s_ VARCHAR) ### Question: What is Style, when Choreographer(s) is Dave Scott? ### Answer: SELECT style FROM table_name_17 WHERE choreographer_s_ = "dave scott"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2493389_1 (butter VARCHAR, protein__g_ VARCHAR) ### Question: Name the number of butters for 3 protein ### Answer: SELECT COUNT(butter) FROM table_2493389_1 WHERE protein__g_ = "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_123462_2 (election VARCHAR, _number_of_candidates_nominated VARCHAR) ### Question: What is the election year when the # of candidates nominated was 262? ### Answer: SELECT COUNT(election) FROM table_123462_2 WHERE _number_of_candidates_nominated = 262
Below is an context that describes a sql 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 (state_province VARCHAR, wind_farm VARCHAR) ### Question: Which state is Tehachapi Pass Wind Farm located in? ### Answer: SELECT state_province FROM table_name_72 WHERE wind_farm = "tehachapi pass wind farm"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (date VARCHAR, decision VARCHAR, home VARCHAR, points VARCHAR) ### Question: Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decision of price? ### Answer: SELECT date FROM table_name_99 WHERE home = "montreal canadiens" AND points > 9 AND decision = "price"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_161591_2 (operating_profit__s$m_ VARCHAR, expenditure__s$m_ VARCHAR) ### Question: What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8? ### Answer: SELECT operating_profit__s$m_ FROM table_161591_2 WHERE expenditure__s$m_ = "12,127.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_12 (first_elected INTEGER, incumbent VARCHAR) ### Question: What is the first elected for Jo Bonner? ### Answer: SELECT MIN(first_elected) FROM table_name_12 WHERE incumbent = "jo bonner"
Below is an context that describes a sql 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 INTEGER, opponents VARCHAR, venue VARCHAR, result VARCHAR) ### Question: What is the largest number in attendance at H venue opposing Liverpool with a result of D? ### Answer: SELECT MAX(attendance) FROM table_name_40 WHERE venue = "h" AND result = "d" AND opponents = "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_49 (byes INTEGER, wins VARCHAR) ### Question: What is the smallest byes when the wins are 3? ### Answer: SELECT MIN(byes) FROM table_name_49 WHERE wins = 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_59 (attendance INTEGER, result VARCHAR) ### Question: What is the lowest attendance of a game that has the result of 2-0? ### Answer: SELECT MIN(attendance) FROM table_name_59 WHERE result = "2-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_15352382_1 (drawn VARCHAR, team VARCHAR) ### Question: How many drawn does the team Corinthians have? ### Answer: SELECT drawn FROM table_15352382_1 WHERE team = "Corinthians"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_90 (Id VARCHAR) ### Question: WHAT IS THE 2011 PERFORMANCE WITH A 2007 OF Q3? ### Answer: SELECT 2011 FROM table_name_90 WHERE 2007 = "q3"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_225100_4 (successor VARCHAR, district VARCHAR) ### Question: Who is the successor when florida territory at-large is the district? ### Answer: SELECT successor FROM table_225100_4 WHERE district = "Florida Territory 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_98 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR) ### Question: What club team is the United States player with an overall pick smaller than 142 from? ### Answer: SELECT club_team FROM table_name_98 WHERE nationality = "united states" AND overall < 142
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (period INTEGER, element VARCHAR) ### Question: Which highest period's element is platinum? ### Answer: SELECT MAX(period) FROM table_name_19 WHERE element = "platinum"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19215259_1 (frequency VARCHAR, branding VARCHAR) ### Question: What is the frequency of 101.5 News FM? ### Answer: SELECT frequency FROM table_19215259_1 WHERE branding = "101.5 News 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_name_87 (total INTEGER, last VARCHAR) ### Question: What is the greatest total when the last was September 1970? ### Answer: SELECT MAX(total) FROM table_name_87 WHERE last = "september 1970"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (psip_short_name VARCHAR, video VARCHAR, programming VARCHAR) ### Question: What is the short name having video of 720p and programming of Main KSTC-TV programming? ### Answer: SELECT psip_short_name FROM table_name_19 WHERE video = "720p" AND programming = "main kstc-tv programming"
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR, venue VARCHAR) ### Question: what is the average crowd when the away team is new zealand breakers and the venue is cairns convention centre? ### Answer: SELECT AVG(crowd) FROM table_name_64 WHERE away_team = "new zealand breakers" AND venue = "cairns convention centre"
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, record VARCHAR) ### Question: What was the score of the game against the Royals when the record was 24–52? ### Answer: SELECT score FROM table_name_75 WHERE opponent = "royals" AND record = "24–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_13665809_2 (season INTEGER, byu_uu_score VARCHAR) ### Question: what is the maximum season with byu-uu score being 20–17 byu #19 ### Answer: SELECT MAX(season) FROM table_13665809_2 WHERE byu_uu_score = "20–17 BYU #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_92 (Id VARCHAR) ### Question: What is the 2007 with ch callaway's copyright in 2003? ### Answer: SELECT 2007 FROM table_name_92 WHERE 2003 = "ch callaway's copyright"
Below is an context that describes a sql 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 (week VARCHAR, attendance VARCHAR) ### Question: Which week had 39,056 people in attendance? ### Answer: SELECT week FROM table_name_89 WHERE attendance = "39,056"
Below is an context that describes a sql 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 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) ### Question: What is Year(s) Won, when Total is "145", and when Country is "United States"? ### Answer: SELECT year_s__won FROM table_name_40 WHERE total = 145 AND country = "united states"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_67 (lane VARCHAR, time VARCHAR) ### Question: In which lane did the swimmer with a time of 1:58.44 swim? ### Answer: SELECT COUNT(lane) FROM table_name_67 WHERE time = "1:58.44"
Below is an context that describes a sql 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 (constructor VARCHAR, circuit VARCHAR) ### Question: Which Constructor has Pergusa in the Circuit? ### Answer: SELECT constructor FROM table_name_49 WHERE circuit = "pergusa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2701851_5 (title VARCHAR, production_code VARCHAR) ### Question: What was the title for the episode with the production code 404a? ### Answer: SELECT title FROM table_2701851_5 WHERE production_code = "404a"
Below is an context that describes a sql 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 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) ### Question: What is the high lap total for cards with a grid larger than 21, and a Time/Retired of +2 laps? ### Answer: SELECT MAX(laps) FROM table_name_91 WHERE grid > 21 AND time_retired = "+2 laps"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, school_level VARCHAR, city VARCHAR) ### Question: List all FTE middle school teachers in Sunnyvale. ### Answer: SELECT fte_teachers FROM table_1414743_1 WHERE school_level = "Middle" AND city = "Sunnyvale"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR) ### Question: what is the virtual callsign if is wnet ### Answer: SELECT _virtual_ FROM table_1979203_1 WHERE callsign = "WNET"
Below is an context that describes a sql 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 (attendance INTEGER, week VARCHAR) ### Question: What was the lowest attendance at a week 15 game? ### Answer: SELECT MIN(attendance) FROM table_name_50 WHERE week = 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_40 (size__cents_ INTEGER, just_ratio VARCHAR, just__cents_ VARCHAR) ### Question: ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? ### Answer: SELECT AVG(size__cents_) FROM table_name_40 WHERE just_ratio = "15:14" AND just__cents_ > 119.44
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What was the record for May 26? ### Answer: SELECT record FROM table_name_64 WHERE date = "may 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_54 (category VARCHAR, for_the_show VARCHAR, year VARCHAR) ### Question: For 2006 what category has the Show of kasautii zindagii kay? ### Answer: SELECT category FROM table_name_54 WHERE for_the_show = "kasautii zindagii kay" AND year = 2006
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR) ### Question: What was the record on March 27? ### Answer: SELECT record FROM table_name_40 WHERE date = "march 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_90 (team VARCHAR, car__number VARCHAR, make VARCHAR, pos VARCHAR) ### Question: Who is the team of the Chevrolet, and has a position less than 7, for car # 88? ### Answer: SELECT team FROM table_name_90 WHERE make = "chevrolet" AND pos < 7 AND car__number = 88
Below is an context that describes a sql 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 (lost INTEGER, points VARCHAR, games VARCHAR) ### Question: What is the fewest losses associated with more than 13 points and fewer than 8 games? ### Answer: SELECT MIN(lost) FROM table_name_25 WHERE points > 13 AND games < 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_70 (grid INTEGER, driver VARCHAR) ### Question: What is the average grid for giorgio pantano? ### Answer: SELECT AVG(grid) FROM table_name_70 WHERE driver = "giorgio pantano"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (home_ground VARCHAR, founded VARCHAR, coach VARCHAR) ### Question: Where is the home ground for the club coached by nick pantsaras and founded before 1946? ### Answer: SELECT home_ground FROM table_name_48 WHERE founded < 1946 AND coach = "nick pantsaras"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (year INTEGER, us_cham_rank VARCHAR, next_highest_spender VARCHAR, us_cham_spending VARCHAR) ### Question: Which Year is the highest one that has a Next Highest Spender of aarp, and a US Cham Spending of $39,805,000, and a US Cham Rank larger than 1? ### Answer: SELECT MAX(year) FROM table_name_16 WHERE next_highest_spender = "aarp" AND us_cham_spending = "$39,805,000" AND us_cham_rank > 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_11 (stages VARCHAR, distance VARCHAR) ### Question: How many stages are in a distance of 2,192 km? ### Answer: SELECT stages FROM table_name_11 WHERE distance = "2,192 km"
Below is an context that describes a sql 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 (opponents VARCHAR, date VARCHAR) ### Question: Who competed on may 6, 2006? ### Answer: SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006"
Below is an context that describes a sql 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 (prize VARCHAR, beer_name VARCHAR, year VARCHAR, competition VARCHAR) ### Question: What prize did good old boy win in 2002 at the camra london and south east regional competition? ### Answer: SELECT prize FROM table_name_31 WHERE year > 2002 AND competition = "camra london and south east regional competition" AND beer_name = "good old boy"
Below is an context that describes a sql 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 (round VARCHAR, venue VARCHAR) ### Question: What is the Round din Ullevaal? ### Answer: SELECT round FROM table_name_23 WHERE venue = "ullevaal"
Below is an context that describes a sql 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 (position_in_table VARCHAR, replaced_by VARCHAR) ### Question: What is Position in Table, when Replaced by is "José Pekerman"? ### Answer: SELECT position_in_table FROM table_name_43 WHERE replaced_by = "josé pekerman"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team when the away team was Telford United? ### Answer: SELECT home_team FROM table_name_74 WHERE away_team = "telford united"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16677738_1 (finsbury_division VARCHAR, inns_of_court_and_chancery VARCHAR) ### Question: When 1546 is inns of court and chancery what is the finsbury division? ### Answer: SELECT finsbury_division FROM table_16677738_1 WHERE inns_of_court_and_chancery = 1546
Below is an context that describes a sql 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 (result VARCHAR, week VARCHAR) ### Question: What is the result of the week 1 game? ### Answer: SELECT result FROM table_name_91 WHERE week = 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_67 (place VARCHAR, player VARCHAR) ### Question: Which Place has Phil Mickelson as the Player? ### Answer: SELECT place FROM table_name_67 WHERE player = "phil mickelson"
Below is an context that describes a sql 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 (position VARCHAR, round VARCHAR, overall VARCHAR) ### Question: Which Position has a Round larger than 14, and an Overall smaller than 419? ### Answer: SELECT position FROM table_name_70 WHERE round > 14 AND overall < 419
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (location VARCHAR, attendance VARCHAR) ### Question: At what Location was the Attendance 70,283? ### Answer: SELECT location FROM table_name_48 WHERE attendance = "70,283"
Below is an context that describes a sql 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 (round VARCHAR, opponent VARCHAR) ### Question: What is the round when the opponent is Andre Roberts? ### Answer: SELECT round FROM table_name_42 WHERE opponent = "andre roberts"
Below is an context that describes a sql 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 (date VARCHAR, country VARCHAR, catalog VARCHAR) ### Question: What is the date for US catalog CK 9942? ### Answer: SELECT date FROM table_name_4 WHERE country = "us" AND catalog = "ck 9942"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_48 (gold VARCHAR, silver VARCHAR) ### Question: Who won the gold when Bertil Ahlin Sweden won the silver? ### Answer: SELECT gold FROM table_name_48 WHERE silver = "bertil ahlin sweden"
Below is an context that describes a sql 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 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR) ### Question: What is the highest FLT goals with 0 league cup goals, a GK position, and 2 league cup apps? ### Answer: SELECT MAX(flt_goals) FROM table_name_3 WHERE league_cup_goals = 0 AND position = "gk" AND league_cup_apps = "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_45 (category VARCHAR, outcome VARCHAR) ### Question: What category was the winner in? ### Answer: SELECT category FROM table_name_45 WHERE outcome = "winner"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE park (state VARCHAR) ### Question: How many parks are there in the state of NY? ### Answer: SELECT COUNT(*) FROM park WHERE state = 'NY'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR) ### Question: What was the record on September 26? ### Answer: SELECT record FROM table_name_79 WHERE date = "september 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_27790959_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) ### Question: What was the original air date of the episode that had 5.42 million viewers? ### Answer: SELECT original_air_date FROM table_27790959_1 WHERE us_viewers__million_ = "5.42"
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR, score VARCHAR) ### Question: What United States player has a score of 69-73-68=210? ### Answer: SELECT player FROM table_name_72 WHERE score = 69 - 73 - 68 = 210 AND country = "united states"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27905664_1 (COUNT VARCHAR, us_viewers__million_ VARCHAR) ### Question: How many episode numbers had US viewership of 4.26 million? ### Answer: SELECT COUNT AS № FROM table_27905664_1 WHERE us_viewers__million_ = "4.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_12002388_1 (playoffs VARCHAR, reg_season VARCHAR) ### Question: What playoff result happened during the season in which they finished 1st, southern? ### Answer: SELECT playoffs FROM table_12002388_1 WHERE reg_season = "1st, Southern"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26961951_4 (directed_by VARCHAR, written_by VARCHAR) ### Question: How many episodes were written by Alison McDonald? ### Answer: SELECT COUNT(directed_by) FROM table_26961951_4 WHERE written_by = "Alison McDonald"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11326124_3 (against VARCHAR, opponent VARCHAR) ### Question: Who did Tina Pisnik verse? ### Answer: SELECT against FROM table_11326124_3 WHERE opponent = "Tina Pisnik"
Below is an context that describes a sql 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 (goals VARCHAR, current_club VARCHAR, debut_year VARCHAR) ### Question: How many goals were achieved when Chievo was the club and the debut year was before 2002? ### Answer: SELECT COUNT(goals) FROM table_name_71 WHERE current_club = "chievo" AND debut_year < 2002
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR, YEAR INTEGER) ### Question: Who is the friend of Zach with longest year relationship? ### Answer: SELECT friend FROM PersonFriend WHERE name = 'Zach' AND YEAR = (SELECT MAX(YEAR) FROM PersonFriend WHERE name = 'Zach')
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23248869_8 (game INTEGER, high_points VARCHAR) ### Question: What was the game when high points was david lee (30) ### Answer: SELECT MIN(game) FROM table_23248869_8 WHERE high_points = "David Lee (30)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE review (rating INTEGER, u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR) ### Question: For each user, return the name and the average rating of reviews given by them. ### Answer: SELECT T1.name, AVG(T2.rating) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_40 (years VARCHAR, assist VARCHAR, games VARCHAR) ### Question: Which year or years did a team win 174 games and had an assist number less than 17? ### Answer: SELECT years FROM table_name_40 WHERE assist < 17 AND games = 174
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Tourist_Attractions (How_to_Get_There VARCHAR) ### Question: Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way. ### Answer: SELECT How_to_Get_There, COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There
Below is an context that describes a sql 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 (date VARCHAR, prize VARCHAR) ### Question: What is the Date of the Event with a Prize of $141,426? ### Answer: SELECT date FROM table_name_92 WHERE prize = "$141,426"
Below is an context that describes a sql 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 (week_2 VARCHAR, week_3 VARCHAR) ### Question: Which week 2 had a week 3 of Cidney Carson? ### Answer: SELECT week_2 FROM table_name_74 WHERE week_3 = "cidney carson"
Below is an context that describes a sql 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 (goals INTEGER, name VARCHAR, average VARCHAR) ### Question: What is the low goal for kenny miller with an average smaller than 0.261? ### Answer: SELECT MIN(goals) FROM table_name_24 WHERE name = "kenny miller" AND average < 0.261
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1818471_1 (scott VARCHAR, date VARCHAR) ### Question: What is every entry for Scott when the date is (15.12)? ### Answer: SELECT scott FROM table_1818471_1 WHERE date = "(15.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_65 (visitor VARCHAR, date VARCHAR) ### Question: Who was the visiting team on November 26, 2007? ### Answer: SELECT visitor FROM table_name_65 WHERE date = "november 26, 2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_11 (debut VARCHAR, position VARCHAR, name VARCHAR) ### Question: What round was the debut of defender Stephen Laybutt? ### Answer: SELECT debut FROM table_name_11 WHERE position = "defender" AND name = "stephen laybutt"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE addresses (state_province_county VARCHAR) ### Question: How many cities are there in state "Colorado"? ### Answer: SELECT COUNT(*) FROM addresses WHERE state_province_county = "Colorado"
Below is an context that describes a sql 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 (constructor VARCHAR, grid VARCHAR, driver VARCHAR) ### Question: who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani? ### Answer: SELECT constructor FROM table_name_66 WHERE grid > 23 AND driver = "piercarlo ghinzani"
Below is an context that describes a sql 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 (matches VARCHAR, prize_money VARCHAR) ### Question: How many matches were there in the round with £1,000,000 in prize money? ### Answer: SELECT COUNT(matches) FROM table_name_15 WHERE prize_money = "£1,000,000"
Below is an context that describes a sql 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 (edition VARCHAR, surface VARCHAR, opponent VARCHAR) ### Question: What clay surface edition had an opponent of miho saeki? ### Answer: SELECT edition FROM table_name_2 WHERE surface = "clay" AND opponent = "miho saeki"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24561550_1 (result VARCHAR, record VARCHAR) ### Question: List all results from the 3-3 scoring game. ### Answer: SELECT result FROM table_24561550_1 WHERE record = "3-3"