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_25 (school_club_team VARCHAR, player VARCHAR) ### Question: What team does Kenny Smith play for? ### Answer: SELECT school_club_team FROM table_name_25 WHERE player = "kenny smith"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (score VARCHAR, player VARCHAR) ### Question: Name the Score of craig stadler? ### Answer: SELECT score FROM table_name_33 WHERE player = "craig stadler"
Below is an context that describes a sql 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 (series VARCHAR, date VARCHAR) ### Question: What is the series score of the game on May 6? ### Answer: SELECT series FROM table_name_55 WHERE date = "may 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_1342292_4 (party VARCHAR, incumbent VARCHAR) ### Question: How many parties does william b. cravens represent? ### Answer: SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = "William B. Cravens"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26561508_1 (written_by VARCHAR, production_code VARCHAR) ### Question: Who was the writter for the episode identified by the production code 2t5954? ### Answer: SELECT written_by FROM table_26561508_1 WHERE production_code = "2T5954"
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR) ### Question: What is the crowd size of the match featuring North Melbourne as the away team? ### Answer: SELECT MIN(crowd) FROM table_name_40 WHERE away_team = "north melbourne"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_21 (engine VARCHAR, displacement VARCHAR, power VARCHAR) ### Question: Displacement of 4.4l (4423cc/269in³) and a Power of 220kw (299hp) @ 4000 belongs to what engine? ### Answer: SELECT engine FROM table_name_21 WHERE displacement = "4.4l (4423cc/269in³)" AND power = "220kw (299hp) @ 4000"
Below is an context that describes a sql 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 (rank VARCHAR, population VARCHAR) ### Question: What is the rank of the town with a population of 258? ### Answer: SELECT COUNT(rank) FROM table_name_4 WHERE population = 258
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15608800_2 (number_at_pyewipe INTEGER) ### Question: Name the most number of pyewipe ### Answer: SELECT MAX(number_at_pyewipe) FROM table_15608800_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_1637041_6 (avg_start VARCHAR, winnings VARCHAR) ### Question: What is the average start for the season with $7,220 in winnings? ### Answer: SELECT avg_start FROM table_1637041_6 WHERE winnings = "$7,220"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR) ### Question: Name the rank on channel for pilot ### Answer: SELECT rank_on_channel FROM table_24222929_4 WHERE title = "Pilot"
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR) ### Question: What was the date when the home team was Essendon? ### Answer: SELECT date FROM table_name_9 WHERE home_team = "essendon"
Below is an context that describes a sql 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 (round INTEGER, position VARCHAR, pick__number VARCHAR) ### Question: Which round was the defensive tackle picked after 187? ### Answer: SELECT AVG(round) FROM table_name_8 WHERE position = "defensive tackle" AND pick__number > 187
Below is an context that describes a sql 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 (score VARCHAR, loss VARCHAR) ### Question: What is the Score of the game with a Loss of Kiprusoff (2–2)? ### Answer: SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–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_84 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) ### Question: Which venue had an against score smaller than 18 when the opposing team was North Auckland? ### Answer: SELECT venue FROM table_name_84 WHERE against < 18 AND opposing_team = "north auckland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR) ### Question: Name the year for womens doubles being raina tzvetkova emilia dimitrova ### Answer: SELECT year FROM table_14903491_1 WHERE womens_doubles = "Raina Tzvetkova Emilia Dimitrova"
Below is an context that describes a sql 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 (finish VARCHAR, wins VARCHAR) ### Question: What is the Finish of 28 Wins? ### Answer: SELECT finish FROM table_name_49 WHERE wins = "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_28668784_1 (stadium VARCHAR, home_team VARCHAR) ### Question: What stadium does FK Rudar play in? ### Answer: SELECT stadium FROM table_28668784_1 WHERE home_team = "FK Rudar"
Below is an context that describes a sql 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 (record VARCHAR, visitor VARCHAR, date VARCHAR) ### Question: What is the Record of the game on January 31 with Visitors Detroit Red Wings? ### Answer: SELECT record FROM table_name_74 WHERE visitor = "detroit red wings" AND date = "january 31"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24231638_3 (date_of_appointment VARCHAR, team VARCHAR) ### Question: what is the date of appointment for the team osasuna? ### Answer: SELECT date_of_appointment FROM table_24231638_3 WHERE team = "Osasuna"
Below is an context that describes a sql 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 (points INTEGER, year VARCHAR, rank VARCHAR) ### Question: What is the average points with a year higher than 1989, and a rank of 7th? ### Answer: SELECT AVG(points) FROM table_name_60 WHERE year > 1989 AND rank = "7th"
Below is an context that describes a sql 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 (november INTEGER, game VARCHAR, opponent VARCHAR) ### Question: What is the highest November that has a game less than 12, and @ detroit red wings as the opponent? ### Answer: SELECT MAX(november) FROM table_name_57 WHERE game < 12 AND opponent = "@ detroit red wings"
Below is an context that describes a sql 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 (score VARCHAR, time VARCHAR, venue VARCHAR) ### Question: Name the Score which has a Time of 18:00 and a Venue of african union? ### Answer: SELECT score FROM table_name_99 WHERE time = "18:00" AND venue = "african union"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13741576_4 (drawn VARCHAR, club VARCHAR) ### Question: Name the drawn for llandaff rfc ### Answer: SELECT drawn FROM table_13741576_4 WHERE club = "Llandaff RFC"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) ### Question: Find the number of vocal types used in song "Le Pop" ### Answer: SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_99 (year INTEGER, engine VARCHAR, points VARCHAR) ### Question: What is the earliest year that had under 26 points and a toyota v8 engine? ### Answer: SELECT MIN(year) FROM table_name_99 WHERE engine = "toyota v8" AND points < 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_61 (country VARCHAR, catalogue_no VARCHAR, format VARCHAR, label VARCHAR) ### Question: What is the country that has the format of cd, the label of sony music and the catalogue no sicp-2055? ### Answer: SELECT country FROM table_name_61 WHERE format = "cd" AND label = "sony music" AND catalogue_no = "sicp-2055"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19897294_8 (family_families VARCHAR, no_overall VARCHAR) ### Question: Name the family for uk31 ### Answer: SELECT family_families FROM table_19897294_8 WHERE no_overall = "UK31"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE classroom (building VARCHAR, room_number VARCHAR, capacity INTEGER) ### Question: Find the room number of the rooms which can sit 50 to 100 students and their buildings. ### Answer: SELECT building, room_number FROM classroom WHERE capacity BETWEEN 50 AND 100
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR) ### Question: What was the date of the week 16 game? ### Answer: SELECT date FROM table_name_79 WHERE week = 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_32 (date VARCHAR, attendance VARCHAR) ### Question: What is the date for 45,000 in attendance? ### Answer: SELECT date FROM table_name_32 WHERE attendance = "45,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_90 (language VARCHAR, role VARCHAR) ### Question: What language is the film with a character named Annabelle? ### Answer: SELECT language FROM table_name_90 WHERE role = "annabelle"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Genre (GenreID VARCHAR, Name VARCHAR); CREATE TABLE Track (AlbumId VARCHAR, GenreID VARCHAR); CREATE TABLE Album (Title VARCHAR, AlbumId VARCHAR) ### Question: What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks? ### Answer: SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Rock'
Below is an context that describes a sql 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 (tally VARCHAR, opposition VARCHAR, total VARCHAR) ### Question: What is the tally when the opposition is Derry, and total is 14? ### Answer: SELECT tally FROM table_name_12 WHERE opposition = "derry" AND total = 14
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_19 (model_number VARCHAR, frequency VARCHAR, socket VARCHAR) ### Question: Which model has a frequency of 750 mhz and a socket of bga2μpga2? ### Answer: SELECT model_number FROM table_name_19 WHERE frequency = "750 mhz" AND socket = "bga2μpga2"
Below is an context that describes a sql 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 (original_name VARCHAR, language VARCHAR, country VARCHAR) ### Question: What was the original name of the Spanish song in Spain? ### Answer: SELECT original_name FROM table_name_71 WHERE language = "spanish" AND country = "spain"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_93 (country VARCHAR, place VARCHAR, player VARCHAR) ### Question: What is Country, when Place is "T9", and when Player is "Jay Hebert"? ### Answer: SELECT country FROM table_name_93 WHERE place = "t9" AND player = "jay hebert"
Below is an context that describes a sql 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 (size__cents_ INTEGER, size__steps_ VARCHAR, just__cents_ VARCHAR) ### Question: size (steps) of 15, and a just (cents) larger than 435.08 is what highest size (cents)? ### Answer: SELECT MAX(size__cents_) FROM table_name_26 WHERE size__steps_ = 15 AND just__cents_ > 435.08
Below is an context that describes a sql 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 (location_attendance VARCHAR, record VARCHAR) ### Question: What is the Location Attendance with a Record that is 1-4? ### Answer: SELECT location_attendance FROM table_name_31 WHERE record = "1-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17058226_10 (record VARCHAR, date VARCHAR) ### Question: What was the Timberwolves' record on April 3? ### Answer: SELECT record FROM table_17058226_10 WHERE date = "April 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 (class VARCHAR, part_2 VARCHAR) ### Question: Which class has *fraus as Part 2? ### Answer: SELECT class FROM table_name_59 WHERE part_2 = "*fraus"
Below is an context that describes a sql 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 (time VARCHAR, record VARCHAR) ### Question: What is the time where the record is 10-1? ### Answer: SELECT time FROM table_name_66 WHERE record = "10-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_2468961_6 (directed_by VARCHAR, no_in_series VARCHAR) ### Question: When 102 is the number in series who is the director? ### Answer: SELECT directed_by FROM table_2468961_6 WHERE no_in_series = 102
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR) ### Question: What was the handicap when the prize money was 120s? ### Answer: SELECT handicap FROM table_2896329_1 WHERE prize_money = "120s"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27756314_11 (high_rebounds VARCHAR, date VARCHAR) ### Question: Who did the most high rebounds on April 6? ### Answer: SELECT high_rebounds FROM table_27756314_11 WHERE 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_96 (finish VARCHAR, country VARCHAR, player VARCHAR) ### Question: What was the finishing position of Hale Irwin, of the United states? ### Answer: SELECT finish FROM table_name_96 WHERE country = "united states" AND player = "hale irwin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR) ### Question: What round was Bill Hill drafted? ### Answer: SELECT choice FROM table_10360656_1 WHERE player_name = "Bill Hill"
Below is an context that describes a sql 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 (week__number VARCHAR, result VARCHAR, theme VARCHAR) ### Question: Which week had safe as the result and Dolly Parton as the theme? ### Answer: SELECT week__number FROM table_name_42 WHERE result = "safe" AND theme = "dolly parton"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR) ### Question: What clu was in toronto 1995-96 ### Answer: SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "1995-96"
Below is an context that describes a sql 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 (year INTEGER, score VARCHAR) ### Question: Which year had a Score of kapunda 14-13-97 tanunda 5-14-44? ### Answer: SELECT SUM(year) FROM table_name_53 WHERE score = "kapunda 14-13-97 tanunda 5-14-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_84 (high_assists VARCHAR, team VARCHAR) ### Question: How many high assists did the Lakers have? ### Answer: SELECT high_assists FROM table_name_84 WHERE team = "lakers"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE department (dept_address VARCHAR, dept_name VARCHAR) ### Question: what is the address of history department? ### Answer: SELECT dept_address FROM department WHERE dept_name = 'History'
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What was the score of the match played on 5 September 2001? ### Answer: SELECT score FROM table_name_38 WHERE date = "5 september 2001"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2679061_12 (player VARCHAR, college_junior_club_team VARCHAR) ### Question: Who was drafted to litvinov (czechoslovakia)? ### Answer: SELECT player FROM table_2679061_12 WHERE college_junior_club_team = "Litvinov (Czechoslovakia)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27208311_1 (episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series VARCHAR, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series VARCHAR, series_no VARCHAR) ### Question: What is every episode number for the series number 3? ### Answer: SELECT episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series FROM table_27208311_1 WHERE series_no = 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_27 (genre VARCHAR, airing_date VARCHAR) ### Question: Which genre aired on 12 feb- 9 mar? ### Answer: SELECT genre FROM table_name_27 WHERE airing_date = "12 feb- 9 mar"
Below is an context that describes a sql 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 (lost VARCHAR, against INTEGER) ### Question: How many losses have points against less than 15? ### Answer: SELECT COUNT(lost) FROM table_name_1 WHERE against < 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_2 (total INTEGER, silver VARCHAR, gold VARCHAR) ### Question: What is the average Total, when Silver is greater than 4, and when Gold is greater than 16? ### Answer: SELECT AVG(total) FROM table_name_2 WHERE silver > 4 AND gold > 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_11570261_1 (championship VARCHAR, winning_score VARCHAR) ### Question: what's the championship where winning score is −12 (74-66-65-71=276) ### Answer: SELECT championship FROM table_11570261_1 WHERE winning_score = −12(74 - 66 - 65 - 71 = 276)
Below is an context that describes a sql 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 (frequency VARCHAR, name VARCHAR) ### Question: What is the frequency of 104.3 business radio? ### Answer: SELECT frequency FROM table_name_95 WHERE name = "104.3 business radio"
Below is an context that describes a sql 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 (points INTEGER, chassis VARCHAR, year VARCHAR) ### Question: What is the low point total after 2006 with an m16 chassis? ### Answer: SELECT MIN(points) FROM table_name_59 WHERE chassis = "m16" 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_34 (date VARCHAR, record VARCHAR) ### Question: Which Date has a Record of 1-4? ### Answer: SELECT date FROM table_name_34 WHERE record = "1-4"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR) ### Question: Which team has nc position for 2010 season? ### Answer: SELECT team FROM table_23338693_1 WHERE position = "NC" AND season = 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 table_name_5 (round VARCHAR, date VARCHAR) ### Question: Which 250cc winner has a Round larger than 6, and a Date of 26 july? ### Answer: SELECT 250 AS cc_winner FROM table_name_5 WHERE round > 6 AND date = "26 july"
Below is an context that describes a sql 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 (cause_of_death VARCHAR, rank VARCHAR, name VARCHAR) ### Question: What is Detective Donald William Schneider's Cause of death? ### Answer: SELECT cause_of_death FROM table_name_37 WHERE rank = "detective" AND name = "donald william schneider"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26758262_1 (district INTEGER, location_of_court VARCHAR) ### Question: What district is the court located in Tolland? ### Answer: SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland"
Below is an context that describes a sql 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 (assist_pass VARCHAR, score VARCHAR, goal VARCHAR) ### Question: Which Assist/pass has a Score of 1-0, and a Goal of 5? ### Answer: SELECT assist_pass FROM table_name_85 WHERE score = "1-0" AND goal = "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_64 (socket VARCHAR, voltage VARCHAR, model_number VARCHAR) ### Question: What is Socket, when Voltage is 2.0V, and when Model Number is Pentium II 333? ### Answer: SELECT socket FROM table_name_64 WHERE voltage = "2.0v" AND model_number = "pentium ii 333"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent at the game held on December 24, 2005? ### Answer: SELECT opponent FROM table_name_16 WHERE date = "december 24, 2005"
Below is an context that describes a sql 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, visitor VARCHAR, date VARCHAR) ### Question: What was the score of the game on April 28 where Buffalo were the visiting team? ### Answer: SELECT score FROM table_name_64 WHERE visitor = "buffalo" AND date = "april 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_17302440_1 (year VARCHAR, west_manila VARCHAR) ### Question: What was the year when West Manila has a tariff increase of 6.5? ### Answer: SELECT year FROM table_17302440_1 WHERE west_manila = "6.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 roller_coaster (Status VARCHAR) ### Question: List the status shared by more than two roller coaster. ### Answer: SELECT Status FROM roller_coaster GROUP BY Status 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_18118221_1 (rank INTEGER, railway_station VARCHAR) ### Question: What is the lowest rank of Gatwick Airport? ### Answer: SELECT MIN(rank) FROM table_18118221_1 WHERE railway_station = "Gatwick Airport"
Below is an context that describes a sql 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 (round VARCHAR, surface VARCHAR, opponent VARCHAR) ### Question: What's Round has a Surface of hard and Opponent of Jelena Simic? ### Answer: SELECT round FROM table_name_51 WHERE surface = "hard" AND opponent = "jelena simic"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18304058_2 (team_name VARCHAR, sports VARCHAR, schools VARCHAR) ### Question: What is the name of the team from the Elverado Trico school in football? ### Answer: SELECT team_name FROM table_18304058_2 WHERE sports = "Football" AND schools = "Elverado Trico"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_13 (visiting_team VARCHAR, host_team VARCHAR) ### Question: Who was the visiting team against the Minnesota Vikings? ### Answer: SELECT visiting_team FROM table_name_13 WHERE host_team = "minnesota vikings"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28979895_4 (partner VARCHAR, score VARCHAR) ### Question: Name the parter for w/o ### Answer: SELECT partner FROM table_28979895_4 WHERE score = "w/o"
Below is an context that describes a sql 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 (pick__number INTEGER, pl_gp INTEGER) ### Question: What is the pick # of the player with a PI GP less than 0? ### Answer: SELECT SUM(pick__number) FROM table_name_16 WHERE pl_gp < 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_38 (county VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) ### Question: Which IHSAA class A school are the Cavaliers from? ### Answer: SELECT county FROM table_name_38 WHERE ihsaa_class = "a" AND mascot = "cavaliers"
Below is an context that describes a sql 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 (site VARCHAR, date VARCHAR) ### Question: What is SIte, when Date is "September 13"? ### Answer: SELECT site FROM table_name_67 WHERE date = "september 13"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27603010_14 (team__number1 VARCHAR) ### Question: What was the 2nd leg score if the team 1 is Deportivo Pasto? ### Answer: SELECT 2 AS nd_leg FROM table_27603010_14 WHERE team__number1 = "Deportivo Pasto"
Below is an context that describes a sql 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 (location VARCHAR, capacity INTEGER) ### Question: Which location has a capacity greater than 51,500? ### Answer: SELECT location FROM table_name_43 WHERE capacity > 51 OFFSET 500
Below is an context that describes a sql 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 (visiting_team VARCHAR, stadium VARCHAR, date VARCHAR) ### Question: What visiting team played at 3com park on October 7? ### Answer: SELECT visiting_team FROM table_name_49 WHERE stadium = "3com park" AND date = "october 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_84 (wins INTEGER, club VARCHAR, draws VARCHAR) ### Question: What are the most wins of Terang with the draws less than 0? ### Answer: SELECT MAX(wins) FROM table_name_84 WHERE club = "terang" AND 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_83 (silver INTEGER, nation VARCHAR, total VARCHAR) ### Question: What is the least amount of silver for Italy with a total less than 5? ### Answer: SELECT MIN(silver) FROM table_name_83 WHERE nation = "italy" AND total < 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_36 (pick__number INTEGER, cfl_team VARCHAR) ### Question: What is the highest pick number of the CFL's Toronto Argonauts? ### Answer: SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts"
Below is an context that describes a sql 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 (high_assists VARCHAR, date VARCHAR) ### Question: Who had the highest assists during the game on February 22? ### Answer: SELECT high_assists FROM table_name_28 WHERE date = "february 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_25831483_1 (total VARCHAR, actor_actress VARCHAR) ### Question: How many total are there when actor/actress is pam ferris? ### Answer: SELECT total FROM table_25831483_1 WHERE actor_actress = "Pam Ferris"
Below is an context that describes a sql 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 (series VARCHAR, isbn VARCHAR) ### Question: What is the name of the series with an ISBN of 978-1-59582-523-0 (tpb)? ### Answer: SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)"
Below is an context that describes 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 (zip_postcode VARCHAR) ### Question: How many addresses have zip code 197? ### Answer: SELECT COUNT(*) FROM ADDRESSES WHERE zip_postcode = "197"
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR) ### Question: What is the date of the game where Richmond was the away team? ### Answer: SELECT date FROM table_name_70 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_name_21 (driver VARCHAR, time_retired VARCHAR) ### Question: Which driver has a Time/Retired of +6 laps? ### Answer: SELECT driver FROM table_name_21 WHERE time_retired = "+6 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_name_66 (games VARCHAR, goals INTEGER, name VARCHAR) ### Question: What is the average Goals/Games for Rummenigge, Karl-Heinz, with Goals less than 162? ### Answer: SELECT AVG(goals) / games FROM table_name_66 WHERE name = "rummenigge, karl-heinz" AND goals < 162
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR) ### Question: What is the Place for the 66 Score? ### Answer: SELECT place FROM table_name_33 WHERE score = 66
Below is an context that describes a sql 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 (nat VARCHAR, transfer_fee VARCHAR, type VARCHAR) ### Question: What is the Nat with a mutual consent loan return and has a free transfer fee? ### Answer: SELECT nat FROM table_name_12 WHERE transfer_fee = "free" AND type = "mutual consent loan return"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12303563_2 (winners VARCHAR, nation VARCHAR) ### Question: how many winners from vietnam ### Answer: SELECT winners FROM table_12303563_2 WHERE nation = "Vietnam"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29301050_1 (train_number VARCHAR, arrival_lonavla VARCHAR) ### Question: which train number arrives in lonavla at 17:45 ### Answer: SELECT train_number FROM table_29301050_1 WHERE arrival_lonavla = "17:45"
Below is an context that describes a sql 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_joined VARCHAR, school VARCHAR, size VARCHAR, ihsaa_class VARCHAR) ### Question: How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del? ### Answer: SELECT COUNT(year_joined) FROM table_name_68 WHERE size < 417 AND ihsaa_class = "a" AND school = "jac-cen-del"
Below is an context that describes a sql 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 (attendance VARCHAR, opponent VARCHAR) ### Question: How much Attendance has an Opponent of swindon wildcats? ### Answer: SELECT COUNT(attendance) FROM table_name_90 WHERE opponent = "swindon wildcats"
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: What was the result when there were 27,321 in attendance? ### Answer: SELECT result FROM table_name_20 WHERE attendance = "27,321"