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_1921_1 (branches_involved VARCHAR, location VARCHAR)
### Question:
What is every branch involved in Afghanistan?
### Answer:
SELECT branches_involved FROM table_1921_1 WHERE location = "Afghanistan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (points INTEGER, performer VARCHAR)
### Question:
What is the sum of Points, when the Performer is fe-mail?
### Answer:
SELECT SUM(points) FROM table_name_64 WHERE performer = "fe-mail" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent on the game on April 14, 2007?
### Answer:
SELECT opponent FROM table_name_60 WHERE date = "april 14, 2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (r_52 VARCHAR, d_44 VARCHAR)
### Question:
Name the R 52 which has a D 44 of d 44
### Answer:
SELECT r_52 FROM table_name_54 WHERE d_44 = "d 44" |
Below is an context that describes a sql 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 (date VARCHAR, game VARCHAR, score VARCHAR)
### Question:
What date has a game smaller than 4, and a score of 116-114?
### Answer:
SELECT date FROM table_name_73 WHERE game < 4 AND score = "116-114" |
Below is an context that describes a sql 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 (name VARCHAR, nationality VARCHAR)
### Question:
what is the name for the nationality total:?
### Answer:
SELECT name FROM table_name_1 WHERE nationality = "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_name_51 (result VARCHAR, venue VARCHAR)
### Question:
Tell me the result for venue of a
### Answer:
SELECT result FROM table_name_51 WHERE venue = "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_255188_1 (founded INTEGER, nickname VARCHAR)
### Question:
When were the Avenging Angels founded?
### Answer:
SELECT MAX(founded) FROM table_255188_1 WHERE nickname = "Avenging Angels" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_238124_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR)
### Question:
What was the bleeding time during the prolonged partial thromboplastin time in which the prothrombin time is unaffected?
### Answer:
SELECT bleeding_time FROM table_238124_1 WHERE partial_thromboplastin_time = "Prolonged" AND prothrombin_time = "Unaffected" |
Below is an context that describes a sql 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 (year INTEGER, wins INTEGER)
### Question:
What is the lowest year that have wins greater than 0?
### Answer:
SELECT MIN(year) FROM table_name_24 WHERE wins > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR)
### Question:
What was the term of office for the electorate warringah?
### Answer:
SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR)
### Question:
as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat
### Answer:
SELECT COUNT(score_in_final) FROM table_23197088_4 WHERE opponents_in_final = "Alexandra Fusai Nathalie Tauziat" |
Below is an context that describes a sql 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 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)
### Question:
Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12?
### Answer:
SELECT SUM(silver) FROM table_name_71 WHERE gold = 2 AND nation = "puerto rico" AND total < 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_16577990_1 (size_in_km² INTEGER, central_forest_reserve VARCHAR)
### Question:
What is the size of Itwara central forest reserve?
### Answer:
SELECT MIN(size_in_km²) FROM table_16577990_1 WHERE central_forest_reserve = "Itwara" |
Below is an context that describes a sql 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 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)
### Question:
What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún?
### Answer:
SELECT score FROM table_name_48 WHERE surface = "clay" AND outcome = "winner" AND tournament = "ciudad juárez" AND opponent_in_the_final = "estefania craciú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_10408617_5 (tariff_code VARCHAR, bts_retail_price__regulated_ VARCHAR)
### Question:
How many tariff codes have a bts retail price of 2p/min or inclusive?
### Answer:
SELECT COUNT(tariff_code) FROM table_10408617_5 WHERE bts_retail_price__regulated_ = "2p/min or inclusive" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14631909_1 (original_title VARCHAR, english_title VARCHAR)
### Question:
What is the original title of europe for dummies?
### Answer:
SELECT original_title FROM table_14631909_1 WHERE english_title = "Europe for Dummies" |
Below is an context that describes a sql 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 (year INTEGER, competition VARCHAR)
### Question:
What year were the Olympic Games?
### Answer:
SELECT SUM(year) FROM table_name_10 WHERE competition = "olympic games" |
Below is an context that describes a sql 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 (gender VARCHAR, roll VARCHAR, name VARCHAR)
### Question:
Makarora primary school has a roll less than 141 and what gender?
### Answer:
SELECT gender FROM table_name_24 WHERE roll < 141 AND name = "makarora primary school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (city VARCHAR, country VARCHAR)
### Question:
what is the city for the country of netherlands?
### Answer:
SELECT city FROM table_name_96 WHERE 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_22810095_8 (transfer_fee VARCHAR, n VARCHAR)
### Question:
How much was the transfer fee when n is 2?
### Answer:
SELECT transfer_fee FROM table_22810095_8 WHERE n = 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_25 (total INTEGER, bronze VARCHAR, silver VARCHAR)
### Question:
What's the average total if the Bronze is 5 and the Silver is less than 4?
### Answer:
SELECT AVG(total) FROM table_name_25 WHERE bronze = 5 AND silver < 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_97 (rank VARCHAR)
### Question:
Which 3rd run has rank of 1?
### Answer:
SELECT 3 AS rd_run FROM table_name_97 WHERE rank = 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_41 (points VARCHAR)
### Question:
How many points does Club have?
### Answer:
SELECT points FROM table_name_41 WHERE "club" = "club" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2468961_3 (no_in_series INTEGER, no_in_season VARCHAR)
### Question:
What number in the series was episode 2 in the season?
### Answer:
SELECT MAX(no_in_series) FROM table_2468961_3 WHERE no_in_season = 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_24798489_1 (episode_number VARCHAR, location VARCHAR)
### Question:
How many episodes had New York, New York as the location?
### Answer:
SELECT COUNT(episode_number) FROM table_24798489_1 WHERE location = "New York, New York" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR)
### Question:
What is the average number of floors of the Venetian tower?
### Answer:
SELECT AVG(floors) FROM table_name_59 WHERE name = "venetian tower" |
Below is an context that describes a sql 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 (points INTEGER, lost VARCHAR, played VARCHAR)
### Question:
What is the sum of points with more than 5 losses and more than 14 played?
### Answer:
SELECT SUM(points) FROM table_name_67 WHERE lost > 5 AND played > 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_2196127_1 (race_time VARCHAR, driver VARCHAR)
### Question:
What was the race time for Jeff Gordon?
### Answer:
SELECT race_time FROM table_2196127_1 WHERE driver = "Jeff Gordon" |
Below is an context that describes a sql 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 (team VARCHAR, circuit VARCHAR)
### Question:
Which team won at the symmons plains raceway?
### Answer:
SELECT team FROM table_name_42 WHERE circuit = "symmons plains raceway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14670060_1 (languages VARCHAR, call_sign VARCHAR)
### Question:
What languages are spoken when call sign XEJAM is used?
### Answer:
SELECT languages FROM table_14670060_1 WHERE call_sign = "XEJAM" |
Below is an context that describes a sql 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 (winning_score VARCHAR, tournament VARCHAR)
### Question:
What winning score has kraft nabisco championship as the tournament?
### Answer:
SELECT winning_score FROM table_name_74 WHERE tournament = "kraft nabisco championship" |
Below is an context that describes a sql 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 (premiere INTEGER, chinese_title VARCHAR, peak VARCHAR)
### Question:
What is the premiere rating for a Chinese title of 野蠻奶奶大戰戈師奶, and a Peak smaller than 41?
### Answer:
SELECT SUM(premiere) FROM table_name_59 WHERE chinese_title = "野蠻奶奶大戰戈師奶" AND peak < 41 |
Below is an context that describes a sql 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 (outcome VARCHAR, surface VARCHAR, partner VARCHAR)
### Question:
What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface?
### Answer:
SELECT outcome FROM table_name_18 WHERE surface = "hard" AND partner = "akiko yonemura" |
Below is an context that describes a sql 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_team VARCHAR, venue VARCHAR)
### Question:
When the venue was lake oval what did the home team score?
### Answer:
SELECT home_team AS score FROM table_name_56 WHERE venue = "lake 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_14 (result VARCHAR, competition VARCHAR)
### Question:
Name the result for 2000 afc asian cup qualification
### Answer:
SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR)
### Question:
Who is in class during 1995-96?
### Answer:
SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96" |
Below is an context that describes a sql 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 (share_of_votes VARCHAR, dáil VARCHAR)
### Question:
What is the 6th dail share of votes?
### Answer:
SELECT share_of_votes FROM table_name_67 WHERE dáil = "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_name_33 (venue VARCHAR, against VARCHAR, opposing_teams VARCHAR)
### Question:
What is the venue of the match with more than 8 against and ireland as the opposing team?
### Answer:
SELECT venue FROM table_name_33 WHERE against > 8 AND opposing_teams = "ireland" |
Below is an context that describes a sql 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 (nhl_team VARCHAR, college_junior_club_team VARCHAR, pick__number VARCHAR)
### Question:
Which team picked the player from the Toronto Marlboros (OHA) as Pick #32?
### Answer:
SELECT nhl_team FROM table_name_81 WHERE college_junior_club_team = "toronto marlboros (oha)" AND pick__number = "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_name_26 (co_singer VARCHAR, composer VARCHAR)
### Question:
What co-singer has sukhwinder singh as the composer?
### Answer:
SELECT co_singer FROM table_name_26 WHERE composer = "sukhwinder singh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR)
### Question:
How many age figures for the player fired in week 6?
### Answer:
SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 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_25 (profits__billion_ INTEGER, rank VARCHAR)
### Question:
What is the lowest profits (billion $) for the rank 6?
### Answer:
SELECT MIN(profits__billion_) AS $_ FROM table_name_25 WHERE rank = 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_37 (player VARCHAR, place VARCHAR, country VARCHAR)
### Question:
Who placed t1 in Scotland?
### Answer:
SELECT player FROM table_name_37 WHERE place = "t1" AND country = "scotland" |
Below is an context that describes a sql 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 (date VARCHAR, visitor VARCHAR)
### Question:
What date did the red wings play against the visitors, buffalo?
### Answer:
SELECT date FROM table_name_62 WHERE visitor = "buffalo" |
Below is an context that describes a sql 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 (role VARCHAR, theatre VARCHAR, music VARCHAR)
### Question:
Which Role has a Theatre of globe, and a Music of jerome kern?
### Answer:
SELECT role FROM table_name_61 WHERE theatre = "globe" AND music = "jerome kern" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR)
### Question:
how many highest with team being forfar athletic
### Answer:
SELECT COUNT(highest) FROM table_14003108_1 WHERE team = "Forfar Athletic" |
Below is an context that describes a sql 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 (tied INTEGER, independent VARCHAR, years VARCHAR)
### Question:
What is the total number of tied games when Old Dominion is the independent and the years is more than 4?
### Answer:
SELECT SUM(tied) FROM table_name_41 WHERE independent = "old dominion" AND years > 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_47 (state VARCHAR, member VARCHAR)
### Question:
What state did Hon David Beddall belong to?
### Answer:
SELECT state FROM table_name_47 WHERE member = "hon david beddall" |
Below is an context that describes a sql 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 (total VARCHAR)
### Question:
What was the 2009 value for a total over 1 and 4th on 2010?
### Answer:
SELECT 2009 FROM table_name_36 WHERE total > 1 AND 2010 = "4th" |
Below is an context that describes a sql 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 (year INTEGER, title VARCHAR)
### Question:
Title of the angry brigade involves which lowest year?
### Answer:
SELECT MIN(year) FROM table_name_49 WHERE title = "the angry brigade" |
Below is an context that describes a sql 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 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)
### Question:
What is the Time/Retired that has a Grid smaller than 8, 73 laps, and a Constructor of williams - bmw?
### Answer:
SELECT time_retired FROM table_name_1 WHERE grid < 8 AND laps = 73 AND constructor = "williams - bmw" |
Below is an context that describes a sql 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 (event VARCHAR, time VARCHAR)
### Question:
What event has a 0:49 time?
### Answer:
SELECT event FROM table_name_13 WHERE time = "0:49" |
Below is an context that describes a sql 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 (programming VARCHAR, channel VARCHAR, psip_short_name VARCHAR)
### Question:
Which Programming has a Channel greater than 51.2 and a PSIP Short Name of kyaz-5?
### Answer:
SELECT programming FROM table_name_53 WHERE channel > 51.2 AND psip_short_name = "kyaz-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 (record VARCHAR, opponent VARCHAR)
### Question:
What was roberto travern's record when he fought against john salter?
### Answer:
SELECT record FROM table_name_60 WHERE opponent = "john salter" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
On what date was the home team Footscray?
### Answer:
SELECT date FROM table_name_49 WHERE home_team = "footscray" |
Below is an context that describes a sql 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 (appearances VARCHAR, position_ VARCHAR, f_ VARCHAR, date_to_ VARCHAR, h_ VARCHAR)
### Question:
What is Appearances, when Postion [F ] is "Defender", and when Date to [H ] is "1938"?
### Answer:
SELECT appearances FROM table_name_18 WHERE position_[f_] = "defender" AND date_to_[h_] = "1938" |
Below is an context that describes a sql 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 (lost INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR, _percentage_won VARCHAR)
### Question:
What is the lowest number of games lost that has less than 1 game drawn, a 50% winning percentage, against the netherlands, and over 2 played games?
### Answer:
SELECT MIN(lost) FROM table_name_96 WHERE drawn < 1 AND _percentage_won = "50%" AND against = "netherlands" AND played > 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_20649850_1 (pick__number INTEGER, college VARCHAR)
### Question:
Name the number for new mexico
### Answer:
SELECT MIN(pick__number) FROM table_20649850_1 WHERE college = "New Mexico" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_224672_2 (term_began VARCHAR, elected VARCHAR)
### Question:
When did the term began when the date of election is N/A?
### Answer:
SELECT term_began FROM table_224672_2 WHERE elected = "N/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_name_87 (money_requested__ INTEGER, first_aired VARCHAR)
### Question:
how much money was requested on the show which aired on 4 september 2011?
### Answer:
SELECT SUM(money_requested__) AS £_ FROM table_name_87 WHERE first_aired = "4 september 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_29728596_2 (competition VARCHAR, away_team VARCHAR)
### Question:
What were the competitions when the away team was fk kozara gradiska?
### Answer:
SELECT competition FROM table_29728596_2 WHERE away_team = "FK Kozara Gradiska" |
Below is an context that describes a sql 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 (version INTEGER, code VARCHAR, year VARCHAR)
### Question:
Name the lowest version with a code of u+1034a that began after 2001.
### Answer:
SELECT MIN(version) FROM table_name_85 WHERE code = "u+1034a" AND year > 2001 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (goals INTEGER, assists VARCHAR, points VARCHAR)
### Question:
What is the largest number of goals with less than 101 assists and 172 points?
### Answer:
SELECT MAX(goals) FROM table_name_97 WHERE assists < 101 AND points < 172 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15162503_1 (description VARCHAR, viewers_selection VARCHAR)
### Question:
What was the description when the viewers selected Nan?
### Answer:
SELECT description FROM table_15162503_1 WHERE viewers_selection = "Nan" |
Below is an context that describes a sql 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 (consider VARCHAR, candidate VARCHAR, poll_source VARCHAR, oppose VARCHAR)
### Question:
What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him?
### Answer:
SELECT consider FROM table_name_21 WHERE poll_source = "newsweek poll" AND oppose = "32%" AND candidate = "rudy giuliani" |
Below is an context that describes a sql 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 (zone VARCHAR, camp_type VARCHAR, area VARCHAR)
### Question:
What zone has camp type D/S in area Bl9?
### Answer:
SELECT zone FROM table_name_41 WHERE camp_type = "d/s" AND area = "bl9" |
Below is an context that describes a sql 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 (team VARCHAR, number VARCHAR, years_with_franchise VARCHAR)
### Question:
Which team is number 14 and had a franchise in 1993-2000?
### Answer:
SELECT team FROM table_name_38 WHERE number = 14 AND years_with_franchise = "1993-2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (height INTEGER, position VARCHAR, current_club VARCHAR)
### Question:
What's the tallest height for c position in current club unicaja malaga?
### Answer:
SELECT MAX(height) FROM table_name_19 WHERE position = "c" AND current_club = "unicaja malaga" |
Below is an context that describes a sql 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 (time INTEGER, athlete VARCHAR, lane VARCHAR)
### Question:
What is the lowest time for Paulo Villar in lane 9?
### Answer:
SELECT MIN(time) FROM table_name_85 WHERE athlete = "paulo villar" AND lane < 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_28457809_3 (runner_up INTEGER, province VARCHAR)
### Question:
What is the value of the runner up column for the Alberta province?
### Answer:
SELECT MAX(runner_up) FROM table_28457809_3 WHERE province = "Alberta" |
Below is an context that describes a sql 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 (races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR)
### Question:
What is the largest number of races when there are less than 6 podiums, the series is the formula renault 2.0 eurocup, and there are more than 0 wins?
### Answer:
SELECT MAX(races) FROM table_name_5 WHERE podiums < 6 AND series = "formula renault 2.0 eurocup" AND wins > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (sport VARCHAR, established VARCHAR, league VARCHAR)
### Question:
What League of VSL Sport was Established in 1935?
### Answer:
SELECT sport FROM table_name_40 WHERE established = 1935 AND league = "vsl" |
Below is an context that describes a sql 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 (original_vehicle VARCHAR, architecture VARCHAR)
### Question:
What original vehicle has uwhvt homepage architecture?
### Answer:
SELECT original_vehicle FROM table_name_76 WHERE architecture = "uwhvt homepage" |
Below is an context that describes a sql 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 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)
### Question:
What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team?
### Answer:
SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 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_1539201_1 (february VARCHAR)
### Question:
Name the number of februaries
### Answer:
SELECT COUNT(february) FROM table_1539201_1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (time VARCHAR, speed VARCHAR)
### Question:
At 96.76mph speed, what is the Time?
### Answer:
SELECT time FROM table_name_76 WHERE speed = "96.76mph" |
Below is an context that describes a sql 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 (points INTEGER, grade VARCHAR)
### Question:
How many points are there, when the grade is A?
### Answer:
SELECT MAX(points) FROM table_name_92 WHERE grade = "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_name_69 (release_price___usd__ VARCHAR, release_date VARCHAR)
### Question:
Release date of 2008 q3 has what release price?
### Answer:
SELECT release_price___usd__ FROM table_name_69 WHERE release_date = "2008 q3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1305623_6 (bronze_medals INTEGER)
### Question:
What's the smallest number of bronze medals that any one if the ensembles has?
### Answer:
SELECT MIN(bronze_medals) FROM table_1305623_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_20595642_2 (name VARCHAR, br_no VARCHAR)
### Question:
what is the name for br no. 60501
### Answer:
SELECT name FROM table_20595642_2 WHERE br_no = 60501 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11656578_2 (area_km²__1998_ VARCHAR, abbreviation VARCHAR)
### Question:
How big (in km2) is the voivodenship also known by the abbreviation KN?
### Answer:
SELECT area_km²__1998_ FROM table_11656578_2 WHERE abbreviation = "kn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR)
### Question:
Find the names of all the catalog entries.
### Answer:
SELECT DISTINCT (catalog_entry_name) FROM catalog_contents |
Below is an context that describes a sql 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 (place VARCHAR, score VARCHAR)
### Question:
What is the Place of the Player with a Score of 73-73-65-73=284?
### Answer:
SELECT place FROM table_name_32 WHERE score = 73 - 73 - 65 - 73 = 284 |
Below is an context that describes a sql 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 (december INTEGER, points VARCHAR, game VARCHAR)
### Question:
Which December has Points of 48, and a Game larger than 33?
### Answer:
SELECT SUM(december) FROM table_name_77 WHERE points = 48 AND game > 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_name_70 (wins VARCHAR, matches VARCHAR, success_rate VARCHAR)
### Question:
What was the win for 4 matches with a success rate of 25%?
### Answer:
SELECT wins FROM table_name_70 WHERE matches = "4" AND success_rate = "25%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER)
### Question:
What was the chassis of Emilio de Villota in 1981?
### Answer:
SELECT chassis FROM table_name_94 WHERE year > 1981 |
Below is an context that describes a sql 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 (bronze VARCHAR, place VARCHAR)
### Question:
Name the bronze for lahti
### Answer:
SELECT bronze FROM table_name_46 WHERE place = "lahti" |
Below is an context that describes a sql 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 (played VARCHAR, lost VARCHAR, first_game VARCHAR, percentage VARCHAR)
### Question:
What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses?
### Answer:
SELECT COUNT(played) FROM table_name_22 WHERE first_game = 1991 AND percentage = "22.22%" AND lost > 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_91 (population INTEGER, town_status VARCHAR)
### Question:
What is the highest population of a city that has a town status of 2010?
### Answer:
SELECT MAX(population) FROM table_name_91 WHERE town_status = "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_29 (dots VARCHAR, ellipsis VARCHAR)
### Question:
What is the dot value when the ellipsis is 0.012345679…?
### Answer:
SELECT dots FROM table_name_29 WHERE ellipsis = "0.012345679…" |
Below is an context that describes a sql 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 (chinese VARCHAR, pali VARCHAR)
### Question:
Which Chinese has a Pali of atappa?
### Answer:
SELECT chinese FROM table_name_59 WHERE pali = "atappa" |
Below is an context that describes a sql 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 (date INTEGER, record VARCHAR, game VARCHAR)
### Question:
What was the average date with a record of 30-31-9 in a game over 70?
### Answer:
SELECT AVG(date) FROM table_name_29 WHERE record = "30-31-9" AND game > 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_name_27 (home VARCHAR, game__number VARCHAR)
### Question:
Which Home has a Game # of 59?
### Answer:
SELECT home FROM table_name_27 WHERE game__number = 59 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (wins VARCHAR, division VARCHAR, finish VARCHAR)
### Question:
What is the Western Division of Wins with a 4th Finish?
### Answer:
SELECT wins FROM table_name_95 WHERE division = "western" AND finish = "4th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17001658_7 (date VARCHAR, team VARCHAR)
### Question:
What date was the opposing team Milwaukee?
### Answer:
SELECT date FROM table_17001658_7 WHERE team = "Milwaukee" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1974632_1 (type VARCHAR, enrollment VARCHAR)
### Question:
what type is the institute that enrolled 2102
### Answer:
SELECT type FROM table_1974632_1 WHERE enrollment = 2102 |
Below is an context that describes a sql 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 (unit VARCHAR, type VARCHAR)
### Question:
Which unite had the type wwer-440/213?
### Answer:
SELECT unit FROM table_name_31 WHERE type = "wwer-440/213" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23265433_2 (rookie VARCHAR, offensive VARCHAR)
### Question:
Name the rookie for ryan powell
### Answer:
SELECT rookie FROM table_23265433_2 WHERE offensive = "Ryan Powell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE mill (Id VARCHAR); CREATE TABLE architect (name VARCHAR, nationality VARCHAR, id VARCHAR)
### Question:
What are the distinct names and nationalities of the architects who have ever built a mill?
### Answer:
SELECT DISTINCT T1.name, T1.nationality FROM architect AS T1 JOIN mill AS t2 ON T1.id = T2.architect_id |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.