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_2 (date VARCHAR, home_team VARCHAR) ### Question: What date was fitzroy the home team? ### Answer: SELECT date FROM table_name_2 WHERE home_team = "fitzroy"
Below is an context that describes a sql 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 (year INTEGER, position INTEGER) ### Question: What is the earliest year a song with a position less than 1 has? ### Answer: SELECT MIN(year) FROM table_name_5 WHERE position < 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_93 (game INTEGER, date VARCHAR, attendance VARCHAR) ### Question: What game, played on October 17 in front of 49,347 fans, had the lowest score? ### Answer: SELECT MIN(game) FROM table_name_93 WHERE date = "october 17" AND attendance > 49 OFFSET 347
Below is an context that describes a sql 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 (long INTEGER, gain VARCHAR, loss VARCHAR) ### Question: Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0? ### Answer: SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 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_55 (set_5 VARCHAR, set_3 VARCHAR) ### Question: What is the set 5 with a 25-23 set 3? ### Answer: SELECT set_5 FROM table_name_55 WHERE set_3 = "25-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_17246160_1 (position VARCHAR, team VARCHAR) ### Question: What was the position for the Josef Kaufmann Racing team? ### Answer: SELECT position FROM table_17246160_1 WHERE team = "Josef Kaufmann Racing"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1342233_6 (result VARCHAR, candidates VARCHAR) ### Question: how many result with candidates being richard j. welch (r) unopposed ### Answer: SELECT COUNT(result) FROM table_1342233_6 WHERE candidates = "Richard J. Welch (R) Unopposed"
Below is an context that describes a sql 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 (genre VARCHAR, game_modes VARCHAR, chinese_title VARCHAR) ### Question: What is the genre of the Chinese title 摸摸瓦力欧制造, which has a single-player game mode? ### Answer: SELECT genre FROM table_name_17 WHERE game_modes = "single-player" AND chinese_title = "摸摸瓦力欧制造"
Below is an context that describes a sql 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 (visitor VARCHAR, date VARCHAR) ### Question: What is the Visitor on January 1? ### Answer: SELECT visitor FROM table_name_58 WHERE date = "january 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_16255245_1 (year__ceremony_ VARCHAR, original_title VARCHAR) ### Question: Name the year for spiele leben ### Answer: SELECT year__ceremony_ FROM table_16255245_1 WHERE original_title = "Spiele Leben"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13758945_3 (points VARCHAR, tries_for VARCHAR) ### Question: what's the points with tries for being 64 ### Answer: SELECT points FROM table_13758945_3 WHERE tries_for = "64"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, home_team VARCHAR) ### Question: Who was the away team on 31 January 1987 when the home team was Wimbledon? ### Answer: SELECT away_team FROM table_name_51 WHERE date = "31 january 1987" AND home_team = "wimbledon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21994729_3 (series__number INTEGER, prod_code VARCHAR) ### Question: how many maximum series number have 2apx05 prod. code. ### Answer: SELECT MAX(series__number) FROM table_21994729_3 WHERE prod_code = "2APX05"
Below is an context that describes a sql 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 (pages_per_minute__color_ VARCHAR, max_page_size VARCHAR, dimensions__mm_ VARCHAR) ### Question: What is the pages per minute (color) of the machine that has a max page size of a4 and dimensions (mm) of 303 x 94 x 60? ### Answer: SELECT pages_per_minute__color_ FROM table_name_31 WHERE max_page_size = "a4" AND dimensions__mm_ = "303 x 94 x 60"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21535453_1 (source VARCHAR, terry_mcauliffe VARCHAR, dates_administered VARCHAR) ### Question: What was the source of the poll that gave McAuliffe 30% on June 8? ### Answer: SELECT source FROM table_21535453_1 WHERE terry_mcauliffe = "30%" AND dates_administered = "June 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_2850912_1 (player VARCHAR, pick__number VARCHAR) ### Question: What player is draft pick 17? ### Answer: SELECT player FROM table_2850912_1 WHERE pick__number = 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_18 (fibonacci VARCHAR, operation VARCHAR) ### Question: Operation of find-min has what Fibonacci? ### Answer: SELECT fibonacci FROM table_name_18 WHERE operation = "find-min"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27733909_10 (high_assists VARCHAR, game VARCHAR) ### Question: Who had the highest assists in game 75? ### Answer: SELECT high_assists FROM table_27733909_10 WHERE game = 75
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR) ### Question: What is the score of the game where real espana was the home team? ### Answer: SELECT score FROM table_name_90 WHERE home = "real espana"
Below is an context that describes a sql 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 (goal VARCHAR, date VARCHAR) ### Question: How many goals were scored on 21 Junio 2008? ### Answer: SELECT COUNT(goal) FROM table_name_26 WHERE date = "21 junio 2008"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (year INTEGER, winner VARCHAR) ### Question: What is the most recent year that Iftiraas was the winner? ### Answer: SELECT MAX(year) FROM table_name_68 WHERE winner = "iftiraas"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (overall VARCHAR, player VARCHAR) ### Question: What is the number for overall for angelo craig? ### Answer: SELECT COUNT(overall) FROM table_name_30 WHERE player = "angelo craig"
Below is an context that describes a sql 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 (drawn VARCHAR, losing_bonus VARCHAR) ### Question: When the losing bonus was 2 what was drawn score? ### Answer: SELECT drawn FROM table_name_97 WHERE losing_bonus = "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 song (artist_name VARCHAR, song_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR) ### Question: What is the name and country of origin of the artist who released a song that has "love" in its title? ### Answer: SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.song_name LIKE "%love%"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (finalist VARCHAR, tournament VARCHAR) ### Question: Who was the finalist for the tournament in berlin? ### Answer: SELECT finalist FROM table_name_14 WHERE tournament = "berlin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15635768_1 (printer VARCHAR, place_of_issue VARCHAR) ### Question: Who was the printer of Estes Park, Colorado? ### Answer: SELECT printer FROM table_15635768_1 WHERE place_of_issue = "Estes Park, 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_27 (record VARCHAR, game__number VARCHAR) ### Question: What was the record after game 79? ### Answer: SELECT record FROM table_name_27 WHERE game__number = 79
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, number_of_screening VARCHAR) ### Question: Which award-winning film has a screening number of 50 films 50 televised? ### Answer: SELECT award_winning_film FROM table_18220102_1 WHERE number_of_screening = "50 films 50 televised"
Below is an context that describes a sql 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 (time VARCHAR, method VARCHAR) ### Question: What was the time when the method was TKO? ### Answer: SELECT time FROM table_name_61 WHERE method = "tko"
Below is an context that describes a sql 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 (team_2 VARCHAR) ### Question: What is the 1st round with a team 2 paris sg (d1)? ### Answer: SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = "paris sg (d1)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_30 (points INTEGER, tyres VARCHAR, chassis VARCHAR) ### Question: What is the highest points with g Tyres and Minardi m187? ### Answer: SELECT MAX(points) FROM table_name_30 WHERE tyres = "g" AND chassis = "minardi m187"
Below is an context that describes a sql 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 (position VARCHAR, pick VARCHAR, player VARCHAR) ### Question: Which position had a pick larger than 80 and Walt Mainer as a player? ### Answer: SELECT position FROM table_name_7 WHERE pick > 80 AND player = "walt mainer"
Below is an context that describes a sql 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 (circuit VARCHAR, date VARCHAR) ### Question: Tell me the circuit for 20 august ### Answer: SELECT circuit FROM table_name_99 WHERE date = "20 august"
Below is an context that describes a sql 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 (character VARCHAR, title_rank VARCHAR) ### Question: Which character had a title rank of various? ### Answer: SELECT character FROM table_name_4 WHERE title_rank = "various"
Below is an context that describes a sql 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 (attendance VARCHAR, score VARCHAR) ### Question: What's the attendance of the game with a score of 5-4? ### Answer: SELECT attendance FROM table_name_52 WHERE score = "5-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_51 (bronze INTEGER, total INTEGER) ### Question: What is the total number of bronze when the total is less than 1? ### Answer: SELECT SUM(bronze) FROM table_name_51 WHERE total < 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_54 (winner_and_score VARCHAR, week VARCHAR) ### Question: Who is the winner and score during the week of April 22? ### Answer: SELECT winner_and_score FROM table_name_54 WHERE week = "april 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_23284271_8 (date VARCHAR, record VARCHAR) ### Question: When did the Mavericks have a record of 32-19? ### Answer: SELECT date FROM table_23284271_8 WHERE record = "32-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_49 (pos VARCHAR, driver VARCHAR, car__number VARCHAR) ### Question: How many Pos have a Driver of todd bodine, and a Car # larger than 30? ### Answer: SELECT COUNT(pos) FROM table_name_49 WHERE driver = "todd bodine" AND car__number > 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 table_27877656_7 (outcome VARCHAR, score VARCHAR) ### Question: For score 7–6 (7–3) , 6–4 please mention total number of outcome ### Answer: SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (capacity INTEGER, team VARCHAR) ### Question: What is the average capacity for the venue where the team kommunalnik played? ### Answer: SELECT AVG(capacity) FROM table_name_29 WHERE team = "kommunalnik"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26614365_5 (galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR) ### Question: What is the Galician (reintegrationist) word of the Galician (Official) is adeus*? ### Answer: SELECT galician___reintegrationist__ FROM table_26614365_5 WHERE galician___official__ = "Adeus*"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17848578_1 (game_site VARCHAR, attendance VARCHAR) ### Question: Where was the game where attendance was 51478? ### Answer: SELECT game_site FROM table_17848578_1 WHERE attendance = 51478
Below is an context that describes a sql 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 INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR) ### Question: How many losses altogether were had by teams that won 12 times, had 40-4 points, and more than 57 goals? ### Answer: SELECT SUM(losses) FROM table_name_11 WHERE wins = 12 AND points = "40-4" AND goals_for > 57
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13336122_7 (no_in_season INTEGER, us_viewers__million_ VARCHAR) ### Question: What's the season number of the episode watched by 0.57 million US viewers? ### Answer: SELECT MAX(no_in_season) FROM table_13336122_7 WHERE us_viewers__million_ = "0.57"
Below is an context that describes a sql 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 (opponents_in_final VARCHAR, outcome VARCHAR, date VARCHAR) ### Question: Who was the opponents in the final that was played on April 16, 2006 and the outcome was runner-up? ### Answer: SELECT opponents_in_final FROM table_name_9 WHERE outcome = "runner-up" AND date = "april 16, 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 coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR); CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR, Votes VARCHAR) ### Question: Show the names of players and names of their coaches in descending order of the votes of players. ### Answer: SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID ORDER BY T3.Votes DESC
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25353861_5 (player VARCHAR, assists VARCHAR) ### Question: Which player had 6 assists? ### Answer: SELECT player FROM table_25353861_5 WHERE assists = 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_24302700_6 (event_6_atlas_stones VARCHAR, event_3_dead_lift VARCHAR) ### Question: What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event? ### Answer: SELECT COUNT(event_6_atlas_stones) FROM table_24302700_6 WHERE event_3_dead_lift = "2 (6 in 30.89s)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19017269_5 (africa VARCHAR, oceania VARCHAR) ### Question: what will be the population of Africa when Oceania is 67 (0.6%) ### Answer: SELECT africa FROM table_19017269_5 WHERE oceania = "67 (0.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_1342013_37 (party VARCHAR, district VARCHAR) ### Question: Name the party for the pennsylvania 25 ### Answer: SELECT party FROM table_1342013_37 WHERE district = "Pennsylvania 25"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (date VARCHAR, round VARCHAR) ### Question: What is the date of the 2nd round 2nd leg? ### Answer: SELECT date FROM table_name_63 WHERE round = "2nd round 2nd leg"
Below is an context that describes a sql 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 (time VARCHAR, country VARCHAR) ### Question: What is the time for Brazil? ### Answer: SELECT time FROM table_name_5 WHERE country = "brazil"
Below is an context that describes a sql 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 (bonus_pts INTEGER, rider VARCHAR, rides VARCHAR) ### Question: What was Bob Jameson's lowest bonus where he had less than 15 rides? ### Answer: SELECT MIN(bonus_pts) FROM table_name_36 WHERE rider = "bob jameson" AND rides < 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_52 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team at Western Oval? ### Answer: SELECT away_team FROM table_name_52 WHERE venue = "western 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 order_items (product_id VARCHAR) ### Question: What is the id of the product that was ordered the most often? ### Answer: SELECT product_id FROM order_items GROUP BY product_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_18862490_2 (country VARCHAR, player VARCHAR) ### Question: What country does robert allenby represent? ### Answer: SELECT country FROM table_18862490_2 WHERE player = "Robert Allenby"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE FACULTY (Fname VARCHAR, Lname VARCHAR, sex VARCHAR, Building VARCHAR) ### Question: Find the first names and last names of male (sex is M) faculties who live in building NEB. ### Answer: SELECT Fname, Lname FROM FACULTY WHERE sex = "M" AND Building = "NEB"
Below is an context that describes a sql 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 (score VARCHAR, team VARCHAR) ### Question: What is the Score with a Team with @ houston? ### Answer: SELECT score FROM table_name_35 WHERE team = "@ houston"
Below is an context that describes a sql 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 (vertical_drop__m_ INTEGER, length__m_ VARCHAR) ### Question: What is the highest vertical drop among the 1,200 meter long tracks? ### Answer: SELECT MAX(vertical_drop__m_) FROM table_name_9 WHERE length__m_ = 1 OFFSET 200
Below is an context that describes a sql 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 (qual VARCHAR, year VARCHAR) ### Question: Name the qual for 1957 ### Answer: SELECT qual FROM table_name_1 WHERE year = "1957"
Below is an context that describes a sql 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 INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) ### Question: What is the largest gold when silver is less than 1 for Canada and bronze is less than 0? ### Answer: SELECT MAX(gold) FROM table_name_48 WHERE silver < 1 AND nation = "canada" AND bronze < 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_25926120_3 (cash_prize VARCHAR, language VARCHAR, name_of_film VARCHAR) ### Question: How many cash prizes were given for the hindi language film jodhaa akbar? ### Answer: SELECT COUNT(cash_prize) FROM table_25926120_3 WHERE language = "Hindi" AND name_of_film = "Jodhaa Akbar"
Below is an context that describes a sql 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 (opponent VARCHAR, site_stadium VARCHAR, date VARCHAR) ### Question: Who was the opponent at Baum Stadium on April 6? ### Answer: SELECT opponent FROM table_name_90 WHERE site_stadium = "baum stadium" AND date = "april 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_75 (date VARCHAR, record VARCHAR) ### Question: What day did the record reach 15-4? ### Answer: SELECT date FROM table_name_75 WHERE record = "15-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_11 (overall_record VARCHAR, since_beginning_of_big_12 VARCHAR) ### Question: What is the Overall Record when Since Beginning of Big 12 is ou, 27-3? ### Answer: SELECT overall_record FROM table_name_11 WHERE since_beginning_of_big_12 = "ou, 27-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_16 (avg_g INTEGER, att_cmp_int VARCHAR) ### Question: What is the lowest avg/g that has 2-9-0 for the att-cmp-int? ### Answer: SELECT MIN(avg_g) FROM table_name_16 WHERE att_cmp_int = "2-9-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_41 (crowd INTEGER, away_team VARCHAR) ### Question: What is the Crowd number for the Away team of Richmond? ### Answer: SELECT SUM(crowd) FROM table_name_41 WHERE away_team = "richmond"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23284597_3 (year VARCHAR, opponent_in_the_final VARCHAR) ### Question: Name the year for guillermo cañas ### Answer: SELECT year FROM table_23284597_3 WHERE opponent_in_the_final = "Guillermo Cañas"
Below is an context that describes a sql 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 (release_date VARCHAR, title VARCHAR) ### Question: What was the release date of Rabbit Romeo? ### Answer: SELECT release_date FROM table_name_8 WHERE title = "rabbit romeo"
Below is an context that describes a sql 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 (series_ep VARCHAR, segment_b VARCHAR) ### Question: What series episode has deli meats under segment B? ### Answer: SELECT series_ep FROM table_name_98 WHERE segment_b = "deli meats"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15873547_1 (colors VARCHAR, residence_hall VARCHAR) ### Question: What are the colors of Howard Hall? ### Answer: SELECT colors FROM table_15873547_1 WHERE residence_hall = "Howard Hall"
Below is an context that describes a sql 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 (event VARCHAR, res VARCHAR, opponent VARCHAR) ### Question: Which Event resulted in a Win for Opponent, Shane Ott? ### Answer: SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22835602_1 (directed_by VARCHAR, production_code VARCHAR) ### Question: How many directors were there for the production code 1ark08? ### Answer: SELECT COUNT(directed_by) FROM table_22835602_1 WHERE production_code = "1ARK08"
Below is an context that describes a sql 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 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR) ### Question: Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand? ### Answer: SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = "new zealand"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23399481_3 (original_air_date VARCHAR, season__number VARCHAR) ### Question: What is the original air date for episode 4? ### Answer: SELECT original_air_date FROM table_23399481_3 WHERE season__number = 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_79 (roll INTEGER, authority VARCHAR, decile VARCHAR) ### Question: What is the highest roll number of the school with a state authority and a decile smaller than 8? ### Answer: SELECT MAX(roll) FROM table_name_79 WHERE authority = "state" AND decile < 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_93 (division VARCHAR, year VARCHAR) ### Question: What divisions was in the year 1993? ### Answer: SELECT division FROM table_name_93 WHERE year = 1993
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, number_of_deputies VARCHAR) ### Question: what's the percentage of votes with number of deputies being 112 ### Answer: SELECT percentage_of_votes FROM table_13746866_2 WHERE number_of_deputies = 112
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR, id VARCHAR); CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR) ### Question: Show the name, average attendance, total attendance for stadiums where no accidents happened. ### Answer: SELECT name, average_attendance, total_attendance FROM stadium EXCEPT SELECT T2.name, T2.average_attendance, T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_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_67 (frequency VARCHAR, format VARCHAR) ### Question: What is the frequency of the talk station? ### Answer: SELECT frequency FROM table_name_67 WHERE format = "talk"
Below is an context that describes a sql 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 (calorie VARCHAR, watt_hour VARCHAR) ### Question: How many calories is 1 watt hour? ### Answer: SELECT calorie FROM table_name_64 WHERE watt_hour = "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 tv_channel (id VARCHAR, country VARCHAR) ### Question: find id of the tv channels that from the countries where have more than two tv channels. ### Answer: SELECT id FROM tv_channel GROUP BY country HAVING COUNT(*) > 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_67 (state VARCHAR, host VARCHAR) ### Question: What state has the University of California, Los Angeles? ### Answer: SELECT state FROM table_name_67 WHERE host = "university of california, los angeles"
Below is an context that describes a sql 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 (position VARCHAR, round VARCHAR, pick VARCHAR) ### Question: Which position's round was 3 when pick was 70? ### Answer: SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2417741_1 (tournament VARCHAR, year VARCHAR) ### Question: When 1999 is the year how many tournaments are there? ### Answer: SELECT COUNT(tournament) FROM table_2417741_1 WHERE year = 1999
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR) ### Question: What was the score of the game against the San Diego Chargers? ### Answer: SELECT score FROM table_name_41 WHERE opponent = "san diego chargers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR) ### Question: What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)? ### Answer: SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341690_18 (result VARCHAR, incumbent VARCHAR) ### Question: What were the results when the incumbent was John Breaux? ### Answer: SELECT result FROM table_1341690_18 WHERE incumbent = "John Breaux"
Below is an context that describes a sql 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 (team VARCHAR, rank VARCHAR) ### Question: What team has rank 3? ### Answer: SELECT team FROM table_name_73 WHERE rank = 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_8 (venue VARCHAR, away_team VARCHAR) ### Question: Which venue has St Kilda as the away team? ### Answer: SELECT venue FROM table_name_8 WHERE away_team = "st kilda"
Below is an context that describes a sql 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 (rank__pakistan_ VARCHAR, world_rank VARCHAR, height__m_ VARCHAR) ### Question: What is the Rank (Pakistan) of the mountain that has a World Rank smaller than 11 and a Height smaller than 8126? ### Answer: SELECT COUNT(rank__pakistan_) FROM table_name_72 WHERE world_rank < 11 AND height__m_ < 8126
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14984103_1 (game_site VARCHAR, week VARCHAR) ### Question: Name the game site for week 6 ### Answer: SELECT game_site FROM table_14984103_1 WHERE week = 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_7 (score VARCHAR, visitor VARCHAR, points VARCHAR) ### Question: What is Score, when Visitor is "Pittsburgh", and when Points is greater than 18? ### Answer: SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 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_10812403_4 (college VARCHAR, player VARCHAR) ### Question: What college did Calvin McCarty play at? ### Answer: SELECT college FROM table_10812403_4 WHERE player = "Calvin McCarty"
Below is an context that describes a sql 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 (first_downs INTEGER, date VARCHAR) ### Question: What is the average First Downs for december 4? ### Answer: SELECT AVG(first_downs) FROM table_name_82 WHERE 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_name_81 (type VARCHAR, themed_land VARCHAR, opened_in VARCHAR) ### Question: What type ride is Wild Asia that opened in 2000? ### Answer: SELECT type FROM table_name_81 WHERE themed_land = "wild asia" AND opened_in = 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_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR) ### Question: Which operating system has 1GB (mobile ddr) memory (RAM)? ### Answer: SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)"
Below is an context that describes a sql 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 (wicket VARCHAR, batting_partners VARCHAR) ### Question: During what wicket were Mahela Jayawardene and Thilan Samaraweera batting partners? ### Answer: SELECT wicket FROM table_name_56 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"
Below is an context that describes a sql 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 (opponent VARCHAR, outcome VARCHAR, surface VARCHAR) ### Question: Who did Thomaz Bellucci play against when he became runner-up on a clay surface? ### Answer: SELECT opponent FROM table_name_73 WHERE outcome = "runner-up" AND surface = "clay"