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_23292220_8 (jasons_team VARCHAR, seans_team VARCHAR) ### Question: Who was on Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne? ### Answer: SELECT jasons_team FROM table_23292220_8 WHERE seans_team = "Reginald D. Hunter and Kelly Osbourne"
Below is an context that describes a sql 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 (drawn VARCHAR, points_against VARCHAR) ### Question: What is the drawn by the club with 542 points against? ### Answer: SELECT drawn FROM table_name_79 WHERE points_against = "542"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, successor VARCHAR) ### Question: When rudolph kleberg (d) is the successor is the reason for vacancy? ### Answer: SELECT reason_for_vacancy FROM table_2417445_4 WHERE successor = "Rudolph Kleberg (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_14977592_1 (game_site VARCHAR, opponent VARCHAR) ### Question: Name the total number of game sites for chicago bears ### Answer: SELECT COUNT(game_site) FROM table_14977592_1 WHERE opponent = "Chicago Bears"
Below is an context that describes a sql 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 (name_ VARCHAR, b_ VARCHAR, Pwin_percentage VARCHAR) ### Question: What is the name of the person with a PWin% of .696? ### Answer: SELECT name_[b_] FROM table_name_63 WHERE Pwin_percentage = 0.696
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR) ### Question: If the college is SMU, what is the position? ### Answer: SELECT position FROM table_27132791_3 WHERE college = "SMU"
Below is an context that describes a sql 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, nation VARCHAR, bronze VARCHAR) ### Question: What's the total amount of Bulgaria that has more than 13 bronze? ### Answer: SELECT SUM(total) FROM table_name_2 WHERE nation = "bulgaria" AND bronze > 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_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR) ### Question: Which Prominence (m) has a Col (m) of 350? ### Answer: SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350
Below is an context that describes a sql 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 (member VARCHAR, electorate VARCHAR) ### Question: Which member has Cook as the electorate? ### Answer: SELECT member FROM table_name_16 WHERE electorate = "cook"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_45 (total INTEGER, player VARCHAR, tally VARCHAR) ### Question: What was the total for David O'Callaghan, and a Tally of 1-9? ### Answer: SELECT SUM(total) FROM table_name_45 WHERE player = "david o'callaghan" AND tally = "1-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_97 (year_joined INTEGER, enrollment VARCHAR, school VARCHAR) ### Question: Which Year Joined has an Enrollment smaller than 726, and a School of tri-west? ### Answer: SELECT MAX(year_joined) FROM table_name_97 WHERE enrollment < 726 AND school = "tri-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_54 (segment_c VARCHAR, segment_b VARCHAR) ### Question: Which Segment C has a Segment B of fish food? ### Answer: SELECT segment_c FROM table_name_54 WHERE segment_b = "fish food"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR) ### Question: What score has 3-7 as the record? ### Answer: SELECT score FROM table_name_46 WHERE record = "3-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_30 (el_samurai VARCHAR, mazada VARCHAR, ryuji_hijikata VARCHAR) ### Question: Name the El samurai with MAZADA of x for Ryuji Hijikata of draw (30:00) ### Answer: SELECT el_samurai FROM table_name_30 WHERE mazada = "x" AND ryuji_hijikata = "draw (30:00)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18442691_2 (no INTEGER, album VARCHAR) ### Question: When bat out of hell is the album what is the lowest number? ### Answer: SELECT MIN(no) FROM table_18442691_2 WHERE album = "Bat Out of Hell"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE player (Player VARCHAR, Years_Played VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR) ### Question: Show the players and years played for players from team "Columbus Crew". ### Answer: SELECT T1.Player, T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24565004_8 (goals¹ VARCHAR, name VARCHAR) ### Question: What is the number of goals if the name is Xavier Gravelaine? ### Answer: SELECT goals¹ FROM table_24565004_8 WHERE name = "Xavier Gravelaine"
Below is an context that describes a sql 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 (position VARCHAR, school VARCHAR) ### Question: Which position has a School of petal high school? ### Answer: SELECT position FROM table_name_71 WHERE school = "petal high school"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2199290_2 (year INTEGER, partner VARCHAR) ### Question: In what year was the partner Wesley Moodie? ### Answer: SELECT MAX(year) FROM table_2199290_2 WHERE partner = "Wesley Moodie"
Below is an context that describes 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 (Party_Theme VARCHAR, LOCATION VARCHAR) ### Question: What are the themes and locations of parties? ### Answer: SELECT Party_Theme, LOCATION FROM party
Below is an context that describes a sql 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 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR) ### Question: What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition? ### Answer: SELECT AVG(year) FROM table_name_93 WHERE beer_name = "maggs magnificent mild" AND prize = "gold medal" AND category = "mild and porter" AND competition = "siba south east region beer competition"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16570286_2 (team VARCHAR, highest_score VARCHAR) ### Question: How many teams were there with a high score of 143? ### Answer: SELECT COUNT(team) FROM table_16570286_2 WHERE highest_score = "143"
Below is an context that describes a sql 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 (director VARCHAR, original_title VARCHAR) ### Question: Who was the director of the king's speech? ### Answer: SELECT director FROM table_name_77 WHERE original_title = "the king's speech"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (start_date INTEGER); CREATE TABLE policies (customer_id VARCHAR, start_date INTEGER) ### Question: Which customer is associated with the latest policy? ### Answer: SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.start_date = (SELECT MAX(start_date) FROM policies)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE flight (vehicle_flight_number VARCHAR, date VARCHAR, pilot VARCHAR, altitude VARCHAR) ### Question: List the vehicle flight number, date and pilot of all the flights, ordered by altitude. ### Answer: SELECT vehicle_flight_number, date, pilot FROM flight ORDER BY altitude
Below is an context that describes 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 (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR) ### Question: What is the id and detail of the vehicle used in lessons for most of the times? ### Answer: SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY COUNT(*) DESC LIMIT 1
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_36 (clay VARCHAR, record VARCHAR, hard VARCHAR) ### Question: Which clay has a Record of 2–0, and a Hard 1–0? ### Answer: SELECT clay FROM table_name_36 WHERE record = "2–0" AND hard = "1–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_91 (tv_time VARCHAR, date VARCHAR) ### Question: What is TV Time, when Date is December 22, 1996? ### Answer: SELECT tv_time FROM table_name_91 WHERE date = "december 22, 1996"
Below is an context that describes a sql 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 (opponent VARCHAR, score VARCHAR) ### Question: What is the oppenent when the score was 5–0? ### Answer: SELECT opponent FROM table_name_70 WHERE score = "5–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_99 (preliminaries VARCHAR, swimsuit VARCHAR, interview VARCHAR) ### Question: What is the preliminaries of the contestant with a swimsuit less than 8.948 and an interview of 8.997? ### Answer: SELECT preliminaries FROM table_name_99 WHERE swimsuit < 8.948 AND interview = 8.997
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR) ### Question: Which Overall has a College of florida state, and a Round larger than 2? ### Answer: SELECT SUM(overall) FROM table_name_76 WHERE college = "florida state" AND round > 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_2 (laps INTEGER, rider VARCHAR) ### Question: Which Laps have a Rider of andrea dovizioso? ### Answer: SELECT MIN(laps) FROM table_name_2 WHERE rider = "andrea dovizioso"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14254419_3 (elementary_schools VARCHAR, principal__2013_2014_ VARCHAR) ### Question: Which elementary schools list Cort Monroe as the principal from 2013 to 2014? ### Answer: SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27698941_8 (record VARCHAR, date VARCHAR) ### Question: What the win - loss recored for January 7? ### Answer: SELECT record FROM table_27698941_8 WHERE date = "January 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_8 (kapampangan VARCHAR, malay VARCHAR) ### Question: What is the Kapampangan word for the Malay word aku? ### Answer: SELECT kapampangan FROM table_name_8 WHERE malay = "aku"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE shop (address VARCHAR, shop_id VARCHAR); CREATE TABLE happy_hour (shop_id VARCHAR) ### Question: What are the id and address of the shops which have a happy hour in May? ### Answer: SELECT t1.address, t1.shop_id FROM shop AS t1 JOIN happy_hour AS t2 ON t1.shop_id = t2.shop_id WHERE MONTH = '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_12419515_4 (written_by VARCHAR, total_viewers__in_millions_ VARCHAR) ### Question: Who wrote the title that received 1.211 million total viewers? ### Answer: SELECT written_by FROM table_12419515_4 WHERE total_viewers__in_millions_ = "1.211"
Below is an context that describes a sql 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 (nation VARCHAR) ### Question: Name the highest 3rd place for nation of perak fa ### Answer: SELECT MAX(3 AS rd_place) FROM table_name_65 WHERE nation = "perak fa"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1644876_2 (l INTEGER) ### Question: What is the fewest number of losses? ### Answer: SELECT MIN(l) FROM table_1644876_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_19 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: Who was the opponent before week 6 at cleveland municipal stadium? ### Answer: SELECT opponent FROM table_name_19 WHERE week < 6 AND game_site = "cleveland municipal 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_27614707_1 (week__number VARCHAR, result VARCHAR) ### Question: What week number was the result bottom 3? ### Answer: SELECT week__number FROM table_27614707_1 WHERE result = "Bottom 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 (credentials_presented VARCHAR, state VARCHAR, status VARCHAR) ### Question: When were the credentials presented for new jersey with a status of foreign service officer? ### Answer: SELECT credentials_presented FROM table_name_59 WHERE state = "new jersey" AND status = "foreign service officer"
Below is an context that describes a sql 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 (pos VARCHAR, driver VARCHAR) ### Question: What was Stacy Compton's position? ### Answer: SELECT pos FROM table_name_31 WHERE driver = "stacy compton"
Below is an context that describes a sql 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 (games INTEGER, rank VARCHAR, rebounds VARCHAR) ### Question: How few games are there for a rank more than 1 and more than 212 rebounds? ### Answer: SELECT MIN(games) FROM table_name_4 WHERE rank > 1 AND rebounds > 212
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_28035004_1 (bodybuilder VARCHAR, operator VARCHAR) ### Question: Who was the bodybuilder when Coventry was operating? ### Answer: SELECT bodybuilder FROM table_28035004_1 WHERE operator = "Coventry"
Below is an context that describes a sql 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 (place VARCHAR, to_par VARCHAR, player VARCHAR) ### Question: Which Place has a To par of −1 and don pooley? ### Answer: SELECT place FROM table_name_1 WHERE to_par = "−1" AND player = "don pooley"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE status (id VARCHAR, station_id VARCHAR, lat INTEGER, bikes_available INTEGER); CREATE TABLE station (id VARCHAR, station_id VARCHAR, lat INTEGER, bikes_available INTEGER) ### Question: What are the ids of stations that have latitude above 37.4 and never had bike availability below 7? ### Answer: SELECT id FROM station WHERE lat > 37.4 EXCEPT SELECT station_id FROM status GROUP BY station_id HAVING MIN(bikes_available) < 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_96 (est VARCHAR, league VARCHAR, state_province VARCHAR, city VARCHAR) ### Question: In what year was the NFL team in chicago illinois established? ### Answer: SELECT est FROM table_name_96 WHERE state_province = "illinois" AND city = "chicago" AND league = "nfl"
Below is an context that describes a sql 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 (catalog VARCHAR, label VARCHAR) ### Question: What is the catalog number for the Grilled Cheese label? ### Answer: SELECT catalog FROM table_name_33 WHERE label = "grilled cheese"
Below is an context that describes a sql 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 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) ### Question: What's the volume:issue of Sheryl Crow with 3 weeks on top? ### Answer: SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"
Below is an context that describes a sql 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 (pick INTEGER, college VARCHAR) ### Question: What is the pick of Texas-San Antonio? ### Answer: SELECT AVG(pick) FROM table_name_79 WHERE college = "texas-san antonio"
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR) ### Question: What was the score on October 13? ### Answer: SELECT score FROM table_name_94 WHERE date = "october 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_name_49 (withdrawn VARCHAR, name VARCHAR) ### Question: When was the Lundy withdrawn? ### Answer: SELECT withdrawn FROM table_name_49 WHERE name = "lundy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_10975034_4 (cfl_team VARCHAR, college VARCHAR) ### Question: How many CFL teams are from York college? ### Answer: SELECT COUNT(cfl_team) FROM table_10975034_4 WHERE college = "York"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25931938_1 (aggregate INTEGER, celebrity VARCHAR) ### Question: What was the aggregate for Ricky Groves? ### Answer: SELECT MAX(aggregate) FROM table_25931938_1 WHERE celebrity = "Ricky Groves"
Below is an context that describes a sql 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 (result VARCHAR, award VARCHAR, nominee VARCHAR) ### Question: What is the result of nominee, Patricia McGourty, for the drama desk award? ### Answer: SELECT result FROM table_name_17 WHERE award = "drama desk award" AND nominee = "patricia mcgourty"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29414946_3 (outgoing_manager VARCHAR, date_of_appointment VARCHAR) ### Question: Who was replaced as manager on June 20? ### Answer: SELECT outgoing_manager FROM table_29414946_3 WHERE date_of_appointment = "June 20"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_16 (distance VARCHAR, weight VARCHAR) ### Question: What is the distance when the weight is 9.2? ### Answer: SELECT distance FROM table_name_16 WHERE weight = 9.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_93 (away_team VARCHAR, tie_no VARCHAR) ### Question: What was the name of the away team that had a tie of 2? ### Answer: SELECT away_team FROM table_name_93 WHERE tie_no = "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_82 (rank INTEGER, country VARCHAR) ### Question: What is the average rank for Hungary? ### Answer: SELECT AVG(rank) FROM table_name_82 WHERE country = "hungary"
Below is an context that describes a sql 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 (retail_space_sq_feet__m²_ VARCHAR, mall_name VARCHAR) ### Question: What is the retail space of the Stony Point Fashion Park Mall? ### Answer: SELECT retail_space_sq_feet__m²_ FROM table_name_70 WHERE mall_name = "stony point fashion 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_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR) ### Question: What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative? ### Answer: SELECT lifespan FROM table_name_21 WHERE party = "democratic" AND state = "new york" AND representative = "terence j. quinn"
Below is an context that describes a sql 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 (catalog VARCHAR, region VARCHAR, format VARCHAR) ### Question: Which Catalog has a Region of Canada and a Format of cd/dvd? ### Answer: SELECT catalog FROM table_name_61 WHERE region = "canada" AND format = "cd/dvd"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_10 (attendance INTEGER, date VARCHAR) ### Question: What was the attendance on September 11? ### Answer: SELECT MAX(attendance) FROM table_name_10 WHERE date = "september 11"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_4 (hanja VARCHAR, rr_romaja VARCHAR) ### Question: What is the Hanja for the hamgyeong RR Romaja? ### Answer: SELECT hanja FROM table_name_4 WHERE rr_romaja = "hamgyeong"
Below is an context that describes a sql 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 (fastest_lap VARCHAR, grand_prix VARCHAR) ### Question: What is the fastest lap for Belgian Grand Prix? ### Answer: SELECT fastest_lap FROM table_name_16 WHERE grand_prix = "belgian grand prix"
Below is an context that describes a sql 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 (venue VARCHAR, discipline VARCHAR) ### Question: What was the venue with a 3.3km c prologue discipline? ### Answer: SELECT venue FROM table_name_95 WHERE discipline = "3.3km c prologue"
Below is an context that describes a sql 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 (city_of_license VARCHAR, frequency VARCHAR) ### Question: Name the city of license with frequency of 103.5 mhz ### Answer: SELECT city_of_license FROM table_name_80 WHERE frequency = "103.5 mhz"
Below is an context that describes a sql 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 (productions VARCHAR, rose VARCHAR, herbie VARCHAR) ### Question: What production had Angela Lansbury as Rose and Barrie Ingham as Herbie? ### Answer: SELECT productions FROM table_name_53 WHERE rose = "angela lansbury" AND herbie = "barrie ingham"
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR) ### Question: What score has a record of 22-28-7-4? ### Answer: SELECT score FROM table_name_9 WHERE record = "22-28-7-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_28628309_6 (totals VARCHAR, average VARCHAR) ### Question: What were the totals when the average is 6.25? ### Answer: SELECT totals FROM table_28628309_6 WHERE average = "6.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 song (f_id VARCHAR, genre_is VARCHAR, artist_name VARCHAR, languages VARCHAR, rating VARCHAR) ### Question: List the id, genre and artist name of English songs ordered by rating. ### Answer: SELECT f_id, genre_is, artist_name FROM song WHERE languages = "english" ORDER BY rating
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24565004_13 (period VARCHAR, name VARCHAR) ### Question: Name the period for michel llodra ### Answer: SELECT period FROM table_24565004_13 WHERE name = "Michel Llodra"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_76 (engine VARCHAR, year INTEGER) ### Question: Name the engine for year less than 1977 ### Answer: SELECT engine FROM table_name_76 WHERE year < 1977
Below is an context that describes a sql 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 (round INTEGER, record VARCHAR) ### Question: Which Round has a Record of 10-6? ### Answer: SELECT MIN(round) FROM table_name_20 WHERE record = "10-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_80 (purse__ INTEGER, location VARCHAR) ### Question: what was the purse ($) in illinois? ### Answer: SELECT MAX(purse__) AS $__ FROM table_name_80 WHERE location = "illinois"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_53 (croatia VARCHAR, friendly VARCHAR) ### Question: Which Croatia has a Friendly of world cup 2006 qualifier, and a 149 of 152? ### Answer: SELECT croatia FROM table_name_53 WHERE friendly = "world cup 2006 qualifier" AND 149 = 152
Below is an context that describes a sql 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 (constructor VARCHAR, year VARCHAR) ### Question: What is the name of the constructor when report shows report in 1955? ### Answer: SELECT constructor FROM table_name_48 WHERE "report" = "report" AND year = "1955"
Below is an context that describes a sql 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 (losing_bonus VARCHAR, try_bonus VARCHAR) ### Question: What is the Losing bonus with an extra try bonus? ### Answer: SELECT losing_bonus FROM table_name_89 WHERE try_bonus = "try bonus"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE film (Title VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Type VARCHAR, Film_ID VARCHAR) ### Question: Please show the titles of films and the types of market estimations. ### Answer: SELECT T1.Title, T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_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_98 (draws INTEGER, club VARCHAR, position VARCHAR) ### Question: Which Draws have a Club of burgos cf, and a Position larger than 8? ### Answer: SELECT MIN(draws) FROM table_name_98 WHERE club = "burgos cf" AND position > 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_7 (position VARCHAR, losses VARCHAR, wins VARCHAR, goals_against VARCHAR) ### Question: How many positions have 14 wins, goals against of 61 and fewer than 19 losses? ### Answer: SELECT COUNT(position) FROM table_name_7 WHERE wins = 14 AND goals_against = 61 AND losses < 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_15 (wins INTEGER, byes INTEGER) ### Question: What is the lowest number of wins where the byes are less than 0? ### Answer: SELECT MIN(wins) FROM table_name_15 WHERE byes < 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_58 (renamed VARCHAR, ship VARCHAR) ### Question: What was the original name of the ship 'Ajax'? ### Answer: SELECT renamed FROM table_name_58 WHERE ship = "ajax"
Below is an context that describes a sql 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 (grade VARCHAR, chin_up__reps_ VARCHAR) ### Question: If a person does 3 chin-up reps, what grade do they obtain? ### Answer: SELECT grade FROM table_name_43 WHERE chin_up__reps_ = "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_74 (entered VARCHAR, time VARCHAR) ### Question: What is the entered number for the person with a time of 29:28? ### Answer: SELECT entered FROM table_name_74 WHERE time = "29: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_name_50 (result VARCHAR, week VARCHAR) ### Question: What was the result for week 2? ### Answer: SELECT result FROM table_name_50 WHERE week = 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_83 (faroese VARCHAR, english VARCHAR) ### Question: Which Faroese has an English of white? ### Answer: SELECT faroese FROM table_name_83 WHERE english = "white"
Below is an context that describes a sql 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_s__won VARCHAR, to_par VARCHAR, finish VARCHAR) ### Question: What year (s) won was +2 the To par, and t22 the finish? ### Answer: SELECT year_s__won FROM table_name_5 WHERE to_par = "+2" AND finish = "t22"
Below is an context that describes a sql 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 (player VARCHAR, mlb_team VARCHAR, round VARCHAR) ### Question: What is Player, when MLB Team is "Florida Marlins", and when Round is less than 15? ### Answer: SELECT player FROM table_name_58 WHERE mlb_team = "florida marlins" AND round < 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_81 (team_2 VARCHAR, team_1 VARCHAR) ### Question: Which Team 2 had a Team 1 of montreal impact? ### Answer: SELECT team_2 FROM table_name_81 WHERE team_1 = "montreal impact"
Below is an context that describes a sql 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 (loss VARCHAR, record VARCHAR) ### Question: What was the loss of the Red Sox game when they had a record of 77–67? ### Answer: SELECT loss FROM table_name_74 WHERE record = "77–67"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25037577_1 (middlesex_principal VARCHAR, year VARCHAR) ### Question: How many middlesex principals were there in 2000-2001? ### Answer: SELECT COUNT(middlesex_principal) FROM table_25037577_1 WHERE year = "2000-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_name_79 (grid INTEGER, team VARCHAR, points VARCHAR) ### Question: What is the smallest grid value that had 16 points and a team of Mi-Jack Conquest Racing? ### Answer: SELECT MIN(grid) FROM table_name_79 WHERE team = "mi-jack conquest racing" AND points = "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_27744976_11 (team VARCHAR, date VARCHAR) ### Question: Which team played on April 9? ### Answer: SELECT team FROM table_27744976_11 WHERE date = "April 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_11622840_1 (tournament VARCHAR, score VARCHAR) ### Question: How many tournaments recorded a score of 206 (-7)? ### Answer: SELECT COUNT(tournament) FROM table_11622840_1 WHERE score = "206 (-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_9 (event VARCHAR, time VARCHAR, round VARCHAR, location VARCHAR) ### Question: What is Event, when Round is "1", when Location is "New Town, North Dakota , United States" and when Time is "4:12"? ### Answer: SELECT event FROM table_name_9 WHERE round = 1 AND location = "new town, north dakota , united states" AND time = "4: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_21 (venue VARCHAR, score VARCHAR, date VARCHAR) ### Question: Where did the competition take place at on August 3, 2005 with a score of 5-0? ### Answer: SELECT venue FROM table_name_21 WHERE score = "5-0" AND date = "august 3, 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_5 (game VARCHAR, date VARCHAR) ### Question: Which game of the season was played on April 22? ### Answer: SELECT game FROM table_name_5 WHERE date = "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_name_92 (result VARCHAR, score VARCHAR) ### Question: What was the result of the match that had a score of 58-6? ### Answer: SELECT result FROM table_name_92 WHERE score = "58-6"