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_27303975_2 (format VARCHAR, title VARCHAR) ### Question: Name the format for quick callanetics: hips and behind ### Answer: SELECT format FROM table_27303975_2 WHERE title = "Quick Callanetics: Hips and Behind"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE poker_player (Earnings VARCHAR) ### Question: List the earnings of poker players in descending order. ### Answer: SELECT Earnings FROM poker_player ORDER BY Earnings DESC
Below is an context that describes a sql 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 (remixed_by VARCHAR, year INTEGER) ### Question: Who remixed the version after 1999? ### Answer: SELECT remixed_by FROM table_name_97 WHERE year > 1999
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR) ### Question: If the night rank is 9, what is the total share number? ### Answer: SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = "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_43 (high_rebounds VARCHAR, team VARCHAR) ### Question: What is the High rebounds of washington Team? ### Answer: SELECT high_rebounds FROM table_name_43 WHERE team = "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_77 (pali VARCHAR, sanskrit VARCHAR) ### Question: What is the pali word for rāga in sanskrit? ### Answer: SELECT pali FROM table_name_77 WHERE sanskrit = "rāga"
Below is an context that describes a sql 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 (brigade VARCHAR, name VARCHAR) ### Question: What is the brigade when Al-Bira is the name? ### Answer: SELECT brigade FROM table_name_7 WHERE name = "al-bira"
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, location VARCHAR) ### Question: Which IHSAA Class has a Location of columbia city? ### Answer: SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city"
Below is an context that describes a sql 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 (george_hw_bush VARCHAR, pat_robertson VARCHAR, bob_dole VARCHAR) ### Question: When Pat Robertson had 19%, and Bob Dole had 26%, what did George H.W. Bush have? ### Answer: SELECT george_hw_bush FROM table_name_43 WHERE pat_robertson = "19%" AND bob_dole = "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_43 (attendance INTEGER, date VARCHAR, week VARCHAR) ### Question: After week 8, what was the Attendance on November 1, 1964? ### Answer: SELECT AVG(attendance) FROM table_name_43 WHERE date = "november 1, 1964" AND week > 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_14984126_1 (opponent VARCHAR, date VARCHAR) ### Question: how many opponent with date being october 25, 1964 ### Answer: SELECT COUNT(opponent) FROM table_14984126_1 WHERE date = "October 25, 1964"
Below is an context that describes a sql 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 (season VARCHAR, opponent VARCHAR) ### Question: Which Season has an Opponent of hibernians? ### Answer: SELECT season FROM table_name_4 WHERE opponent = "hibernians"
Below is an context that describes 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 (date_became_customer VARCHAR, first_name VARCHAR, last_name VARCHAR) ### Question: When did customer with first name as Carole and last name as Bernhard became a customer? ### Answer: SELECT date_became_customer FROM Customers WHERE first_name = "Carole" AND last_name = "Bernhard"
Below is an context that describes a sql 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 (name__wade_giles_ VARCHAR, characters VARCHAR) ### Question: What's the name that has the characters 廣亨? ### Answer: SELECT name__wade_giles_ FROM table_name_87 WHERE characters = "廣亨"
Below is an context that describes a sql 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 (date_completed VARCHAR, nickname VARCHAR) ### Question: When was the Little Tavern completed? ### Answer: SELECT date_completed FROM table_name_55 WHERE nickname = "little tavern"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_38 (home_team VARCHAR, venue VARCHAR) ### Question: What is the home team for punt road oval? ### Answer: SELECT home_team FROM table_name_38 WHERE venue = "punt road oval"
Below is an context that describes a sql 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 (venue VARCHAR, goal VARCHAR) ### Question: What is the Venue for Goal number 1? ### Answer: SELECT venue FROM table_name_24 WHERE goal = 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_56 (home VARCHAR, date VARCHAR) ### Question: Which Home has a Date of april 1? ### Answer: SELECT home FROM table_name_56 WHERE date = "april 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 (city___town VARCHAR, icao VARCHAR) ### Question: In which city is the ICAO gvma? ### Answer: SELECT city___town FROM table_name_36 WHERE icao = "gvma"
Below is an context that describes a sql 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 (e_greenberg VARCHAR, t_wyka VARCHAR) ### Question: Which E. Greenberg has a T. Wyka of 10,793 (70%)? ### Answer: SELECT e_greenberg FROM table_name_34 WHERE t_wyka = "10,793 (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 table_2850912_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR) ### Question: How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)? ### Answer: SELECT COUNT(nhl_team) FROM table_2850912_7 WHERE college_junior_club_team = "Newton North High School (USHS-MA)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_27862483_3 (pac_10_record VARCHAR, date VARCHAR) ### Question: What was the PAC-10 record of the game played on April 20? ### Answer: SELECT pac_10_record FROM table_27862483_3 WHERE date = "April 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_76 (save VARCHAR, loss VARCHAR) ### Question: What's the save when the loss was santiago (2–2)? ### Answer: SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_68 (round VARCHAR, player VARCHAR) ### Question: Name the Round which has a Player of zack walz? ### Answer: SELECT round FROM table_name_68 WHERE player = "zack walz"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_26250218_1 (episode VARCHAR, order__number VARCHAR) ### Question: Which episode is #4? ### Answer: SELECT episode FROM table_26250218_1 WHERE order__number = "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_23274514_7 (team VARCHAR, record VARCHAR) ### Question: Name the team for 19-34 ### Answer: SELECT team FROM table_23274514_7 WHERE record = "19-34"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_21761882_4 (location VARCHAR, opponent VARCHAR) ### Question: What was the location for when the opponent was @ roughriders? ### Answer: SELECT location FROM table_21761882_4 WHERE opponent = "@ Roughriders"
Below is an context that describes a sql 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 (catalog VARCHAR, region VARCHAR) ### Question: What is the catalog with the region of the United States? ### Answer: SELECT catalog FROM table_name_98 WHERE region = "united states"
Below is an context that describes a sql 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 (agg VARCHAR, team_2 VARCHAR) ### Question: What was the aggregate for the match with a team 2 of Kenya? ### Answer: SELECT agg FROM table_name_60 WHERE team_2 = "kenya"
Below is an context that describes a sql 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 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR) ### Question: What is the highest number of goals against when the number of goals were 55 and the difference was +24? ### Answer: SELECT MAX(goals_against) FROM table_name_94 WHERE goals_for > 55 AND goal_difference = "+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_1473672_3 (nationality VARCHAR, nhl_team VARCHAR) ### Question: Which nationality is the player from the Philadelphia Flyers? ### Answer: SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
Below is an context that describes a sql 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 (home VARCHAR, record VARCHAR) ### Question: what team scored 5–5–1–1? ### Answer: SELECT home FROM table_name_71 WHERE record = "5–5–1–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_6 (score VARCHAR, home VARCHAR, date VARCHAR) ### Question: What was the score on February 21 when the home team was the Pittsburgh Penguins? ### Answer: SELECT score FROM table_name_6 WHERE home = "pittsburgh penguins" AND date = "february 21"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_92 (game INTEGER, decision VARCHAR, record VARCHAR) ### Question: What was the first game in which Weekes scored the decision goal and the record was 7-4-2? ### Answer: SELECT MIN(game) FROM table_name_92 WHERE decision = "weekes" AND record = "7-4-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_54 (location VARCHAR, driver VARCHAR) ### Question: What is the location where Denny Hulme was the driver? ### Answer: SELECT location FROM table_name_54 WHERE driver = "denny hulme"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER); CREATE TABLE checking (custid VARCHAR, balance INTEGER) ### Question: Find the name and id of accounts whose checking balance is below the maximum checking balance. ### Answer: SELECT T1.custid, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT MAX(balance) FROM checking)
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR) ### Question: What's the date in the United Kingdom having a catalog of reveal50cd/lp? ### Answer: SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/lp" AND region = "united kingdom"
Below is an context that describes a sql 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 (total_matches VARCHAR, year VARCHAR) ### Question: How many Total matches happened in 2003? ### Answer: SELECT total_matches FROM table_name_20 WHERE year = "2003"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_91 (games VARCHAR, event VARCHAR) ### Question: What games have the event of Men's Slalom? ### Answer: SELECT games FROM table_name_91 WHERE event = "men's slalom"
Below is an context that describes a sql 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 (attendance VARCHAR, loss VARCHAR) ### Question: How many were in attendance with a loss of Prokopec (2-7)? ### Answer: SELECT attendance FROM table_name_21 WHERE loss = "prokopec (2-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 premises (premises_type VARCHAR) ### Question: Show each premise type and the number of premises in that type. ### Answer: SELECT premises_type, COUNT(*) FROM premises GROUP BY premises_type
Below is an context that describes a sql 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 (member_state VARCHAR) ### Question: What is the 2011 value with a 2008 value of 0.3 and is a member state of the European Union? ### Answer: SELECT 2011 FROM table_name_64 WHERE 2008 = "0.3" AND member_state = "european union"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Jul VARCHAR) ### Question: Give me a list of cities whose temperature in Mar is lower than that in July and which have also served as host cities? ### Answer: SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Jul INTERSECT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city
Below is an context that describes a sql 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 (team__number1 VARCHAR, team__number2 VARCHAR) ### Question: Who was Team #1 when Team #2 was galatasaray cc i̇stanbul? ### Answer: SELECT team__number1 FROM table_name_20 WHERE team__number2 = "galatasaray cc i̇stanbul"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2384331_1 (arena VARCHAR, captain VARCHAR) ### Question: What arena does the team play at that has Michael Wales as the captain? ### Answer: SELECT arena FROM table_2384331_1 WHERE captain = "Michael Wales"
Below is an context that describes a sql 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 (rank VARCHAR, wins VARCHAR, points VARCHAR) ### Question: Name the rank for wins of 0 and points of 2 ### Answer: SELECT rank FROM table_name_10 WHERE wins = 0 AND points = 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_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR) ### Question: What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points? ### Answer: SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_94 (long_scale VARCHAR, short_scale VARCHAR) ### Question: For a short scale of one quadrillion a thousand trillion, what is the Long scale? ### Answer: SELECT long_scale FROM table_name_94 WHERE short_scale = "one quadrillion a thousand trillion"
Below is an context that describes a sql 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 (drobo__2nd_ VARCHAR) ### Question: Which Drobo (2nd) has a Drobo S (2nd) of 5? ### Answer: SELECT drobo__2nd_ FROM table_name_1 WHERE DROBO_S(2 AS nd) = 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_29565601_2 (l INTEGER) ### Question: What is the largest number in L? ### Answer: SELECT MAX(l) FROM table_29565601_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_21 (acronym VARCHAR, name_in_english VARCHAR) ### Question: What is the acronym for the English name Northern management and technological institute? ### Answer: SELECT acronym FROM table_name_21 WHERE name_in_english = "northern management and technological institute"
Below is an context that describes a sql 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 (event VARCHAR, position VARCHAR) ### Question: What is the event that is in 8th position? ### Answer: SELECT event FROM table_name_70 WHERE position = "8th"
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR) ### Question: Who did the Browns play on October 13, 1968? ### Answer: SELECT opponent FROM table_name_7 WHERE date = "october 13, 1968"
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR) ### Question: What home team has Richmond listed as their Away team? ### Answer: SELECT home_team FROM table_name_69 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_20693870_1 (others_number INTEGER, county VARCHAR) ### Question: What was the number of others votes in Columbia county? ### Answer: SELECT MIN(others_number) FROM table_20693870_1 WHERE county = "Columbia"
Below is an context that describes a sql 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 (race INTEGER, location___state VARCHAR) ### Question: What was the first race in Launceston, Tasmania? ### Answer: SELECT MIN(race) FROM table_name_52 WHERE location___state = "launceston, tasmania"
Below is an context that describes a sql 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 (assists VARCHAR, minutes VARCHAR, player VARCHAR, position VARCHAR, goals VARCHAR) ### Question: What is the total number of assists when Edmundo Rodriguez is playing the position of striker, less than 4 goals were scored, and the minutes were less than 473? ### Answer: SELECT COUNT(assists) FROM table_name_21 WHERE position = "striker" AND goals < 4 AND player = "edmundo rodriguez" AND minutes < 473
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_14118521_1 (mission VARCHAR, primary_payload_s_ VARCHAR) ### Question: what's the mission with primary payload(s) being spacelab life sciences-2 ### Answer: SELECT mission FROM table_14118521_1 WHERE primary_payload_s_ = "Spacelab Life Sciences-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_20750731_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR) ### Question: What was the Obama% when McCain% was 61.2%? ### Answer: SELECT obama_percentage FROM table_20750731_1 WHERE mccain_percentage = "61.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_68 (crowd INTEGER, venue VARCHAR) ### Question: What is the smallest crowd size for punt road oval? ### Answer: SELECT MIN(crowd) FROM table_name_68 WHERE venue = "punt road oval"
Below is an context that describes a sql 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 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR) ### Question: How many July 1, 2013 projections have a Rank of 27? ### Answer: SELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = "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_49 (opponent VARCHAR, attendance VARCHAR) ### Question: Who was the Mariners opponent at the game attended by 7,893? ### Answer: SELECT opponent FROM table_name_49 WHERE attendance = "7,893"
Below is an context that describes a sql 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 (content VARCHAR, package_option VARCHAR, television_service VARCHAR) ### Question: What is the content when the package/option is qualsiasi and sky primafila 14 is the television service? ### Answer: SELECT content FROM table_name_13 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 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_14603057_2 (class_aA VARCHAR, class_a VARCHAR, class_aAAAA VARCHAR, Lubbock VARCHAR) ### Question: Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner? ### Answer: SELECT class_aA FROM table_14603057_2 WHERE class_a = "Plains" AND class_aAAAA = Lubbock
Below is an context that describes a sql 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 (points_difference VARCHAR, points_against VARCHAR) ### Question: Which Points difference has Points against of 786? ### Answer: SELECT points_difference FROM table_name_20 WHERE points_against = "786"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_11964047_9 (home VARCHAR, date VARCHAR) ### Question: what's the home where date is march 27 ### Answer: SELECT home FROM table_11964047_9 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_35 (player VARCHAR, penalty VARCHAR, team VARCHAR) ### Question: What player has a penalty of holding on the DET team? ### Answer: SELECT player FROM table_name_35 WHERE penalty = "holding" AND team = "det"
Below is an context that describes a sql 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 (crowd VARCHAR, away_team VARCHAR) ### Question: What is the crowd size of the game when Fitzroy is the away team? ### Answer: SELECT COUNT(crowd) FROM table_name_96 WHERE away_team = "fitzroy"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1140116_6 (race_name VARCHAR, winning_driver VARCHAR) ### Question: Which races did Paul Greifzu win? ### Answer: SELECT race_name FROM table_1140116_6 WHERE winning_driver = "Paul Greifzu"
Below is an context that describes a sql 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 (draws INTEGER, al_ahly_wins VARCHAR, el_zamalek_wins VARCHAR, total VARCHAR) ### Question: What is the sum of draws for El Zamalek wins under 36, total over 2, and Al Ahly wins over 37? ### Answer: SELECT SUM(draws) FROM table_name_27 WHERE el_zamalek_wins < 36 AND total > 2 AND al_ahly_wins > 37
Below is an context that describes a sql 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 (draws INTEGER, losses INTEGER) ### Question: What is the average Draws, when Losses is less than 2? ### Answer: SELECT AVG(draws) FROM table_name_97 WHERE losses < 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 (cuts_made INTEGER, top_25 INTEGER) ### Question: What is the average number of cuts made in the Top 25 smaller than 5? ### Answer: SELECT AVG(cuts_made) FROM table_name_63 WHERE top_25 < 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_41 (genbank_id VARCHAR, variant_id VARCHAR) ### Question: Which genbank id's variant is abd1a? ### Answer: SELECT genbank_id FROM table_name_41 WHERE variant_id = "abd1a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_2076463_2 (school VARCHAR, location_s_ VARCHAR) ### Question: Which school would you come across if you were in Kirksville? ### Answer: SELECT school FROM table_2076463_2 WHERE location_s_ = "Kirksville"
Below is an context that describes a sql 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 (date VARCHAR, region VARCHAR) ### Question: What is the release Date for the New Zealand Region? ### Answer: SELECT date FROM table_name_16 WHERE region = "new zealand"
Below is an context that describes a sql 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 (finale INTEGER, chinese_title VARCHAR) ### Question: What is the Total Finale of 女人唔易做? ### Answer: SELECT SUM(finale) FROM table_name_64 WHERE chinese_title = "女人唔易做"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR, primaryaffiliation VARCHAR) ### Question: List the physicians' employee ids together with their primary affiliation departments' ids. ### Answer: SELECT physician, department FROM affiliated_with WHERE primaryaffiliation = 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_20360535_2 (directed_by VARCHAR, television_order VARCHAR) ### Question: who directed s01e13 ### Answer: SELECT directed_by FROM table_20360535_2 WHERE television_order = "S01E13"
Below is an context that describes a sql 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 (score VARCHAR, game__number VARCHAR) ### Question: What was the score in game 81? ### Answer: SELECT score FROM table_name_60 WHERE game__number = 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_27277284_8 (v_core VARCHAR, model_number VARCHAR) ### Question: Name the number of v core for model number mobile athlon 64 3000+ ### Answer: SELECT COUNT(v_core) FROM table_27277284_8 WHERE model_number = "Mobile Athlon 64 3000+"
Below is an context that describes a sql 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 (years VARCHAR, jersey_number_s_ VARCHAR) ### Question: What is Years, when Jersey Number(s) is 5? ### Answer: SELECT years FROM table_name_43 WHERE jersey_number_s_ = "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_81 (week VARCHAR, opponent VARCHAR) ### Question: How many weeks have an Opponent of at new york giants? ### Answer: SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at new york giants"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_84 (points INTEGER, rider VARCHAR) ### Question: Rider of stéphane mertens had what lowest points? ### Answer: SELECT MIN(points) FROM table_name_84 WHERE rider = "stéphane mertens"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE match_season (POSITION VARCHAR) ### Question: Show all distinct positions of matches. ### Answer: SELECT DISTINCT POSITION FROM match_season
Below is an context that describes a sql 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 (date VARCHAR, year VARCHAR) ### Question: What is the Date of the Int'l Debut of 1967? ### Answer: SELECT date FROM table_name_66 WHERE year = "1967"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_15700367_6 (runs_conceded VARCHAR, name VARCHAR) ### Question: How many players named sanath jayasuriya? ### Answer: SELECT COUNT(runs_conceded) FROM table_15700367_6 WHERE name = "Sanath Jayasuriya"
Below is an context that describes a sql 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 (Id VARCHAR) ### Question: What is the value in 1990 when it is A in 1989, 1985, and 1993? ### Answer: SELECT 1990 FROM table_name_45 WHERE 1989 = "a" AND 1985 = "a" AND 1993 = "a"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1008653_9 (country___endonym__ VARCHAR, official_or_native_language_s___alphabet_script_ VARCHAR) ### Question: In which country (endonym) is Irish English the official or native language(s) (alphabet/script)? ### Answer: SELECT country___endonym__ FROM table_1008653_9 WHERE official_or_native_language_s___alphabet_script_ = "Irish English"
Below is an context that describes a sql 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 (outgoing_manager VARCHAR, position_in_table VARCHAR) ### Question: Which outgoing manager has tabled 16th position? ### Answer: SELECT outgoing_manager FROM table_name_83 WHERE position_in_table = "16th"
Below is an context that describes a sql 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 (date VARCHAR, course VARCHAR) ### Question: What is the date for the La Granja de San Ildefonso to Alto de Navacerrada course? ### Answer: SELECT date FROM table_name_67 WHERE course = "la granja de san ildefonso to alto de navacerrada"
Below is an context that describes a sql 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 (won__pg_ VARCHAR, goals_conceded__gc_ VARCHAR, goals_scored__gf_ VARCHAR) ### Question: What is the total number of pg won of the team with 64 goals conceded and more than 33 goals scored? ### Answer: SELECT COUNT(won__pg_) FROM table_name_67 WHERE goals_conceded__gc_ = 64 AND goals_scored__gf_ > 33
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_1341604_11 (district VARCHAR, incumbent VARCHAR) ### Question: Name the districk for larry mcdonald ### Answer: SELECT district FROM table_1341604_11 WHERE incumbent = "Larry McDonald"
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR) ### Question: What did the away team score in the game against Richmond? ### Answer: SELECT away_team AS score FROM table_name_69 WHERE home_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 stadium (capacity INTEGER) ### Question: What is the average and maximum capacities for all stadiums ? ### Answer: SELECT AVG(capacity), MAX(capacity) FROM stadium
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_name_44 (goals_for VARCHAR, lost VARCHAR) ### Question: What are the goals for a lost of Involuntary suspension of Season (hurricane Rita)? ### Answer: SELECT goals_for FROM table_name_44 WHERE lost = "involuntary suspension of season (hurricane rita)"
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501 ### Context: CREATE TABLE table_29302781_12 (week_of VARCHAR, runner_up VARCHAR) ### Question: In the week of what was the runner-up Pat Du Pré? ### Answer: SELECT week_of FROM table_29302781_12 WHERE runner_up = "Pat Du 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_name_65 (episodes INTEGER, average_ratings VARCHAR) ### Question: Which episodes has the lowest average ratings of 8.7%? ### Answer: SELECT MIN(episodes) FROM table_name_65 WHERE average_ratings = "8.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_28005160_2 (sponsorship INTEGER) ### Question: What is the last year a sponsorship ended? ### Answer: SELECT MAX(sponsorship) AS Ended FROM table_28005160_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_5 (away VARCHAR, club VARCHAR) ### Question: What is the Away when the Club is Neath? ### Answer: SELECT away FROM table_name_5 WHERE club = "neath"
Below is an context that describes a sql 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 (team_1 VARCHAR) ### Question: What is the 2nd leg of team 1 Zamalek SC? ### Answer: SELECT 2 AS nd_leg FROM table_name_31 WHERE team_1 = "zamalek sc"