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_36 (launched VARCHAR, commissioned VARCHAR) ### Question: Which Launched has Commissioned 6 june 1935? ### Answer: SELECT launched FROM table_name_36 WHERE commissioned = "6 june 1935"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12526990_1 (mundubbera INTEGER, biggenden VARCHAR) ### Question: What is the minimum mundubbera when biggenden is 1882 ### Answer: SELECT MIN(mundubbera) FROM table_12526990_1 WHERE biggenden = 1882
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29747178_2 (written_by VARCHAR, directed_by VARCHAR) ### Question: Who is the writer when the director is bob berlinger? ### Answer: SELECT written_by FROM table_29747178_2 WHERE directed_by = "Bob Berlinger"
Below is an context that describes a sql 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 (player VARCHAR, hometown VARCHAR) ### Question: Who has a hometown of los angeles, ca? ### Answer: SELECT player FROM table_name_52 WHERE hometown = "los angeles, ca"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1507423_4 (wins INTEGER) ### Question: What is the maximumum number of wins? ### Answer: SELECT MIN(wins) FROM table_1507423_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_94 (player VARCHAR, round VARCHAR) ### Question: Who is the player in round 6? ### Answer: SELECT player FROM table_name_94 WHERE round = 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_30 (film VARCHAR, year VARCHAR) ### Question: Which film was released in 1983? ### Answer: SELECT film FROM table_name_30 WHERE year = 1983
Below is an context that describes a sql 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 (name VARCHAR, terminated VARCHAR) ### Question: What is the Name of the Space Telescope Terminated on March 1993? ### Answer: SELECT name FROM table_name_31 WHERE terminated = "march 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_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR) ### Question: What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs? ### Answer: SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = "tianjin" AND number_of_clubs > 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_59 (language VARCHAR, content VARCHAR, television_service VARCHAR) ### Question: What language is telemarket for you with a content of televendita? ### Answer: SELECT language FROM table_name_59 WHERE content = "televendita" AND television_service = "telemarket for you"
Below is an context that describes a sql 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 (pts_game INTEGER, name VARCHAR, points VARCHAR) ### Question: Can you tell me the lowest Pts/game that has the Name of philippa tuttiett, and the Points larger then 6? ### Answer: SELECT MIN(pts_game) FROM table_name_59 WHERE name = "philippa tuttiett" AND points > 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_19 (bronze INTEGER, silver INTEGER) ### Question: What is the number of bronze medals when there are fewer than 0 silver medals? ### Answer: SELECT SUM(bronze) FROM table_name_19 WHERE silver < 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_13036251_1 (airdate VARCHAR, international_destination VARCHAR) ### Question: what's airdate with international destination being scotland ### Answer: SELECT airdate FROM table_13036251_1 WHERE international_destination = "Scotland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR) ### Question: how many venues were played on in round 1 ### Answer: SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "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_38 (pos INTEGER, car__number VARCHAR, team VARCHAR) ### Question: Which Pos has a Car # larger than 2, and a Team of billy ballew motorsports? ### Answer: SELECT AVG(pos) FROM table_name_38 WHERE car__number > 2 AND team = "billy ballew motorsports"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25664518_3 (second_couple VARCHAR, itv1_weekly_ranking VARCHAR) ### Question: Who was the second couple for the episode having an ITV1 ranking of 29? ### Answer: SELECT second_couple FROM table_25664518_3 WHERE itv1_weekly_ranking = 29
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE PersonFriend (name VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR) ### Question: Find Alice's friends of friends. ### Answer: SELECT DISTINCT T4.name FROM PersonFriend AS T1 JOIN Person AS T2 ON T1.name = T2.name JOIN PersonFriend AS T3 ON T1.friend = T3.name JOIN PersonFriend AS T4 ON T3.friend = T4.name WHERE T2.name = 'Alice' AND T4.name <> 'Alice'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, whitefaced_duck VARCHAR) ### Question: What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover? ### Answer: SELECT hadeda_ibis FROM table_20042805_2 WHERE whitefaced_duck = "Blacksmith Plover"
Below is an context that describes a sql 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 (team VARCHAR, stadium VARCHAR) ### Question: Who is the team at vikings stadium? ### Answer: SELECT team FROM table_name_64 WHERE stadium = "vikings stadium"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_88 (byes INTEGER, draws VARCHAR, losses VARCHAR, wins VARCHAR) ### Question: Which byes are high when losses are larger than 7, wins smaller than 6, and draws are smaller than 0? ### Answer: SELECT MAX(byes) FROM table_name_88 WHERE losses > 7 AND wins < 6 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_1183842_1 (enrollment INTEGER, institution VARCHAR) ### Question: Barry University had the highest enrollment of what number? ### Answer: SELECT MAX(enrollment) FROM table_1183842_1 WHERE institution = "Barry University"
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR) ### Question: What is the leowest number of Bronze medals for Jamaica who ranked less than 4 and had more than 0 silver medals and a total of less than 22 medals? ### Answer: SELECT MIN(bronze) FROM table_name_75 WHERE silver > 0 AND rank < 4 AND nation = "jamaica" AND total < 22
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_81 (wins VARCHAR, losses VARCHAR, goal_difference VARCHAR, draws VARCHAR) ### Question: What is the total number of wins of the club with a goal difference less than 21, 4 draws, and less than 21 losses? ### Answer: SELECT COUNT(wins) FROM table_name_81 WHERE goal_difference < 21 AND draws = 4 AND losses < 21
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What was the home team when the away team was Frickley Athletic? ### Answer: SELECT home_team FROM table_name_3 WHERE away_team = "frickley athletic"
Below is an context that describes a sql 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 (event VARCHAR, time VARCHAR) ### Question: What event of this season had a time of 2:43? ### Answer: SELECT event FROM table_name_36 WHERE time = "2:43"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, scores VARCHAR) ### Question: who is the grand finalist where scores is 8.9 (57) – 7.12 (54) ### Answer: SELECT grand_finalist FROM table_1139835_3 WHERE scores = "8.9 (57) – 7.12 (54)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR) ### Question: Who is the lyricist for the song with a length of 3:05? ### Answer: SELECT lyricist FROM table_10848177_1 WHERE length = "3:05"
Below is an context that describes a sql 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 (no_3 VARCHAR, no_5 VARCHAR, no_6 VARCHAR) ### Question: Who was No. 3 when No. 5 James and No. 6 Mason? ### Answer: SELECT no_3 FROM table_name_35 WHERE no_5 = "james" AND no_6 = "mason"
Below is an context that describes a sql 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 (year VARCHAR, waterford_score VARCHAR) ### Question: What yeae has 6-08 (24) as a waterford score? ### Answer: SELECT year FROM table_name_67 WHERE waterford_score = "6-08 (24)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR) ### Question: What race is on aug 4 with ron fellows? ### Answer: SELECT race_title FROM table_name_24 WHERE drivers = "ron fellows" AND date = "aug 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_97 (f_laps VARCHAR, position VARCHAR) ### Question: What is the F/Laps value associated with a position of 3rd? ### Answer: SELECT f_laps FROM table_name_97 WHERE position = "3rd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18594107_2 (draws INTEGER, scored VARCHAR) ### Question: How many draws are there when the score is 13? ### Answer: SELECT MAX(draws) FROM table_18594107_2 WHERE scored = 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_11318462_5 (open_1st_viii VARCHAR, u15_4th_iv VARCHAR) ### Question: what are all the open 1st viii with u15 4th iv being gt ### Answer: SELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = "GT"
Below is an context that describes a sql 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 (height VARCHAR, year VARCHAR, name VARCHAR) ### Question: What is the Height of Junior Meghan Austin? ### Answer: SELECT height FROM table_name_59 WHERE year = "junior" AND name = "meghan austin"
Below is an context that describes a 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_17 (party VARCHAR, incumbent VARCHAR) ### Question: What party is incumbent virgil chapman from? ### Answer: SELECT party FROM table_1342233_17 WHERE incumbent = "Virgil Chapman"
Below is an context that describes a sql 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 (date VARCHAR, rank VARCHAR, network VARCHAR) ### Question: When has a Rank larger than 2 and a Network of itv? ### Answer: SELECT date FROM table_name_13 WHERE rank > 2 AND network = "itv"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_87 (laps INTEGER, grid VARCHAR) ### Question: What is the average laps for Grid 9? ### Answer: SELECT AVG(laps) FROM table_name_87 WHERE grid = 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_87 (crew VARCHAR, lunar_lander VARCHAR) ### Question: Who were the crew for the Falcon? ### Answer: SELECT crew FROM table_name_87 WHERE lunar_lander = "falcon"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (stage VARCHAR, winner VARCHAR) ### Question: what is the stage when the winner is charly mottet? ### Answer: SELECT stage FROM table_name_80 WHERE winner = "charly mottet"
Below is an context that describes a sql 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 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR) ### Question: A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? ### Answer: SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE county (Zip_code VARCHAR, County_name VARCHAR) ### Question: Show the zip code of the county with name "Howard". ### Answer: SELECT Zip_code FROM county WHERE County_name = "Howard"
Below is an context that describes a sql 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 (competition VARCHAR, year VARCHAR) ### Question: What was the competition in 2003? ### Answer: SELECT competition FROM table_name_43 WHERE year = 2003
Below is an context that describes a sql 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 (loss VARCHAR, avg_g VARCHAR) ### Question: Name the total of Loss which has an Avg/G of 8.4? ### Answer: SELECT COUNT(loss) FROM table_name_37 WHERE avg_g = 8.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_77 (season INTEGER, mole VARCHAR) ### Question: Which Season has a Mole of frederique van der wal? ### Answer: SELECT MAX(season) FROM table_name_77 WHERE mole = "frederique van der wal"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24587026_1 (f_laps VARCHAR, series VARCHAR) ### Question: Name the f/laps for gp2 series ### Answer: SELECT f_laps FROM table_24587026_1 WHERE series = "GP2 series"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, airport VARCHAR) ### Question: what is the maximum aircraft movements with airport being liverpool ### Answer: SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE airport = "Liverpool"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR) ### Question: How many lessons taught by staff whose first name has letter 'a' in it? ### Answer: SELECT COUNT(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE "%a%"
Below is an context that describes a sql 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 (category VARCHAR, actor_actress VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What category was al pacino nominated for in the film, glengarry glen ross? ### Answer: SELECT category FROM table_name_51 WHERE actor_actress = "al pacino" AND film_title_used_in_nomination = "glengarry glen ross"
Below is an context that describes a sql 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 (res VARCHAR, event VARCHAR) ### Question: What is Res., when Event is "FT 6 - Full Throttle 6"? ### Answer: SELECT res FROM table_name_83 WHERE event = "ft 6 - full throttle 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_35 (home VARCHAR, visitor VARCHAR) ### Question: What is the home team of the game with Warriors as the visitor team? ### Answer: SELECT home FROM table_name_35 WHERE visitor = "warriors"
Below is an context that describes a sql 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, score VARCHAR) ### Question: Score of 3–6, 7–5, 6–4 included what date? ### Answer: SELECT date FROM table_name_63 WHERE score = "3–6, 7–5, 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_87 (pick INTEGER, nfl_club VARCHAR, round VARCHAR) ### Question: What is the highest pick of the houston oilers NFL club, which has a round greater than 10? ### Answer: SELECT MAX(pick) FROM table_name_87 WHERE nfl_club = "houston oilers" AND round > 10
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Accounts (other_account_details VARCHAR, account_name VARCHAR) ### Question: Show other account details for account with name 338. ### Answer: SELECT other_account_details FROM Accounts WHERE account_name = "338"
Below is an context that describes a sql 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 (moving_from VARCHAR, name VARCHAR) ### Question: Where did naylor move from? ### Answer: SELECT moving_from FROM table_name_31 WHERE name = "naylor"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) ### Question: What's the original title of the film Zozo? ### Answer: SELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = "Zozo"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR) ### Question: Who won when Jamie Green had the best lap? ### Answer: SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = "Jamie Green"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR) ### Question: What is the highest episode# with the writer Paul West? ### Answer: SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West"
Below is an context that describes a sql 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 (name VARCHAR, spread VARCHAR) ### Question: What name has a spread of 69? ### Answer: SELECT name FROM table_name_96 WHERE spread = 69
Below is an context that describes a sql 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 (team VARCHAR, qual_2 VARCHAR) ### Question: what team had the 1:44.027 qual 2? ### Answer: SELECT team FROM table_name_82 WHERE qual_2 = "1:44.027"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_23286112_6 (date VARCHAR, game VARCHAR) ### Question: When was the game number 3 played? ### Answer: SELECT date FROM table_23286112_6 WHERE game = 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_11 (outcome VARCHAR, surface VARCHAR) ### Question: When the Surface was Carpet (i), what was the Outcome? ### Answer: SELECT outcome FROM table_name_11 WHERE surface = "carpet (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_1008653_9 (country___exonym__ VARCHAR, official_or_native_language_s___alphabet_script_ VARCHAR) ### Question: What is the country (exonym) where the official or native language(s) (alphabet/script) is Icelandic? ### Answer: SELECT country___exonym__ FROM table_1008653_9 WHERE official_or_native_language_s___alphabet_script_ = "Icelandic"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12262182_2 (date VARCHAR, titles VARCHAR) ### Question: What is the date of the match for the wbc flyweight (112) title? ### Answer: SELECT date FROM table_12262182_2 WHERE titles = "WBC Flyweight (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 railway (Wheels VARCHAR, LOCATION VARCHAR) ### Question: List the wheels and locations of the railways. ### Answer: SELECT Wheels, LOCATION FROM railway
Below is an context that describes a sql 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 (venue VARCHAR, season VARCHAR) ### Question: What was the venue of season 1907? ### Answer: SELECT venue FROM table_name_48 WHERE season = "1907"
Below is an context that describes a sql 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 (result VARCHAR, attendance VARCHAR) ### Question: Which Result has an Attendance of 60,705? ### Answer: SELECT result FROM table_name_72 WHERE attendance = "60,705"
Below is an context that describes a sql 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 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR, aam_accredited VARCHAR) ### Question: What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No? ### Answer: SELECT city FROM table_name_30 WHERE state = "california" AND aam_accredited = "no" AND astc_member = "yes" AND aam_member = "no"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: Which 2009 has a 2006 of A, and a 2011 of sf? ### Answer: SELECT 2009 FROM table_name_83 WHERE 2006 = "a" AND 2011 = "sf"
Below is an context that describes a sql 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 (city___state VARCHAR, race_title VARCHAR) ### Question: What is the City/State of the Oran Park race? ### Answer: SELECT city___state FROM table_name_85 WHERE race_title = "oran park"
Below is an context that describes a sql 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 (is_3_m1945 VARCHAR, kv_1s_m1942 VARCHAR) ### Question: What's the IS-3 when the KV-1S is 45? ### Answer: SELECT is_3_m1945 FROM table_name_72 WHERE kv_1s_m1942 = "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_27378582_1 (founded INTEGER, nickname VARCHAR) ### Question: Name the most founded for bison ### Answer: SELECT MAX(founded) FROM table_27378582_1 WHERE nickname = "Bison"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (laps VARCHAR, rank VARCHAR) ### Question: How many laps does the one ranked 16 have? ### Answer: SELECT laps FROM table_name_1 WHERE rank = "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_1156428_2 (worcs_f_c_matches VARCHAR, name_of_ground VARCHAR) ### Question: There were 68 worcs f-c matches played on Chester Road North Ground. ### Answer: SELECT worcs_f_c_matches FROM table_1156428_2 WHERE name_of_ground = "Chester Road North Ground"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE party (Comptroller VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR) ### Question: Who were the comptrollers of the parties associated with the delegates from district 1 or district 2? ### Answer: SELECT T2.Comptroller FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 OR T1.District = 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_27713030_11 (team VARCHAR, score VARCHAR) ### Question: Who was the opponent for the game with a score of w 94–88 (ot)? ### Answer: SELECT team FROM table_27713030_11 WHERE score = "W 94–88 (OT)"
Below is an context that describes a sql 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 (player VARCHAR, county VARCHAR) ### Question: Which player is from County Dublin? ### Answer: SELECT player FROM table_name_89 WHERE county = "dublin"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR) ### Question: Name the young rider classification with laudelino cubino ### Answer: SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino"
Below is an context that describes a sql 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 (album VARCHAR, year VARCHAR) ### Question: What is the 1990 Album? ### Answer: SELECT album FROM table_name_27 WHERE year = 1990
Below is an context that describes a sql 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 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR) ### Question: Which constellation has cosmic call 1 as the message, and an arrival date of october 2067? ### Answer: SELECT constellation FROM table_name_27 WHERE message = "cosmic call 1" AND arrival_date = "october 2067"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1831309_1 (years_of_kindergarten VARCHAR, canton VARCHAR) ### Question: How many years of kindergarten is provided in Ticino? ### Answer: SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19089486_1 (leagues_entering_this_round VARCHAR, clubs_involved VARCHAR) ### Question: Name the leagues entering this round for 4 ### Answer: SELECT leagues_entering_this_round FROM table_19089486_1 WHERE clubs_involved = 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_65 (runner_s__up VARCHAR, tournament VARCHAR) ### Question: Which Runner(s)-up has a Tournament of general foods pga seniors' championship? ### Answer: SELECT runner_s__up FROM table_name_65 WHERE tournament = "general foods pga seniors' championship"
Below is an context that describes a sql 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 (year INTEGER, owner VARCHAR) ### Question: What year was owner Michael E. Pegram's last win? ### Answer: SELECT MAX(year) FROM table_name_42 WHERE owner = "michael e. pegram"
Below is an context that describes a sql 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 (pick INTEGER, player VARCHAR) ### Question: What is jamar martin's highest pick? ### Answer: SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin"
Below is an context that describes a sql 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 (county VARCHAR, location VARCHAR) ### Question: What county is the St. Augustine bridge in? ### Answer: SELECT county FROM table_name_98 WHERE location = "st. augustine"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24990183_6 (Id VARCHAR) ### Question: What is the lowest overall number of 09-10 oi 2nd? ### Answer: SELECT MIN(09 AS _10_oi_2nd) FROM table_24990183_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_71 (surface VARCHAR, opponents VARCHAR) ### Question: Opponents of sebastián decoud santiago giraldo had what surface? ### Answer: SELECT surface FROM table_name_71 WHERE opponents = "sebastián decoud santiago giraldo"
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR) ### Question: What was the Attendance on November 6, 1960? ### Answer: SELECT attendance FROM table_name_65 WHERE date = "november 6, 1960"
Below is an context that describes a sql 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 (national_university_of_ireland INTEGER, cultural_and_educational_panel VARCHAR, labour_panel VARCHAR) ### Question: What is the lowest number of National University of Ireland that has a Cultural and Educational Panel of 0, and a Labour Panel smaller than 1? ### Answer: SELECT MIN(national_university_of_ireland) FROM table_name_49 WHERE cultural_and_educational_panel = 0 AND labour_panel < 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_71 (week INTEGER, attendance VARCHAR) ### Question: Which Week has Attendance of 51,558? ### Answer: SELECT MIN(week) FROM table_name_71 WHERE attendance = 51 OFFSET 558
Below is an context that describes a sql 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 (game VARCHAR, location VARCHAR, opponent VARCHAR) ### Question: What Game has a Location of Philadelphia Spectrum and an Opponent of New York Knicks? ### Answer: SELECT game FROM table_name_91 WHERE location = "philadelphia spectrum" AND opponent = "new york knicks"
Below is an context that describes a sql 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 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR) ### Question: What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may? ### Answer: SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "justus lipsius building, brussels" AND date = "23 may"
Below is an context that describes a sql 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 (host VARCHAR, country VARCHAR) ### Question: What was the host of Horrid Henry? ### Answer: SELECT host FROM table_name_74 WHERE country = "horrid henry"
Below is an context that describes a sql 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 (perfect_fifth VARCHAR, minor_seventh VARCHAR) ### Question: What is the Perfect fifth with a Minor that is seventh of d? ### Answer: SELECT perfect_fifth FROM table_name_48 WHERE minor_seventh = "d"
Below is an context that describes a sql 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 (episode VARCHAR, run_time VARCHAR) ### Question: What episode has a run time of 25:12? ### Answer: SELECT episode FROM table_name_51 WHERE run_time = "25: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_33 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: Who was the opponent on the 28 july 2013 final? ### Answer: SELECT opponent_in_the_final FROM table_name_33 WHERE date = "28 july 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_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR) ### Question: What is the name of the baseball stadium for the school with the Murray Center basketball arena? ### Answer: SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = "The Murray Center"
Below is an context that describes a sql 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 (b_score INTEGER, position VARCHAR, total VARCHAR) ### Question: Can you tell me the average B Score that has the Position of 2nd, and the Total smaller than 15.525? ### Answer: SELECT AVG(b_score) FROM table_name_47 WHERE position = "2nd" AND total < 15.525
Below is an context that describes a sql 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 (episode VARCHAR, entrepreneur_s_ VARCHAR) ### Question: What Episode did Entrepreneur(s) Luke Booth and Christopher Eves take part? ### Answer: SELECT episode FROM table_name_99 WHERE entrepreneur_s_ = "luke booth and christopher eves"
Below is an context that describes a sql 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 (highest_league VARCHAR, total_seasons VARCHAR, team VARCHAR) ### Question: What's the highest league of the Nova Scotia Clippers with a total season of less than 4? ### Answer: SELECT highest_league FROM table_name_2 WHERE total_seasons < 4 AND team = "nova scotia clippers"