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_35 (week INTEGER, result VARCHAR)
### Question:
What is the number week with a result of w 40–62?
### Answer:
SELECT SUM(week) FROM table_name_35 WHERE result = "w 40–62" |
Below is an context that describes a 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 (basketball_arena VARCHAR, capacity VARCHAR)
### Question:
How many basketball arenas are there that belong to a school with a capacity of 3,000?
### Answer:
SELECT COUNT(basketball_arena) FROM table_1974545_3 WHERE capacity = "3,000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_245694_4 (concacaf VARCHAR, season VARCHAR)
### Question:
Name the concacaf for 2010 season
### Answer:
SELECT concacaf FROM table_245694_4 WHERE season = 2010 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (team VARCHAR, race_title VARCHAR)
### Question:
What team has a title of calder?
### Answer:
SELECT team FROM table_name_5 WHERE race_title = "calder" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
On which date were the 2003 Toronto Blue Jays 54-55?
### Answer:
SELECT date FROM table_name_5 WHERE record = "54-55" |
Below is an context that describes a sql 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 (round INTEGER, player VARCHAR)
### Question:
What round of the draft was Stan Adams selected?
### Answer:
SELECT AVG(round) FROM table_name_59 WHERE player = "stan adams" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11545282_6 (years_for_jazz VARCHAR, school_club_team VARCHAR)
### Question:
For how many players from UTEP can one calculate how many years they've played for Jazz?
### Answer:
SELECT COUNT(years_for_jazz) FROM table_11545282_6 WHERE school_club_team = "UTEP" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2002 statistic for the product that had 452,000 tonnes in 2001?
### Answer:
SELECT 2002 FROM table_name_7 WHERE 2001 = "452,000 tonnes" |
Below is an context that describes a sql 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 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR)
### Question:
What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson?
### Answer:
SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_43 (type VARCHAR, cyrillic_name_other_names VARCHAR)
### Question:
How many entries are there for type for the cyrillic name other names is падина (slovak: padina)?
### Answer:
SELECT COUNT(type) FROM table_2562572_43 WHERE cyrillic_name_other_names = "Падина (Slovak: Padina)" |
Below is an context that describes a sql 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 (week VARCHAR, opponent VARCHAR)
### Question:
Which Week has a Opponent of tennessee titans?
### Answer:
SELECT week FROM table_name_86 WHERE opponent = "tennessee titans" |
Below is an context that describes a sql 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 (college_or_campus_name VARCHAR, weblink VARCHAR)
### Question:
Which College or campus has a website of http://www.aucev.edu.in/?
### Answer:
SELECT college_or_campus_name FROM table_name_79 WHERE weblink = "http://www.aucev.edu.in/" |
Below is an context that describes a sql 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 (surface VARCHAR, support_category VARCHAR, round VARCHAR)
### Question:
Which Surface has a Support Category of jwrc/pwrc, and a Round larger than 5?
### Answer:
SELECT surface FROM table_name_21 WHERE support_category = "jwrc/pwrc" AND round > 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_48 (genre VARCHAR, role VARCHAR, original_title VARCHAR)
### Question:
What original title, Franciska Vasárnapjai (hungarian), had an Episode Actor role which was Directed by Géza Bereményi?
### Answer:
SELECT genre FROM table_name_48 WHERE role = "episode actor" AND original_title = "franciska vasárnapjai (hungarian)" |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR, loss VARCHAR)
### Question:
What date was the game with a score of 5–2, and a Loss of lilly (9–9)?
### Answer:
SELECT date FROM table_name_98 WHERE score = "5–2" AND loss = "lilly (9–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_16308030_1 (event VARCHAR, time VARCHAR)
### Question:
How many events have a time of 1:48.322?
### Answer:
SELECT event FROM table_16308030_1 WHERE time = "1:48.322" |
Below is an context that describes a sql 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 (cover_date VARCHAR, story_title VARCHAR)
### Question:
What is the Cover Date of the Story Title Spacehikers (Part 2)?
### Answer:
SELECT cover_date FROM table_name_59 WHERE story_title = "spacehikers (part 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_23293785_2 (race_total_pts_ INTEGER, country VARCHAR)
### Question:
What is the lowest number of total race points for the country of Belgium?
### Answer:
SELECT MIN(race_total_pts_) FROM table_23293785_2 WHERE country = "Belgium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14937957_1 (original_airdate VARCHAR, martial_art_style VARCHAR)
### Question:
When did the episode featuring a master using Brazilian jiu-jitsu air?
### Answer:
SELECT original_airdate FROM table_14937957_1 WHERE martial_art_style = "Brazilian Jiu-Jitsu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE undergoes (AssistingNurse VARCHAR); CREATE TABLE nurse (name VARCHAR, EmployeeID VARCHAR)
### Question:
Find the names of nurses who are nursing an undergoing treatment.
### Answer:
SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN nurse AS T2 ON T1.AssistingNurse = T2.EmployeeID |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Name the 2010 for 2006 of 2r
### Answer:
SELECT 2010 FROM table_name_9 WHERE 2006 = "2r" |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
When was the game with richmond as Away team?
### Answer:
SELECT date FROM table_name_86 WHERE away_team = "richmond" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (ship VARCHAR, nationality VARCHAR)
### Question:
What ship has a norway nationality?
### Answer:
SELECT ship FROM table_name_18 WHERE nationality = "norway" |
Below is an context that describes a sql 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 (goals INTEGER, assists VARCHAR, apps VARCHAR)
### Question:
What is the total goals with 12 assists, and less than 291 apps?
### Answer:
SELECT SUM(goals) FROM table_name_52 WHERE assists = 12 AND apps < 291 |
Below is an context that describes a sql 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 (place VARCHAR, player VARCHAR)
### Question:
What area did Julius Boros play at?
### Answer:
SELECT place FROM table_name_92 WHERE player = "julius boros" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (grid VARCHAR, driver VARCHAR)
### Question:
What is the sum grid number when the driver was Luciano Burti?
### Answer:
SELECT COUNT(grid) FROM table_name_55 WHERE driver = "luciano burti" |
Below is an context that describes a sql 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 (original_title VARCHAR, english_title VARCHAR)
### Question:
What is the original title of Madame Rosa?
### Answer:
SELECT original_title FROM table_name_83 WHERE english_title = "madame rosa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (stroke_count VARCHAR, radical__variants_ VARCHAR, frequency VARCHAR)
### Question:
WHAT IS THE STROKE COUNT WITH RADICAL OF 生, FRQUENCY SMALLER THAN 22?
### Answer:
SELECT COUNT(stroke_count) FROM table_name_57 WHERE radical__variants_ = "生" AND frequency < 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_43 (date VARCHAR, away_team VARCHAR)
### Question:
What is the date of the game where Geelong was the away team?
### Answer:
SELECT date FROM table_name_43 WHERE away_team = "geelong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25518547_2 (mls_team VARCHAR, player VARCHAR)
### Question:
What team does Seth Sinovic play for?
### Answer:
SELECT mls_team FROM table_25518547_2 WHERE player = "Seth Sinovic" |
Below is an context that describes a sql 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 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR, company_or_product_name VARCHAR)
### Question:
Which Investing Dragon(s) requested 100,000 in money and has autosafe?
### Answer:
SELECT investing_dragon_s_ FROM table_name_74 WHERE money_requested__£_ = "100,000" AND company_or_product_name = "autosafe" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR, pick VARCHAR)
### Question:
What is Player, when Round is less than 6, and when Pick is "69"?
### Answer:
SELECT player FROM table_name_78 WHERE round < 6 AND pick = 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_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)
### Question:
What was the state (class) where the new successor was formally installed on May 11, 1966?
### Answer:
SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" |
Below is an context that describes a sql 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 (nationality VARCHAR, school_country VARCHAR)
### Question:
Which nationality is associated with Temple?
### Answer:
SELECT nationality FROM table_name_72 WHERE school_country = "temple" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (socialist_labor_ticket VARCHAR, democratic_ticket VARCHAR)
### Question:
Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket?
### Answer:
SELECT socialist_labor_ticket FROM table_name_28 WHERE democratic_ticket = "robert m. morgenthau" |
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR, year VARCHAR)
### Question:
Which venue resulted in 2nd before 2005?
### Answer:
SELECT venue FROM table_name_27 WHERE result = "2nd" AND year < 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_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)
### Question:
What is the max pressure of the .38 long colt cartridge?
### Answer:
SELECT max_pressure FROM table_173103_1 WHERE cartridge = ".38 Long Colt" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (draft INTEGER, round INTEGER)
### Question:
What is the sum of Draft, when Round is greater than 9?
### Answer:
SELECT SUM(draft) FROM table_name_56 WHERE round > 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_18888159_1 (events INTEGER, country VARCHAR)
### Question:
Name the least events for japan
### Answer:
SELECT MIN(events) FROM table_18888159_1 WHERE country = "Japan" |
Below is an context that describes a sql 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 (format VARCHAR, label VARCHAR, catalog VARCHAR)
### Question:
What was the Candlelight Records Catalog of Candle053tin format?
### Answer:
SELECT format FROM table_name_93 WHERE label = "candlelight records" AND catalog = "candle053tin" |
Below is an context that describes a sql 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 (lane VARCHAR, heat VARCHAR, name VARCHAR)
### Question:
what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?
### Answer:
SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1132600_3 (report VARCHAR, grand_prix VARCHAR)
### Question:
What was the report of the Belgian Grand Prix?
### Answer:
SELECT report FROM table_1132600_3 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 customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
### Question:
How many types of products have Rodrick Heaney bought in total?
### Answer:
SELECT COUNT(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = "Rodrick Heaney" |
Below is an context that describes a sql 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 (release_date INTEGER, music_label VARCHAR, country VARCHAR)
### Question:
What is the release date by Editions EG in the Netherlands?
### Answer:
SELECT AVG(release_date) FROM table_name_46 WHERE music_label = "editions eg" AND country = "netherlands" |
Below is an context that describes a sql 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 (elector VARCHAR, order VARCHAR, nationality VARCHAR)
### Question:
Which Elector has an Order of cardinal-priest, and a Nationality of french?
### Answer:
SELECT elector FROM table_name_74 WHERE order = "cardinal-priest" AND nationality = "french" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14845640_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Name the written by for 16.32 million viewers
### Answer:
SELECT written_by FROM table_14845640_1 WHERE us_viewers__millions_ = "16.32" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27734577_11 (date VARCHAR, team VARCHAR)
### Question:
What date did the Hawks play against Boston?
### Answer:
SELECT date FROM table_27734577_11 WHERE team = "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_22 (jersey_number_s_ VARCHAR, player VARCHAR)
### Question:
Tom Lagarde Category:Articles with hCards used what Jersey Number(s)?
### Answer:
SELECT jersey_number_s_ FROM table_name_22 WHERE player = "tom lagarde category:articles with hcards" |
Below is an context that describes a sql 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 (skip VARCHAR, third VARCHAR)
### Question:
Which Skip has a Third of sara carlsson?
### Answer:
SELECT skip FROM table_name_39 WHERE third = "sara carlsson" |
Below is an context that describes a sql 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 (visitor VARCHAR, series VARCHAR)
### Question:
Who has Series of 2 – 3?
### Answer:
SELECT visitor FROM table_name_77 WHERE series = "2 – 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_1342233_42 (candidates VARCHAR, district VARCHAR)
### Question:
Who was the candidate in the election in the Tennessee 9 district?
### Answer:
SELECT candidates FROM table_1342233_42 WHERE district = "Tennessee 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_62 (episode VARCHAR, viewers__m_ VARCHAR, households__rating_share_ VARCHAR)
### Question:
Name the episode for viewers bigger than 5.63 and the households rating is 4.5/7
### Answer:
SELECT episode FROM table_name_62 WHERE viewers__m_ > 5.63 AND households__rating_share_ = "4.5/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_59 (tournament VARCHAR)
### Question:
What is 2009, when 2008 is 1R, and when Tournament is French Open?
### Answer:
SELECT 2009 FROM table_name_59 WHERE 2008 = "1r" AND tournament = "french open" |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
What is the attendance of the game that had a date listed as Bye?
### Answer:
SELECT attendance FROM table_name_76 WHERE date = "bye" |
Below is an context that describes a sql 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, score VARCHAR)
### Question:
Which player has 69 as the score?
### Answer:
SELECT player FROM table_name_52 WHERE score = 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_50 (candidate VARCHAR, election VARCHAR)
### Question:
Who is the candidate in the 2012 election?
### Answer:
SELECT candidate FROM table_name_50 WHERE election = "2012" |
Below is an context that describes a sql 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 (d_41 VARCHAR, d_46 VARCHAR)
### Question:
Name the D 41 which has a D 46 of r 6
### Answer:
SELECT d_41 FROM table_name_97 WHERE d_46 = "r 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_53 (format VARCHAR, date VARCHAR)
### Question:
What is the format of the date February 14, 2002?
### Answer:
SELECT format FROM table_name_53 WHERE date = "february 14, 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_42 (host_country___countries VARCHAR, silver VARCHAR, bronze VARCHAR)
### Question:
What was the host country when the silver was [[|]] (2) and bronze is czechoslovakia (3)?
### Answer:
SELECT host_country___countries FROM table_name_42 WHERE silver = "[[|]] (2)" AND bronze = "czechoslovakia (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_61 (high_points VARCHAR, date VARCHAR)
### Question:
who had the high points on november 20?
### Answer:
SELECT high_points FROM table_name_61 WHERE date = "november 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_94 (format VARCHAR, catalogue VARCHAR)
### Question:
What format is catalogue WPCR13504 in?
### Answer:
SELECT format FROM table_name_94 WHERE catalogue = "wpcr13504" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17901155_3 (written_by VARCHAR, no_in_season VARCHAR)
### Question:
who co-wrote Season 2, Episode 3?
### Answer:
SELECT written_by FROM table_17901155_3 WHERE no_in_season = 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_22383603_1 (season VARCHAR, finish__incl_championship_ VARCHAR)
### Question:
What season ended on April 18?
### Answer:
SELECT season FROM table_22383603_1 WHERE finish__incl_championship_ = "April 18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Question:
Who built the car that retired due to suspension before 65 laps?
### Answer:
SELECT constructor FROM table_name_7 WHERE laps < 65 AND time_retired = "suspension" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22871316_11 (high_rebounds VARCHAR, series VARCHAR)
### Question:
How many high rebounds are in series 3-3?
### Answer:
SELECT COUNT(high_rebounds) FROM table_22871316_11 WHERE series = "3-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_69 (time VARCHAR, round VARCHAR, opponent VARCHAR)
### Question:
What was the time of round 2 against Taylor Mccorriston?
### Answer:
SELECT time FROM table_name_69 WHERE round = "2" AND opponent = "taylor mccorriston" |
Below is an context that describes a sql 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 (high_points VARCHAR, score VARCHAR)
### Question:
Who had the high points when the score was w 108–105 (ot)?
### Answer:
SELECT high_points FROM table_name_59 WHERE score = "w 108–105 (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 assignedto (scientist VARCHAR); CREATE TABLE scientists (name VARCHAR, ssn VARCHAR)
### Question:
Find the name of scientists who are assigned to some project.
### Answer:
SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist = T2.ssn |
Below is an context that describes a sql 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 (yards VARCHAR, sack VARCHAR, p_ko_ret VARCHAR)
### Question:
What is the total of all YARDS with 0 SACK and less than 14 P/KO RET?
### Answer:
SELECT COUNT(yards) FROM table_name_31 WHERE sack = 0 AND p_ko_ret < 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_93 (result VARCHAR, week VARCHAR)
### Question:
What was the result of week 2?
### Answer:
SELECT result FROM table_name_93 WHERE week = "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_21977627_1 (chassis VARCHAR, engine VARCHAR)
### Question:
What chasis did the maserati l6s have?
### Answer:
SELECT chassis FROM table_21977627_1 WHERE engine = "Maserati L6s" |
Below is an context that describes a sql 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 (height_feet___m VARCHAR, floors VARCHAR, name VARCHAR)
### Question:
What is the height of the Tides with less than 34 floors?
### Answer:
SELECT height_feet___m FROM table_name_68 WHERE floors < 34 AND name = "the tides" |
Below is an context that describes a sql 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 (year VARCHAR, title VARCHAR, award VARCHAR)
### Question:
What year was Black Swan up for the Gotham Awards?
### Answer:
SELECT COUNT(year) FROM table_name_47 WHERE title = "black swan" AND award = "gotham 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_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
### Question:
Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged
### Answer:
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged" |
Below is an context that describes a sql 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 (fcc_info VARCHAR, erp_w VARCHAR)
### Question:
What FCC info is listed for the ERP W of 2?
### Answer:
SELECT fcc_info FROM table_name_96 WHERE erp_w = 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_63 (rank VARCHAR, wins VARCHAR, country VARCHAR)
### Question:
What is the player from Australia's rank with more than 16 wins?
### Answer:
SELECT COUNT(rank) FROM table_name_63 WHERE wins > 16 AND country = "australia" |
Below is an context that describes a sql 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 (acl_qualification VARCHAR, finals_qualification VARCHAR, minor_ladder_position VARCHAR)
### Question:
What's the ACL qualification when the minor ladder position is 5th and the finals qualifications were DNQ?
### Answer:
SELECT acl_qualification FROM table_name_11 WHERE finals_qualification = "dnq" AND minor_ladder_position = "5th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27155990_1 (_percentage_funded INTEGER, closing_date VARCHAR)
### Question:
What was the minimum % funded of the project that was closed on 2012-05-18?
### Answer:
SELECT MIN(_percentage_funded) FROM table_27155990_1 WHERE closing_date = "2012-05-18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR)
### Question:
What is the percentage of registered voters in which the d-r spread is +10.4%?
### Answer:
SELECT registered_voters FROM table_27003223_4 WHERE d_r_spread = "+10.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_64 (capacity INTEGER, coach VARCHAR)
### Question:
What is the total capacity for coach Trevor Gleeson?
### Answer:
SELECT SUM(capacity) FROM table_name_64 WHERE coach = "trevor gleeson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR)
### Question:
WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?
### Answer:
SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India" |
Below is an context that describes a sql 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 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
### Question:
Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran?
### Answer:
SELECT main_contestant FROM table_name_33 WHERE co_contestant__yaar_vs_pyaar_ = "shalini chandran" |
Below is an context that describes a sql 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 (kit_maker VARCHAR, team VARCHAR)
### Question:
Which kit maker does Aston Villa use?
### Answer:
SELECT kit_maker FROM table_name_42 WHERE team = "aston villa" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR)
### Question:
What is the average number in attendance on September 16?
### Answer:
SELECT AVG(attendance) FROM table_name_23 WHERE date = "september 16" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (driver VARCHAR, part_1 VARCHAR)
### Question:
Which driver had a Part 1 time of 1:13.306?
### Answer:
SELECT driver FROM table_name_56 WHERE part_1 = "1:13.306" |
Below is an context that describes a sql 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 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR)
### Question:
What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws?
### Answer:
SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 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_24865763_2 (lmp2_winning_team VARCHAR, gt1_winning_team VARCHAR, circuit VARCHAR)
### Question:
How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?
### Answer:
SELECT COUNT(lmp2_winning_team) FROM table_24865763_2 WHERE gt1_winning_team = "Gabriele Gardel Patrice Goueslard Fernando Rees" AND circuit = "Algarve" |
Below is an context that describes a sql 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 (attendance VARCHAR, week VARCHAR)
### Question:
Overall attendance for week 4?
### Answer:
SELECT attendance FROM table_name_63 WHERE week = 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_59 (visitor VARCHAR, date VARCHAR)
### Question:
Who was the visitor on March 27?
### Answer:
SELECT visitor FROM table_name_59 WHERE date = "march 27" |
Below is an context that describes a sql 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 (declination___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, constellation VARCHAR)
### Question:
What is the declination of the spiral galaxy Pegasus with 7337 NGC
### Answer:
SELECT declination___j2000__ FROM table_name_89 WHERE object_type = "spiral galaxy" AND constellation = "pegasus" AND ngc_number = "7337" |
Below is an context that describes a sql 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 (term_start VARCHAR, party VARCHAR)
### Question:
What's the term start date for Meretz?
### Answer:
SELECT term_start FROM table_name_94 WHERE party = "meretz" |
Below is an context that describes a sql 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 (rating INTEGER, rank__timeslot_ VARCHAR, rank__night_ VARCHAR)
### Question:
what is the rating when the rank (timeslot) is less than 3 and the rank (night) is less than 8?
### Answer:
SELECT SUM(rating) FROM table_name_92 WHERE rank__timeslot_ < 3 AND rank__night_ < 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_12 (time VARCHAR, jockey VARCHAR)
### Question:
What is the time for when cornelio velasquez was the jockey?
### Answer:
SELECT time FROM table_name_12 WHERE jockey = "cornelio velasquez" |
Below is an context that describes a sql 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 (county VARCHAR, chinese VARCHAR)
### Question:
Which County has a Chinese of 新竹?
### Answer:
SELECT county FROM table_name_2 WHERE chinese = "新竹" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11793221_2 (complement VARCHAR, commander VARCHAR)
### Question:
What are the complements when the commander is Major William Lloyd?
### Answer:
SELECT complement FROM table_11793221_2 WHERE commander = "Major William Lloyd" |
Below is an context that describes a sql 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 (date VARCHAR, location VARCHAR, time VARCHAR)
### Question:
Which Date has a Location of davos, and a Time of 45.7?
### Answer:
SELECT date FROM table_name_86 WHERE location = "davos" AND time = "45.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_10716893_3 (network VARCHAR, lap_by_lap VARCHAR, host VARCHAR)
### Question:
Which network has Marty Reid as host and lap-by-lap broadcaster?
### Answer:
SELECT network FROM table_10716893_3 WHERE lap_by_lap = "Marty Reid" AND host = "Marty Reid" |
Below is an context that describes a sql 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 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR)
### Question:
Failures larger than 0, and a Successes of 1 has what lowest partial failures?
### Answer:
SELECT MIN(partial_failures) FROM table_name_64 WHERE failures > 0 AND successes = 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_11950720_8 (bowling_style VARCHAR, player VARCHAR)
### Question:
Shivnarine Chanderpaul used what bowling style?
### Answer:
SELECT bowling_style FROM table_11950720_8 WHERE player = "Shivnarine Chanderpaul" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR)
### Question:
What is the maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605?
### Answer:
SELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.