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_13618584_1 (district VARCHAR)
### Question:
What was the 2007 result in the 28th district?
### Answer:
SELECT 2007 AS _result FROM table_13618584_1 WHERE district = "28th"
|
Below is an context that describes a sql 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 (score VARCHAR, team VARCHAR)
### Question:
What was the score of the game against Charlotte?
### Answer:
SELECT score FROM table_name_42 WHERE team = "charlotte"
|
Below is an context that describes a sql 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 (school VARCHAR, height VARCHAR)
### Question:
Tell me the school with a height of 6-9
### Answer:
SELECT school FROM table_name_82 WHERE height = "6-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_92 (area_km² VARCHAR, density__hab_km²_ VARCHAR)
### Question:
What is the area of the city with a density of 8,546.1?
### Answer:
SELECT area_km² FROM table_name_92 WHERE density__hab_km²_ = "8,546.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 Companies (name VARCHAR, Market_Value_billion VARCHAR)
### Question:
List the names of companies in descending order of market value.
### Answer:
SELECT name FROM Companies ORDER BY Market_Value_billion 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_14323347_1 (points VARCHAR)
### Question:
Name the total number of 1992-93 for 115 points
### Answer:
SELECT COUNT(1992 AS _93) FROM table_14323347_1 WHERE points = 115
|
Below is an context that describes a sql 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 (runners_up VARCHAR, winners VARCHAR, years_runner_up VARCHAR)
### Question:
How many runners up for the team with under 1 win and a Years runner-up of 1985 , 1996?
### Answer:
SELECT runners_up FROM table_name_9 WHERE winners < 1 AND years_runner_up = "1985 , 1996"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27832075_2 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
### Question:
How many million U.S. viewers wtched episode 69 of the series?
### Answer:
SELECT us_viewers__millions_ FROM table_27832075_2 WHERE series__number = 69
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20246201_9 (office VARCHAR, candidate VARCHAR)
### Question:
What office is Jon Huntsman a candidate for?
### Answer:
SELECT office FROM table_20246201_9 WHERE candidate = "Jon Huntsman"
|
Below is an context that describes a sql 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 (programming VARCHAR, name VARCHAR)
### Question:
What is the programming for Kanal 5?
### Answer:
SELECT programming FROM table_name_20 WHERE name = "kanal 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_45 (hometown VARCHAR, player VARCHAR)
### Question:
Where is Jeff Lebo's hometown?
### Answer:
SELECT hometown FROM table_name_45 WHERE player = "jeff lebo"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR)
### Question:
What are the records when Elzbieta Urbanczik competed?
### Answer:
SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (total_production VARCHAR, model VARCHAR)
### Question:
Name the total production for model nd5
### Answer:
SELECT total_production FROM table_name_72 WHERE model = "nd5"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21046399_3 (walker__percentage VARCHAR, county VARCHAR)
### Question:
What percentage did Walker win in Calumet county?
### Answer:
SELECT walker__percentage FROM table_21046399_3 WHERE county = "Calumet"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14181578_1 (w_l_d VARCHAR, position VARCHAR)
### Question:
what's the w-l-d with position being 1
### Answer:
SELECT w_l_d FROM table_14181578_1 WHERE position = 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_61 (chassis VARCHAR, entrant VARCHAR)
### Question:
Can you tell me the Chassis that has the Entrant of trivellato racing team?
### Answer:
SELECT chassis FROM table_name_61 WHERE entrant = "trivellato racing team"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341598_39 (party VARCHAR, incumbent VARCHAR)
### Question:
To which party does Robert W. Edgar belong?
### Answer:
SELECT party FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar"
|
Below is an context that describes a sql 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 (position VARCHAR, weight VARCHAR, player VARCHAR)
### Question:
What is Postion, when Weight is greater than 220, and when Player is "Travis Knight"?
### Answer:
SELECT position FROM table_name_28 WHERE weight > 220 AND player = "travis knight"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (date VARCHAR, network_brand_name VARCHAR)
### Question:
What date was Movistar accredited?
### Answer:
SELECT date FROM table_name_6 WHERE network_brand_name = "movistar"
|
Below is an context that describes a sql 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 (highest INTEGER, average VARCHAR, capacity VARCHAR)
### Question:
What's the highest with a capacity of greater than 4,000 and an average of 615?
### Answer:
SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (baltimore_group VARCHAR, family VARCHAR)
### Question:
Which Baltimore group is of the togaviridae family?
### Answer:
SELECT baltimore_group FROM table_name_27 WHERE family = "togaviridae"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24466191_1 (team VARCHAR, season VARCHAR)
### Question:
Name the team for season 2010
### Answer:
SELECT team FROM table_24466191_1 WHERE season = 2010
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (directed_by VARCHAR, production_code VARCHAR)
### Question:
Who directed the show with the production code k2708?
### Answer:
SELECT directed_by FROM table_name_1 WHERE production_code = "k2708"
|
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR)
### Question:
Tell me the venue of 29 april 2007
### Answer:
SELECT venue FROM table_name_14 WHERE date = "29 april 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_71 (decile INTEGER, authority VARCHAR, name VARCHAR)
### Question:
What is the lowest decile with a state authority and Midhirst school?
### Answer:
SELECT MIN(decile) FROM table_name_71 WHERE authority = "state" AND name = "midhirst 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_61 (club VARCHAR, date_of_birth VARCHAR)
### Question:
What is the Club of the Player with a Date of Birth of 1977-02-03?
### Answer:
SELECT club FROM table_name_61 WHERE date_of_birth = "1977-02-03"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_13 (diameter__km_ VARCHAR, longitude VARCHAR)
### Question:
What is the diameter of the feature with longitude 8.0e?
### Answer:
SELECT diameter__km_ FROM table_16799784_13 WHERE longitude = "8.0E"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19744915_18 (result VARCHAR, public VARCHAR)
### Question:
When 8 is the public what are the results?
### Answer:
SELECT result FROM table_19744915_18 WHERE public = 8
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (to_par VARCHAR, place VARCHAR, score VARCHAR)
### Question:
What was the to par at the T5 for the player with a score of 74-69-66=209?
### Answer:
SELECT to_par FROM table_name_39 WHERE place = "t5" AND score = 74 - 69 - 66 = 209
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342315_12 (district VARCHAR, party VARCHAR)
### Question:
Which district has a Republican elected?
### Answer:
SELECT district FROM table_1342315_12 WHERE party = "Republican"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (rank_points VARCHAR, total VARCHAR)
### Question:
What were the rank points when the total was 11?
### Answer:
SELECT rank_points FROM table_name_72 WHERE total = "11"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE driver (home_city VARCHAR)
### Question:
Show the home city with the most number of drivers.
### Answer:
SELECT home_city FROM driver GROUP BY home_city 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_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR)
### Question:
What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)?
### Answer:
SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (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_44 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the away team at mcg?
### Answer:
SELECT away_team FROM table_name_44 WHERE venue = "mcg"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
### Question:
What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has?
### Answer:
SELECT MIN(evening_gown) FROM table_name_17 WHERE average < 8.23 AND interview = 8.11 AND swimsuit > 7.84
|
Below is an context that describes a sql 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 (condition VARCHAR, partial_thromboplastin_time VARCHAR)
### Question:
Name the condition with partial thromboplastin time of prolonged or unaffected
### Answer:
SELECT condition FROM table_name_14 WHERE partial_thromboplastin_time = "prolonged or 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_86 (Id VARCHAR)
### Question:
Which 1995 has a 1993 of 3r?
### Answer:
SELECT 1995 FROM table_name_86 WHERE 1993 = "3r"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (national_league VARCHAR, club VARCHAR, national_cup VARCHAR)
### Question:
What national league has limoges csp, and french basketball cup?
### Answer:
SELECT national_league FROM table_name_80 WHERE club = "limoges csp" AND national_cup = "french basketball cup"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_160728_4 (network VARCHAR, channel VARCHAR)
### Question:
How many networks are there that have a channel number 7?
### Answer:
SELECT COUNT(network) FROM table_160728_4 WHERE channel = 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_84 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the away score when the home team was Melbourne?
### Answer:
SELECT away_team AS score FROM table_name_84 WHERE home_team = "melbourne"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR)
### Question:
What is the census ranking when the area is 78.67 ?
### Answer:
SELECT census_ranking FROM table_170969_2 WHERE area_km_2 = "78.67"
|
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR)
### Question:
Who plays halfback?
### Answer:
SELECT player FROM table_name_54 WHERE position = "halfback"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19534874_2 (points VARCHAR, mile_run VARCHAR)
### Question:
How many point categories are there for the 3 mile run?
### Answer:
SELECT COUNT(points) FROM table_19534874_2 WHERE mile_run = 3
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (tournament VARCHAR, date VARCHAR)
### Question:
what is the tournament on august 17, 2008?
### Answer:
SELECT tournament FROM table_name_14 WHERE date = "august 17, 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_22 (Id VARCHAR)
### Question:
What's the 2012 when 2009 was 205?
### Answer:
SELECT 2012 FROM table_name_22 WHERE 2009 = "205"
|
Below is an context that describes a sql 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 (fastest_laps VARCHAR, races_† VARCHAR)
### Question:
For the 12/12 races, what is the fastest lap?
### Answer:
SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/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_name_6 (played INTEGER, goals_against VARCHAR, losses VARCHAR)
### Question:
When goals against is greater than 60 and losses less than 29, what is the highest played?
### Answer:
SELECT MAX(played) FROM table_name_6 WHERE goals_against > 60 AND losses < 29
|
Below is an context that describes a sql 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 (wins INTEGER, percent VARCHAR, teams VARCHAR)
### Question:
what is the average wins when percent is more than 0.4 and teams is chargers~?
### Answer:
SELECT AVG(wins) FROM table_name_53 WHERE percent > 0.4 AND teams = "chargers~"
|
Below is an context that describes a sql 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_team VARCHAR, away_team VARCHAR)
### Question:
Which home team played in the matchup with an away team of Liverpool?
### Answer:
SELECT home_team FROM table_name_27 WHERE away_team = "liverpool"
|
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is 1999, when 1998 is 2R?
### Answer:
SELECT 1999 FROM table_name_18 WHERE 1998 = "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_61 (played VARCHAR, name VARCHAR, points VARCHAR)
### Question:
What was the total number of games played by se freising when their points were larger than 13?
### Answer:
SELECT COUNT(played) FROM table_name_61 WHERE name = "se freising" AND points > 13
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (goals INTEGER, rank VARCHAR, current_club VARCHAR, ratio VARCHAR)
### Question:
Which Goals have a Current Club of real madrid, and a Ratio smaller than 1.08, and a Rank smaller than 5?
### Answer:
SELECT MAX(goals) FROM table_name_12 WHERE current_club = "real madrid" AND ratio < 1.08 AND rank < 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_51 (rating INTEGER, player VARCHAR, yards VARCHAR)
### Question:
What is the average rating for john kidd with more than 0 yards?
### Answer:
SELECT AVG(rating) FROM table_name_51 WHERE player = "john kidd" AND yards > 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_38 (bit_depth INTEGER, color_sampling VARCHAR)
### Question:
What bit depth has 4:1:1 as the color sampling?
### Answer:
SELECT SUM(bit_depth) FROM table_name_38 WHERE color_sampling = "4: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_13 (goals_conceded VARCHAR, played INTEGER)
### Question:
What are the number of goals conceded that has a played greater than 18?
### Answer:
SELECT COUNT(goals_conceded) FROM table_name_13 WHERE played > 18
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15717093_1 (season__number INTEGER, series__number VARCHAR)
### Question:
What season number corresponds to series number 102?
### Answer:
SELECT MAX(season__number) FROM table_15717093_1 WHERE series__number = 102
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26362472_1 (election_date VARCHAR, left_office VARCHAR)
### Question:
What is the election date for those politicians who left office on 1850-11-15?
### Answer:
SELECT COUNT(election_date) FROM table_26362472_1 WHERE left_office = "1850-11-15"
|
Below is an context that describes a sql 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 (winning_score VARCHAR, tournament VARCHAR)
### Question:
What is the winning score for the B.C. Open 1 tournament?
### Answer:
SELECT winning_score FROM table_name_40 WHERE tournament = "b.c. open 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_79 (rank INTEGER, lane VARCHAR)
### Question:
What is the average rank of a swimmer in lane 1?
### Answer:
SELECT AVG(rank) FROM table_name_79 WHERE lane = 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_27756572_10 (record VARCHAR, team VARCHAR)
### Question:
What was the record when the Clippers played Philadelphia?
### Answer:
SELECT record FROM table_27756572_10 WHERE team = "Philadelphia"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15887683_15 (television_service VARCHAR, country VARCHAR, language VARCHAR)
### Question:
What television service is in italy and is in english?
### Answer:
SELECT television_service FROM table_15887683_15 WHERE country = "Italy" AND language = "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_11677100_12 (hometown VARCHAR, player VARCHAR)
### Question:
What is the hometown of player Jason Place?
### Answer:
SELECT hometown FROM table_11677100_12 WHERE player = "Jason Place"
|
Below is an context that describes a sql 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 (body_styles VARCHAR, model VARCHAR)
### Question:
What body styles have 6/75 as the model?
### Answer:
SELECT body_styles FROM table_name_4 WHERE model = "6/75"
|
Below is an context that describes a sql 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 (manufacturer VARCHAR, finish VARCHAR, start VARCHAR)
### Question:
Who was the maufacturer of the vehicle during the race where Cale Yarborough started at 19 and finished earlier than 42?
### Answer:
SELECT manufacturer FROM table_name_21 WHERE finish < 42 AND start = 19
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (season VARCHAR, team_2 VARCHAR)
### Question:
Can you tell me the Season that has the Team 2 of hanoi acb?
### Answer:
SELECT season FROM table_name_99 WHERE team_2 = "hanoi acb"
|
Below is an context that describes a sql 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 (date VARCHAR, game VARCHAR)
### Question:
What is the date for game 4?
### Answer:
SELECT date FROM table_name_97 WHERE game = "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_54 (team VARCHAR, inn VARCHAR)
### Question:
What team had the record asscoiated with the 9th inning?
### Answer:
SELECT team FROM table_name_54 WHERE inn = "9th"
|
Below is an context that describes a sql 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 (wins INTEGER, byes VARCHAR, losses VARCHAR, mininera_dfl VARCHAR)
### Question:
How many wins for the Caramut team with fewer than 11 losses and fewer than 2 byes?
### Answer:
SELECT MAX(wins) FROM table_name_48 WHERE losses < 11 AND mininera_dfl = "caramut" AND byes < 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_17 (title VARCHAR, lyricist_s_ VARCHAR, arranger_s_ VARCHAR)
### Question:
What is the title of the track with lyricist ROZ and arranger Yongmin Lee?
### Answer:
SELECT title FROM table_name_17 WHERE lyricist_s_ = "roz" AND arranger_s_ = "yongmin lee"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14115168_4 (national_titles VARCHAR, school VARCHAR)
### Question:
how many big wins does peru state college have
### Answer:
SELECT COUNT(national_titles) FROM table_14115168_4 WHERE school = "Peru State College"
|
Below is an context that describes a sql 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 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR)
### Question:
What is the largest Number of electorates (2009) with a Constituency number of total:?
### Answer:
SELECT MAX(number_of_electorates__2009_) FROM table_name_41 WHERE constituency_number = "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_64 (year VARCHAR, rank VARCHAR)
### Question:
Which Year has a Rank of 25?
### Answer:
SELECT year FROM table_name_64 WHERE rank = "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_25438110_5 (county VARCHAR, casinos VARCHAR)
### Question:
What county has exactly 17 casinos?
### Answer:
SELECT county FROM table_25438110_5 WHERE casinos = 17
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR)
### Question:
which episode was Transmitted on friday if the episode of "414 insanely twisted shadow planet" was transmitted on tuesday?
### Answer:
SELECT friday FROM table_18173916_8 WHERE tuesday = "414 Insanely Twisted Shadow Planet"
|
Below is an context that describes a sql 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 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
### Question:
Which constructor had a laps number bigger than 3 when the driver was Jarno Trulli?
### Answer:
SELECT constructor FROM table_name_5 WHERE laps > 3 AND driver = "jarno trulli"
|
Below is an context that describes a sql 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 (mark VARCHAR, athlete VARCHAR)
### Question:
Which Mark has an Athlete of tatyana lebedeva?
### Answer:
SELECT mark FROM table_name_84 WHERE athlete = "tatyana lebedeva"
|
Below is an context that describes a sql 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 (surface VARCHAR, semifinalists VARCHAR)
### Question:
Which Surface has Semifinalists of wally masur malivai washington?
### Answer:
SELECT surface FROM table_name_92 WHERE semifinalists = "wally masur malivai 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_25830834_2 (written_by VARCHAR, production_code VARCHAR)
### Question:
Who wrote the episode with the production code 2j5153?
### Answer:
SELECT written_by FROM table_25830834_2 WHERE production_code = "2J5153"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26708105_5 (aa_length VARCHAR, protein_name VARCHAR)
### Question:
What is the aa length when the protein name is c11orf73?
### Answer:
SELECT aa_length FROM table_26708105_5 WHERE protein_name = "C11orf73"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26758262_1 (judges_residence VARCHAR, location_of_court VARCHAR)
### Question:
Where does the judge whose court is in Groton reside?
### Answer:
SELECT judges_residence FROM table_26758262_1 WHERE location_of_court = "Groton"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1216675_1 (chapter INTEGER, pinyin VARCHAR)
### Question:
What chapter number is Shiqiu?
### Answer:
SELECT MIN(chapter) FROM table_1216675_1 WHERE pinyin = "Shiqiu"
|
Below is an context that describes a sql 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 (away_team VARCHAR, attendance VARCHAR)
### Question:
What is the away team at the game with an Attendance of 1,730?
### Answer:
SELECT away_team FROM table_name_73 WHERE attendance = "1,730"
|
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What's the 2011 result when 2010 is 2r and 2013 is w?
### Answer:
SELECT 2011 FROM table_name_25 WHERE 2010 = "2r" AND 2013 = "w"
|
Below is an context that describes a sql 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 (gold INTEGER, silver INTEGER)
### Question:
What is the fewest number of golds for teams with 0 silver?
### Answer:
SELECT MIN(gold) FROM table_name_54 WHERE silver < 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_15 (tournament VARCHAR, winning_score VARCHAR)
### Question:
Which Tournament has a Winning score of e (72-69-71-68=280)?
### Answer:
SELECT tournament FROM table_name_15 WHERE winning_score = E(72 - 69 - 71 - 68 = 280)
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (event VARCHAR, winner VARCHAR)
### Question:
What event did Will Fry win?
### Answer:
SELECT event FROM table_name_72 WHERE winner = "will fry"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20424014_1 (county VARCHAR, obama__percentage VARCHAR)
### Question:
where did obama get 41.3%
### Answer:
SELECT county FROM table_20424014_1 WHERE obama__percentage = "41.3%"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR)
### Question:
Which city contains the KPIX station?
### Answer:
SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix"
|
Below is an context that describes a sql 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 (date VARCHAR, team VARCHAR)
### Question:
What date was the team @ Detroit?
### Answer:
SELECT date FROM table_name_28 WHERE team = "@ detroit"
|
Below is an context that describes a sql 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 (race_2 VARCHAR, race_1 VARCHAR)
### Question:
What is Race 2, when Race 1 is 30?
### Answer:
SELECT race_2 FROM table_name_6 WHERE race_1 = "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_name_39 (broadcast_date VARCHAR, viewership__millions_ VARCHAR)
### Question:
What is the broadcast date of the episode with 9.65 million viewers?
### Answer:
SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_8 (position VARCHAR, hometown VARCHAR)
### Question:
What position did the kid from loganville, georgia play
### Answer:
SELECT position FROM table_11677691_8 WHERE hometown = "Loganville, Georgia"
|
Below is an context that describes a sql 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 (area_of_operation VARCHAR, services VARCHAR, years_of_operation VARCHAR)
### Question:
Where is the area of operation that had drilling during the year 1999?
### Answer:
SELECT area_of_operation FROM table_name_19 WHERE services = "drilling" AND years_of_operation = "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_16575609_3 (college VARCHAR, player VARCHAR)
### Question:
What college does Jean-Nicolas Carriere play for?
### Answer:
SELECT college FROM table_16575609_3 WHERE player = "Jean-Nicolas Carriere"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25557556_5 (number_of_dances INTEGER, competition_finish VARCHAR)
### Question:
What was the number of dances for the competition finish of 3?
### Answer:
SELECT MAX(number_of_dances) FROM table_25557556_5 WHERE competition_finish = 3
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR)
### Question:
What was the score of the tied game or the away team of Crewe Alexandra?
### Answer:
SELECT tie_no FROM table_name_13 WHERE away_team = "crewe alexandra"
|
Below is an context that describes a sql 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 (model VARCHAR, specification VARCHAR)
### Question:
Which model had a Specification of dl-718?
### Answer:
SELECT model FROM table_name_98 WHERE specification = "dl-718"
|
Below is an context that describes a sql 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 (attendance VARCHAR, record VARCHAR)
### Question:
What was the attendance at the game with a record of 4-5?
### Answer:
SELECT attendance FROM table_name_92 WHERE record = "4-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_17103729_8 (score VARCHAR, game VARCHAR)
### Question:
Name the score for game for 25
### Answer:
SELECT score FROM table_17103729_8 WHERE game = 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_92 (win_lose_percentage VARCHAR, champs VARCHAR, draw VARCHAR)
### Question:
Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3?
### Answer:
SELECT win_lose_percentage FROM table_name_92 WHERE champs > 0 AND draw > 3
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.