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_13336122_7 (title VARCHAR, directed_by VARCHAR)
### Question:
What episode was directed by David Duchovny?
### Answer:
SELECT title FROM table_13336122_7 WHERE directed_by = "David Duchovny" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE claim_headers (amount_claimed INTEGER, claim_header_id VARCHAR); CREATE TABLE claims_documents (claim_id VARCHAR, created_date VARCHAR); CREATE TABLE claims_documents (created_date VARCHAR)
### Question:
Find the total amount claimed in the most recently created document.
### Answer:
SELECT SUM(t1.amount_claimed) FROM claim_headers AS t1 JOIN claims_documents AS t2 ON t1.claim_header_id = t2.claim_id WHERE t2.created_date = (SELECT created_date FROM claims_documents ORDER BY created_date 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_15 (points VARCHAR, date VARCHAR)
### Question:
What were the points on February 10?
### Answer:
SELECT points FROM table_name_15 WHERE date = "february 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_12108_1 (gdp___bn__ VARCHAR)
### Question:
what is the gdp ( bn ) where capital is capital?
### Answer:
SELECT gdp___bn__ FROM table_12108_1 WHERE "capital" = "capital" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10361625_1 (round INTEGER, overall VARCHAR)
### Question:
What is the greatest round of overall 83?
### Answer:
SELECT MAX(round) FROM table_10361625_1 WHERE overall = 83 |
Below is an context that describes a sql 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 (remixed_by VARCHAR, year VARCHAR, version VARCHAR)
### Question:
Which long version was remixed in 1986?
### Answer:
SELECT remixed_by FROM table_name_51 WHERE year = 1986 AND version = "long version" |
Below is an context that describes a sql 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 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, rank VARCHAR)
### Question:
Name the lowest Profits (billion $) which has a Sales (billion $) of 425.7, and a Rank larger than 4?
### Answer:
SELECT MIN(profits__billion_) AS $_ FROM table_name_14 WHERE sales__billion_$_ = 425.7 AND rank > 4 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR)
### Question:
Which club has a try bonus of 9 and 43 tries against?
### Answer:
SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "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_39 (visitor VARCHAR, home VARCHAR, score VARCHAR)
### Question:
Who was the visitor when the lakers were at home with a Score of 85–106?
### Answer:
SELECT visitor FROM table_name_39 WHERE home = "lakers" AND score = "85–106" |
Below is an context that describes a sql 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 (pos VARCHAR, year VARCHAR)
### Question:
What was the position in 2006?
### Answer:
SELECT pos FROM table_name_66 WHERE year = 2006 |
Below is an context that describes a sql 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 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)
### Question:
How many matches did Carlos Kameni play in, who had an average larger than 1.27?
### Answer:
SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR)
### Question:
When is the date of appointment when the position in table is 16?
### Answer:
SELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 16 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21563298_1 (external_link VARCHAR, location VARCHAR)
### Question:
What school is in Brechin?
### Answer:
SELECT external_link FROM table_21563298_1 WHERE location = "Brechin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_262481_2 (institution VARCHAR, current_conference VARCHAR)
### Question:
What is the institution whose current conference is gcac (naia)?
### Answer:
SELECT institution FROM table_262481_2 WHERE current_conference = "GCAC (NAIA)" |
Below is an context that describes a sql 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 (round VARCHAR, home VARCHAR)
### Question:
In what round was the Alianza home game?
### Answer:
SELECT round FROM table_name_85 WHERE home = "alianza" |
Below is an context that describes a sql 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 (draw INTEGER, points VARCHAR, goals_conceded VARCHAR)
### Question:
Name the the highest Draw which has Points of 22 and Goals Conceded smaller than 26?
### Answer:
SELECT MAX(draw) FROM table_name_13 WHERE points = "22" 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_name_30 (loss VARCHAR, date VARCHAR)
### Question:
Which loss has a Date of april 26?
### Answer:
SELECT loss FROM table_name_30 WHERE date = "april 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_2384331_1 (head_coach VARCHAR, arena VARCHAR)
### Question:
Who is the head coach for the team that plays at Altrincham Ice Dome?
### Answer:
SELECT head_coach FROM table_2384331_1 WHERE arena = "Altrincham Ice Dome" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (year VARCHAR, distance VARCHAR)
### Question:
In what year saw a total distance of 1,870.23 km?
### Answer:
SELECT year FROM table_name_52 WHERE distance = "1,870.23 km" |
Below is an context that describes a sql 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 (points_for VARCHAR, tries_for VARCHAR)
### Question:
Name the points with tries for of 40
### Answer:
SELECT points_for FROM table_name_62 WHERE tries_for = "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_98 (score VARCHAR, country VARCHAR)
### Question:
What is the player from England's score?
### Answer:
SELECT score FROM table_name_98 WHERE country = "england" |
Below is an context that describes a sql 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 (manufacturer VARCHAR, rider VARCHAR)
### Question:
Who manufactures Makoto Tamada's vehicle?
### Answer:
SELECT manufacturer FROM table_name_68 WHERE rider = "makoto tamada" |
Below is an context that describes a sql 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 (region VARCHAR, label VARCHAR)
### Question:
What is the Region of the Warner Music Canada Label release?
### Answer:
SELECT region FROM table_name_29 WHERE label = "warner music canada" |
Below is an context that describes a sql 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 (hdtv VARCHAR, television_service VARCHAR)
### Question:
What is the HDTV for the Rai Nettuno Sat Uno Television service?
### Answer:
SELECT hdtv FROM table_name_77 WHERE television_service = "rai nettuno sat uno" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10602294_1 (dates_active VARCHAR, name VARCHAR)
### Question:
When was Kamba active?
### Answer:
SELECT dates_active FROM table_10602294_1 WHERE name = "Kamba" |
Below is an context that describes a sql 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 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR)
### Question:
What's the date when Yelena Isinbayeva for Russia was in Beijing, China?
### Answer:
SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (player VARCHAR, hometown_school VARCHAR)
### Question:
WHAT PLAYER HAS UPLAND HIGH SCHOOL?
### Answer:
SELECT player FROM table_name_88 WHERE hometown_school = "upland high 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_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)
### Question:
How many tot officers were there on the date when the number of tot enlisted was 329640?
### Answer:
SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640 |
Below is an context that describes a sql 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 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR)
### Question:
What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4?
### Answer:
SELECT date FROM table_name_26 WHERE performer_2 = "ryan stiles" AND performer_3 = "colin mochrie" AND performer_4 = "tony slattery" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16331144_1 (winning_mentor VARCHAR, season VARCHAR)
### Question:
Who was the winning mentor in season two?
### Answer:
SELECT winning_mentor FROM table_16331144_1 WHERE season = "Two" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1108394_24 (_percentage VARCHAR, manhattan VARCHAR)
### Question:
What is the percentage for manhattan 45,901?
### Answer:
SELECT COUNT(_percentage) FROM table_1108394_24 WHERE manhattan = "45,901" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26914854_3 (team VARCHAR, date_of_appointment VARCHAR)
### Question:
what is the date of appointment 11 june 2010?
### Answer:
SELECT team FROM table_26914854_3 WHERE date_of_appointment = "11 June 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_95 (census_ranking VARCHAR, area_km_2 VARCHAR)
### Question:
Which census ranking is 57.06 km big?
### Answer:
SELECT census_ranking FROM table_name_95 WHERE area_km_2 = 57.06 |
Below is an context that describes a sql 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 (year INTEGER, points INTEGER)
### Question:
Which year averaged less than 9 points?
### Answer:
SELECT AVG(year) FROM table_name_32 WHERE points < 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_2 (grid INTEGER, time_retired VARCHAR)
### Question:
What Grid has a Time/Retired of clutch?
### Answer:
SELECT SUM(grid) FROM table_name_2 WHERE time_retired = "clutch" |
Below is an context that describes a sql 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 (date VARCHAR, name VARCHAR)
### Question:
What is the date for the name of Granville?
### Answer:
SELECT date FROM table_name_39 WHERE name = "granville" |
Below is an context that describes a sql 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 (home_city VARCHAR, manager VARCHAR)
### Question:
What is the home city when Mladen Frančić is the manager?
### Answer:
SELECT home_city FROM table_name_36 WHERE manager = "mladen franč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 table_29273115_1 (original_air_date VARCHAR, written_by VARCHAR)
### Question:
On how many different dates was the episode written by Charlie Day aired for the first time?
### Answer:
SELECT COUNT(original_air_date) FROM table_29273115_1 WHERE written_by = "Charlie Day" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)
### Question:
Name the region 4 for the complete fifth series
### Answer:
SELECT region_4 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1473672_2 (position VARCHAR, player VARCHAR)
### Question:
How many positions does rene villemure play?
### Answer:
SELECT COUNT(position) FROM table_1473672_2 WHERE player = "Rene Villemure" |
Below is an context that describes a sql 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 (floors__stories_ INTEGER, height_ft__m_ VARCHAR, rank VARCHAR)
### Question:
How many floors are in the 274 (84) ft (m) building that is ranked number 1?
### Answer:
SELECT AVG(floors__stories_) FROM table_name_99 WHERE height_ft__m_ = "274 (84)" AND 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_68 (entrant VARCHAR, engine_† VARCHAR)
### Question:
Which entrant had a mugen-honda mf-301 he engine?
### Answer:
SELECT entrant FROM table_name_68 WHERE engine_† = "mugen-honda mf-301 he" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25730209_2 (points VARCHAR, player VARCHAR)
### Question:
How many points did Donald Green score?
### Answer:
SELECT COUNT(points) FROM table_25730209_2 WHERE player = "Donald Green" |
Below is an context that describes a sql 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 (place INTEGER, artist VARCHAR)
### Question:
Where did the artist All Mixed Up place?
### Answer:
SELECT MIN(place) FROM table_name_4 WHERE artist = "all mixed up" |
Below is an context that describes a sql 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 (pages INTEGER, isbn VARCHAR)
### Question:
How many pages associated with isbn 91-7713-035-9?
### Answer:
SELECT SUM(pages) FROM table_name_75 WHERE isbn = "isbn 91-7713-035-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_53 (drawn VARCHAR, points VARCHAR, lost VARCHAR)
### Question:
How many drawn have points of 6 and lost by fewer than 4?
### Answer:
SELECT COUNT(drawn) FROM table_name_53 WHERE points = 6 AND lost < 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_25594271_1 (state_country VARCHAR, race_number VARCHAR)
### Question:
what are all the state/nation where the race number is 36
### Answer:
SELECT state_country FROM table_25594271_1 WHERE race_number = "36" |
Below is an context that describes a sql 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 (score VARCHAR, year VARCHAR)
### Question:
What is the score of 1993?
### Answer:
SELECT score FROM table_name_91 WHERE year = "1993" |
Below is an context that describes a sql 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 (tv_time VARCHAR, attendance VARCHAR)
### Question:
Name the tv time for attendance of 69,551
### Answer:
SELECT tv_time FROM table_name_84 WHERE attendance = "69,551" |
Below is an context that describes a sql 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 (stadium VARCHAR, date VARCHAR)
### Question:
What is the stadium when the date of the game is December 14?
### Answer:
SELECT stadium FROM table_name_12 WHERE date = "december 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_26914076_3 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
### Question:
How many entries are there for u.s. viewers (millions) for the episode directed by rob bailey?
### Answer:
SELECT COUNT(us_viewers__millions_) FROM table_26914076_3 WHERE directed_by = "Rob Bailey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1965650_9 (nationality VARCHAR, college_junior_club_team VARCHAR)
### Question:
When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there?
### Answer:
SELECT COUNT(nationality) FROM table_1965650_9 WHERE college_junior_club_team = "Sault Ste. Marie Greyhounds (OHA)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_293465_1 (country VARCHAR, rank_2011 VARCHAR)
### Question:
When 5 is the rank of 2011 what is the country?
### Answer:
SELECT country FROM table_293465_1 WHERE rank_2011 = 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_47 (cart VARCHAR, shield_animal VARCHAR)
### Question:
What cart has a serpent shield animal?
### Answer:
SELECT cart FROM table_name_47 WHERE shield_animal = "serpent" |
Below is an context that describes a sql 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 (points INTEGER, record VARCHAR, november VARCHAR)
### Question:
Which Points have a Record of 12–2–4–1, and a November larger than 22?
### Answer:
SELECT AVG(points) FROM table_name_40 WHERE record = "12–2–4–1" AND november > 22 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (until INTEGER, titles VARCHAR)
### Question:
What is the total Until when the Titles was 5?
### Answer:
SELECT SUM(until) FROM table_name_80 WHERE titles = "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_74 (year VARCHAR, notes VARCHAR)
### Question:
Which Year has Notes of 87.17 m?
### Answer:
SELECT year FROM table_name_74 WHERE notes = "87.17 m" |
Below is an context that describes a sql 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 (week_2 VARCHAR, week_3 VARCHAR)
### Question:
What Week 2 has a Week 3 of casey mae?
### Answer:
SELECT week_2 FROM table_name_16 WHERE week_3 = "casey mae" |
Below is an context that describes a sql 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 (total_goals INTEGER, total_apps VARCHAR, league_goals VARCHAR)
### Question:
Which Total Goals have Total Apps of 42 (3), and League Goals smaller than 1?
### Answer:
SELECT MAX(total_goals) FROM table_name_10 WHERE total_apps = "42 (3)" AND league_goals < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (erp_w INTEGER, frequency_mhz VARCHAR)
### Question:
Which ERP W has a Frequency MHz of 89.3 fm?
### Answer:
SELECT MAX(erp_w) FROM table_name_98 WHERE frequency_mhz = "89.3 fm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342379_23 (candidates VARCHAR, district VARCHAR)
### Question:
who is the the candidates with district being mississippi 4
### Answer:
SELECT candidates FROM table_1342379_23 WHERE district = "Mississippi 4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (score INTEGER, place VARCHAR, country VARCHAR)
### Question:
What is the average score for the player who is T5 in the United States?
### Answer:
SELECT AVG(score) FROM table_name_60 WHERE place = "t5" AND country = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (round VARCHAR, time VARCHAR)
### Question:
Which round was 2:30?
### Answer:
SELECT round FROM table_name_45 WHERE time = "2: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_89 (successful_defenses VARCHAR, days_held VARCHAR, reigns VARCHAR)
### Question:
What successful defenses has 126 days held and a Reigns of 3?
### Answer:
SELECT successful_defenses FROM table_name_89 WHERE days_held = 126 AND reigns = "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_83 (games_played INTEGER, points VARCHAR, goals_scored VARCHAR)
### Question:
Which Games played has a Points of 6, and Goals scored larger than 12?
### Answer:
SELECT MAX(games_played) FROM table_name_83 WHERE points = 6 AND goals_scored > 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_62 (pick VARCHAR, player VARCHAR)
### Question:
How many teams picked Jason Webb?
### Answer:
SELECT COUNT(pick) FROM table_name_62 WHERE player = "jason webb" |
Below is an context that describes a sql 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 (association VARCHAR, nominee VARCHAR, year VARCHAR)
### Question:
Who was the association that Daniel Mananta belonged to after 2011?
### Answer:
SELECT association FROM table_name_54 WHERE nominee = "daniel mananta" AND year > 2011 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (day_3 VARCHAR, day_4 VARCHAR)
### Question:
What is the day 3 when day 4 is fr.?
### Answer:
SELECT day_3 FROM table_name_45 WHERE day_4 = "fr." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR)
### Question:
what's the jp -210- with title and source being fun! fun! minigolf
### Answer:
SELECT jp__210_ FROM table_13663434_1 WHERE title_and_source = "Fun! Fun! Minigolf" |
Below is an context that describes a sql 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 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
### Question:
What is Finish, when To Par is less than 14, and when Year(s) Won is "1952 , 1963"?
### Answer:
SELECT finish FROM table_name_85 WHERE to_par < 14 AND year_s__won = "1952 , 1963" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24307126_3 (assets_2013__bil VARCHAR, base VARCHAR)
### Question:
Name the number of assets for australia
### Answer:
SELECT COUNT(assets_2013__bil) AS $_ FROM table_24307126_3 WHERE base = "Australia" |
Below is an context that describes a sql 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 (score VARCHAR, site_stadium VARCHAR, date VARCHAR)
### Question:
What was the score of the game played at Harmon Stadium on February 24?
### Answer:
SELECT score FROM table_name_38 WHERE site_stadium = "harmon stadium" AND date = "february 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_89 (home VARCHAR, record VARCHAR)
### Question:
What is the home team of the game with a 2-0 record?
### Answer:
SELECT home FROM table_name_89 WHERE record = "2-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_91 (date VARCHAR)
### Question:
What date was the score "score"?
### Answer:
SELECT date FROM table_name_91 WHERE "score" = "score" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What is the Score of the game on March 19?
### Answer:
SELECT score FROM table_name_21 WHERE date = "march 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_35 (score VARCHAR, opponents VARCHAR, date VARCHAR)
### Question:
Which Score has Opponents of pkns fc, and a Date of january 8, 2006?
### Answer:
SELECT score FROM table_name_35 WHERE opponents = "pkns fc" AND date = "january 8, 2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR)
### Question:
How many winners have st kilda score at 14.11.95?
### Answer:
SELECT COUNT(winner) FROM table_28211103_1 WHERE st_kilda_score = "14.11.95" |
Below is an context that describes a sql 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 (goals INTEGER, apps INTEGER)
### Question:
When the Apps were smaller than 22, what's the lowest amount of goals scored in a game?
### Answer:
SELECT MIN(goals) FROM table_name_33 WHERE apps < 22 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR)
### Question:
Which Males have a percentage of 0.42?
### Answer:
SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42" |
Below is an context that describes a sql 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 (cmp_att_int VARCHAR, gp_gs VARCHAR)
### Question:
Which Cmp-Att-Int has a GP-GS of 3-0?
### Answer:
SELECT cmp_att_int FROM table_name_61 WHERE gp_gs = "3-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_15700367_6 (runs_conceded VARCHAR, name VARCHAR)
### Question:
How many runs conceded for chaminda vaas?
### Answer:
SELECT runs_conceded FROM table_15700367_6 WHERE name = "Chaminda Vaas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1876825_3 (no_in_series VARCHAR, original_air_date VARCHAR)
### Question:
What episode number in the series originally aired on February 25, 2001?
### Answer:
SELECT no_in_series FROM table_1876825_3 WHERE original_air_date = "February 25, 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_44 (shropshire_senior_cup VARCHAR, points VARCHAR, fa_cup VARCHAR)
### Question:
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?
### Answer:
SELECT shropshire_senior_cup FROM table_name_44 WHERE points > 78 AND fa_cup = "pre" |
Below is an context that describes a sql 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 (lane VARCHAR, name VARCHAR)
### Question:
Swimmer Jiao Liuyang has what for the sum of lane?
### Answer:
SELECT COUNT(lane) FROM table_name_50 WHERE name = "jiao liuyang" |
Below is an context that describes a sql 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 (album VARCHAR, year VARCHAR)
### Question:
What is the 1995 Album?
### Answer:
SELECT album FROM table_name_22 WHERE year = 1995 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)
### Question:
What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?
### Answer:
SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-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_27 (score VARCHAR, tournament VARCHAR)
### Question:
What score has zadar as the tournament?
### Answer:
SELECT score FROM table_name_27 WHERE tournament = "zadar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
### Question:
Which tie number had a home team of Derby County?
### Answer:
SELECT tie_no FROM table_name_52 WHERE home_team = "derby county" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18602462_21 (final__bronze_medal_match VARCHAR, quarterfinals VARCHAR)
### Question:
When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?
### Answer:
SELECT final__bronze_medal_match FROM table_18602462_21 WHERE quarterfinals = "Houdet ( FRA ) W 6-2, 6-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_43 (date VARCHAR, away_team VARCHAR)
### Question:
What date was the game when away team northampton town played?
### Answer:
SELECT date FROM table_name_43 WHERE away_team = "northampton town" |
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR)
### Question:
What is the record when the Nuggets are the home team?
### Answer:
SELECT record FROM table_name_33 WHERE home = "nuggets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)
### Question:
When was Quantum Research's poll conducted?
### Answer:
SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Person (name VARCHAR, gender VARCHAR, age VARCHAR)
### Question:
Find the name and age of all males in order of their age.
### Answer:
SELECT name FROM Person WHERE gender = 'male' ORDER BY age |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23379776_5 (location VARCHAR, name_of_role VARCHAR)
### Question:
How many locations for name of role as Xiao Gui 小鬼?
### Answer:
SELECT COUNT(location) FROM table_23379776_5 WHERE name_of_role = "Xiao Gui 小鬼" |
Below is an context that describes a sql 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 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
### Question:
What is the pick of player ian schultz from Canada?
### Answer:
SELECT pick FROM table_name_8 WHERE nationality = "canada" AND player = "ian schultz" |
Below is an context that describes a sql 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 (ihsaa_class VARCHAR, mascot VARCHAR)
### Question:
Which IHSAA class has a mascot of the Raiders?
### Answer:
SELECT ihsaa_class FROM table_name_80 WHERE mascot = "raiders" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24353141_1 (original_1st_us_tour_cast VARCHAR, original_tokyo___seoul_tour_cast VARCHAR)
### Question:
While the original toyko/seoul tour cast included thomas hettrick, who was in the original 1st us tour cast?
### Answer:
SELECT original_1st_us_tour_cast FROM table_24353141_1 WHERE original_tokyo___seoul_tour_cast = "Thomas Hettrick" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2357201_1 (regular_season VARCHAR, year VARCHAR)
### Question:
How did Cleveland do in the regular season in 2006?
### Answer:
SELECT regular_season FROM table_2357201_1 WHERE year = 2006 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26847237_3 (location VARCHAR, opposition VARCHAR)
### Question:
What is the location when the opposition is mid canterbury?
### Answer:
SELECT location FROM table_26847237_3 WHERE opposition = "Mid Canterbury" |
Below is an context that describes a sql 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 (school VARCHAR, _number___county VARCHAR)
### Question:
which school shows #/county of 29 hamilton?
### Answer:
SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.