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_14601528_2 (class_a VARCHAR, class_aAAAA VARCHAR, Pearland VARCHAR)
### Question:
Name the class a for pearland
### Answer:
SELECT class_a FROM table_14601528_2 WHERE class_aAAAA = Pearland |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR)
### Question:
Who is the color commentator when brian engblom is ice level reporters?
### Answer:
SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom" |
Below is an context that describes a sql 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 (national_cup VARCHAR, club VARCHAR)
### Question:
What national cup has fc barcelona?
### Answer:
SELECT national_cup FROM table_name_91 WHERE club = "fc barcelona" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE weather (zip_code VARCHAR, max_wind_Speed_mph VARCHAR)
### Question:
For each zip code, return how many times max wind speed reached 25?
### Answer:
SELECT zip_code, COUNT(*) FROM weather WHERE max_wind_Speed_mph >= 25 GROUP BY zip_code |
Below is an context that describes a sql 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 (finished VARCHAR, celebrity VARCHAR)
### Question:
When did camilla dallerup finish?
### Answer:
SELECT finished FROM table_name_84 WHERE celebrity = "camilla dallerup" |
Below is an context that describes a sql 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 (network VARCHAR, host VARCHAR, viewers VARCHAR)
### Question:
Who was the network who had Ken Squier as a host and 13.9 million viewers?
### Answer:
SELECT network FROM table_name_74 WHERE host = "ken squier" AND viewers = "13.9 million" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2876467_3 (second_place INTEGER, region_represented VARCHAR)
### Question:
What is the maximum number of 2nd places for Tajikistan?
### Answer:
SELECT MAX(second_place) FROM table_2876467_3 WHERE region_represented = "Tajikistan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15431122_2 (best_finish VARCHAR, scoring_rank VARCHAR)
### Question:
What is the best finish where the scoring rank is 97?
### Answer:
SELECT best_finish FROM table_15431122_2 WHERE scoring_rank = "97" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (Music VARCHAR, year VARCHAR, movie__in_kannada__ VARCHAR)
### Question:
Who was the music director in 1971 for the movie Kalyani?
### Answer:
SELECT Music AS director FROM table_name_7 WHERE year = 1971 AND movie__in_kannada__ = "kalyani" |
Below is an context that describes a sql 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 (wins INTEGER, podiums VARCHAR, season VARCHAR, fastest_laps VARCHAR, races VARCHAR)
### Question:
What is the total number of wins in the 2007 season when the fastest laps is 0, there are less than 0 podiums, and there are less than 16 races?
### Answer:
SELECT SUM(wins) FROM table_name_80 WHERE fastest_laps = 0 AND races < 16 AND season = "2007" AND podiums < 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_4 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
Which Tournament has an Outcome of winner, and a Surface of hard (i)?
### Answer:
SELECT tournament FROM table_name_4 WHERE outcome = "winner" AND surface = "hard (i)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR, student_capacity VARCHAR, dormid VARCHAR)
### Question:
Find the name and capacity of the dorm with least number of amenities.
### Answer:
SELECT T1.dorm_name, T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid GROUP BY T2.dormid ORDER BY COUNT(*) 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_16409745_1 (dpi VARCHAR, dimensions__mm_ VARCHAR)
### Question:
What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?
### Answer:
SELECT dpi FROM table_16409745_1 WHERE dimensions__mm_ = "280 x 95 x 40" |
Below is an context that describes a sql 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 (erp__analog__digital_ VARCHAR, region_served VARCHAR)
### Question:
What is the ERP for the Rockhampton region?
### Answer:
SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton" |
Below is an context that describes a sql 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 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
### Question:
what is the grid when the time/retired is +9 laps and the laps is larger than 91?
### Answer:
SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = "+9 laps" AND laps > 91 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17505751_5 (Champions VARCHAR, league VARCHAR, position VARCHAR)
### Question:
when the position is forward and the league is 5 what number is the Champion league
### Answer:
SELECT COUNT(Champions) AS league FROM table_17505751_5 WHERE league = 5 AND position = "Forward" |
Below is an context that describes a sql 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_driver VARCHAR, round VARCHAR)
### Question:
Which Winning Driver has a Round of 9?
### Answer:
SELECT winning_driver FROM table_name_45 WHERE round = 9 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10548224_1 (final_score VARCHAR, date_contested VARCHAR)
### Question:
What was the final score for the game that was contested on February 1, 2009?
### Answer:
SELECT final_score FROM table_10548224_1 WHERE date_contested = "February 1, 2009" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who directed the episode written by patrick meighan?
### Answer:
SELECT directed_by FROM table_22269839_1 WHERE written_by = "Patrick Meighan" |
Below is an context that describes a sql 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 (callback_venue VARCHAR, audition_city VARCHAR)
### Question:
What was the callback venue for the Phoenix, Arizona auditions?
### Answer:
SELECT callback_venue FROM table_name_15 WHERE audition_city = "phoenix, arizona" |
Below is an context that describes a sql 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 (secr_numbers VARCHAR, class VARCHAR)
### Question:
Which SECR numbers have a class of b1?
### Answer:
SELECT secr_numbers FROM table_name_36 WHERE class = "b1" |
Below is an context that describes a sql 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 (date VARCHAR, player VARCHAR)
### Question:
Which date is associated with the player Wilbert Robinson?
### Answer:
SELECT date FROM table_name_40 WHERE player = "wilbert robinson" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is in 2007 has 2004 olympic games?
### Answer:
SELECT 2007 FROM table_name_16 WHERE 2004 = "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_49 (laps INTEGER, finish VARCHAR, start VARCHAR)
### Question:
What's the smallest amount of Laps that had a finish of 7 with a start of 6?
### Answer:
SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "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_83 (location VARCHAR, opponent VARCHAR)
### Question:
Opponent of chicago bulls had what location?
### Answer:
SELECT location FROM table_name_83 WHERE opponent = "chicago bulls" |
Below is an context that describes a sql 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 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
### Question:
Team Rusport has the best of 59.654 and what qual 1?
### Answer:
SELECT qual_1 FROM table_name_15 WHERE team = "rusport" AND best = "59.654" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28461589_2 (passes INTEGER, starting VARCHAR)
### Question:
What is the largest number of passes for players starting exactly 34 games?
### Answer:
SELECT MAX(passes) FROM table_28461589_2 WHERE starting = 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_name_60 (pick INTEGER, school VARCHAR)
### Question:
What is the highest pick for a player from auburn?
### Answer:
SELECT MAX(pick) FROM table_name_60 WHERE school = "auburn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_261913_1 (institution VARCHAR, location__all_in_minnesota_ VARCHAR)
### Question:
What institution is located in St. Peter?
### Answer:
SELECT institution FROM table_261913_1 WHERE location__all_in_minnesota_ = "St. Peter" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR)
### Question:
What was the crowd size when Geelong played at home?
### Answer:
SELECT AVG(crowd) FROM table_name_58 WHERE home_team = "geelong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (opponent VARCHAR, week VARCHAR)
### Question:
Which team was the opponent on week 15?
### Answer:
SELECT opponent FROM table_name_7 WHERE week = 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_63 (shooter VARCHAR, total VARCHAR)
### Question:
Who is the shooter that is the Defending Champion?
### Answer:
SELECT shooter FROM table_name_63 WHERE total = "defending champion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (word_form VARCHAR, other VARCHAR)
### Question:
What can you say is the word from of sam sep?
### Answer:
SELECT word_form FROM table_name_30 WHERE other = "sam sep" |
Below is an context that describes a sql 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 (rank VARCHAR, time VARCHAR, lane VARCHAR)
### Question:
What is the number of the rank when the time is 2:15.98, in a lane larger than 7?
### Answer:
SELECT COUNT(rank) FROM table_name_55 WHERE time = "2:15.98" AND lane > 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_87 (opponent VARCHAR, rank VARCHAR)
### Question:
What is Opponent, when Rank is 3?
### Answer:
SELECT opponent FROM table_name_87 WHERE rank = "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_18 (round INTEGER, opponent VARCHAR)
### Question:
What is the average round against opponent Klas Akesson?
### Answer:
SELECT AVG(round) FROM table_name_18 WHERE opponent = "klas akesson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27988559_1 (original_air_date VARCHAR, no_in_series VARCHAR)
### Question:
What dat did episode 195 in the series originally air?
### Answer:
SELECT original_air_date FROM table_27988559_1 WHERE no_in_series = 195 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (silver INTEGER, rank VARCHAR, gold VARCHAR)
### Question:
What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals?
### Answer:
SELECT MAX(silver) FROM table_name_75 WHERE rank = "19" AND gold < 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_74 (partner VARCHAR, opponent VARCHAR)
### Question:
Which Partner had an Opponent of darija jurak carmen klaschka?
### Answer:
SELECT partner FROM table_name_74 WHERE opponent = "darija jurak carmen klaschka" |
Below is an context that describes a sql 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 (to_par VARCHAR, score VARCHAR)
### Question:
What is the total number of To Par, when Score is "70-75-76=221"?
### Answer:
SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (surface VARCHAR, year VARCHAR)
### Question:
What was the surface in 1996?
### Answer:
SELECT surface FROM table_name_68 WHERE year = 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_12163387_1 (mens_doubles VARCHAR, womens_singles VARCHAR)
### Question:
Who won the mens doubles the year Alison Humby won the womens singles?
### Answer:
SELECT mens_doubles FROM table_12163387_1 WHERE womens_singles = "Alison Humby" |
Below is an context that describes a 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_12 (result VARCHAR, incumbent VARCHAR)
### Question:
What was the result when Leo E. Allen was elected?
### Answer:
SELECT result FROM table_1342013_12 WHERE incumbent = "Leo E. Allen" |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR)
### Question:
On what day was the game that ended in a score of 97-38?
### Answer:
SELECT date FROM table_name_17 WHERE score = "97-38" |
Below is an context that describes a sql 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 (game INTEGER, set_4 VARCHAR, set_3 VARCHAR)
### Question:
What is the sum of the Game with a Set 4 of 25-21 and a Set 3 of 25-23?
### Answer:
SELECT SUM(game) FROM table_name_24 WHERE set_4 = "25-21" AND set_3 = "25-23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18946749_2 (col__m_ INTEGER, peak VARCHAR)
### Question:
What is the col (m) of the Barurumea Ridge peak?
### Answer:
SELECT MAX(col__m_) FROM table_18946749_2 WHERE peak = "Barurumea Ridge" |
Below is an context that describes a sql 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 (club VARCHAR)
### Question:
Which 2007–08 season has a Club of genoa c.f.c.?
### Answer:
SELECT 2007 AS _08_season FROM table_name_49 WHERE club = "genoa c.f.c." |
Below is an context that describes a sql 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 (decile INTEGER, authority VARCHAR, name VARCHAR)
### Question:
What is the average Decile with a state authority and a Name of mapiu school?
### Answer:
SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu 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_16729063_2 (date VARCHAR, game_site VARCHAR)
### Question:
How many games were played at Cleveland Stadium?
### Answer:
SELECT COUNT(date) FROM table_16729063_2 WHERE game_site = "Cleveland Stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (opponent VARCHAR, february VARCHAR, record VARCHAR)
### Question:
Which Opponent has a February larger than 7 and Record of 37-16-4?
### Answer:
SELECT opponent FROM table_name_3 WHERE february > 7 AND record = "37-16-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_28 (place VARCHAR, to_par VARCHAR)
### Question:
What place had a To par of –10?
### Answer:
SELECT place FROM table_name_28 WHERE to_par = "–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_72 (centerfold_model VARCHAR, interview_subject VARCHAR)
### Question:
Who was the Centerfold model when O.J. Simpson was the Interview Subject?
### Answer:
SELECT centerfold_model FROM table_name_72 WHERE interview_subject = "o.j. simpson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1952065_4 (afc_titles INTEGER, super_bowl_wins VARCHAR)
### Question:
How many afc titles were there when there were 2 super bowl wins?
### Answer:
SELECT MAX(afc_titles) FROM table_1952065_4 WHERE super_bowl_wins = 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_92 (launch_date VARCHAR, odds_of_winning VARCHAR)
### Question:
What is the launch date odds of winning 1 in 4.44?
### Answer:
SELECT launch_date FROM table_name_92 WHERE odds_of_winning = "1 in 4.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_36 (television_service VARCHAR, content VARCHAR)
### Question:
What is the Television Service offering Cartomanzia?
### Answer:
SELECT television_service FROM table_name_36 WHERE content = "cartomanzia" |
Below is an context that describes a sql 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 (name VARCHAR, heat VARCHAR, country VARCHAR)
### Question:
Who is in heat 5 from Guyana?
### Answer:
SELECT name FROM table_name_64 WHERE heat = 5 AND country = "guyana" |
Below is an context that describes a sql 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 (finish VARCHAR, total VARCHAR, year_s__won VARCHAR)
### Question:
Of the 1978 winners, who had finish totals smaller than 292?
### Answer:
SELECT finish FROM table_name_55 WHERE total < 292 AND year_s__won = "1978" |
Below is an context that describes a sql 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 (species VARCHAR, gender VARCHAR)
### Question:
Which species is male?
### Answer:
SELECT species FROM table_name_70 WHERE gender = "male" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13564637_5 (points_for VARCHAR, tries_against VARCHAR)
### Question:
What were the points for when there were 30 tries against?
### Answer:
SELECT points_for FROM table_13564637_5 WHERE tries_against = "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_28 (school VARCHAR, player VARCHAR)
### Question:
What school did samardo samuels go to?
### Answer:
SELECT school FROM table_name_28 WHERE player = "samardo samuels" |
Below is an context that describes a sql 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 (match_score VARCHAR)
### Question:
What is the "Pick The Winners" score when the Match score was illawarra 19 souths 0?
### Answer:
SELECT "pick_the_winners" AS _score FROM table_name_70 WHERE match_score = "illawarra 19 souths 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 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
### Question:
What is the latest year for first elected with john hostettler as incumbent and a result of lost re-election democratic gain?
### Answer:
SELECT MAX(first_elected) FROM table_name_40 WHERE results = "lost re-election democratic gain" AND incumbent = "john hostettler" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12243817_1 (tournament_location VARCHAR, winners_share__$_ VARCHAR)
### Question:
What is the location of the tournament that the share of winning is 7000?
### Answer:
SELECT tournament_location FROM table_12243817_1 WHERE winners_share__$_ = 7000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17085981_2 (manner_of_departure VARCHAR, team VARCHAR, outgoing_manager VARCHAR)
### Question:
What was the manner of departure for Edgar Schmitt of the Stuttgarter Kickers?
### Answer:
SELECT manner_of_departure FROM table_17085981_2 WHERE team = "Stuttgarter Kickers" AND outgoing_manager = "Edgar Schmitt" |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR, result VARCHAR)
### Question:
Who did they play against in a week after 6 and the result was l 30–24?
### Answer:
SELECT opponent FROM table_name_32 WHERE week > 6 AND result = "l 30–24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_93 (director VARCHAR, release_date VARCHAR, characters VARCHAR)
### Question:
What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character?
### Answer:
SELECT director FROM table_name_93 WHERE release_date = "2004-03-31" AND characters = "daffy (as duck dodgers)" |
Below is an context that describes a sql 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 (laps VARCHAR, driver VARCHAR)
### Question:
How many laps did Eddie Irvine have?
### Answer:
SELECT laps FROM table_name_73 WHERE driver = "eddie irvine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (network VARCHAR, genre VARCHAR)
### Question:
Which network's genre is music?
### Answer:
SELECT network FROM table_name_8 WHERE genre = "music" |
Below is an context that describes a sql 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 (entrant VARCHAR, year VARCHAR, points VARCHAR)
### Question:
What entrant had less than 3 points before 1963?
### Answer:
SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 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_1 (drawn INTEGER, lost INTEGER)
### Question:
What's the lowest Drawn that has a Lost that's less than 0?
### Answer:
SELECT MIN(drawn) FROM table_name_1 WHERE lost < 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_50 (goals_l_c_e_ VARCHAR, app_l_c_e_ VARCHAR)
### Question:
What are the gaols(L/C/E) with an App(L/C/E) of 55 (47/5/3)?
### Answer:
SELECT goals_l_c_e_ FROM table_name_50 WHERE app_l_c_e_ = "55 (47/5/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_62 (score VARCHAR, attendance INTEGER)
### Question:
What score has an attendance less than 10,553?
### Answer:
SELECT score FROM table_name_62 WHERE attendance < 10 OFFSET 553 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23117208_3 (no_in_series INTEGER, viewers__millions_ VARCHAR)
### Question:
when the number of spectator are 5.28 millions, which is the smallest number of the episode in series?
### Answer:
SELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = "5.28" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27755784_6 (record VARCHAR, date VARCHAR)
### Question:
What was the record after the game on November 10?
### Answer:
SELECT record FROM table_27755784_6 WHERE date = "November 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_1342270_3 (first_elected INTEGER, district VARCHAR)
### Question:
what is the maximum first elected with district being alabama 5
### Answer:
SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 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_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)
### Question:
What season was an episode directed by wendey stanzler?
### Answer:
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE directed_by = "Wendey Stanzler" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (avg INTEGER, rank INTEGER)
### Question:
What is the highest average for teams ranked higher than 9?
### Answer:
SELECT MAX(avg) FROM table_name_30 WHERE rank > 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_14966537_1 (record VARCHAR, opponent VARCHAR)
### Question:
How many games were played against the Chicago Bears?
### Answer:
SELECT COUNT(record) FROM table_14966537_1 WHERE opponent = "Chicago Bears" |
Below is an context that describes a sql 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 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)
### Question:
Who directed the nominated film, Badmouth?
### Answer:
SELECT director_s_ FROM table_name_53 WHERE rank = "nominated" AND film = "badmouth" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR)
### Question:
Name the total number of votes for 3rd voted out day 9
### Answer:
SELECT COUNT(vote) FROM table_24233848_2 WHERE finish = "3rd voted Out Day 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_85 (date VARCHAR, record VARCHAR)
### Question:
Record of 12–15 happened on what date?
### Answer:
SELECT date FROM table_name_85 WHERE record = "12–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_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
### Question:
what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9?
### Answer:
SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 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_83 (championship VARCHAR, winning_score VARCHAR)
### Question:
In which championship did the winner have a score of −9 (66-69-73-71=279)?
### Answer:
SELECT championship FROM table_name_83 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279) |
Below is an context that describes a sql 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 (format VARCHAR, label VARCHAR, catalog VARCHAR)
### Question:
What is the Format for the alfa records Label, and a Catalog of alca-9016?
### Answer:
SELECT format FROM table_name_81 WHERE label = "alfa records" AND catalog = "alca-9016" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)
### Question:
When dydek (8) has the highest rebounds who has the highest amount of points?
### Answer:
SELECT high_points FROM table_18904831_6 WHERE high_rebounds = "Dydek (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_1852650_1 (ending_with INTEGER, sung_by VARCHAR)
### Question:
Name the most ending with for peyalvar
### Answer:
SELECT MAX(ending_with) FROM table_1852650_1 WHERE sung_by = "Peyalvar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13956521_2 (original_airdate VARCHAR, writer_s_ VARCHAR, director VARCHAR)
### Question:
how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy
### Answer:
SELECT COUNT(original_airdate) FROM table_13956521_2 WHERE writer_s_ = "Becky Hartman Edwards" AND director = "Adam Nimoy" |
Below is an context that describes a sql 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 (name VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR, nat VARCHAR)
### Question:
Which player from GER has a transfer window of summer, and a transfer fee of n/a?
### Answer:
SELECT name FROM table_name_85 WHERE transfer_window = "summer" AND nat = "ger" AND transfer_fee = "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_73 (away_team VARCHAR, venue VARCHAR)
### Question:
What is the away team's score at western oval?
### Answer:
SELECT away_team AS score FROM table_name_73 WHERE venue = "western 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_83 (date VARCHAR, score VARCHAR)
### Question:
What date has 136-134 as the score?
### Answer:
SELECT date FROM table_name_83 WHERE score = "136-134" |
Below is an context that describes a sql 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 (away VARCHAR, club VARCHAR)
### Question:
The Club of Ekranas was an away with a score of what?
### Answer:
SELECT away FROM table_name_28 WHERE club = "ekranas" |
Below is an context that describes a sql 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 (wins VARCHAR, events INTEGER)
### Question:
How many wins did he have when he played under 2 events?
### Answer:
SELECT COUNT(wins) FROM table_name_22 WHERE events < 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_42 (tournament VARCHAR)
### Question:
what is the tournament when 2011 is qf and 2012 is sf?
### Answer:
SELECT tournament FROM table_name_42 WHERE 2011 = "qf" AND 2012 = "sf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (goals_scored VARCHAR, pos VARCHAR, years_active VARCHAR)
### Question:
How many goals were scored with a pos larger than 4 and active in 2001-?
### Answer:
SELECT goals_scored FROM table_name_50 WHERE pos > 4 AND years_active = "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_23285761_7 (high_assists VARCHAR, high_rebounds VARCHAR)
### Question:
Who did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?
### Answer:
SELECT high_assists FROM table_23285761_7 WHERE high_rebounds = "Amar'e Stoudemire (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_59 (population INTEGER, median_house__hold_income VARCHAR)
### Question:
What is the Population where the Median House-hold Income is $25,016?
### Answer:
SELECT MIN(population) FROM table_name_59 WHERE median_house__hold_income = "$25,016" |
Below is an context that describes a sql 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 (match VARCHAR, team VARCHAR)
### Question:
What was the match number for Start Gniezno?
### Answer:
SELECT match FROM table_name_13 WHERE team = "start gniezno" |
Below is an context that describes a sql 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 (player VARCHAR, position VARCHAR, college VARCHAR)
### Question:
Who plays f position for depauw?
### Answer:
SELECT player FROM table_name_15 WHERE position = "f" AND college = "depauw" |
Below is an context that describes a sql 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 (role VARCHAR, program VARCHAR)
### Question:
What's the roles of the Bionic Woman?
### Answer:
SELECT role FROM table_name_4 WHERE program = "the bionic woman" |
Below is an context that describes a sql 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 (record VARCHAR, game VARCHAR)
### Question:
What was the record after game 37?
### Answer:
SELECT record FROM table_name_70 WHERE game = 37 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.