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_1300080_1 (network_protocols VARCHAR, notes VARCHAR)
### Question:
What are the network protocols for the model that has been discontinued in favor of the EN1700?
### Answer:
SELECT network_protocols FROM table_1300080_1 WHERE notes = "Discontinued in favor of the en1700" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26757_4 (proto_slavic VARCHAR, polish VARCHAR)
### Question:
When gniazdo is polish what is proto-slavic?
### Answer:
SELECT proto_slavic FROM table_26757_4 WHERE polish = "gniazdo" |
Below is an context that describes a sql 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 (away_team VARCHAR, date VARCHAR)
### Question:
who is the away team on 21 september?
### Answer:
SELECT away_team FROM table_name_42 WHERE date = "21 september" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2417395_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)
### Question:
What was the reason for change to the successor that was seated on December 13, 1880?
### Answer:
SELECT reason_for_change FROM table_2417395_4 WHERE date_successor_seated = "December 13, 1880" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
What was the date the record became 26–14–9?
### Answer:
SELECT date FROM table_name_35 WHERE record = "26–14–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_77 (record VARCHAR, game VARCHAR)
### Question:
What's the record of Game 70?
### Answer:
SELECT record FROM table_name_77 WHERE game = 70 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR)
### Question:
What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition?
### Answer:
SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hurling final replay" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)
### Question:
What is the total for Chuquisaca?
### Answer:
SELECT total FROM table_21249915_1 WHERE department = "Chuquisaca" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR)
### Question:
What are all the positions for the rockets in 2008?
### Answer:
SELECT position FROM table_11734041_7 WHERE years_for_rockets = "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_17 (team VARCHAR, score VARCHAR)
### Question:
What is the Team with a Score that is w 101–97 (2ot)?
### Answer:
SELECT team FROM table_name_17 WHERE score = "w 101–97 (2ot)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28019988_2 (series__number VARCHAR, production_code VARCHAR)
### Question:
What is the series number for the episode with production code bdf109?
### Answer:
SELECT series__number FROM table_28019988_2 WHERE production_code = "BDF109" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27713583_2 (record VARCHAR, team VARCHAR)
### Question:
What is the record for the game against team @ Minnesota?
### Answer:
SELECT record FROM table_27713583_2 WHERE team = "@ Minnesota" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Name the 2013 for 2011 of 1r
### Answer:
SELECT 2013 FROM table_name_9 WHERE 2011 = "1r" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_18 (episode INTEGER, segment_d VARCHAR)
### Question:
Name the least episode for fibre cement siding
### Answer:
SELECT MIN(episode) FROM table_15187735_18 WHERE segment_d = "Fibre Cement Siding" |
Below is an context that describes a sql 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 (administration VARCHAR, season VARCHAR, division VARCHAR, position VARCHAR)
### Question:
What is the administration when the division was Ykkönen (first division), and they were in the 1st position in 1996?
### Answer:
SELECT administration FROM table_name_21 WHERE division = "ykkönen (first division)" AND position = "1st" AND season = 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 documents (document_code VARCHAR, document_name VARCHAR); CREATE TABLE document_sections (section_title VARCHAR, document_code VARCHAR)
### Question:
What are all the section titles of the document named "David CV"?
### Answer:
SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code WHERE t1.document_name = "David CV" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14624447_24 (weight VARCHAR, number VARCHAR)
### Question:
What are all weights for the number 27?
### Answer:
SELECT weight FROM table_14624447_24 WHERE number = 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_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR)
### Question:
How many previous years did Maebashi Ikuei high school have a total number of 1 participation?
### Answer:
SELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = "Maebashi Ikuei" |
Below is an context that describes a sql 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 (matches VARCHAR, prize_money VARCHAR)
### Question:
What is the Match with a Prize of money that is £1,000,000?
### Answer:
SELECT matches FROM table_name_16 WHERE prize_money = "£1,000,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_14132239_3 (offensive VARCHAR, overall VARCHAR)
### Question:
Who was the offensive award winner the week when Bob Watson was given the overall award?
### Answer:
SELECT offensive FROM table_14132239_3 WHERE overall = "Bob Watson" |
Below is an context that describes a sql 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 (shirt_sponsor VARCHAR, captain VARCHAR)
### Question:
Who is the shirt sponsor for Captain Geoff Thomas' team?
### Answer:
SELECT shirt_sponsor FROM table_name_10 WHERE captain = "geoff thomas" |
Below is an context that describes a sql 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 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR)
### Question:
Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author?
### Answer:
SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 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_87 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR)
### Question:
How many Laps have a Grid larger than 9, and a Time/Retired of +32.354?
### Answer:
SELECT COUNT(laps) FROM table_name_87 WHERE grid > 9 AND time_retired = "+32.354" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20630462_1 (also_currently_known_as VARCHAR, tournament VARCHAR)
### Question:
What is the current tournament name for the event in Tampa?
### Answer:
SELECT also_currently_known_as FROM table_20630462_1 WHERE tournament = "Tampa" |
Below is an context that describes a sql 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, home_team VARCHAR)
### Question:
On which date was Essendon the home team?
### Answer:
SELECT date FROM table_name_91 WHERE home_team = "essendon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22360_3 (total INTEGER)
### Question:
Name the most total
### Answer:
SELECT MAX(total) FROM table_22360_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_59 (Id VARCHAR)
### Question:
What is the value for 2010 when the value for 2006 is A and the value for 2009 is 1R?
### Answer:
SELECT 2010 FROM table_name_59 WHERE 2006 = "a" AND 2009 = "1r" |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
When did Collingwood play an away game?
### Answer:
SELECT date FROM table_name_53 WHERE away_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (year INTEGER, event VARCHAR, venue VARCHAR)
### Question:
What's the highest Year for the Venue of Santiago De Chile and the Event of 800 m?
### Answer:
SELECT MAX(year) FROM table_name_67 WHERE event = "800 m" AND venue = "santiago de chile" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12570207_1 (total_region INTEGER, fitzroy VARCHAR)
### Question:
what is the maximum total region with fitzroy being 8047
### Answer:
SELECT MAX(total_region) FROM table_12570207_1 WHERE fitzroy = 8047 |
Below is an context that describes a sql 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 (crowd INTEGER, venue VARCHAR)
### Question:
What was the highest crowd count seen in the Windy Hill venue?
### Answer:
SELECT MAX(crowd) FROM table_name_48 WHERE venue = "windy hill" |
Below is an context that describes a sql 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 (league INTEGER, fa_cup VARCHAR, name VARCHAR)
### Question:
What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring?
### Answer:
SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 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_20 (played VARCHAR, wins VARCHAR, goals_against VARCHAR)
### Question:
How many played have 8 wins and more than 58 goals against?
### Answer:
SELECT COUNT(played) FROM table_name_20 WHERE wins = 8 AND goals_against > 58 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341604_11 (candidates VARCHAR, district VARCHAR)
### Question:
Name the candidates for georgia 8
### Answer:
SELECT candidates FROM table_1341604_11 WHERE district = "Georgia 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_11690135_1 (country VARCHAR, swimsuit VARCHAR)
### Question:
Who had a swimsuit score of 9.87?
### Answer:
SELECT COUNT(country) FROM table_11690135_1 WHERE swimsuit = "9.87" |
Below is an context that describes a sql 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 (ship_type VARCHAR, tonnage VARCHAR)
### Question:
With a tonnage of 225 what is the ship type?
### Answer:
SELECT ship_type FROM table_name_93 WHERE tonnage = "225" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (team VARCHAR)
### Question:
What is the 2013-2014 division for the Wolverhampton Wildcats?
### Answer:
SELECT 2013 AS _14_division FROM table_name_60 WHERE team = "wolverhampton wildcats" |
Below is an context that describes a 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_9 (player VARCHAR, pick__number VARCHAR)
### Question:
who is the the player with pick # being 132
### Answer:
SELECT player FROM table_1473672_9 WHERE pick__number = 132 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR)
### Question:
What is the title of the episode with production code 3x5405?
### Answer:
SELECT title FROM table_24938621_2 WHERE production_code = "3X5405" |
Below is an context that describes a sql 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_team VARCHAR, date VARCHAR, away_team VARCHAR)
### Question:
When the Away team is fitzroy on the Date of 15 july 1967, what was the Home team playing?
### Answer:
SELECT home_team FROM table_name_89 WHERE date = "15 july 1967" AND away_team = "fitzroy" |
Below is an context that describes a sql 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 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR)
### Question:
How many draws did clitheroe have when their position was less than 12 and they lost less than 4 times?
### Answer:
SELECT SUM(drawn) FROM table_name_76 WHERE position < 12 AND team = "clitheroe" 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_name_38 (rank INTEGER, country VARCHAR)
### Question:
What is Hungary's highest Rank?
### Answer:
SELECT MAX(rank) FROM table_name_38 WHERE country = "hungary" |
Below is an context that describes a sql 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 (wchmp INTEGER, podiums VARCHAR)
### Question:
If podiums are 26, what's the lowest WChmp?
### Answer:
SELECT MIN(wchmp) FROM table_name_49 WHERE podiums = 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_56 (poles INTEGER, series VARCHAR, season VARCHAR)
### Question:
What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007?
### Answer:
SELECT MAX(poles) FROM table_name_56 WHERE series = "ginetta championship" AND season < 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_20142629_2 (_3_cylinder VARCHAR, stanier VARCHAR, fowler VARCHAR)
### Question:
When the Fowler is 16, what is the number of cylinders?
### Answer:
SELECT COUNT(stanier), _3_cylinder FROM table_20142629_2 WHERE fowler = 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_name_21 (country VARCHAR, package_option VARCHAR)
### Question:
Which country has a qualsiasi tranne sky hd package/option?
### Answer:
SELECT country FROM table_name_21 WHERE package_option = "qualsiasi tranne sky hd" |
Below is an context that describes a sql 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 (lcd_screen_size VARCHAR, _pixels VARCHAR, model VARCHAR)
### Question:
What would the LCD screen size and pixels be for the coolpix 5700?
### Answer:
SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700" |
Below is an context that describes a sql 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 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR)
### Question:
Name the last title for greater buenos aires and first season of 1920
### Answer:
SELECT last_title FROM table_name_9 WHERE area_province = "greater buenos aires" AND first_season = "1920" |
Below is an context that describes a sql 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 (overall INTEGER, college VARCHAR, pick VARCHAR)
### Question:
If Notre Dame had a pick larger than 5, what's the overall pick?
### Answer:
SELECT MAX(overall) FROM table_name_26 WHERE college = "notre dame" AND pick > 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_35 (week INTEGER, attendance VARCHAR)
### Question:
What is the earliest week with a game attended by 60,233?
### Answer:
SELECT MIN(week) FROM table_name_35 WHERE attendance = "60,233" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1529260_2 (purse___us VARCHAR, margin_of_victory VARCHAR)
### Question:
How many dollars is the purse when the margin of victory is 8 strokes?
### Answer:
SELECT COUNT(purse___us) AS $__ FROM table_1529260_2 WHERE margin_of_victory = "8 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14903491_1 (mens_singles VARCHAR, year VARCHAR)
### Question:
Name the mens singles for 1989
### Answer:
SELECT mens_singles FROM table_14903491_1 WHERE year = 1989 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30083499_1 (coefficient VARCHAR, player VARCHAR)
### Question:
What is the coefficient for agustín marchesín (1)?
### Answer:
SELECT coefficient FROM table_30083499_1 WHERE player = "Agustín Marchesín (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_1966992_1 (administrative_capital VARCHAR, census_2006_population VARCHAR)
### Question:
What is the administrative capital that has a 2006 census population of 249425?
### Answer:
SELECT administrative_capital FROM table_1966992_1 WHERE census_2006_population = 249425 |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
What day is south melbourne at home?
### Answer:
SELECT date FROM table_name_71 WHERE home_team = "south 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_name_69 (constructor VARCHAR, driver VARCHAR)
### Question:
What company built the car driven by Tony Brooks?
### Answer:
SELECT constructor FROM table_name_69 WHERE driver = "tony brooks" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the opposing team's score at the match that was played at Victoria Park?
### Answer:
SELECT away_team AS score FROM table_name_31 WHERE venue = "victoria park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (chassis VARCHAR, entrant VARCHAR)
### Question:
Which Chassis did the Entrant clarke-mordaunt-guthrie-durlacher carry?
### Answer:
SELECT chassis FROM table_name_57 WHERE entrant = "clarke-mordaunt-guthrie-durlacher" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1825751_4 (miss_universe_philippines VARCHAR, binibining_pilipinas_international VARCHAR)
### Question:
When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?
### Answer:
SELECT COUNT(miss_universe_philippines) FROM table_1825751_4 WHERE binibining_pilipinas_international = "Margaret Ann Bayot" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
What is the To par when Lanny Wadkins is the player?
### Answer:
SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins" |
Below is an context that describes a sql 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 (year INTEGER, team VARCHAR, points VARCHAR)
### Question:
What year did they get 4 points with Suzuki?
### Answer:
SELECT AVG(year) FROM table_name_97 WHERE team = "suzuki" AND points = 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_21634403_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
### Question:
How many U.S. viewers watched the episode directed by Frank Waldeck?
### Answer:
SELECT us_viewers__millions_ FROM table_21634403_2 WHERE directed_by = "Frank Waldeck" |
Below is an context that describes a sql 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 (touchdowns INTEGER, field_goals VARCHAR, extra_points VARCHAR, player VARCHAR)
### Question:
Which Touchdowns have an Extra points smaller than 5, and a Player of clark, and Field goals larger than 0?
### Answer:
SELECT AVG(touchdowns) FROM table_name_8 WHERE extra_points < 5 AND player = "clark" AND field_goals > 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_70 (grid INTEGER, time VARCHAR, laps VARCHAR)
### Question:
Can you tell me the highest Grid that has the Time of +15.532, and the Laps larger than 23?
### Answer:
SELECT MAX(grid) FROM table_name_70 WHERE time = "+15.532" AND laps > 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_name_51 (lost INTEGER, played INTEGER)
### Question:
What is the greatest lost where played is less than 9?
### Answer:
SELECT MAX(lost) FROM table_name_51 WHERE played < 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_74 (finish VARCHAR, qual VARCHAR)
### Question:
What finish qualified at 141.071?
### Answer:
SELECT finish FROM table_name_74 WHERE qual = "141.071" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE department (dept_name VARCHAR, building VARCHAR, budget INTEGER)
### Question:
What is the name and building of the departments whose budget is more than the average budget?
### Answer:
SELECT dept_name, building FROM department WHERE budget > (SELECT AVG(budget) FROM department) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2781227_7 (college_junior_club_team VARCHAR, player VARCHAR)
### Question:
What college team did Ryan Golden come from?
### Answer:
SELECT college_junior_club_team FROM table_2781227_7 WHERE player = "Ryan Golden" |
Below is an context that describes a sql 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 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR, position VARCHAR)
### Question:
Can you tell me the sum of Goals against that has the Goals for larger than 10, and the Position of 3, and the Wins smaller than 6?
### Answer:
SELECT SUM(goals_against) FROM table_name_14 WHERE goals_for > 10 AND position = 3 AND wins < 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_70 (city_or_town VARCHAR, number_of_seasons_in_top_division VARCHAR, club VARCHAR)
### Question:
Which City or town has top division smaller than 40 and Gaziantepspor Club ?
### Answer:
SELECT city_or_town FROM table_name_70 WHERE number_of_seasons_in_top_division < 40 AND club = "gaziantepspor" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1057316_1 (disposition VARCHAR, operational_owner_s_ VARCHAR)
### Question:
Where can you find Colorado and Southern Railway #9?
### Answer:
SELECT disposition FROM table_1057316_1 WHERE operational_owner_s_ = "Colorado and Southern Railway #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_22871316_6 (record VARCHAR, high_points VARCHAR)
### Question:
What's the record of the game in which Carlos Delfino (17) did the most high points?
### Answer:
SELECT record FROM table_22871316_6 WHERE high_points = "Carlos Delfino (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_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
### Question:
What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?
### Answer:
SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 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_87 (lost INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR)
### Question:
Which Lost has a Position larger than 5, and Points 1 of 37, and less than 63 Goals Against?
### Answer:
SELECT AVG(lost) FROM table_name_87 WHERE position > 5 AND points_1 = "37" AND goals_against < 63 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (year VARCHAR, baden VARCHAR)
### Question:
What's the year that has a Baden Freiburger FC?
### Answer:
SELECT COUNT(year) FROM table_name_78 WHERE baden = "freiburger fc" |
Below is an context that describes a sql 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 (circumstances VARCHAR, date VARCHAR)
### Question:
What happened on 2009-09-05?
### Answer:
SELECT circumstances FROM table_name_93 WHERE date = "2009-09-05" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27366772_3 (district VARCHAR, armenian VARCHAR)
### Question:
What district is known in Armenian as քանաքեր-զեյթուն?
### Answer:
SELECT district FROM table_27366772_3 WHERE armenian = "Քանաքեր-Զեյթուն" |
Below is an context that describes a sql 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 (third_vice_president VARCHAR, inaugurated VARCHAR)
### Question:
What is Third Vice President, when Inaugurated is "15 March 1934"?
### Answer:
SELECT third_vice_president FROM table_name_38 WHERE inaugurated = "15 march 1934" |
Below is an context that describes a sql 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 (status VARCHAR, opposing_teams VARCHAR)
### Question:
What is Status, when Opposing Teams is "Scotland"?
### Answer:
SELECT status FROM table_name_16 WHERE opposing_teams = "scotland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR)
### Question:
What is Scotland's winner?
### Answer:
SELECT winner FROM table_name_37 WHERE country = "scotland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customers (customer_name VARCHAR)
### Question:
Find the name of all customers whose name contains "Alex".
### Answer:
SELECT customer_name FROM customers WHERE customer_name LIKE "%Alex%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19930660_2 (first_broadcast VARCHAR, episode VARCHAR)
### Question:
When was episode 2x11 aired for the first time?
### Answer:
SELECT first_broadcast FROM table_19930660_2 WHERE episode = "2x11" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR)
### Question:
What was the score when the partner is Rafael Osuna?
### Answer:
SELECT score FROM table_2215159_2 WHERE partner = "Rafael Osuna" |
Below is an context that describes a sql 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 (points VARCHAR, team VARCHAR, grid VARCHAR)
### Question:
What was Herdez Competition's total points with a grid larger than 1?
### Answer:
SELECT COUNT(points) FROM table_name_39 WHERE team = "herdez competition" AND grid > 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_30 (date VARCHAR, away_team VARCHAR)
### Question:
What is the date where the away team is Richmond?
### Answer:
SELECT date FROM table_name_30 WHERE away_team = "richmond" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1358608_4 (weight__kg_ VARCHAR, race VARCHAR)
### Question:
What was the weight in kg on the day of the race at Ranvet Stakes?
### Answer:
SELECT weight__kg_ FROM table_1358608_4 WHERE race = "Ranvet Stakes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22353769_3 (us_air_date VARCHAR, episode__number VARCHAR)
### Question:
How many episodes have episode #11?
### Answer:
SELECT COUNT(us_air_date) FROM table_22353769_3 WHERE episode__number = 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 table_name_94 (away_team VARCHAR, home_team VARCHAR)
### Question:
What score was conceded by Richmond?
### Answer:
SELECT away_team AS score FROM table_name_94 WHERE home_team = "richmond" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076595_1 (enrollment__2009_ INTEGER, location_s_ VARCHAR)
### Question:
What is the minimum enrollment for Plainfield?
### Answer:
SELECT MIN(enrollment__2009_) FROM table_2076595_1 WHERE location_s_ = "Plainfield" |
Below is an context that describes a sql 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 (opponent VARCHAR, field VARCHAR)
### Question:
Who was the opponent of the game at Homewood field?
### Answer:
SELECT opponent FROM table_name_86 WHERE field = "homewood field" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342233_42 (first_elected INTEGER, district VARCHAR)
### Question:
When was the Tennessee 3 district incumbent first elected?
### Answer:
SELECT MAX(first_elected) FROM table_1342233_42 WHERE district = "Tennessee 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_31 (total INTEGER, year_s__won VARCHAR)
### Question:
In 1991, what was the lowest total?
### Answer:
SELECT MIN(total) FROM table_name_31 WHERE year_s__won = "1991" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1506619_1 (headquarters VARCHAR, school_board VARCHAR)
### Question:
Which headquarters are associated with the school board Renfrew County Catholic District School Board?
### Answer:
SELECT headquarters FROM table_1506619_1 WHERE school_board = "Renfrew County Catholic District school_board" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
### Question:
When there are 7.4 million viewers how many episodes are there?
### Answer:
SELECT COUNT(episode) FROM table_2102945_1 WHERE viewers__in_millions_ = "7.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_15187735_18 (segment_d VARCHAR, segment_a VARCHAR)
### Question:
Name the segment d for s cufflink
### Answer:
SELECT segment_d FROM table_15187735_18 WHERE segment_a = "s Cufflink" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13570_1 (specifically_stains VARCHAR, cytoplasm VARCHAR)
### Question:
Pink cytoplasm is seen in a test that specifically stains what?
### Answer:
SELECT specifically_stains FROM table_13570_1 WHERE cytoplasm = "Pink" |
Below is an context that describes a sql 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 (played INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR)
### Question:
How much Played has an Against larger than 37, and a Lost of 15, and Points smaller than 11?
### Answer:
SELECT SUM(played) FROM table_name_63 WHERE against > 37 AND lost = 15 AND points < 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 table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
### Question:
What is the nationality of the swimmer with a rank over 2 with a time of 55.77?
### Answer:
SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77" |
Below is an context that describes a sql 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 (date VARCHAR, course VARCHAR)
### Question:
On what date was the race course from Rome to Naples?
### Answer:
SELECT date FROM table_name_31 WHERE course = "rome to naples" |
Below is an context that describes a sql 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 (population VARCHAR, number_of_households VARCHAR)
### Question:
What is the population with 41,511 households?
### Answer:
SELECT COUNT(population) FROM table_name_92 WHERE number_of_households = 41 OFFSET 511 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.