context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR) | For the Enernoc Australia Pty Ltd, what's the country with an unknown date? | SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd" |
CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR) | Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot? | SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot" |
CREATE TABLE table_name_86 (year INTEGER, chassis VARCHAR) | What is the year with a kurtis kraft 500a chassis? | SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a" |
CREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR) | What is the Launched which is on 3 may 2001? | SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001" |
CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR) | What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals? | SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = "austria" |
CREATE TABLE table_name_96 (total INTEGER, player VARCHAR) | How many totals have andy north as the player? | SELECT SUM(total) FROM table_name_96 WHERE player = "andy north" |
CREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR) | How many ranks are for Switzerland with more than 2 total medals? | SELECT COUNT(rank) FROM table_name_39 WHERE nation = "switzerland" AND total > 2 |
CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR) | What is the score of the United States, which has more than $24,542? | SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542 |
CREATE TABLE table_name_53 (episode VARCHAR, segment_d VARCHAR) | How many episodes have a segment d that is goalie masks (part 2)? | SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = "goalie masks (part 2)" |
CREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR) | Who were the co-drivers in 2008? | SELECT co_drivers FROM table_name_81 WHERE year = 2008 |
CREATE TABLE table_name_97 (callsign VARCHAR, brand VARCHAR, webcast VARCHAR, frequency VARCHAR) | Which Callsign includes a frequency under 1210, Newsradio 740 KTRH, and webcasts with listen live? | SELECT callsign FROM table_name_97 WHERE webcast = "listen live" AND frequency < 1210 AND brand = "newsradio 740 ktrh" |
CREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR) | Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio. | SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680 |
CREATE TABLE table_name_68 (quantity_preserved VARCHAR, manufacturer VARCHAR, class VARCHAR) | How many did alco -schenectady preserve of class b-3? | SELECT quantity_preserved FROM table_name_68 WHERE manufacturer = "alco -schenectady" AND class = "b-3" |
CREATE TABLE table_name_39 (round INTEGER, name VARCHAR, pick VARCHAR) | What is the sum of the round of Fred Smoot, who has a pick number greater than 14? | SELECT SUM(round) FROM table_name_39 WHERE name = "fred smoot" AND pick > 14 |
CREATE TABLE table_name_47 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR) | What was the lowest re-elected result for Sylvester C. Smith? | SELECT MIN(first_elected) FROM table_name_47 WHERE result = "re-elected" AND incumbent = "sylvester c. smith" |
CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) | What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws? | SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0 |
CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) | Which party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble? | SELECT party FROM table_name_32 WHERE result = "retired democratic hold" AND first_elected < 1884 AND incumbent = "samuel dibble" |
CREATE TABLE table_name_12 (record VARCHAR, method VARCHAR) | What was the record when the TKO (elbows) method was used? | SELECT record FROM table_name_12 WHERE method = "tko (elbows)" |
CREATE TABLE table_name_64 (nation VARCHAR, name VARCHAR) | What nation are carolina hermann / daniel hermann from? | SELECT nation FROM table_name_64 WHERE name = "carolina hermann / daniel hermann" |
CREATE TABLE table_name_35 (airport VARCHAR, country VARCHAR, icao VARCHAR) | What is Airport, when Country is "Egypt", and when ICAO is "Heba"? | SELECT airport FROM table_name_35 WHERE country = "egypt" AND icao = "heba" |
CREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR) | Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4? | SELECT performer_4 FROM table_name_76 WHERE performer_1 = "greg proops" AND date = "25 august 1995" |
CREATE TABLE table_name_74 (episode INTEGER, date VARCHAR, performer_1 VARCHAR, performer_3 VARCHAR) | Performer 1 of greg proops, and a Performer 3 of ryan stiles, and a Date of 25 august 1995 is which average episode? | SELECT AVG(episode) FROM table_name_74 WHERE performer_1 = "greg proops" AND performer_3 = "ryan stiles" AND date = "25 august 1995" |
CREATE TABLE table_name_79 (performer_3 VARCHAR, date VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR) | Performer 1 of Stephen Frost, and a Performer 2 of Josie Lawrence, and a Date of 15 September 1995 is what performer 3? | SELECT performer_3 FROM table_name_79 WHERE performer_1 = "stephen frost" AND performer_2 = "josie lawrence" AND date = "15 september 1995" |
CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR) | WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov? | SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = "seoul cycling team" AND winner = "alexandre usov" |
CREATE TABLE table_name_1 (general_classification VARCHAR, asian_rider_classification VARCHAR, winner VARCHAR) | WHich General classification has an Asian rider classification of shinichi fukushima, and a Winner of jeremy hunt? | SELECT general_classification FROM table_name_1 WHERE asian_rider_classification = "shinichi fukushima" AND winner = "jeremy hunt" |
CREATE TABLE table_name_42 (l2_cache VARCHAR, frequency VARCHAR, model_number VARCHAR) | Which L2-Cache has a Frequency of 1333 mhz, and a Model Number of c3 1.3a? | SELECT l2_cache FROM table_name_42 WHERE frequency = "1333 mhz" AND model_number = "c3 1.3a" |
CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR) | Name the average econ for runs more than 703 and ovrs more than 25.5 | SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703 |
CREATE TABLE table_name_54 (grid INTEGER, laps VARCHAR, rider VARCHAR) | Can you tell me the sum of Grid that has the Laps of 30, and the Rider of toni elias? | SELECT SUM(grid) FROM table_name_54 WHERE laps = 30 AND rider = "toni elias" |
CREATE TABLE table_name_1 (females___percentage_ VARCHAR, males_rank VARCHAR, females_rank VARCHAR, state VARCHAR) | How many Females (%) have Females Rank smaller than 21, and a State of kerala, and Males Rank larger than 1? | SELECT COUNT(females___percentage_) FROM table_name_1 WHERE females_rank < 21 AND state = "kerala" AND males_rank > 1 |
CREATE TABLE table_name_71 (females___percentage_ INTEGER, males_rank VARCHAR, hiv_awareness__males_percentage_ VARCHAR, females_rank VARCHAR) | Which Females (%) has an HIV awareness (males%) larger than 92, and Females Rank larger than 2, and Males Rank smaller than 3? | SELECT SUM(females___percentage_) FROM table_name_71 WHERE hiv_awareness__males_percentage_ > 92 AND females_rank > 2 AND males_rank < 3 |
CREATE TABLE table_name_60 (fleet_series__quantity_ VARCHAR, order_year VARCHAR, model VARCHAR) | Which Fleet Series (Quantity) has an Order Year of 2010, and a Model of de40lfr? | SELECT fleet_series__quantity_ FROM table_name_60 WHERE order_year = "2010" AND model = "de40lfr" |
CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR) | Name the total number of roll for state authority and stanley avenue school with decile more than 5 | SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND decile > 5 |
CREATE TABLE table_name_66 (score VARCHAR, outcome VARCHAR, date VARCHAR) | Which Score has aN Outcome of winner on 4 november 1990? | SELECT score FROM table_name_66 WHERE outcome = "winner" AND date = "4 november 1990" |
CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR) | What rider is on an aprilia that went under 18 laps with a grid total of 17? | SELECT rider FROM table_name_14 WHERE manufacturer = "aprilia" AND laps < 18 AND grid = 17 |
CREATE TABLE table_name_66 (reign INTEGER, date VARCHAR) | What's the highest reign on march 10, 2007? | SELECT MAX(reign) FROM table_name_66 WHERE date = "march 10, 2007" |
CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR) | Name the capacity for the engine of 2.0 duratorq | SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq" |
CREATE TABLE table_name_98 (goals VARCHAR, appearances VARCHAR, crewe_alexandra_career VARCHAR, nationality VARCHAR, position VARCHAR) | What is the total number of Goals with a nationality of England, and position of DF, and a Crewe Alexandra career is 1958–1962, and less than 170 appearances? | SELECT COUNT(goals) FROM table_name_98 WHERE nationality = "england" AND position = "df" AND crewe_alexandra_career = "1958–1962" AND appearances < 170 |
CREATE TABLE table_name_71 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR) | What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985? | SELECT AVG(goal_ratio) FROM table_name_71 WHERE goals > 1 AND games > 161 AND debut_in_europe < 1985 |
CREATE TABLE table_name_87 (game INTEGER, opponent VARCHAR) | what is the game when the opponent is @ chicago stags? | SELECT SUM(game) FROM table_name_87 WHERE opponent = "@ chicago stags" |
CREATE TABLE table_name_90 (score VARCHAR, decision VARCHAR, home VARCHAR) | What was the score in the game where Carolina was the home team and Niittymaki received the decision? | SELECT score FROM table_name_90 WHERE decision = "niittymaki" AND home = "carolina" |
CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR) | What was the score for the December 11 game against the Ottawa Senators? | SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 11" |
CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR) | Name the project with length overall being 25 and name of levante | SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" |
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR) | What was the Score in the game against the Buffalo Sabres? | SELECT score FROM table_name_83 WHERE opponent = "buffalo sabres" |
CREATE TABLE table_name_16 (episode VARCHAR, production_code VARCHAR, season VARCHAR, directed_by VARCHAR) | Which episode was directed by Bob Anderson with a production code of KABF16 and a season before than 25? | SELECT episode FROM table_name_16 WHERE season < 25 AND directed_by = "bob anderson" AND production_code = "kabf16" |
CREATE TABLE table_name_78 (name VARCHAR, position VARCHAR, lost VARCHAR) | Which name was in a position less than 4 with 2 losses? | SELECT name FROM table_name_78 WHERE position < 4 AND lost = 2 |
CREATE TABLE table_name_92 (athlete VARCHAR, date VARCHAR) | Date of 10 july 2009 includes what athlete? | SELECT athlete FROM table_name_92 WHERE date = "10 july 2009" |
CREATE TABLE table_name_47 (opponent VARCHAR, venue VARCHAR, season VARCHAR) | Who was the opponent that played at Launceston Cricket Club Ground, launceston during the season of 1853/54? | SELECT opponent FROM table_name_47 WHERE venue = "launceston cricket club ground, launceston" AND season = "1853/54" |
CREATE TABLE table_name_62 (status VARCHAR, issn VARCHAR) | What is the status for a journal with the ISSN of 0149-1830? | SELECT status FROM table_name_62 WHERE issn = "0149-1830" |
CREATE TABLE table_name_42 (college VARCHAR, round VARCHAR, position VARCHAR) | Which College has a Round of 11, and a Position of wr? | SELECT college FROM table_name_42 WHERE round = 11 AND position = "wr" |
CREATE TABLE table_name_39 (region_1_release VARCHAR, region_2_release VARCHAR) | What is the region 1 release that has july 20, 2009 as the region 2? | SELECT region_1_release FROM table_name_39 WHERE region_2_release = "july 20, 2009" |
CREATE TABLE table_name_74 (born_died VARCHAR, left_office VARCHAR, throne_name VARCHAR) | What is teh born-died dates of the king with a throne name 315 and left office in 1021? | SELECT born_died FROM table_name_74 WHERE left_office = "1021" AND throne_name = "315" |
CREATE TABLE table_name_70 (date VARCHAR, year VARCHAR, location VARCHAR, winner VARCHAR) | What is Date, when Location is Polo Grounds, when Winner is Philadelphia Eagles, and when Year is 1948? | SELECT date FROM table_name_70 WHERE location = "polo grounds" AND winner = "philadelphia eagles" AND year = 1948 |
CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR, surface VARCHAR, outcome VARCHAR) | Which Opponents have a Surface of hard, and an Outcome of runner-up, and a Partner of jarmila gajdošová? | SELECT opponents FROM table_name_80 WHERE surface = "hard" AND outcome = "runner-up" AND partner = "jarmila gajdošová" |
CREATE TABLE table_name_31 (result VARCHAR, year VARCHAR, date VARCHAR) | What is Result, when Year is 1948, and when Date is November 7? | SELECT result FROM table_name_31 WHERE year = 1948 AND date = "november 7" |
CREATE TABLE table_name_93 (opponent VARCHAR, game VARCHAR, record VARCHAR) | Who did the Rangers play in a game that was later than 72 when the team record was 39-27-9? | SELECT opponent FROM table_name_93 WHERE game > 72 AND record = "39-27-9" |
CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR) | Which catalogue has essential, castle music as it's label? | SELECT catalogue FROM table_name_46 WHERE label = "essential, castle music" |
CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR) | Name the total number of overall for defensive tackle | SELECT COUNT(overall) FROM table_name_6 WHERE position = "defensive tackle" |
CREATE TABLE table_name_55 (name VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR) | Which one has a rank bigger than 2, lane of 1, and is from Hong Kong? | SELECT name FROM table_name_55 WHERE rank > 2 AND lane = 1 AND nationality = "hong kong" |
CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR) | What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? | SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 3 |
CREATE TABLE table_name_54 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | Opponent of at boston patriots, and a Week larger than 3 had what average attendance? | SELECT AVG(attendance) FROM table_name_54 WHERE opponent = "at boston patriots" AND week > 3 |
CREATE TABLE table_name_63 (pick__number INTEGER, mls_team VARCHAR, affiliation VARCHAR) | Name the most pick number for real salt lake and affiliation of ucla los angeles storm | SELECT MAX(pick__number) FROM table_name_63 WHERE mls_team = "real salt lake" AND affiliation = "ucla los angeles storm" |
CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR) | What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb? | SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = "marius călugăru ciprian petre porumb" |
CREATE TABLE table_name_13 (game VARCHAR, opponent VARCHAR, march VARCHAR) | Which Game has an Opponent of detroit red wings, and a March smaller than 12? | SELECT COUNT(game) FROM table_name_13 WHERE opponent = "detroit red wings" AND march < 12 |
CREATE TABLE table_name_46 (tournament VARCHAR, court_surface VARCHAR, began VARCHAR) | what is the tournament when the court surface is clay and began in 1892? | SELECT tournament FROM table_name_46 WHERE court_surface = "clay" AND began = 1892 |
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR) | Which Visiting Team is on december 23? | SELECT visiting_team FROM table_name_59 WHERE date = "december 23" |
CREATE TABLE table_name_58 (segment_c VARCHAR, segment_b VARCHAR) | Which segment c's segment b is refrigerators? | SELECT segment_c FROM table_name_58 WHERE segment_b = "refrigerators" |
CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR) | What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038? | SELECT MAX(area__km_2__) FROM table_name_28 WHERE density__inhabitants_km_2__ > 9.4 AND name = "cape agulhas" AND population__2011_ < 33 OFFSET 038 |
CREATE TABLE table_name_35 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR, launches VARCHAR) | Successes smaller than 6, and Launches larger than 1, and a Failures of 2 is what sum of the partial failures? | SELECT SUM(partial_failures) FROM table_name_35 WHERE successes < 6 AND launches > 1 AND failures = 2 |
CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR) | What is the Point of Chassis of Lancia d50 in 1954 | SELECT points FROM table_name_91 WHERE chassis = "lancia d50" AND year = 1954 |
CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR) | What is the match total for a score over 299 and under 412 innings? | SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412 |
CREATE TABLE table_name_43 (place VARCHAR, score VARCHAR, to_par VARCHAR) | What place had a score smaller than 74 and a par of e? | SELECT place FROM table_name_43 WHERE score < 74 AND to_par = "e" |
CREATE TABLE table_name_34 (round INTEGER, position VARCHAR, overall VARCHAR) | Which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222? | SELECT MIN(round) FROM table_name_34 WHERE position = "wide receiver" AND overall < 222 |
CREATE TABLE table_name_64 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR) | What is Score, when High Assists is "Rajon Rondo (12)", and when High Points is "Paul Pierce (27)"? | SELECT score FROM table_name_64 WHERE high_assists = "rajon rondo (12)" AND high_points = "paul pierce (27)" |
CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR, game VARCHAR, december VARCHAR) | Which opponent has a game larger than 23, December larger than 8, and record of 8-10-7? | SELECT opponent FROM table_name_55 WHERE game > 23 AND december > 8 AND record = "8-10-7" |
CREATE TABLE table_name_32 (representative VARCHAR, presentation_of_credentials VARCHAR) | Who is the representative with a presentation of credentials date on February 23, 1854? | SELECT representative FROM table_name_32 WHERE presentation_of_credentials = "february 23, 1854" |
CREATE TABLE table_name_52 (title VARCHAR, appointed_by VARCHAR) | What is the title of the representative appointed by James K. Polk? | SELECT title FROM table_name_52 WHERE appointed_by = "james k. polk" |
CREATE TABLE table_name_43 (architect VARCHAR, built VARCHAR, building VARCHAR) | Who was the architect that built the Electric Railway Chambers before 1915? | SELECT architect FROM table_name_43 WHERE built < 1915 AND building = "electric railway chambers" |
CREATE TABLE table_name_72 (up INTEGER, upstream VARCHAR) | What is the highest up:down ratio with 4 mbit/s upstream? | SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = "4 mbit/s" |
CREATE TABLE table_name_25 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR) | What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000? | SELECT company_or_product_name FROM table_name_25 WHERE money_requested__£_ = "75,000" AND entrepreneur_s_ = "geoff and colette bell" |
CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR) | For all games with calgary as home, what is the average number of attendees? | SELECT AVG(attendance) FROM table_name_1 WHERE home = "calgary" |
CREATE TABLE table_name_7 (time VARCHAR, event VARCHAR) | Which Time has an Event of 200 m butterfly? | SELECT time FROM table_name_7 WHERE event = "200 m butterfly" |
CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) | Played on Clay Surface, what was the Score of the Dortmund Tournament? | SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund" |
CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR, opponent VARCHAR) | Which date has a Week smaller than 14, and an Opponent of san francisco 49ers? | SELECT date FROM table_name_92 WHERE week < 14 AND opponent = "san francisco 49ers" |
CREATE TABLE table_name_3 (rank VARCHAR, qual VARCHAR) | What is the rank of the qual 141.471? | SELECT rank FROM table_name_3 WHERE qual = "141.471" |
CREATE TABLE table_name_61 (time VARCHAR, method VARCHAR) | What was the time when the method was TKO? | SELECT time FROM table_name_61 WHERE method = "tko" |
CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR) | What year was she on a 350cc class bike, ranked 16th, with over 0 wins? | SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 0 |
CREATE TABLE table_name_59 (rank INTEGER, name VARCHAR, time VARCHAR) | What is the highest Rank of Karen Pickering when she had a time of less than 55.71? | SELECT MAX(rank) FROM table_name_59 WHERE name = "karen pickering" AND time < 55.71 |
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | How much Attendance has an Opponent of rockies, and a Record of 32-30? | SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30" |
CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR) | What is the rank for Omni nashville hotel? | SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel" |
CREATE TABLE table_name_81 (goals_for INTEGER, goal_difference VARCHAR, points VARCHAR, goals_against VARCHAR) | What is the average number of goals with more than 9 points, less than 14 goals against, and a goal difference less than 17? | SELECT AVG(goals_for) FROM table_name_81 WHERE points > 9 AND goals_against < 14 AND goal_difference < 17 |
CREATE TABLE table_name_2 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR) | Which rule has The Event of n/a, The Result of loss, and The Location of winsford england? | SELECT rules FROM table_name_2 WHERE event = "n/a" AND result = "loss" AND location = "winsford england" |
CREATE TABLE table_name_38 (opponent VARCHAR, rules VARCHAR, round VARCHAR, time VARCHAR) | Which Opponent has a Round of 3, a Time of n/a, and a Rules of n/a? | SELECT opponent FROM table_name_38 WHERE round = "3" AND time = "n/a" AND rules = "n/a" |
CREATE TABLE table_name_69 (title VARCHAR, lyricist_s_ VARCHAR, composer_s_ VARCHAR) | What is the Title, when the Lyricist(s) is Yarosake, and when the Composer(s) is Yarosake? | SELECT title FROM table_name_69 WHERE lyricist_s_ = "yarosake" AND composer_s_ = "yarosake" |
CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR) | Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? | SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25" |
CREATE TABLE table_name_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR) | What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth? | SELECT hypertransport_version FROM table_name_51 WHERE max_aggregate_bandwidth__bi_directional_ = "22.4 gb/s" |
CREATE TABLE table_name_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR) | What is the Max Aggregate bandwidth with a HyperTransport of 2? | SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 2 |
CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR) | Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430 | SELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = "89.3 fm" AND facility_id < 40430 |
CREATE TABLE table_name_83 (performer_2 VARCHAR, performer_4 VARCHAR, date VARCHAR) | Who is performer 2 of the episode on 9 April 1993 with Josie Lawrence as performer 4? | SELECT performer_2 FROM table_name_83 WHERE performer_4 = "josie lawrence" AND date = "9 april 1993" |
CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR) | What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4? | SELECT date FROM table_name_26 WHERE performer_2 = "ryan stiles" AND performer_3 = "colin mochrie" AND performer_4 = "tony slattery" |
CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR) | Who is performer 4 on episode 3, where Jim Sweeney was performer 1? | SELECT performer_4 FROM table_name_86 WHERE performer_1 = "jim sweeney" AND episode = 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.