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 Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR) ### Question: Show the names of products that are in at least two events. ### Answer: SELECT T1.Product_Name FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name HAVING COUNT(*) >= 2
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_66 (total_cargo__metric_tonnes_ INTEGER, rank VARCHAR, airport VARCHAR) ### Question: Which Total Cargo (Metric Tonnes) is the highest one that has a Rank smaller than 4, and an Airport of shanghai pudong international airport? ### Answer: SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_66 WHERE rank < 4 AND airport = "shanghai pudong international 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_69 (position INTEGER, points VARCHAR, equipment VARCHAR) ### Question: What is the average position for a driver with less than 54 points and husaberg-bsu as equipment? ### Answer: SELECT AVG(position) FROM table_name_69 WHERE points < 54 AND equipment = "husaberg-bsu"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR, game VARCHAR, location VARCHAR) ### Question: What date was at Oakland-Alameda County Coliseum with a time of 3:40 and a game less than 5? ### Answer: SELECT date FROM table_name_6 WHERE game < 5 AND location = "oakland-alameda county coliseum" AND time = "3:40"
Below is an context that describes a sql 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 (money_raised VARCHAR, _2q VARCHAR, total_receipts VARCHAR) ### Question: Tell me the money raised when 2Q has total receipts of $890,398 ### Answer: SELECT money_raised, _2q FROM table_name_22 WHERE total_receipts = "$890,398"
Below is an context that describes a sql 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 (chassis_code VARCHAR, model VARCHAR) ### Question: What's the chassis code for the 280s model? ### Answer: SELECT chassis_code FROM table_name_17 WHERE model = "280s"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1965650_10 (player VARCHAR, nhl_team VARCHAR) ### Question: What player is from the California Golden Seals? ### Answer: SELECT player FROM table_1965650_10 WHERE nhl_team = "California Golden Seals"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27723228_12 (high_rebounds VARCHAR, game VARCHAR) ### Question: Name the high rebounds for 81 game ### Answer: SELECT high_rebounds FROM table_27723228_12 WHERE game = 81
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_25810656_3 (title VARCHAR, no_in_series VARCHAR) ### Question: Name the number of title for number in series being 25 ### Answer: SELECT COUNT(title) FROM table_25810656_3 WHERE no_in_series = 25
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_80 (launch_date VARCHAR, cospar_id VARCHAR) ### Question: When was the satellite that has a COSPAR ID of 1967-042a launched? ### Answer: SELECT launch_date FROM table_name_80 WHERE cospar_id = "1967-042a"
Below is an context that describes a sql 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 (position VARCHAR, college_hall_of_fame VARCHAR) ### Question: What Position has no College Hall of Fame? ### Answer: SELECT position FROM table_name_48 WHERE college_hall_of_fame = "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_16 (mission VARCHAR, resident_country VARCHAR) ### Question: What is the mission for switzerland as a resident County? ### Answer: SELECT mission FROM table_name_16 WHERE resident_country = "switzerland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14253123_1 (in_no VARCHAR, county_name VARCHAR) ### Question: When Spencer is the county what is the in no.? ### Answer: SELECT in_no FROM table_14253123_1 WHERE county_name = "Spencer"
Below is an context that describes a sql 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 (status VARCHAR, venue VARCHAR) ### Question: What is the Statue, when Venue is "Stadio Flaminio , Rome"? ### Answer: SELECT status FROM table_name_63 WHERE venue = "stadio flaminio , rome"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15780049_6 (score VARCHAR, date VARCHAR) ### Question: What was the score of the game played on January 19? ### Answer: SELECT score FROM table_15780049_6 WHERE date = "January 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_39 (outcome VARCHAR, partner VARCHAR) ### Question: What was the outcome when she partnered with mashona washington? ### Answer: SELECT outcome FROM table_name_39 WHERE partner = "mashona washington"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, venue VARCHAR) ### Question: What is the amount of Tickets Sold/ Available at the Venue of hippodrome? ### Answer: SELECT tickets_sold___available FROM table_name_44 WHERE venue = "hippodrome"
Below is an context that describes a sql 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 (population INTEGER, town_city VARCHAR) ### Question: What is Ivaiporã, pr's biggest population? ### Answer: SELECT MAX(population) FROM table_name_13 WHERE town_city = "ivaiporã, pr"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2156758_4 (title VARCHAR, no_in_series VARCHAR) ### Question: What is the title for episode number in series of 28? ### Answer: SELECT title FROM table_2156758_4 WHERE no_in_series = "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_98 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) ### Question: Which Result has a First elected larger than 1876, and an Incumbent of john s. richardson? ### Answer: SELECT result FROM table_name_98 WHERE first_elected > 1876 AND incumbent = "john s. richardson"
Below is an context that describes a sql 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 (name VARCHAR, area VARCHAR) ### Question: What School is in the kio kio area? ### Answer: SELECT name FROM table_name_60 WHERE area = "kio kio"
Below is an context that describes a sql 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 (location VARCHAR, points VARCHAR) ### Question: Where was the game where the senators scored 80 points? ### Answer: SELECT location FROM table_name_35 WHERE points = 80
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14058433_4 (drawn VARCHAR, points_for VARCHAR) ### Question: what's the drawn with points for being 350 ### Answer: SELECT drawn FROM table_14058433_4 WHERE points_for = "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_73 (tries VARCHAR, played VARCHAR, lost VARCHAR) ### Question: How many tries for the player whose number is greater than 2 and losses are smaller than 0? ### Answer: SELECT COUNT(tries) FROM table_name_73 WHERE played > 2 AND lost < 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_157826_1 (municipality VARCHAR, population VARCHAR) ### Question: Which municipality has a population of 24421? ### Answer: SELECT municipality FROM table_157826_1 WHERE population = 24421
Below is an context that describes a sql 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 (goal VARCHAR, date VARCHAR, score VARCHAR) ### Question: How many goals have a Date of december 4, 2010, and a Score of 1-0? ### Answer: SELECT COUNT(goal) FROM table_name_91 WHERE date = "december 4, 2010" AND score = "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 customers (customer_name VARCHAR, payment_method VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR) ### Question: What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome. ### Answer: SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'Order' INTERSECT SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'No Response'
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (title VARCHAR, last_issue VARCHAR, first_issue VARCHAR) ### Question: What is the title that was first published in February 2009 and is still ongoing? ### Answer: SELECT title FROM table_name_44 WHERE last_issue = "ongoing" AND first_issue = "february 2009"
Below is an context that describes a sql 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 (points VARCHAR, opponent VARCHAR, game VARCHAR) ### Question: How many points have @ new york islanders as the opponent, with a game greater than 35? ### Answer: SELECT COUNT(points) FROM table_name_64 WHERE opponent = "@ new york islanders" AND game > 35
Below is an context that describes a sql 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 (points INTEGER, premiers VARCHAR) ### Question: What's the total sum of points scored by the Brisbane Broncos? ### Answer: SELECT SUM(points) FROM table_name_80 WHERE premiers = "brisbane broncos"
Below is an context that describes a sql 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 (enrollment VARCHAR, school VARCHAR) ### Question: How much Enrollment has a School of indianapolis tindley? ### Answer: SELECT COUNT(enrollment) FROM table_name_32 WHERE school = "indianapolis tindley"
Below is an context that describes a sql 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 (opponent VARCHAR, game VARCHAR, date VARCHAR) ### Question: Who is the opponent of the game with a game number larger than 5 on June 22? ### Answer: SELECT opponent FROM table_name_85 WHERE game > 5 AND date = "june 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_75 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR) ### Question: who is the player when the pick is 15 and the year [A] is 2000? ### Answer: SELECT player_name FROM table_name_75 WHERE pick = "15" AND year_[a_] = 2000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_63 (brigade VARCHAR, name VARCHAR) ### Question: What is the brigade when Al-Hamra ('arab al-hamra) shows for name? ### Answer: SELECT brigade FROM table_name_63 WHERE name = "al-hamra ('arab al-hamra)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15647838_3 (result VARCHAR, attendance VARCHAR) ### Question: How many values for result correspond to attendance of 74,111? ### Answer: SELECT COUNT(result) FROM table_15647838_3 WHERE attendance = "74,111"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_14 (label VARCHAR, country VARCHAR, catalogue__number VARCHAR) ### Question: What is the Label of Catalogue # HVNLP26CD from United Kingdom? ### Answer: SELECT label FROM table_name_14 WHERE country = "united kingdom" AND catalogue__number = "hvnlp26cd"
Below is an context that describes a sql 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 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR) ### Question: What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant? ### Answer: SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR) ### Question: What is the games lost when games played was 2, year was earlier than 1999, and points for was 24? ### Answer: SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = "2" AND year_s_ < 1999 AND points_for___tests__ = "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_67 (name VARCHAR, took_office VARCHAR) ### Question: Who has Took Office of march 4, 1875? ### Answer: SELECT name FROM table_name_67 WHERE took_office = "march 4, 1875"
Below is an context that describes a sql 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 (qual_1 VARCHAR, team VARCHAR, best VARCHAR) ### Question: What is the qual 1 for rusport and had a best of 58.665? ### Answer: SELECT qual_1 FROM table_name_87 WHERE team = "rusport" AND best = "58.665"
Below is an context that describes a sql 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 (country VARCHAR, city VARCHAR) ### Question: what is the country for the city of cardiff? ### Answer: SELECT country FROM table_name_34 WHERE city = "cardiff"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR) ### Question: What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest? ### Answer: SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"
Below is an context that describes a sql 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 (swimming VARCHAR, tennis VARCHAR, indoor_track VARCHAR, soccer VARCHAR) ### Question: What is th eswimming status for the school that has yes on indoor track, soccer and tennis? ### Answer: SELECT swimming FROM table_name_80 WHERE indoor_track = "yes" AND soccer = "yes" AND tennis = "yes"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR) ### Question: What year was Herself nominated at the MTV Movie Awards? ### Answer: SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards"
Below is an context that describes a sql 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 (games INTEGER, drawn VARCHAR, points VARCHAR) ### Question: What game is the lowest with 1 draw and less than 7 points? ### Answer: SELECT MIN(games) FROM table_name_43 WHERE drawn = 1 AND points < 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_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) ### Question: What is the latitude that has a sqmi smaller than 34.401, a Geo ID smaller than 3807157722, and a Longitude of -98.475995? ### Answer: SELECT latitude FROM table_name_18 WHERE land___sqmi__ < 34.401 AND geo_id < 3807157722 AND longitude = -98.475995
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE STUDENT (Fname VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_Senator_VOTE VARCHAR) ### Question: Find the distinct first names of the students who have class senator votes. ### Answer: SELECT DISTINCT T1.Fname FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_Senator_VOTE
Below is an context that describes a sql 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 (number VARCHAR, acquisition_via VARCHAR, season VARCHAR) ### Question: What is the number of the acquisition of import in the 2002 season? ### Answer: SELECT number FROM table_name_19 WHERE acquisition_via = "import" AND season = "2002"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_69 (avg_g INTEGER, name VARCHAR, effic VARCHAR) ### Question: Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73? ### Answer: SELECT SUM(avg_g) FROM table_name_69 WHERE name = "opponents" AND effic < 129.73
Below is an context that describes a sql 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 (left_office VARCHAR, party VARCHAR, took_office VARCHAR) ### Question: What is Left Office, when Party is "UDC", and when Took Office is "11 June 2001"? ### Answer: SELECT left_office FROM table_name_16 WHERE party = "udc" AND took_office = "11 june 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_71 (score VARCHAR, date VARCHAR, record VARCHAR) ### Question: What is the Score on July 18 that has Record of 41-51? ### Answer: SELECT score FROM table_name_71 WHERE date = "july 18" AND record = "41-51"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR) ### Question: What is the sexual abuse rate where the conflict is the Burundi Civil War? ### Answer: SELECT MAX(sexual_abuse_1) FROM table_15652027_1 WHERE conflict = "Burundi Civil War"
Below is an context that describes a sql 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 (points INTEGER, faults VARCHAR, rider VARCHAR) ### Question: What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud? ### Answer: SELECT SUM(points) FROM table_name_85 WHERE faults = "refusal" AND rider = "h.r.h. prince abdullah al-soud"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_73 (recorded VARCHAR, track VARCHAR) ### Question: What is the recorded date of track 8? ### Answer: SELECT recorded FROM table_name_73 WHERE track = 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_2646656_3 (candidates VARCHAR, result VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates where the result was retired Republican hold and the incumbent was Philemon Bliss? ### Answer: SELECT candidates FROM table_2646656_3 WHERE result = "Retired Republican hold" AND incumbent = "Philemon Bliss"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR) ### Question: what is the total number of average where evening gown is 8.988 ### Answer: SELECT COUNT(average) FROM table_12094609_1 WHERE evening_gown = "8.988"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE Student (Stuid VARCHAR, Lname VARCHAR, Fname VARCHAR); CREATE TABLE Plays_games (gameid VARCHAR, Stuid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR) ### Question: Show all game names played by Linda Smith ### Answer: SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid JOIN Student AS T3 ON T3.Stuid = T1.Stuid WHERE T3.Lname = "Smith" AND T3.Fname = "Linda"
Below is an context that describes a sql 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 (visiting_team VARCHAR, date VARCHAR) ### Question: What was the visiting team on october 23? ### Answer: SELECT visiting_team FROM table_name_10 WHERE date = "october 23"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26375386_20 (vote_percentage VARCHAR, couple VARCHAR) ### Question: What is the vote percentage for the couple gary and maria? ### Answer: SELECT vote_percentage FROM table_26375386_20 WHERE couple = "Gary and Maria"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_22514845_3 (reporters VARCHAR, year VARCHAR) ### Question: How many reporters for the year 1993? ### Answer: SELECT COUNT(reporters) FROM table_22514845_3 WHERE year = 1993
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2850912_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR) ### Question: To which organziation does the winnipeg jets belong to? ### Answer: SELECT college_junior_club_team FROM table_2850912_12 WHERE nhl_team = "Winnipeg Jets"
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR) ### Question: When did the north melbourne team play? ### Answer: SELECT date FROM table_name_7 WHERE home_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_2508633_2 (player VARCHAR, nfl_team VARCHAR) ### Question: Name the player for new orleans saints ### Answer: SELECT player FROM table_2508633_2 WHERE nfl_team = "New Orleans Saints"
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR) ### Question: What place did the golfer who had a score of 69-68-69-70=276 finish in? ### Answer: SELECT place FROM table_name_11 WHERE score = 69 - 68 - 69 - 70 = 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_98 (name VARCHAR, nat VARCHAR, app_l_c_e_ VARCHAR) ### Question: Who has a nationality of GRE and an App(L/C/E) of 49 (40/8/1)? ### Answer: SELECT name FROM table_name_98 WHERE nat = "gre" AND app_l_c_e_ = "49 (40/8/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_76 (team VARCHAR, series VARCHAR) ### Question: What was the team they played when the series was 2-1? ### Answer: SELECT team FROM table_name_76 WHERE series = "2-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_19744915_3 (skating_song VARCHAR, couple VARCHAR) ### Question: state the skating song of graeme & kristina ### Answer: SELECT skating_song FROM table_19744915_3 WHERE couple = "Graeme & Kristina"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR) ### Question: What is the common name of the animal whose length (AA) is 1323? ### Answer: SELECT common_name FROM table_26957063_3 WHERE length__aa_ = 1323
Below is an context that describes a sql 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 (round INTEGER, college_junior_club_team__league_ VARCHAR) ### Question: What is the highest round that has a player selected from Clarkson University? ### Answer: SELECT MAX(round) FROM table_name_15 WHERE college_junior_club_team__league_ = "clarkson 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 (position VARCHAR, school_club_team VARCHAR) ### Question: What position is listed for the nebraska team? ### Answer: SELECT position FROM table_name_75 WHERE school_club_team = "nebraska"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27003186_3 (other VARCHAR, no_party_preference VARCHAR) ### Question: What is other when no party preference is 19.1%? ### Answer: SELECT other FROM table_27003186_3 WHERE no_party_preference = "19.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_26301697_2 (represents VARCHAR, height__cm_ VARCHAR) ### Question: Name the represents for 1.76 cm ### Answer: SELECT represents FROM table_26301697_2 WHERE height__cm_ = "1.76"
Below is an context that describes a sql 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 (total VARCHAR, player VARCHAR) ### Question: How many totals does pádraig harrington have? ### Answer: SELECT COUNT(total) FROM table_name_83 WHERE player = "pádraig harrington"
Below is an context that describes a sql 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, bronze INTEGER) ### Question: What is the least amount of silver when there is less than 0 bronze? ### Answer: SELECT MIN(silver) FROM table_name_83 WHERE bronze < 0
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_23 (events VARCHAR, top_5 VARCHAR, top_25 VARCHAR) ### Question: What were the total number of Events, when the Top-5 was less than 2, and when the Top-25 was less than 3? ### Answer: SELECT COUNT(events) FROM table_name_23 WHERE top_5 < 2 AND top_25 < 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_24 (team VARCHAR, winners VARCHAR, years_runners_up VARCHAR) ### Question: Which team were runners-up in 2007 and had 1 under winners? ### Answer: SELECT team FROM table_name_24 WHERE winners = 1 AND years_runners_up = "2007"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_29 (type VARCHAR, course VARCHAR) ### Question: What type is the race with the vicenza to marostica course? ### Answer: SELECT type FROM table_name_29 WHERE course = "vicenza to marostica"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE candidate (support_rate VARCHAR) ### Question: what are the top 3 highest support rates? ### Answer: SELECT support_rate FROM candidate ORDER BY support_rate DESC LIMIT 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 station (LOCATION VARCHAR) ### Question: What are all locations of train stations? ### Answer: SELECT DISTINCT LOCATION FROM station
Below is an context that describes a sql 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 (result VARCHAR, venue VARCHAR, date VARCHAR) ### Question: What is Result, when Venue is Sydney Cricket Ground, and when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912? ### Answer: SELECT result FROM table_name_31 WHERE venue = "sydney cricket ground" AND date = "23,24,26,27,28,29 feb, 1 mar 1912"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_17782308_1 (date VARCHAR, opponent VARCHAR) ### Question: What was the date of the game when the opponent was the Miami Dolphins? ### Answer: SELECT date FROM table_17782308_1 WHERE opponent = "Miami Dolphins"
Below is an context that describes a sql 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 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR) ### Question: What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR? ### Answer: SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_1 (air_date VARCHAR, viewers VARCHAR) ### Question: What is the total 18-49 for the episode that aired on July 2, 2009 with more than 3.5 viewers? ### Answer: SELECT COUNT(18 AS _49) FROM table_name_1 WHERE air_date = "july 2, 2009" AND viewers > 3.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_67 (round VARCHAR, score VARCHAR) ### Question: Which round resulted in 10-52? ### Answer: SELECT round FROM table_name_67 WHERE score = "10-52"
Below is an context that describes a sql 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 (cubic_inches__exact_ VARCHAR, metric_value VARCHAR) ### Question: What are the exact Cubic inches of the Metric value of 104.955 L? ### Answer: SELECT cubic_inches__exact_ FROM table_name_9 WHERE metric_value = "104.955 l"
Below is an context that describes a sql 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 (game VARCHAR, year VARCHAR) ### Question: Which game was released in 2011? ### Answer: SELECT game FROM table_name_13 WHERE year = 2011
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15887683_10 (dar VARCHAR, television_service VARCHAR) ### Question: Name the dar for mtv rocks ### Answer: SELECT dar FROM table_15887683_10 WHERE television_service = "MTV Rocks"
Below is an context that describes a 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_7 (score VARCHAR, date VARCHAR) ### Question: Name the score for january 26 ### Answer: SELECT score FROM table_17058226_7 WHERE date = "January 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_95 (gain INTEGER, loss VARCHAR, long VARCHAR, gp_gs VARCHAR) ### Question: Name the lowest Gain which has a Long of 0, and a GP-GS of 4–0, and a Loss smaller than 3? ### Answer: SELECT MIN(gain) FROM table_name_95 WHERE long = 0 AND gp_gs = "4–0" AND loss < 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 movie (director VARCHAR, YEAR VARCHAR) ### Question: Show all director names who have a movie in the year 1999 or 2000. ### Answer: SELECT director FROM movie WHERE YEAR = 1999 OR YEAR = 2000
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_37 (z___p__ INTEGER, n___n__ VARCHAR, element VARCHAR) ### Question: What is the highest Z (p) when the N (n) is less than 30, and scandium is the element? ### Answer: SELECT AVG(z___p__) FROM table_name_37 WHERE n___n__ < 30 AND element = "scandium"
Below is an context that describes a sql 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 (set_3 VARCHAR, set_4 VARCHAR, date VARCHAR) ### Question: What is Set 3, when Set 4 is 25-21, and when Date is Jun 14? ### Answer: SELECT set_3 FROM table_name_79 WHERE set_4 = "25-21" AND date = "jun 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_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR) ### Question: what is the highest wickets when best bowling is 5/40 and average is less than 33.09? ### Answer: SELECT MAX(wickets) FROM table_name_14 WHERE best_bowling = "5/40" AND average < 33.09
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR) ### Question: What is the name of the rollercoaster that opened in 2004 in bobbejaanland? ### Answer: SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_18018214_3 (games_played INTEGER) ### Question: How many games did each team played? ### Answer: SELECT MIN(games_played) FROM table_18018214_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_81 (decision VARCHAR, home VARCHAR, visitor VARCHAR) ### Question: Who made the decision when detroit was the home team and boston was the visitor? ### Answer: SELECT decision FROM table_name_81 WHERE home = "detroit" AND visitor = "boston"
Below is an context that describes a sql 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 (first_performance VARCHAR, status VARCHAR, style VARCHAR) ### Question: What is the First Performance when the status is past and the style was ballet, tap? ### Answer: SELECT first_performance FROM table_name_74 WHERE status = "past" AND style = "ballet, tap"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_24908692_5 (minutes INTEGER, field_goals VARCHAR) ### Question: What is the maximum number of minutes associated with exactly 70 field goals? ### Answer: SELECT MAX(minutes) FROM table_24908692_5 WHERE field_goals = 70
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE pets (pettype VARCHAR) ### Question: Find the number of distinct type of pets. ### Answer: SELECT COUNT(DISTINCT pettype) FROM pets
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_16275828_4 (program VARCHAR, location VARCHAR) ### Question: What programs were held in charleston, illinois? ### Answer: SELECT program FROM table_16275828_4 WHERE location = "Charleston, Illinois"