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 (record VARCHAR, score VARCHAR, points VARCHAR) ### Question: Which Record has a Score of 4–4, and Points of 17? ### Answer: SELECT record FROM table_name_91 WHERE score = "4–4" AND points = 17
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2401326_1 (bush_percentage VARCHAR, county VARCHAR) ### Question: What percentage of the people in Bonneville voted for Bush? ### Answer: SELECT bush_percentage FROM table_2401326_1 WHERE county = "Bonneville"
Below is an context that describes a sql 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 (places INTEGER, nation VARCHAR, rank VARCHAR) ### Question: what is the places when for the soviet union with a rank more than 11? ### Answer: SELECT SUM(places) FROM table_name_38 WHERE nation = "soviet union" AND rank > 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_name_20 (share_of_votes VARCHAR, election VARCHAR) ### Question: What is the share of votes in the 2000 (2nd) election? ### Answer: SELECT share_of_votes FROM table_name_20 WHERE election = "2000 (2nd)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25721_3 (rank__cable_ INTEGER, total_viewers VARCHAR) ### Question: What is the lowest cable rank of an episode with 1464000 viewers? ### Answer: SELECT MIN(rank__cable_) FROM table_25721_3 WHERE total_viewers = 1464000
Below is an context that describes a sql 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 (away_team VARCHAR, ground VARCHAR, home_team VARCHAR) ### Question: Name the Away team which has a Ground of waverley park, and a Home team of hawthorn? ### Answer: SELECT away_team FROM table_name_81 WHERE ground = "waverley park" AND home_team = "hawthorn"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_35 (tries_for VARCHAR, tries_against VARCHAR) ### Question: Name the tries with tries against of 38 ### Answer: SELECT tries_for FROM table_name_35 WHERE tries_against = "38"
Below is an context that describes a sql 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 (runs VARCHAR, year VARCHAR) ### Question: How many runs happened in 2013? ### Answer: SELECT runs FROM table_name_18 WHERE year = "2013"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR) ### Question: What was the year the MRWA with a wheel arrangement of 4-6-2 was introduced? ### Answer: SELECT year_introduced_mrwa FROM table_name_76 WHERE wheel_arrangement = "4-6-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_48 (winner VARCHAR, stage VARCHAR) ### Question: Which winner has a P stage? ### Answer: SELECT winner FROM table_name_48 WHERE stage = "p"
Below is an context that describes a sql 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 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR) ### Question: How many total wins does Ballarat FL of East point have when the against is greater than 1000? ### Answer: SELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = "east point" AND against > 1000
Below is an context that describes a sql 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 (runs INTEGER, high_score VARCHAR, innings VARCHAR) ### Question: How many runs were there when the high score was 55 and there were more than 12 innings? ### Answer: SELECT SUM(runs) FROM table_name_34 WHERE high_score = 55 AND innings > 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_79 (australian VARCHAR, letter VARCHAR) ### Question: What is the Australian equivalent to i /ɪ/? ### Answer: SELECT australian FROM table_name_79 WHERE letter = "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_name_64 (score VARCHAR, to_par VARCHAR, country VARCHAR) ### Question: What was the score for the player from the United states that was +1 to par? ### Answer: SELECT score FROM table_name_64 WHERE to_par = "+1" 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_2501754_2 (original_airdate VARCHAR, viewing_figures_millions VARCHAR) ### Question: What are the original air date(s) for episodes with 8.63 million viewers? ### Answer: SELECT original_airdate FROM table_2501754_2 WHERE viewing_figures_millions = "8.63"
Below is an context that describes a sql 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 (role VARCHAR, first_us_national_tour VARCHAR) ### Question: Which Role has a First US National Tour of roger bart? ### Answer: SELECT role FROM table_name_19 WHERE first_us_national_tour = "roger bart"
Below is an context that describes a sql 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 (laps VARCHAR, driver VARCHAR) ### Question: What number of laps were done by driver Ronnie Peterson? ### Answer: SELECT laps FROM table_name_56 WHERE driver = "ronnie peterson"
Below is an context that describes a sql 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 (analog VARCHAR, affiliation VARCHAR, digital VARCHAR) ### Question: what is the analog type for cw on digital 26? ### Answer: SELECT analog FROM table_name_45 WHERE affiliation = "cw" AND digital = "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_191323_2 (mission_no VARCHAR, alt_name VARCHAR) ### Question: Which mission number has alternate name 1962-f01 ### Answer: SELECT mission_no FROM table_191323_2 WHERE alt_name = "1962-F01"
Below is an context that describes a sql 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 (laps INTEGER, team VARCHAR, grid VARCHAR) ### Question: What was the highest lap count for Walker Racing with a grid larger than 15? ### Answer: SELECT MAX(laps) FROM table_name_34 WHERE team = "walker racing" AND grid > 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_35 (away_team VARCHAR, venue VARCHAR) ### Question: What team has a Venue at Lake Oval? ### Answer: SELECT away_team FROM table_name_35 WHERE venue = "lake 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_15431251_1 (original_air_date VARCHAR, directed_by VARCHAR) ### Question: What is the original air date for the episode directed by Peter Woeste? ### Answer: SELECT original_air_date FROM table_15431251_1 WHERE directed_by = "Peter Woeste"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13301516_1 (us_viewers__millions_ VARCHAR, original_air_date VARCHAR) ### Question: How many U.S. viewers, in millions, watched the episode that aired on November 13, 2007? ### Answer: SELECT us_viewers__millions_ FROM table_13301516_1 WHERE original_air_date = "November 13, 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_42 (headquarters VARCHAR, primary_industry VARCHAR) ### Question: Where is the headquarter of the conglomerate industry? ### Answer: SELECT headquarters FROM table_name_42 WHERE primary_industry = "conglomerate"
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR) ### Question: What is the score for Billy Andrade? ### Answer: SELECT score FROM table_name_73 WHERE player = "billy andrade"
Below is an context that describes a sql 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 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR) ### Question: What is Tie no, when Date is "18 Nov 1989", and when Home Team is "Doncaster Rovers"? ### Answer: SELECT tie_no FROM table_name_32 WHERE date = "18 nov 1989" AND home_team = "doncaster rovers"
Below is an context that describes a sql 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 (event VARCHAR, competition VARCHAR) ### Question: Which event was part of the World Cross Country championships? ### Answer: SELECT event FROM table_name_81 WHERE competition = "world cross country championships"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23685152_2 (record VARCHAR, date VARCHAR) ### Question: What was the record in game played on July 28? ### Answer: SELECT record FROM table_23685152_2 WHERE date = "July 28"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29690363_3 (most_laps_led VARCHAR, fastest_lap VARCHAR) ### Question: Who led the most laps when brandon wagner had the fastest lap? ### Answer: SELECT most_laps_led FROM table_29690363_3 WHERE fastest_lap = "Brandon Wagner"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342359_15 (result VARCHAR, district VARCHAR) ### Question: what's the result with district being kansas 1 ### Answer: SELECT result FROM table_1342359_15 WHERE district = "Kansas 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_22 (position VARCHAR, pick__number VARCHAR, player VARCHAR) ### Question: Which Position has a Pick # lower than 278 for Player Charles Benson? ### Answer: SELECT position FROM table_name_22 WHERE pick__number < 278 AND player = "charles benson"
Below is an context that describes a sql 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 (home_team VARCHAR, tie_no VARCHAR) ### Question: What is Home Team, when Tie no is "27"? ### Answer: SELECT home_team FROM table_name_46 WHERE tie_no = "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_76 (alabama VARCHAR, mississippi_st VARCHAR) ### Question: Who was the Alabama player associated with Walt Harris? ### Answer: SELECT alabama FROM table_name_76 WHERE mississippi_st = "walt harris"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1733457_1 (others_percentage VARCHAR, county VARCHAR) ### Question: Name the others % for johnson ### Answer: SELECT others_percentage FROM table_1733457_1 WHERE county = "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_92 (venue VARCHAR, score VARCHAR) ### Question: Where was the game that had a final score of 30-20? ### Answer: SELECT venue FROM table_name_92 WHERE score = "30-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_3 (team_1 VARCHAR) ### Question: What is the 1st leg score when US Mbila Nzambi is team 1? ### Answer: SELECT 1 AS st_leg FROM table_name_3 WHERE team_1 = "us mbila nzambi"
Below is an context that describes 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 (fname VARCHAR, age VARCHAR, stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR) ### Question: Find the first name and age of students who have a pet. ### Answer: SELECT DISTINCT T1.fname, T1.age FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid
Below is an context that describes a sql 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 (english_title VARCHAR, director VARCHAR) ### Question: Name the english title for zhang yimou ### Answer: SELECT english_title FROM table_name_18 WHERE director = "zhang yimou"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_2 VARCHAR) ### Question: What is the verb meaning of the word with part 2 "bant"? ### Answer: SELECT verb_meaning FROM table_1745843_8 WHERE part_2 = "bant"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27582888_1 (poles INTEGER, podiums VARCHAR) ### Question: Name the post poles for 4 podiums ### Answer: SELECT MAX(poles) FROM table_27582888_1 WHERE podiums = 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_6 (year_joined VARCHAR, city VARCHAR) ### Question: What year did the team based in the city of Winamac join the conference? ### Answer: SELECT year_joined FROM table_name_6 WHERE city = "winamac"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2140071_10 (season VARCHAR, premier_date VARCHAR) ### Question: Name the season for august 16, 2010 ### Answer: SELECT season FROM table_2140071_10 WHERE premier_date = "August 16, 2010"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE papers (title VARCHAR) ### Question: Find the titles of the papers that contain the word "ML". ### Answer: SELECT title FROM papers WHERE title LIKE "%ML%"
Below is an context that describes a sql 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 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR) ### Question: Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3? ### Answer: SELECT MIN(year) FROM table_name_15 WHERE apparatus = "uneven bars" AND rank_final < 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_18424435_4 (directed_by VARCHAR, production_code VARCHAR) ### Question: Who directed the episode with a production code of 301? ### Answer: SELECT directed_by FROM table_18424435_4 WHERE production_code = 301
Below is an context that describes a sql 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 (react INTEGER, country VARCHAR, lane VARCHAR) ### Question: What is the lowest of the athlete from sri lanka who has a lane greater than 8? ### Answer: SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 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_1982739_2 (area VARCHAR, english_name VARCHAR) ### Question: What is the total number of areas that are called Nanqiao District? ### Answer: SELECT COUNT(area) FROM table_1982739_2 WHERE english_name = "Nanqiao District"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13018116_1 (pts_for INTEGER, won VARCHAR) ### Question: What is the most points when the won is 9? ### Answer: SELECT MAX(pts_for) FROM table_13018116_1 WHERE won = 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 table_name_85 (home_team VARCHAR, road_team VARCHAR, result VARCHAR) ### Question: Which Home team has a Road team of portland, and a Result of 104–110? ### Answer: SELECT home_team FROM table_name_85 WHERE road_team = "portland" AND result = "104–110"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR) ### Question: Party of republican, and a District of 5th is what highest elected? ### Answer: SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "5th"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15187735_10 (segment_a VARCHAR, segment_c VARCHAR) ### Question: Name the segment a for s duvet ### Answer: SELECT segment_a FROM table_15187735_10 WHERE segment_c = "s Duvet"
Below is an context that describes a sql 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 (type VARCHAR, where_built VARCHAR) ### Question: What was the type of boat built in Port Blakeley ### Answer: SELECT type FROM table_name_31 WHERE where_built = "port blakeley"
Below is an context that describes a sql 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 (population__2013_ VARCHAR, largest_city VARCHAR) ### Question: What is Nelspruit's population? ### Answer: SELECT COUNT(population__2013_) FROM table_name_74 WHERE largest_city = "nelspruit"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1949994_8 (premiere_air_dates VARCHAR, start_date VARCHAR) ### Question: What were the television air dates for the series that had a production start date of June 16? ### Answer: SELECT premiere_air_dates FROM table_1949994_8 WHERE start_date = "June 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_7 (party VARCHAR, results VARCHAR, first_elected VARCHAR) ### Question: What is the party for the representative who was first elected before 2002 and the results were re-elected? ### Answer: SELECT party FROM table_name_7 WHERE results = "re-elected" AND first_elected < 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 table_name_11 (losses VARCHAR, draws INTEGER) ### Question: What is the sum of losses when draws are larger than 0? ### Answer: SELECT COUNT(losses) FROM table_name_11 WHERE draws > 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_98 (crowd INTEGER, home_team VARCHAR) ### Question: What is the largest crowd when melbourne plays at home? ### Answer: SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "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_22 (player VARCHAR, school_club_team VARCHAR) ### Question: Who is the Player for School/Club Team Illinois? ### Answer: SELECT player FROM table_name_22 WHERE school_club_team = "illinois"
Below is an context that describes a sql 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 (away_captain VARCHAR, result VARCHAR, date VARCHAR) ### Question: Who was the Away captain that played on 12,13,14 Jun 1902 which resulted in a draw? ### Answer: SELECT away_captain FROM table_name_83 WHERE result = "draw" AND date = "12,13,14 jun 1902"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (year INTEGER, title VARCHAR) ### Question: What is the highest year for the title, "loves lost and found"? ### Answer: SELECT MAX(year) FROM table_name_82 WHERE title = "loves lost and found"
Below is an context that describes a sql 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 (event VARCHAR, city VARCHAR) ### Question: What was the Event in the city of copenhagen? ### Answer: SELECT event FROM table_name_32 WHERE city = "copenhagen"
Below is an context that describes a sql 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 (year INTEGER, chassis VARCHAR) ### Question: What was the first year to have a Chassis of Jordan 193? ### Answer: SELECT MIN(year) FROM table_name_89 WHERE chassis = "jordan 193"
Below is an context that describes a sql 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 (country VARCHAR, place VARCHAR, score VARCHAR) ### Question: What is the Country of the T2 Place Player with a Score of 69-69-69=207? ### Answer: SELECT country FROM table_name_2 WHERE place = "t2" AND score = 69 - 69 - 69 = 207
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_82 (winner VARCHAR, prize VARCHAR, runner_up VARCHAR) ### Question: What is Winner, when Prize is "£50,000", and when Runner-Up is "Korosh Nejad"? ### Answer: SELECT winner FROM table_name_82 WHERE prize = "£50,000" AND runner_up = "korosh nejad"
Below is an context that describes a sql 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 (laps VARCHAR, rank VARCHAR, start VARCHAR) ### Question: Name the laps for rank of 14 and start of 16 ### Answer: SELECT laps FROM table_name_67 WHERE rank = "14" AND start = "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_70 (total INTEGER, country VARCHAR, bronze VARCHAR, silver VARCHAR) ### Question: Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Country of thailand? ### Answer: SELECT SUM(total) FROM table_name_70 WHERE bronze > 12 AND silver > 772 AND country = "thailand"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (hindi VARCHAR, kannada VARCHAR) ### Question: WHAT HINDI HAS A KANNADA OF SHANIVARA? ### Answer: SELECT hindi FROM table_name_36 WHERE kannada = "shanivara"
Below is an context that describes a sql 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 (result VARCHAR, site VARCHAR) ### Question: Which Result has a Site of rice stadium • houston, tx? ### Answer: SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx"
Below is an context that describes a sql 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 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR, games VARCHAR) ### Question: Which player debuted before 1943, played for the club in 1942, played less than 12 games, and scored less than 11 goals? ### Answer: SELECT player FROM table_name_27 WHERE debut_year < 1943 AND games < 12 AND goals < 11 AND years_at_club = "1942"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR, december VARCHAR, game VARCHAR, points VARCHAR) ### Question: Which Score has a Game larger than 32, and Points smaller than 42, and a December larger than 19, and a Record of 18–12–5? ### Answer: SELECT score FROM table_name_28 WHERE game > 32 AND points < 42 AND december > 19 AND record = "18–12–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_31 (pick VARCHAR, player VARCHAR) ### Question: How many picks did Jay Bruchak have? ### Answer: SELECT COUNT(pick) FROM table_name_31 WHERE player = "jay bruchak"
Below is an context that describes a sql 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 (location VARCHAR, type VARCHAR) ### Question: What is the location for the club trophy? ### Answer: SELECT location FROM table_name_69 WHERE type = "club trophy"
Below is an context that describes a sql 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 (name VARCHAR, city VARCHAR, years_as_tallest VARCHAR) ### Question: What is the name of the building that was the tallest from 1990–1997 in Frankfurt? ### Answer: SELECT name FROM table_name_78 WHERE city = "frankfurt" AND years_as_tallest = "1990–1997"
Below is an context that describes a sql 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 (game INTEGER, january VARCHAR, decision VARCHAR) ### Question: Which Game has a January larger than 18, and a Decision of valiquette? ### Answer: SELECT MAX(game) FROM table_name_56 WHERE january > 18 AND decision = "valiquette"
Below is an context that describes a sql 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 (score VARCHAR, tie_no VARCHAR) ### Question: What's the score during a game than had a tie no of 19? ### Answer: SELECT score FROM table_name_47 WHERE tie_no = "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_77 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR, premier_league VARCHAR) ### Question: What is the highest league cup with more than 0 FA cups, a premier league less than 34 and a total of 11? ### Answer: SELECT MAX(league_cup) FROM table_name_77 WHERE fa_cup > 0 AND premier_league < 34 AND total = 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 publication (Publisher VARCHAR) ### Question: Show different publishers together with the number of publications they have. ### Answer: SELECT Publisher, COUNT(*) FROM publication GROUP BY Publisher
Below is an context that describes a sql 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 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR) ### Question: How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5? ### Answer: SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 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_65 (record VARCHAR, home VARCHAR) ### Question: Name the record for bobcats ### Answer: SELECT record FROM table_name_65 WHERE home = "bobcats"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16951593_1 (title VARCHAR, no_in_season VARCHAR) ### Question: Name the title for number in season 9 ### Answer: SELECT title FROM table_16951593_1 WHERE no_in_season = "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 school_details (Nickname VARCHAR, Division VARCHAR) ### Question: Show the nicknames of schools that are not in division 1. ### Answer: SELECT Nickname FROM school_details WHERE Division <> "Division 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_65 (second VARCHAR, tenth VARCHAR) ### Question: WHAT IS THE SECOND WITH A TENTH OF DAN BLACK? ### Answer: SELECT second FROM table_name_65 WHERE tenth = "dan black"
Below is an context that describes a sql 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 (laps INTEGER, rider VARCHAR) ### Question: How many laps did the rider Alex Baldolini take? ### Answer: SELECT SUM(laps) FROM table_name_94 WHERE rider = "alex baldolini"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19246_1 (frequency VARCHAR, carrier VARCHAR) ### Question: When the carrier is idc, what are the frequencies? ### Answer: SELECT frequency FROM table_19246_1 WHERE carrier = "IDC"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, stadium VARCHAR) ### Question: Which City has a Country of spain, and a Stadium of palacio de deportes de santander? ### Answer: SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander"
Below is an context that describes a sql 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 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) ### Question: How many golds have a bronze greater than 1, total as the nation, and a silver less than 18? ### Answer: SELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = "total" AND silver < 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_name_24 (result VARCHAR, award VARCHAR, organization VARCHAR) ### Question: What was the Best Feature Film at the Macabro Film Festival? ### Answer: SELECT result FROM table_name_24 WHERE award = "best feature film" AND organization = "macabro film festival"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24384861_1 (dual_voltage VARCHAR, version VARCHAR) ### Question: Does the sounddock series I v2 have dual voltage? ### Answer: SELECT dual_voltage FROM table_24384861_1 WHERE version = "SoundDock series I v2"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (feathered__fxx_ VARCHAR, duration VARCHAR) ### Question: When the duration was 11 min, 34 sec, what was the feathered (Fxx)? ### Answer: SELECT feathered__fxx_ FROM table_name_37 WHERE duration = "11 min, 34 sec"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18162883_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What was the original title of Run for Money? ### Answer: SELECT original_title FROM table_18162883_1 WHERE film_title_used_in_nomination = "Run for Money"
Below is an context that describes a sql 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 (original_name VARCHAR, language VARCHAR) ### Question: Which film was translated from portuguese? ### Answer: SELECT original_name FROM table_name_44 WHERE language = "portuguese"
Below is an context that describes a sql 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 (position VARCHAR, nationality VARCHAR, goals VARCHAR) ### Question: What is the position of the player from England with 62 goals? ### Answer: SELECT position FROM table_name_72 WHERE nationality = "england" AND goals = "62"
Below is an context that describes a sql 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 (to_par VARCHAR, score VARCHAR) ### Question: What is the To par, when the Score is 68-71-69=208? ### Answer: SELECT to_par FROM table_name_1 WHERE score = 68 - 71 - 69 = 208
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1166023_1 (TMS VARCHAR, builder VARCHAR, year_built VARCHAR) ### Question: What tms were built nzr addington in the year 1913 ### Answer: SELECT TMS AS number FROM table_1166023_1 WHERE builder = "NZR Addington" AND year_built = 1913
Below is an context that describes a sql 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 (enrollment INTEGER, mascot VARCHAR) ### Question: What is the enrollment of the school whose mascot is hot dogs? ### Answer: SELECT SUM(enrollment) FROM table_name_53 WHERE mascot = "hot dogs"
Below is an context that describes a sql 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 (venue VARCHAR, opposing_team VARCHAR) ### Question: Which venue had the opposing team Natal? ### Answer: SELECT venue FROM table_name_16 WHERE opposing_team = "natal"
Below is an context that describes a sql 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 (ticket_price_s_ VARCHAR, venue VARCHAR) ### Question: What was the ticket price at Red Rocks Amphitheatre? ### Answer: SELECT ticket_price_s_ FROM table_name_96 WHERE venue = "red rocks amphitheatre"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11694832_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) ### Question: Who directed the show that was viewed by 2.06 million U.S. people? ### Answer: SELECT directed_by FROM table_11694832_1 WHERE us_viewers__millions_ = "2.06"
Below is an context that describes a sql 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 (favorite_professional_sport VARCHAR) ### Question: What is listed the Favorite Professional Sport that's got a 2005 of 17.1%? ### Answer: SELECT favorite_professional_sport FROM table_name_91 WHERE 2005 = "17.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_56 (losses VARCHAR, season VARCHAR) ### Question: What are the losses of the playoffs season? ### Answer: SELECT losses FROM table_name_56 WHERE season = "playoffs"