context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_92 (event VARCHAR, round VARCHAR, aces VARCHAR) | What is the event year radek štěpánek was the round and there were less than 3 aces? | SELECT COUNT(event) FROM table_name_92 WHERE round = "radek štěpánek" AND NOT aces < 3 |
CREATE TABLE table_name_63 (player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR) | What is the highest number of players during 1r year with a clay set and more than 4 aces? | SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4 |
CREATE TABLE table_name_80 (winner VARCHAR, stage VARCHAR, team_classification VARCHAR, general_classification VARCHAR) | Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond? | SELECT winner FROM table_name_80 WHERE team_classification = "la vie claire" AND general_classification = "greg lemond" AND stage = "20" |
CREATE TABLE table_name_62 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) | What is the classification with a Team classification of la vie claire and a Stage of 12? | SELECT general_classification FROM table_name_62 WHERE team_classification = "la vie claire" AND stage = "12" |
CREATE TABLE table_name_74 (team_classification VARCHAR, winner VARCHAR) | What is Ludo Peeters' team classification? | SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters" |
CREATE TABLE table_name_52 (year VARCHAR, chassis VARCHAR, points VARCHAR) | Name the total number of years for talbot-lago t26c and points less than 3 | SELECT COUNT(year) FROM table_name_52 WHERE chassis = "talbot-lago t26c" AND points < 3 |
CREATE TABLE table_name_7 (stage VARCHAR, team_classification VARCHAR, points_classification VARCHAR) | Which stage corresponds to Banesto and Tony Rominger? | SELECT stage FROM table_name_7 WHERE team_classification = "banesto" AND points_classification = "tony rominger" |
CREATE TABLE table_name_27 (entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR) | What Entrepreneurs requested £60,000? | SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000" |
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | What was the earliest week the team played the chicago cardinals in front of less than 25,312? | SELECT MIN(week) FROM table_name_12 WHERE opponent = "chicago cardinals" AND attendance < 25 OFFSET 312 |
CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR) | What league has a D position, a round smaller than 11 and is with Dennis Vial? | SELECT college_junior_club_team__league_ FROM table_name_84 WHERE position = "d" AND round < 11 AND player = "dennis vial" |
CREATE TABLE table_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR) | Who is the Japanese voice actor of the Battle of the Planets of Keyop? | SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = "keyop" |
CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR) | In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps? | SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6 |
CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR) | Who is the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause? | SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 WHERE voice_actor__adv_tv_sentai_ova_dub_ = "kim prause" |
CREATE TABLE table_name_32 (name VARCHAR, courtesy_title VARCHAR) | What is the name of the person with a courtesy title of sanuki-no-kami/jiju? | SELECT name FROM table_name_32 WHERE courtesy_title = "sanuki-no-kami/jiju" |
CREATE TABLE table_name_65 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR) | Name the average number of seasons for Prva HNL of 17 | SELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 17 |
CREATE TABLE table_name_46 (number_of_seasons_in_top_division INTEGER, position_in_2012_13 VARCHAR) | Name the least number of seasons in top division with position in 2012-13 of 001 1st | SELECT MIN(number_of_seasons_in_top_division) FROM table_name_46 WHERE position_in_2012_13 = "001 1st" |
CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR) | Who was the opponent when Richmond played as the home team? | SELECT away_team FROM table_name_56 WHERE home_team = "richmond" |
CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) | Who was the home captain at Sabina Park? | SELECT home_captain FROM table_name_89 WHERE venue = "sabina park" |
CREATE TABLE table_name_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR) | Which Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989? | SELECT surname FROM table_name_64 WHERE throws = "r" AND position = "p" AND dob = "26 april 1989" |
CREATE TABLE table_name_98 (genre VARCHAR, release_year_of_first_charted_record VARCHAR) | Name the genre for release-year of first charted record of 1988 | SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988 |
CREATE TABLE table_name_2 (home_team VARCHAR) | What was Footscray's score when it played as the home team? | SELECT home_team AS score FROM table_name_2 WHERE home_team = "footscray" |
CREATE TABLE table_name_41 (outcome VARCHAR, opponent_in_the_final VARCHAR) | What was the Outcome against Opponent in the Final Carlos Kirmayr? | SELECT outcome FROM table_name_41 WHERE opponent_in_the_final = "carlos kirmayr" |
CREATE TABLE table_name_89 (championship VARCHAR, opponent_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) | Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship? | SELECT championship FROM table_name_89 WHERE outcome = "runner-up" AND surface = "clay" AND opponent_in_the_final = "ivan lendl" |
CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) | Who was the opponent when the loss was Wells (4-7)? | SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)" |
CREATE TABLE table_name_36 (date VARCHAR, points VARCHAR, game__number VARCHAR) | Which Date has Points smaller than 85 and a Game # of 74? | SELECT date FROM table_name_36 WHERE points < 85 AND game__number = 74 |
CREATE TABLE table_name_20 (visitor VARCHAR, game__number VARCHAR, home VARCHAR) | What is listed for Vistor that has a Game # that is smaller than 67 and has a Home listed as Buffalo? | SELECT visitor FROM table_name_20 WHERE game__number < 67 AND home = "buffalo" |
CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4? | SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4" |
CREATE TABLE table_name_82 (home_leg VARCHAR, opponents VARCHAR, competition VARCHAR, round VARCHAR) | Name the home leg for uefa europa league and round of q1 with opponents of motherwell | SELECT home_leg FROM table_name_82 WHERE competition = "uefa europa league" AND round = "q1" AND opponents = "motherwell" |
CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR) | College of san diego state, and a Pick # smaller than 30 has what lowest overall? | SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30 |
CREATE TABLE table_name_73 (first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR) | Which First elected is the highest one that has a Party of dem, and a District larger than 24, and a Home city/town of berlin? | SELECT MAX(first_elected) FROM table_name_73 WHERE party = "dem" AND district > 24 AND home_city_town = "berlin" |
CREATE TABLE table_name_80 (lane VARCHAR, heat VARCHAR, name VARCHAR) | What lane is David Carry in heat 1? | SELECT COUNT(lane) FROM table_name_80 WHERE heat = 1 AND name = "david carry" |
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) | Which Away team has Carlton for it's Home team? | SELECT away_team FROM table_name_96 WHERE home_team = "carlton" |
CREATE TABLE table_name_96 (points INTEGER, wins VARCHAR, team VARCHAR, year VARCHAR) | Before 1981, how many Points did Team Suzuki have with less than 0 Wins? | SELECT SUM(points) FROM table_name_96 WHERE team = "suzuki" AND year < 1981 AND wins < 0 |
CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, year VARCHAR, team VARCHAR) | After 1986, how many Wins did Lucky Strike Yamaha Team with less than 6 Points have? | SELECT MIN(wins) FROM table_name_51 WHERE year > 1986 AND team = "lucky strike yamaha" AND points < 6 |
CREATE TABLE table_name_24 (event VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR) | Which event is a win by an opponent of Nicolas Smith, with the round marked n/a? | SELECT event FROM table_name_24 WHERE res = "win" AND round = "n/a" AND opponent = "nicolas smith" |
CREATE TABLE table_name_49 (crowd INTEGER, venue VARCHAR) | What was the crowd when the VFL played Windy Hill? | SELECT SUM(crowd) FROM table_name_49 WHERE venue = "windy hill" |
CREATE TABLE table_name_72 (quay_cranes INTEGER, terminal VARCHAR, berths VARCHAR, operator VARCHAR) | Name the lowest Quay cranes for Berths of 1 and operator of mtl with terminal of terminal 5 (ct5) | SELECT MIN(quay_cranes) FROM table_name_72 WHERE berths = 1 AND operator = "mtl" AND terminal = "terminal 5 (ct5)" |
CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR) | Which Home team faced the Away team, Hawthorn? | SELECT home_team FROM table_name_9 WHERE away_team = "hawthorn" |
CREATE TABLE table_name_9 (division VARCHAR, fa_cup VARCHAR, season VARCHAR) | What is the division in the season more recent than 2012 when the round of 16 was reached in the FA Cup? | SELECT COUNT(division) FROM table_name_9 WHERE fa_cup = "round of 16" AND season > 2012 |
CREATE TABLE table_name_23 (location VARCHAR, current_conference VARCHAR, institution VARCHAR) | Where is the Belhaven College SSAC conference location? | SELECT location FROM table_name_23 WHERE current_conference = "ssac" AND institution = "belhaven college" |
CREATE TABLE table_name_87 (institution VARCHAR, founded VARCHAR, current_conference VARCHAR) | What American Southwest Conference school was founded in 1883? | SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest" |
CREATE TABLE table_name_51 (pct INTEGER, co_champions VARCHAR, state_champions VARCHAR, mrc_championships VARCHAR) | What is the average Pct value when state champions is less than 1, MRC Championships is 10, and co-champions are greater than 4? | SELECT AVG(pct) FROM table_name_51 WHERE state_champions < 1 AND mrc_championships = 10 AND co_champions > 4 |
CREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR) | How big was the crowd when Geelong was the home team? | SELECT COUNT(crowd) FROM table_name_96 WHERE home_team = "geelong" |
CREATE TABLE table_name_33 (total VARCHAR, professors VARCHAR, associate_professors VARCHAR, lecturers VARCHAR) | What is the total in the case when there are more than 4 associate professors, 5 lecturers and fewer professors than 40? | SELECT COUNT(total) FROM table_name_33 WHERE associate_professors > 4 AND lecturers = 5 AND professors < 40 |
CREATE TABLE table_name_71 (lecturers VARCHAR, total VARCHAR, associate_professors VARCHAR, assistant_professors VARCHAR, professors VARCHAR) | How may lecturers are there in the case when there are more than 8 assistant professors, fewer than 35 associate professors, more than 14 professors and total of more than 81? | SELECT COUNT(lecturers) FROM table_name_71 WHERE assistant_professors > 8 AND professors > 14 AND associate_professors < 35 AND total > 81 |
CREATE TABLE table_name_96 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) | Which general service in India is a part of the zee variasi network? | SELECT service FROM table_name_96 WHERE origin_of_programming = "india" AND genre = "general" AND network = "zee variasi" |
CREATE TABLE table_name_56 (body_tackle VARCHAR, diving_tackle VARCHAR, sliding_tackle VARCHAR) | Which body tackle has yes for the diving tackle and the sliding tackle classified as a trip? | SELECT body_tackle FROM table_name_56 WHERE diving_tackle = "yes" AND sliding_tackle = "classified as a trip" |
CREATE TABLE table_name_14 (director VARCHAR, original_title VARCHAR) | Who is the director of the best foreign film? | SELECT director FROM table_name_14 WHERE original_title = "best foreign film" |
CREATE TABLE table_name_10 (quotient VARCHAR, votes VARCHAR) | Votes of 27,391 has which quotient? | SELECT quotient FROM table_name_10 WHERE votes = "27,391" |
CREATE TABLE table_name_90 (english_title VARCHAR, original_title VARCHAR) | What is the English title for Ansikte Mot Ansikte? | SELECT english_title FROM table_name_90 WHERE original_title = "ansikte mot ansikte" |
CREATE TABLE table_name_31 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) | Which Score in the final has an Outcome of winner, and a Date of 3 august 2013? | SELECT score_in_the_final FROM table_name_31 WHERE outcome = "winner" AND date = "3 august 2013" |
CREATE TABLE table_name_80 (goals_for VARCHAR, club VARCHAR, goals_against VARCHAR) | How many goals have a Lokomotiv Plovdiv club and goals against larger than 58? | SELECT COUNT(goals_for) FROM table_name_80 WHERE club = "lokomotiv plovdiv" AND goals_against > 58 |
CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR) | What was marlboro brm's lowest points by using brm p160b? | SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b" |
CREATE TABLE table_name_61 (year INTEGER, competition VARCHAR, event VARCHAR) | Competition of u.s championships, and a Event of all around has what average year? | SELECT AVG(year) FROM table_name_61 WHERE competition = "u.s championships" AND event = "all around" |
CREATE TABLE table_name_39 (tournament VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR) | WHich Tournament has a Partnering of diego pérez and a Opponents in the final of christer allgardh carl limberger? | SELECT tournament FROM table_name_39 WHERE partnering = "diego pérez" AND opponents_in_the_final = "christer allgardh carl limberger" |
CREATE TABLE table_name_25 (score VARCHAR, opponents_in_the_final VARCHAR) | What is the Score of an Opponent\ in the final of jordi arrese àlex corretja? | SELECT score FROM table_name_25 WHERE opponents_in_the_final = "jordi arrese àlex corretja" |
CREATE TABLE table_name_36 (tournament VARCHAR) | What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon? | SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon" |
CREATE TABLE table_name_16 (tournament VARCHAR) | What is the 2003 value with 1r in 2009 at the Australian Open? | SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open" |
CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR) | What bombing happened in Brighton, UK? | SELECT event FROM table_name_98 WHERE location = "brighton, uk" |
CREATE TABLE table_name_39 (goal INTEGER, result VARCHAR) | What is the top goal for the result of 2–3? | SELECT MAX(goal) FROM table_name_39 WHERE result = "2–3" |
CREATE TABLE table_name_51 (yards INTEGER, avg VARCHAR, player VARCHAR, rec VARCHAR, long VARCHAR) | Which Yards is the highest one that has a Rec smaller than 54, and a Long smaller than 5, and a Player of todd herremans, and an Avg larger than 1? | SELECT MAX(yards) FROM table_name_51 WHERE rec < 54 AND long < 5 AND player = "todd herremans" AND avg > 1 |
CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR) | Name the class for 4th position with year before 2006 | SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006 |
CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR) | Name the total number of laps for 23rd position | SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd" |
CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, extra_points VARCHAR) | How many points does Tom Hammond have if he has more than 12 points? | SELECT SUM(points) FROM table_name_12 WHERE player = "tom hammond" AND extra_points > 12 |
CREATE TABLE table_name_55 (province VARCHAR, election INTEGER) | What province has an election after 2009? | SELECT province FROM table_name_55 WHERE election > 2009 |
CREATE TABLE table_name_64 (matches_w_l VARCHAR, players VARCHAR) | Players of judith wiesner and alex antonitsch had what match w-l? | SELECT matches_w_l FROM table_name_64 WHERE players = "judith wiesner and alex antonitsch" |
CREATE TABLE table_name_41 (seeding VARCHAR, matches_w_l VARCHAR, team VARCHAR) | Matches W-L of 1-2, and a Team of spain had what seeding? | SELECT seeding FROM table_name_41 WHERE matches_w_l = "1-2" AND team = "spain" |
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR) | Where did Collingwood play ae the away team? | SELECT venue FROM table_name_57 WHERE away_team = "collingwood" |
CREATE TABLE table_name_49 (year INTEGER, title VARCHAR) | Title of the angry brigade involves which lowest year? | SELECT MIN(year) FROM table_name_49 WHERE title = "the angry brigade" |
CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR) | For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? | SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5" |
CREATE TABLE table_name_93 (start INTEGER, span VARCHAR, conv VARCHAR) | In 1990-2005 what is the lowest Start with Convs smaller than 2? | SELECT MIN(start) FROM table_name_93 WHERE span = "1990-2005" AND conv < 2 |
CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR) | What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008? | SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008" |
CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR) | What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent? | SELECT material_or_non_material FROM table_name_36 WHERE positional_or_automatic = "either" AND count_rectified = "no" AND opponents = "either" |
CREATE TABLE table_name_63 (material_or_non_material VARCHAR, suits VARCHAR, opponents VARCHAR) | Is it material or non-material when there are 2 suits for either opponent? | SELECT material_or_non_material FROM table_name_63 WHERE suits = "2" AND opponents = "either" |
CREATE TABLE table_name_89 (point VARCHAR, team VARCHAR, game VARCHAR) | How many points did Happy Valley score before game 14? | SELECT COUNT(point) FROM table_name_89 WHERE team = "happy valley" AND game < 14 |
CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR) | Which surface was played during Curitiba tournament? | SELECT surface FROM table_name_46 WHERE tournament = "curitiba" |
CREATE TABLE table_name_22 (length VARCHAR, class VARCHAR, circuit VARCHAR) | What was the length for GT class at Portland International Raceway? | SELECT length FROM table_name_22 WHERE class = "gt" AND circuit = "portland international raceway" |
CREATE TABLE table_name_21 (points INTEGER, laps VARCHAR, team VARCHAR, grid VARCHAR) | How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68? | SELECT AVG(points) FROM table_name_21 WHERE team = "minardi team usa" AND grid = 3 AND laps > 68 |
CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR) | What is the sum of losses for Geelong Amateur, with 0 byes? | SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = "geelong amateur" AND byes < 0 |
CREATE TABLE table_name_80 (year_ended VARCHAR, passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR) | Which Year Ended has a Passenger Load Factor (%) larger than 72.8, and a Revenue (€m) smaller than 906.8? | SELECT year_ended FROM table_name_80 WHERE passenger_load_factor___percentage_ > 72.8 AND revenue__€m_ < 906.8 |
CREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR) | What is the Founded year of the school located in Paul Smiths, New York? | SELECT founded FROM table_name_99 WHERE location = "paul smiths, new york" |
CREATE TABLE table_name_59 (away_team VARCHAR) | What was fitzroy's away side score? | SELECT away_team AS score FROM table_name_59 WHERE away_team = "fitzroy" |
CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR) | The league of 400 (21) has what years listed? | SELECT years FROM table_name_87 WHERE league = "400 (21)" |
CREATE TABLE table_name_22 (area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR) | Which area 2006 km² has a city of sopot, and an area 1996 km² smaller than 17.31? | SELECT MAX(area_2006_km²) FROM table_name_22 WHERE city = "sopot" AND area_1996_km² < 17.31 |
CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR) | What is the ERP for the Rockhampton region? | SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton" |
CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR) | Which city in the mideast region is the hot of Temple University? | SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university" |
CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR) | What is the time for Adi Bichman? | SELECT time FROM table_name_28 WHERE name = "adi bichman" |
CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) | What is the total attendance at games against the New York Mets with a record of 18-18? | SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18" |
CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR) | When did the New England Patriots play as the visiting team? | SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" |
CREATE TABLE table_name_45 (away_team VARCHAR) | What was Footscray's score as an away team? | SELECT away_team AS score FROM table_name_45 WHERE away_team = "footscray" |
CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu? | SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu" |
CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) | Which Total has a Set 2 of 19–25? | SELECT total FROM table_name_60 WHERE set_2 = "19–25" |
CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR) | What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? | SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 |
CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR) | What is the first year of the European Championships competition? | SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships" |
CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR) | During what years did the tallest building, located at 211 Union Street, have less than 31 floors? | SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = "211 union street" |
CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR) | What number did Moño Negro peak at before 1996? | SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996 |
CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR) | What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0? | SELECT MIN(capacity) FROM table_name_11 WHERE first_season_in_segunda_división = 2013 AND top_division_titles > 0 |
CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR) | What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator? | SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 2)" |
CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR) | What is the lowest ERP W of the 67829 Facility ID? | SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829 |
CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR) | What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17? | SELECT AVG(off_reb) FROM table_name_29 WHERE ftm_fta = "16-17" AND steals < 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.