context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_55 (trofeo_fast_team VARCHAR, young_rider_classification VARCHAR, stage VARCHAR) | Name trofeo fast team with young rider classification of francesco casagrande and stage of 10 | SELECT trofeo_fast_team FROM table_name_55 WHERE young_rider_classification = "francesco casagrande" AND stage = "10" |
CREATE TABLE table_name_95 (tries_against VARCHAR, played VARCHAR, club VARCHAR) | What is listed for the Tries against that has a Played of 22, along with a Club of Ystalyfera RFC? | SELECT tries_against FROM table_name_95 WHERE played = "22" AND club = "ystalyfera rfc" |
CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR) | What is listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517? | SELECT drawn FROM table_name_23 WHERE try_bonus = "5" AND points_for = "517" |
CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR, opponent VARCHAR) | What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6? | SELECT AVG(attendance) FROM table_name_34 WHERE week > 6 AND opponent = "at philadelphia eagles" |
CREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR, top_5 VARCHAR) | Name the least cuts for top-5 more than 2 with top 25 less than 6 and top 10 less than 11 | SELECT MIN(cuts_made) FROM table_name_90 WHERE top_10 < 11 AND top_5 > 2 AND top_25 < 6 |
CREATE TABLE table_name_38 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR) | What is the sum of all domestic passengers with 10.9% change and less than 4,022 tonnes in freight? | SELECT SUM(domestic_passengers) FROM table_name_38 WHERE _percentage_change_2005_2006 = "10.9%" AND freight__metric_tonnes_ < 4 OFFSET 022 |
CREATE TABLE table_name_98 (sunlight_hours INTEGER, city_town VARCHAR, days_with_frost VARCHAR) | What is the lowest number of sunlight hours, and number of days with frost, more than 30, for the city of Ourense? | SELECT MIN(sunlight_hours) FROM table_name_98 WHERE city_town = "ourense" AND days_with_frost > 30 |
CREATE TABLE table_name_75 (runs INTEGER, year VARCHAR, match VARCHAR, venue VARCHAR) | Which Runs is the highest one that has a Match larger than 63, and a Venue of national stadium, karachi, and a Year smaller than 1996? | SELECT MAX(runs) FROM table_name_75 WHERE match > 63 AND venue = "national stadium, karachi" AND year < 1996 |
CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR) | Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller? | SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller" |
CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR) | What was the date of the game with a result of won 4-2? | SELECT date FROM table_name_15 WHERE result = "won 4-2" |
CREATE TABLE table_name_34 (area__km²_ INTEGER, county VARCHAR, population VARCHAR) | What is the area (km²) of Nairnshire county, which has a population less than 11,050? | SELECT SUM(area__km²_) FROM table_name_34 WHERE county = "nairnshire" AND population < 11 OFFSET 050 |
CREATE TABLE table_name_66 (away_team VARCHAR) | What was the score for Footscray when they were the away team? | SELECT away_team AS score FROM table_name_66 WHERE away_team = "footscray" |
CREATE TABLE table_name_78 (Severe INTEGER, tropical_cyclones VARCHAR, tropical_lows VARCHAR) | What is the highest number of severe tropical cyclones when there are 10 tropical cyclones and 14 tropical lows? | SELECT MAX(Severe) AS tropical_cyclones FROM table_name_78 WHERE tropical_cyclones = 10 AND tropical_lows = 14 |
CREATE TABLE table_name_99 (rank VARCHAR, laps VARCHAR, qual VARCHAR) | What's the rank when the laps are fewer than 137 and the qual is 116.470? | SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = "116.470" |
CREATE TABLE table_name_72 (length__m_ INTEGER, country VARCHAR, maximum_grade___percentage_ VARCHAR, vertical_drop__m_ VARCHAR) | What is the shortest length of a track in Norway that has a maximum grade of 15% and a vertical drop less than 122.22 m? | SELECT MIN(length__m_) FROM table_name_72 WHERE maximum_grade___percentage_ = "15" AND vertical_drop__m_ < 122.22 AND country = "norway" |
CREATE TABLE table_name_79 (attendance INTEGER, match VARCHAR, opponent VARCHAR, result VARCHAR) | How many Attendance has a Opponent of west bromwich albion, and a Result of 3 – 3, and a Match larger than 20? | SELECT SUM(attendance) FROM table_name_79 WHERE opponent = "west bromwich albion" AND result = "3 – 3" AND match > 20 |
CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR) | WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000? | SELECT MAX(match) FROM table_name_99 WHERE venue = "h" AND date = "22 september 1888" AND attendance < 4 OFFSET 000 |
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) | What venue features carlton as the home side? | SELECT venue FROM table_name_40 WHERE home_team = "carlton" |
CREATE TABLE table_name_84 (form_factor VARCHAR, introduced VARCHAR, controller VARCHAR, capacities__gb_ VARCHAR) | Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 2013? | SELECT form_factor FROM table_name_84 WHERE controller = "sandforce" AND capacities__gb_ = "80/120/180/240/360/480" AND introduced = "july 2013" |
CREATE TABLE table_name_37 (controller VARCHAR, interface VARCHAR) | Which controller has an interface of pcie 2.0 × 8? | SELECT controller FROM table_name_37 WHERE interface = "pcie 2.0 × 8" |
CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR) | Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210? | SELECT controller FROM table_name_67 WHERE nand_type = "25nm mlc-het" AND seq_read_write_mb_s = "270/210" |
CREATE TABLE table_name_94 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR) | Which Blackpool has a Preston North End smaller than 46, and a Competition of other, and a Draw larger than 1? | SELECT SUM(blackpool) FROM table_name_94 WHERE preston_north_end < 46 AND competition = "other" AND draw > 1 |
CREATE TABLE table_name_96 (winning_driver VARCHAR, fastest_lap VARCHAR, winning_team VARCHAR, round VARCHAR) | Who was the winning driver with the winning team Opel Team Holzer 1, and a round under 9 with the fastest lap being Bernd Schneider? | SELECT winning_driver FROM table_name_96 WHERE winning_team = "opel team holzer 1" AND round < 9 AND fastest_lap = "bernd schneider" |
CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR) | What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz? | SELECT date FROM table_name_34 WHERE circuit = "hockenheimring" AND winning_manufacturer = "mercedes-benz" |
CREATE TABLE table_name_99 (surface VARCHAR, score VARCHAR) | On what Surface was the match with a Score of 3-6, 1-6 played? | SELECT surface FROM table_name_99 WHERE score = "3-6, 1-6" |
CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR) | What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842? | SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842 |
CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR) | What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%? | SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = "ok" AND percent_change__1990_2000_ = "a078 +17.22%" |
CREATE TABLE table_name_52 (winning_constructor VARCHAR, winning_driver VARCHAR) | Which Winning constructor has a Winning driver of felice nazzaro? | SELECT winning_constructor FROM table_name_52 WHERE winning_driver = "felice nazzaro" |
CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR) | Which Date has a Winning constructor of fiat and a Winning driver of louis wagner? | SELECT date FROM table_name_34 WHERE winning_constructor = "fiat" AND winning_driver = "louis wagner" |
CREATE TABLE table_name_14 (silver INTEGER, total VARCHAR, gold VARCHAR) | What is the sum of silver medals for teams with more than 14 total medals and more than 16 golds? | SELECT SUM(silver) FROM table_name_14 WHERE total > 14 AND gold > 16 |
CREATE TABLE table_name_70 (games VARCHAR, name VARCHAR) | Which game is named tsegay kebede category:articles with hcards? | SELECT games FROM table_name_70 WHERE name = "tsegay kebede category:articles with hcards" |
CREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR) | What is the medal named fatuma roba category:articles with hcards for? | SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards" |
CREATE TABLE table_name_15 (games VARCHAR, name VARCHAR) | What is the game named derartu tulu category:articles with hcards? | SELECT games FROM table_name_15 WHERE name = "derartu tulu category:articles with hcards" |
CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR) | What time was the game played against Cagliari that lasted 16 rounds? | SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16" |
CREATE TABLE table_name_51 (date INTEGER, attendance VARCHAR, opponent VARCHAR, competition VARCHAR, venue VARCHAR) | Whihc Date is the lowest one that has a Competition of league, and a Venue of away, and an Opponent of swindon wildcats, and an Attendance larger than 1,201? | SELECT MIN(date) FROM table_name_51 WHERE competition = "league" AND venue = "away" AND opponent = "swindon wildcats" AND attendance > 1 OFFSET 201 |
CREATE TABLE table_name_66 (votes INTEGER, date VARCHAR, _percentage_of_national_vote VARCHAR) | How many votes were tallied in 1956 with a % of national vote larger than 11.47? | SELECT SUM(votes) FROM table_name_66 WHERE date = "1956" AND _percentage_of_national_vote > 11.47 |
CREATE TABLE table_name_98 (attendance VARCHAR, points VARCHAR, home VARCHAR, record VARCHAR) | How many in attendance when Penguins were home with a record of 14–19–6 with less than 34 points? | SELECT COUNT(attendance) FROM table_name_98 WHERE home = "penguins" AND record = "14–19–6" AND points < 34 |
CREATE TABLE table_name_66 (november VARCHAR, july VARCHAR) | Who is the November playmate with the July playmate Hope Marie Carlton? | SELECT november FROM table_name_66 WHERE july = "hope marie carlton" |
CREATE TABLE table_name_26 (yards VARCHAR, completion__percentage VARCHAR) | Which yard has a Completion of 64.9%? | SELECT yards FROM table_name_26 WHERE completion__percentage = "64.9%" |
CREATE TABLE table_name_57 (completion__percentage VARCHAR, yards VARCHAR) | which Completion % has a Yards of 2,175? | SELECT completion__percentage FROM table_name_57 WHERE yards = "2,175" |
CREATE TABLE table_name_75 (interview INTEGER, province VARCHAR, swimsuit VARCHAR) | Which Interview has a Province of monte cristi and a Swimsuit larger than 7.27 | SELECT SUM(interview) FROM table_name_75 WHERE province = "monte cristi" AND swimsuit > 7.27 |
CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, total VARCHAR) | What is the total number of gold medals won by nations that won 2 silver medals but fewer than 7 in total? | SELECT SUM(gold) FROM table_name_24 WHERE silver = 2 AND total < 7 |
CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR) | Which tournament had a score of 6–3, 7–6? | SELECT tournament FROM table_name_75 WHERE score = "6–3, 7–6" |
CREATE TABLE table_name_59 (round VARCHAR, school VARCHAR) | What is the total number of round picks from the Morris Brown School? | SELECT COUNT(round) FROM table_name_59 WHERE school = "morris brown" |
CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR) | What was the final score of the game at the astrodome? | SELECT final_score FROM table_name_74 WHERE stadium = "astrodome" |
CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR) | What was the name of the Visiting team at Jack Murphy Stadium? | SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium" |
CREATE TABLE table_name_21 (team VARCHAR, year INTEGER) | Are there any Teams after 1997? | SELECT team FROM table_name_21 WHERE year > 1997 |
CREATE TABLE table_name_80 (attendance INTEGER, away_fans VARCHAR, opponent VARCHAR) | What was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury? | SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = "bury" |
CREATE TABLE table_name_91 (finished VARCHAR, famous_for VARCHAR) | What place did the singer in atomic kitten finish? | SELECT finished FROM table_name_91 WHERE famous_for = "singer in atomic kitten" |
CREATE TABLE table_name_64 (feature VARCHAR, driving_force_pro VARCHAR, driving_force_ex VARCHAR, driving_force_gt VARCHAR) | Driving Force EX of no, and a Driving Force GT of yes, and a Driving Force Pro of yes has what feature? | SELECT feature FROM table_name_64 WHERE driving_force_ex = "no" AND driving_force_gt = "yes" AND driving_force_pro = "yes" |
CREATE TABLE table_name_99 (group VARCHAR, island VARCHAR, height__m_ VARCHAR, population VARCHAR) | What group on the island of Faray has a Height (m) of 32 and a Population of 0? | SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray" |
CREATE TABLE table_name_76 (drawn INTEGER, against VARCHAR, lost VARCHAR, position VARCHAR, points VARCHAR) | Which Drawn is the average one that has a Position smaller than 9, and Points smaller than 22, and a Lost smaller than 9, and an Against larger than 29? | SELECT AVG(drawn) FROM table_name_76 WHERE position < 9 AND points < 22 AND lost < 9 AND against > 29 |
CREATE TABLE table_name_30 (population VARCHAR, height__m_ VARCHAR, area___ha__ VARCHAR) | What is the Population of the group that has a Height (m) of 15 and an Area (ha) of 00017 17? | SELECT population FROM table_name_30 WHERE height__m_ = 15 AND area___ha__ = "00017 17" |
CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR) | Which Frequency has a Website of •, and a Webcast of •in san antonio? | SELECT AVG(frequency) FROM table_name_44 WHERE website = "•" AND webcast = "•" AND city_of_license = "san antonio" |
CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR) | What year was the Album/Song Speaking louder than before? | SELECT SUM(year) FROM table_name_39 WHERE album___song = "speaking louder than before" |
CREATE TABLE table_name_97 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance? | SELECT SUM(week) FROM table_name_97 WHERE opponent = "houston oilers" AND attendance > 54 OFFSET 582 |
CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR) | Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw? | SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw" |
CREATE TABLE table_name_88 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR) | Which Numbers (Quantity Ordered) have a Make/ Model of eldorado national passport? | SELECT numbers__quantity_ordered_ FROM table_name_88 WHERE make__model = "eldorado national passport" |
CREATE TABLE table_name_47 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR) | What is the largest decile with a Roll larger than 34, a Gender of coed, and an Authority of state integrated, and an Area of georgetown? | SELECT MAX(decile) FROM table_name_47 WHERE roll > 34 AND gender = "coed" AND authority = "state integrated" AND area = "georgetown" |
CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, date VARCHAR) | Opponent of @ blue jays, and a Date of october 6 had what score? | SELECT score FROM table_name_19 WHERE opponent = "@ blue jays" AND date = "october 6" |
CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) | How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played? | SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabadell" AND played > 38 |
CREATE TABLE table_name_64 (played INTEGER, points VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR) | What are the average number of played with goals of less than 43, more than 9 draws, a higher position than 17 and 30-8 points? | SELECT AVG(played) FROM table_name_64 WHERE goals_for < 43 AND draws > 9 AND position > 17 AND points = "30-8" |
CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR) | What is the listed Location with a # found of 4? | SELECT location FROM table_name_47 WHERE _number_found = "4" |
CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR) | Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower? | SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower" |
CREATE TABLE table_name_31 (spouse VARCHAR, became_duchess VARCHAR) | Who is The Spouse of the Duchess that has a Became Duchess on 31 october 1733 husband's accession? | SELECT spouse FROM table_name_31 WHERE became_duchess = "31 october 1733 husband's accession" |
CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR) | What country has chunkath, mohan verghese as the name? | SELECT country FROM table_name_88 WHERE name = "chunkath, mohan verghese" |
CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR) | Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić | SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić" |
CREATE TABLE table_name_88 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR) | What time did bruce anstey complete in a honda 1000cc? | SELECT time FROM table_name_88 WHERE machine = "honda 1000cc" AND rider_s_ = "bruce anstey" |
CREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR) | What date was the ship named Manhattan completed? | SELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = "manhattan" |
CREATE TABLE table_name_10 (agri_culture_b VARCHAR, structural_poverty_g VARCHAR, income_poverty_f VARCHAR, mining_b VARCHAR) | Income poverty f smaller than 13.6, and a Mining b of 1, and a Structural poverty g smaller than 7.8, so what is the total number of agriculture? | SELECT COUNT(agri_culture_b) FROM table_name_10 WHERE income_poverty_f < 13.6 AND mining_b = 1 AND structural_poverty_g < 7.8 |
CREATE TABLE table_name_52 (tournament VARCHAR) | Which 2005 has a Tournament of grand slam tournaments? | SELECT 2005 FROM table_name_52 WHERE tournament = "grand slam tournaments" |
CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) | What was the number of draws when the Elche CF club played 38 and had a goal difference of -16? | SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 38 |
CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR) | What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have? | SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 2 |
CREATE TABLE table_name_95 (displacement VARCHAR, year VARCHAR, power VARCHAR) | What is the Displacement that has Power of 220kw (299hp) @ 4000, and a year larger than 2002? | SELECT displacement FROM table_name_95 WHERE year > 2002 AND power = "220kw (299hp) @ 4000" |
CREATE TABLE table_name_66 (tie_no VARCHAR, away_team VARCHAR) | Which Tie # has an Away team of slough town? | SELECT tie_no FROM table_name_66 WHERE away_team = "slough town" |
CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR) | Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168? | SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168 |
CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR) | Which Year is the highest that has a Team of walker racing, and Wins larger than 1? | SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 1 |
CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR) | Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji? | SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = "kōmyōji" |
CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR) | What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34? | SELECT SUM(other) FROM table_name_14 WHERE name = "simon gillett category:articles with hcards" AND total < 34 |
CREATE TABLE table_name_60 (total INTEGER, name VARCHAR, other VARCHAR) | What is the average Total, when the Name is Simon Gillett Category:Articles with hCards, and when the Other is greater than 3? | SELECT AVG(total) FROM table_name_60 WHERE name = "simon gillett category:articles with hcards" AND other > 3 |
CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR) | What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1? | SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1 |
CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR) | What is the overall number for a kicker with a pick of less than 6? | SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6 |
CREATE TABLE table_name_52 (champion VARCHAR, year VARCHAR) | Name the champion for 2000 | SELECT champion FROM table_name_52 WHERE year = "2000" |
CREATE TABLE table_name_32 (removal_treaty__year_signed_ VARCHAR, nation VARCHAR) | Which removal treaty covered the chickasaw nation? | SELECT removal_treaty__year_signed_ FROM table_name_32 WHERE nation = "chickasaw" |
CREATE TABLE table_name_87 (name VARCHAR, rank VARCHAR, begin_date VARCHAR) | what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904? | SELECT name FROM table_name_87 WHERE rank = "lieutenant colonel" AND begin_date = "1904-02-22 22 february 1904" |
CREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR) | Oklahoma State produced a player in which position in the draft? | SELECT position FROM table_name_26 WHERE school_club_team = "oklahoma state" |
CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR) | Record of 8–1, and a Week larger than 9 had what highest attendance? | SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9 |
CREATE TABLE table_name_9 (silver INTEGER, bronze VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR) | What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes? | SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2 |
CREATE TABLE table_name_59 (baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR) | How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737? | SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737 |
CREATE TABLE table_name_26 (filename_extension VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR, open_standard VARCHAR) | Which Filename extension has a Word wrap support of yes, an Open standard of no, and an Interactivity support of yes? | SELECT filename_extension FROM table_name_26 WHERE word_wrap_support = "yes" AND open_standard = "no" AND interactivity_support = "yes" |
CREATE TABLE table_name_22 (format VARCHAR, open_standard VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR) | Which Format has an Interactivity support of no, a Word wrap support of yes, an Image support of yes, and an Open standard of yes? | SELECT format FROM table_name_22 WHERE interactivity_support = "no" AND word_wrap_support = "yes" AND image_support = "yes" AND open_standard = "yes" |
CREATE TABLE table_name_48 (result VARCHAR, road_team VARCHAR, date VARCHAR) | What is the result of the game on May 14 with Philadelphia as the road team? | SELECT result FROM table_name_48 WHERE road_team = "philadelphia" AND date = "may 14" |
CREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) | What is the road team of the game with Philadelphia as the home team with a result of 105-102? | SELECT road_team FROM table_name_53 WHERE home_team = "philadelphia" AND result = "105-102" |
CREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | Which District has a First elected of 1856, and an Incumbent of william kellogg? | SELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = "william kellogg" |
CREATE TABLE table_name_85 (total INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR) | What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0? | SELECT AVG(total) FROM table_name_85 WHERE rank > 11 AND nation = "switzerland" AND silver < 0 |
CREATE TABLE table_name_86 (round INTEGER, pick__number VARCHAR, position VARCHAR) | Which is the lowest round to have a pick of 12 and position of linebacker? | SELECT MIN(round) FROM table_name_86 WHERE pick__number = 12 AND position = "linebacker" |
CREATE TABLE table_name_97 (overall VARCHAR, college VARCHAR, round VARCHAR) | How many overall values have a college of Notre Dame and rounds over 2? | SELECT COUNT(overall) FROM table_name_97 WHERE college = "notre dame" AND round > 2 |
CREATE TABLE table_name_23 (date VARCHAR, competition VARCHAR) | Name the date for 2004 afc asian cup qualifier | SELECT date FROM table_name_23 WHERE competition = "2004 afc asian cup qualifier" |
CREATE TABLE table_name_92 (lost VARCHAR, team VARCHAR, against VARCHAR) | How many Lost have a Team of flamengo, and an Against smaller than 5? | SELECT COUNT(lost) FROM table_name_92 WHERE team = "flamengo" AND against < 5 |
CREATE TABLE table_name_50 (rider VARCHAR, year VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR) | Who is the rider with less than 50 final position-tours and less than 11 final position-vuelta before 2008? | SELECT rider FROM table_name_50 WHERE final_position___tour < 50 AND final_position___vuelta < 11 AND year < 2008 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.