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_88 (season VARCHAR, finals VARCHAR)
### Question:
Which Season has Finals of out of playoffs.?
### Answer:
SELECT season FROM table_name_88 WHERE finals = "out of playoffs." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24910742_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
What was the title of the episode having exactly 9.64 million US viewers?
### Answer:
SELECT title FROM table_24910742_1 WHERE us_viewers__millions_ = "9.64" |
Below is an context that describes a sql 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 (competition VARCHAR, club VARCHAR)
### Question:
Which competition has aik club?
### Answer:
SELECT competition FROM table_name_32 WHERE club = "aik" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR)
### Question:
What loss has 16-6 as the record?
### Answer:
SELECT loss FROM table_name_25 WHERE record = "16-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_9 (event VARCHAR, round VARCHAR, opponent VARCHAR)
### Question:
What was the event for round 1 against Lance Wipf?
### Answer:
SELECT event FROM table_name_9 WHERE round = "1" AND opponent = "lance wipf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20351295_2 (legs_won VARCHAR, high_checkout VARCHAR)
### Question:
How many legs has the player with high checkout of 80 won?
### Answer:
SELECT legs_won FROM table_20351295_2 WHERE high_checkout = 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_name_98 (rank INTEGER, laps VARCHAR)
### Question:
What is the average rank of one who is at 76 laps?
### Answer:
SELECT AVG(rank) FROM table_name_98 WHERE laps = 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_24 (location VARCHAR, opponent VARCHAR)
### Question:
Where did arturo segovia compete?
### Answer:
SELECT location FROM table_name_24 WHERE opponent = "arturo segovia" |
Below is an context that describes a sql 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 (story_timeline VARCHAR, published VARCHAR, in_order_of_publication VARCHAR)
### Question:
What is the story timeline that was published first prior to 1984?
### Answer:
SELECT story_timeline FROM table_name_67 WHERE published < 1984 AND in_order_of_publication = "first" |
Below is an context that describes a sql 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 (Lieutenant VARCHAR, left_office VARCHAR)
### Question:
Who was Lieutenant Governor to the governor that left office on January 14, 1929?
### Answer:
SELECT Lieutenant AS governor FROM table_name_21 WHERE left_office = "january 14, 1929" |
Below is an context that describes a sql 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 (week VARCHAR, theme VARCHAR)
### Question:
Which week had a theme of Heroes?
### Answer:
SELECT week FROM table_name_47 WHERE theme = "heroes" |
Below is an context that describes a sql 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 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)
### Question:
What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?
### Answer:
SELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = "tikveš" AND runner_up = "sileks" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR)
### Question:
Name the wins for 1963 bultaco
### Answer:
SELECT wins FROM table_name_15 WHERE year = 1963 AND team = "bultaco" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (money___ INTEGER, player VARCHAR)
### Question:
What's the sum of money ($) that angela park has won?
### Answer:
SELECT SUM(money___) AS $__ FROM table_name_99 WHERE player = "angela park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (date VARCHAR, away_team VARCHAR)
### Question:
What is the date that is Away team is Honduras?
### Answer:
SELECT date FROM table_name_25 WHERE away_team = "honduras" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR)
### Question:
What is the name of member in charge of greatest number of events?
### Answer:
SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (score VARCHAR, game VARCHAR)
### Question:
What is the Score of Game 4?
### Answer:
SELECT score FROM table_name_98 WHERE game = "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_38 (population VARCHAR, county VARCHAR)
### Question:
What is the Population of Sargent County?
### Answer:
SELECT population FROM table_name_38 WHERE county = "sargent" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR)
### Question:
Which Bronze has a Nation of spain?
### Answer:
SELECT MAX(bronze) FROM table_name_99 WHERE nation = "spain" |
Below is an context that describes a sql 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 (position VARCHAR, dob VARCHAR)
### Question:
Which Position has a D.O.B. of 3 june 1989?
### Answer:
SELECT position FROM table_name_78 WHERE dob = "3 june 1989" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (owner VARCHAR, language VARCHAR, name VARCHAR)
### Question:
Which ESPN international sports owner speaks English?
### Answer:
SELECT owner FROM table_name_26 WHERE language = "english" AND name = "espn international sports" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (year VARCHAR, result VARCHAR)
### Question:
How many years have a Result of nominated?
### Answer:
SELECT COUNT(year) FROM table_name_42 WHERE result = "nominated" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is 1989, when 1999 is F, and when 1994 is 2R?
### Answer:
SELECT 1989 FROM table_name_39 WHERE 1999 = "f" AND 1994 = "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_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR)
### Question:
What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway?
### Answer:
SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND 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_2596811_12 (complement VARCHAR, killed VARCHAR, wounded VARCHAR)
### Question:
What was the complement associated with 0 off 3 men killed and 0 off 2 men wounded?
### Answer:
SELECT complement FROM table_2596811_12 WHERE killed = "0 off 3 men" AND wounded = "0 off 2 men" |
Below is an context that describes a sql 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 (date VARCHAR, surface VARCHAR, partner VARCHAR)
### Question:
When did Marty Riessen team up with a partner during a match on a carpet surface?
### Answer:
SELECT date FROM table_name_69 WHERE surface = "carpet" AND partner = "marty riessen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1161065_28 (lowest VARCHAR, venue VARCHAR)
### Question:
What was the lowest attendance figure at Football Park?
### Answer:
SELECT lowest FROM table_1161065_28 WHERE venue = "Football Park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11447995_2 (haydon VARCHAR, larter VARCHAR, libweshya VARCHAR)
### Question:
What is Haydon when Larter is 11 and Libweshya is 4?
### Answer:
SELECT haydon FROM table_11447995_2 WHERE larter = "11" AND libweshya = "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_1467951_4 (release_date INTEGER)
### Question:
What is the most recent release date?
### Answer:
SELECT MAX(release_date) FROM table_1467951_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_60 (team VARCHAR, rounds VARCHAR, constructor VARCHAR)
### Question:
What team has a yamaha constructor with all rounds?
### Answer:
SELECT team FROM table_name_60 WHERE rounds = "all" AND constructor = "yamaha" |
Below is an context that describes a sql 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 (crowd VARCHAR, venue VARCHAR)
### Question:
What is the crowd total for glenferrie oval?
### Answer:
SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie 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_4 (method VARCHAR, opponent VARCHAR)
### Question:
What is Method, when Opponent is "Chalid Arrab"?
### Answer:
SELECT method FROM table_name_4 WHERE opponent = "chalid arrab" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
What is the 2003 value with 1r in 2009 at the Australian Open?
### Answer:
SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian 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 company (headquarters VARCHAR, main_industry VARCHAR)
### Question:
Show all headquarters with both a company in banking industry and a company in Oil and gas.
### Answer:
SELECT headquarters FROM company WHERE main_industry = 'Banking' INTERSECT SELECT headquarters FROM company WHERE main_industry = 'Oil and gas' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (nba_draft VARCHAR, hometown VARCHAR)
### Question:
For the Player from Brampton, ON what is their NBA Draft status?
### Answer:
SELECT nba_draft FROM table_name_99 WHERE hometown = "brampton, on" |
Below is an context that describes a sql 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 (report VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)
### Question:
During the Australian Grand Prix and the fastest lap was driven by Jacques Villeneuve, what's the report recorded?
### Answer:
SELECT report FROM table_name_65 WHERE fastest_lap = "jacques villeneuve" AND grand_prix = "australian grand prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR)
### Question:
Of the series that first aired April 8, 2011, what is the total number of episodes?
### Answer:
SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 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_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR)
### Question:
What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 total deaths?
### Answer:
SELECT COUNT(military_deaths) FROM table_name_41 WHERE military_and_or_civilian_wounded = "78" AND total_deaths > 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_36 (fourth_place VARCHAR, year VARCHAR)
### Question:
Tell me fourth place for year of 2010
### Answer:
SELECT fourth_place FROM table_name_36 WHERE year = 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_17416221_1 (largest_city VARCHAR, province VARCHAR)
### Question:
what is the largest city where the province is eastern cape?
### Answer:
SELECT largest_city FROM table_17416221_1 WHERE province = "Eastern Cape" |
Below is an context that describes a sql 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 (surface VARCHAR, partner VARCHAR, score_in_the_final VARCHAR)
### Question:
What was the surface for Julie Halard when the final score was 6–3, 6–2?
### Answer:
SELECT surface FROM table_name_55 WHERE partner = "julie halard" AND score_in_the_final = "6–3, 6–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_23225927_1 (no_in_season INTEGER, written_by VARCHAR)
### Question:
What is the maximum season number for the episode written by Jonathan Greene?
### Answer:
SELECT MAX(no_in_season) FROM table_23225927_1 WHERE written_by = "Jonathan Greene" |
Below is an context that describes a sql 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 (previous_conference VARCHAR, year_joined VARCHAR, mascot VARCHAR)
### Question:
What was the previous conference for the school that joined in 2000 with a millers mascot?
### Answer:
SELECT previous_conference FROM table_name_93 WHERE year_joined = 2000 AND mascot = "millers" |
Below is an context that describes a sql 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 (class VARCHAR, laps VARCHAR, team VARCHAR)
### Question:
What is the class of team liqui moly equipe, which has less than 71 laps?
### Answer:
SELECT class FROM table_name_85 WHERE laps < 71 AND team = "liqui moly equipe" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
On what date did the result leave the team with a record of 46-34?
### Answer:
SELECT date FROM table_name_4 WHERE record = "46-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_27537518_9 (decision VARCHAR, record VARCHAR)
### Question:
Who made the decision on the game where the record was 29-28-12?
### Answer:
SELECT decision FROM table_27537518_9 WHERE record = "29-28-12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR)
### Question:
Name the points for top tens being 24 and ownder david pearson
### Answer:
SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = "David Pearson" |
Below is an context that describes a sql 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 (fatalities VARCHAR, epicenter VARCHAR)
### Question:
What number of Fatalities did the Epicenter Māzandarān have?
### Answer:
SELECT fatalities FROM table_name_79 WHERE epicenter = "māzandarān" |
Below is an context that describes a sql 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 (constituency_number VARCHAR, name VARCHAR)
### Question:
What is the Constituency Number of Total:?
### Answer:
SELECT constituency_number FROM table_name_73 WHERE name = "total:" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21781578_2 (original_air_date VARCHAR, season_no VARCHAR)
### Question:
What was the original air date for season number 2?
### Answer:
SELECT original_air_date FROM table_21781578_2 WHERE season_no = 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)
### Question:
What is the poor law union of the Ardacrow townland?
### Answer:
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Ardacrow" |
Below is an context that describes a sql 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 (finish VARCHAR, year VARCHAR)
### Question:
In 1939, what was the finish?
### Answer:
SELECT finish FROM table_name_89 WHERE year = "1939" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)
### Question:
When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs?
### Answer:
SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes" |
Below is an context that describes a sql 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 (gpu_model VARCHAR, sspec_number VARCHAR)
### Question:
What's the GPU model that has sSpec number SR16Z(c0)?
### Answer:
SELECT gpu_model FROM table_name_33 WHERE sspec_number = "sr16z(c0)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27846651_1 (writer VARCHAR, viewers__millions_ VARCHAR)
### Question:
Who wrote the episode that had 5.93 million viewers?
### Answer:
SELECT writer FROM table_27846651_1 WHERE viewers__millions_ = "5.93" |
Below is an context that describes a sql 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 (winning_score VARCHAR, date VARCHAR)
### Question:
What is Winning Score, when Date is 17 Jan 2010?
### Answer:
SELECT winning_score FROM table_name_45 WHERE date = "17 jan 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_39 (pick__number INTEGER, player VARCHAR)
### Question:
What is the pick number of Jesse Alexander?
### Answer:
SELECT MIN(pick__number) FROM table_name_39 WHERE player = "jesse alexander" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR, date VARCHAR)
### Question:
What opponent has a week less than 16, with September 7, 2008 as the date?
### Answer:
SELECT opponent FROM table_name_43 WHERE week < 16 AND date = "september 7, 2008" |
Below is an context that describes a sql 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 (city VARCHAR, country VARCHAR)
### Question:
What city is in the country of Mayotte?
### Answer:
SELECT city FROM table_name_63 WHERE country = "mayotte" |
Below is an context that describes a sql 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 (lane INTEGER, time VARCHAR, country VARCHAR, name VARCHAR)
### Question:
How many Lanes have a Country of jamaica, and a Name of kerron stewart, and a Time larger than 22?
### Answer:
SELECT SUM(lane) FROM table_name_46 WHERE country = "jamaica" AND name = "kerron stewart" AND time > 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_94 (round VARCHAR, player VARCHAR)
### Question:
What round did Matt Clark play?
### Answer:
SELECT round FROM table_name_94 WHERE player = "matt clark" |
Below is an context that describes a sql 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 (races INTEGER, points VARCHAR)
### Question:
What is the number of races that took place with points of 257?
### Answer:
SELECT SUM(races) FROM table_name_28 WHERE points = 257 |
Below is an context that describes a sql 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 (country VARCHAR, player VARCHAR)
### Question:
What country is Adam Scott from?
### Answer:
SELECT country FROM table_name_19 WHERE player = "adam scott" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25271777_1 (violent VARCHAR, forcible_rape VARCHAR)
### Question:
How many violent catagories are listed for the year forcible rapes were 1156?
### Answer:
SELECT COUNT(violent) FROM table_25271777_1 WHERE forcible_rape = 1156 |
Below is an context that describes a sql 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 (drivers VARCHAR, engine VARCHAR, races VARCHAR)
### Question:
Who drove a race car with a Mercedes IC 108e engine and has an 8-10 record?
### Answer:
SELECT drivers FROM table_name_28 WHERE engine = "mercedes ic 108e" AND races = "8-10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
### Question:
Who wrote the album recorded at funhouse studios with a time of 3:27?
### Answer:
SELECT writer_s_ FROM table_name_64 WHERE recorded_at = "funhouse studios" AND time = "3: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_28190534_1 (chassis VARCHAR, entrant VARCHAR)
### Question:
Name the chassis for sfacs ecurie france
### Answer:
SELECT chassis FROM table_28190534_1 WHERE entrant = "SFACS Ecurie France" |
Below is an context that describes a sql 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 (opponent VARCHAR, res VARCHAR, time VARCHAR)
### Question:
Who was the opponent in the bout that led to a win in a time of 1:21?
### Answer:
SELECT opponent FROM table_name_47 WHERE res = "win" AND time = "1: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_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
### Question:
What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)?
### Answer:
SELECT nationality FROM table_14209245_9 WHERE college_junior_club_team__league_ = "Seattle Thunderbirds (WHL)" |
Below is an context that describes a sql 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 (district INTEGER, party VARCHAR, home_town VARCHAR)
### Question:
What district has a democratic leader from Roby?
### Answer:
SELECT SUM(district) FROM table_name_37 WHERE party = "democratic" AND home_town = "roby" |
Below is an context that describes a sql 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 (tournament VARCHAR, runner_s__up VARCHAR)
### Question:
What races were Chi-Chi Rodriguez the runner-up in?
### Answer:
SELECT tournament FROM table_name_22 WHERE runner_s__up = "chi-chi rodriguez" |
Below is an context that describes a sql 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 (total_atms INTEGER, bank_type VARCHAR, on_site_atms VARCHAR)
### Question:
What is the minimum total ATMs with new private sector banks as the bank type, and the on-site ATMs are greater than 1883?
### Answer:
SELECT MIN(total_atms) FROM table_name_42 WHERE bank_type = "new private sector banks" AND on_site_atms > 1883 |
Below is an context that describes a sql 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 (grid INTEGER, rider VARCHAR)
### Question:
What is the Grid for Rider Ruben Xaus?
### Answer:
SELECT MIN(grid) FROM table_name_22 WHERE rider = "ruben xaus" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14976504_2 (location VARCHAR, institution VARCHAR)
### Question:
Where is California Lutheran University located?
### Answer:
SELECT COUNT(location) FROM table_14976504_2 WHERE institution = "California Lutheran 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_26375386_20 (rank VARCHAR, vote_percentage VARCHAR)
### Question:
How many times is the voting percentage 10.7%
### Answer:
SELECT COUNT(rank) FROM table_26375386_20 WHERE vote_percentage = "10.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 problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)
### Question:
What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?
### Answer:
SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" AND T2.staff_last_name = "Berge" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Ashley" AND T2.staff_last_name = "Medhurst" |
Below is an context that describes a sql 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 (method VARCHAR, opponent VARCHAR)
### Question:
What was the method for opponent of Ivan Serati?
### Answer:
SELECT method FROM table_name_94 WHERE opponent = "ivan serati" |
Below is an context that describes a sql 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 (feet INTEGER, longitude__e_ VARCHAR, prominence__m_ VARCHAR)
### Question:
What is the lowest feet total with a Longitude (E) of 76°34′06″, and a Prominence (m) under 1,701?
### Answer:
SELECT MIN(feet) FROM table_name_22 WHERE longitude__e_ = "76°34′06″" AND prominence__m_ < 1 OFFSET 701 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29033869_3 (home_away VARCHAR, position_on_ladder VARCHAR)
### Question:
Was the round where they were in 6th at home or away?
### Answer:
SELECT home_away FROM table_29033869_3 WHERE position_on_ladder = "6th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)
### Question:
How many numbers in the season were written by Brett Conrad & Liz Sagal?
### Answer:
SELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = "Brett Conrad & Liz Sagal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15581223_8 (int INTEGER, sacks VARCHAR)
### Question:
Name the least int yards when sacks is 11.5
### Answer:
SELECT MIN(int) AS yards FROM table_15581223_8 WHERE sacks = "11.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_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
### Question:
What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?
### Answer:
SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld" |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
Which country scored 69-67-69-70=275?
### Answer:
SELECT country FROM table_name_22 WHERE score = 69 - 67 - 69 - 70 = 275 |
Below is an context that describes a sql 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 (fourth_district VARCHAR, first_district VARCHAR)
### Question:
Who's the Fourth District with a First District of beverly bodem?
### Answer:
SELECT fourth_district FROM table_name_98 WHERE first_district = "beverly bodem" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1740431_3 (season_in_tamil VARCHAR, season_in_sanskrit VARCHAR)
### Question:
How many seasons in Tamil occur when the season in Sanskrit is Grishma?
### Answer:
SELECT COUNT(season_in_tamil) FROM table_1740431_3 WHERE season_in_sanskrit = "Grishma" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13762472_7 (game VARCHAR, record VARCHAR)
### Question:
How many games had the team played after they were 40-20?
### Answer:
SELECT game FROM table_13762472_7 WHERE record = "40-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_41 (date VARCHAR, opponent VARCHAR)
### Question:
When did they play against Wales?
### Answer:
SELECT date FROM table_name_41 WHERE opponent = "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_82 (opponent VARCHAR, game VARCHAR)
### Question:
Who were the opponents during game 30?
### Answer:
SELECT opponent FROM table_name_82 WHERE game = 30 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19072602_3 (progressive_total VARCHAR, team_usa VARCHAR)
### Question:
When tim mack is on team usa what is the progressive total?
### Answer:
SELECT progressive_total FROM table_19072602_3 WHERE team_usa = "Tim Mack" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (place INTEGER, artist VARCHAR, points VARCHAR)
### Question:
what is the average place when the artist is juliana pasha & luiz ejlli and the points is more than 119?
### Answer:
SELECT AVG(place) FROM table_name_99 WHERE artist = "juliana pasha & luiz ejlli" AND points > 119 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11240028_1 (episodes VARCHAR, portrayed_by VARCHAR)
### Question:
How many episodes did actress Vanessa Ferlito appear in?
### Answer:
SELECT episodes FROM table_11240028_1 WHERE portrayed_by = "Vanessa Ferlito" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342013_5 (result VARCHAR, incumbent VARCHAR)
### Question:
What was the final result for Craig Hosmer?
### Answer:
SELECT result FROM table_1342013_5 WHERE incumbent = "Craig Hosmer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28138035_33 (mens_doubles VARCHAR, womens_singles VARCHAR)
### Question:
How many times has Sun Jin won the women's doubles?
### Answer:
SELECT COUNT(mens_doubles) FROM table_28138035_33 WHERE womens_singles = "Sun Jin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29202276_2 (destination VARCHAR, train_number VARCHAR)
### Question:
What is the destination when the train number is 16526?
### Answer:
SELECT destination FROM table_29202276_2 WHERE train_number = 16526 |
Below is an context that describes a sql 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 (assists INTEGER, player VARCHAR)
### Question:
How many assists does David Tomlinson have?
### Answer:
SELECT SUM(assists) FROM table_name_71 WHERE player = "david tomlinson" |
Below is an context that describes a sql 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 (iheartradio VARCHAR, show VARCHAR)
### Question:
What is the iHeartRadio of the Bronson and Christine Show?
### Answer:
SELECT iheartradio FROM table_name_74 WHERE show = "bronson and christine" |
Below is an context that describes a sql 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 (constructor VARCHAR, grid VARCHAR)
### Question:
Who constructed the car that had a grid of 6?
### Answer:
SELECT constructor FROM table_name_29 WHERE grid = "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_64 (player_name VARCHAR, position VARCHAR, college VARCHAR)
### Question:
Who was a linebacker at Tennessee?
### Answer:
SELECT player_name FROM table_name_64 WHERE position = "linebacker" AND college = "tennessee" |
Below is an context that describes a sql 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 (country VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
### Question:
Name the Country which has Stolen Ends larger than 7, and a Skip of david murdoch?
### Answer:
SELECT country FROM table_name_67 WHERE stolen_ends > 7 AND skip = "david murdoch" |
Below is an context that describes a sql 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 (appearances INTEGER, flamengo_career VARCHAR)
### Question:
How many appearances did the flamengo player who was with flamengo during the years 1989–1993 1996–1998 2004–2005 have?
### Answer:
SELECT MAX(appearances) FROM table_name_21 WHERE flamengo_career = "1989–1993 1996–1998 2004–2005" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.