text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, previous_team VARCHAR)
<</SYS>>
SELECT career_with_the_franchise_[b_] FROM table_name_68 WHERE previous_team = "new jersey nets"[/INST] What is Career with the franchise [b ], when Previous Team is "New Jersey Nets"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR)
<</SYS>>
SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida"[/INST] What nationality is the player who went to school at South Florida?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1598533_8 (annual_change__percentage_of_gdp__2012_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR)
<</SYS>>
SELECT annual_change__percentage_of_gdp__2012_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = "20.5%"[/INST] What is the annual change of GDP with a 20.5% GDP of EU in 2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
<</SYS>>
SELECT COUNT(gold) FROM table_name_32 WHERE silver > 1 AND nation = "vietnam" AND bronze < 3[/INST] How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (circuit VARCHAR, date VARCHAR, class VARCHAR)
<</SYS>>
SELECT circuit FROM table_name_68 WHERE date = "may 27" AND class = "gts-2"[/INST] On what circuit is there a class gts-2 race that takes place on May 27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (lost VARCHAR, try_bp VARCHAR, club VARCHAR)
<</SYS>>
SELECT lost FROM table_name_50 WHERE try_bp = "10" AND club = "uwic rfc"[/INST] Can you tell the Lost that has the Try BP of 10, and the Club of uwic rfc?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (wins INTEGER, events VARCHAR)
<</SYS>>
SELECT MIN(wins) FROM table_name_13 WHERE events = 9[/INST] What is the fewest wins for Thomas in events he had entered exactly 9 times?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE architect (name VARCHAR, nationality VARCHAR, id VARCHAR, gender VARCHAR)
<</SYS>>
SELECT name, nationality, id FROM architect WHERE gender = 'male' ORDER BY name[/INST] List the name, nationality and id of all male architects ordered by their names lexicographically.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (city VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT city FROM table_name_58 WHERE opponent = "poland"[/INST] What city did Yugoslavia play against Poland in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13618358_1 (district VARCHAR, income_poverty_f VARCHAR)
<</SYS>>
SELECT COUNT(district) FROM table_13618358_1 WHERE income_poverty_f = "27.7"[/INST] How many districts had an depravity level of 27.7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (black VARCHAR, moves VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT black FROM table_name_56 WHERE moves = 24 AND tournament = "dortmund"[/INST] What's the black with 24 moves in the dortmund tournament?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (week INTEGER, date VARCHAR)
<</SYS>>
SELECT AVG(week) FROM table_name_68 WHERE date = "december 21, 1969"[/INST] In what week was the December 21, 1969 game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (drawn INTEGER, games VARCHAR, lost VARCHAR, points VARCHAR)
<</SYS>>
SELECT AVG(drawn) FROM table_name_98 WHERE lost > 0 AND points < 11 AND games < 7[/INST] Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
<</SYS>>
SELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = "contract terminated" AND date_of_vacancy = "1 september 2008"[/INST] who is the outgoing manager when the manner of departure is contract terminated and the date of vacancy is 1 september 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (round INTEGER, club_team VARCHAR)
<</SYS>>
SELECT AVG(round) FROM table_name_64 WHERE club_team = "garmisch-partenkirchen riessersee sc (germany 2)"[/INST] What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (overall VARCHAR, pick VARCHAR)
<</SYS>>
SELECT overall FROM table_name_5 WHERE pick = 17[/INST] What is the Overall number for pick 17?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (winner VARCHAR, score VARCHAR, location VARCHAR)
<</SYS>>
SELECT winner FROM table_name_40 WHERE score = "274 (–14)" AND location = "tennessee"[/INST] What is the name of the winner when the Score was 274 (–14) in tennessee?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (tournament VARCHAR)
<</SYS>>
SELECT 1983 FROM table_name_2 WHERE tournament = "wimbledon"[/INST] Which 1983 has a Tournament of wimbledon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR)
<</SYS>>
SELECT ceremony FROM table_name_91 WHERE date = "may 15, 1965"[/INST] Which award ceremony took place on May 15, 1965?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (district VARCHAR, location VARCHAR)
<</SYS>>
SELECT district FROM table_name_53 WHERE location = "villupuram"[/INST] What District has a Location of villupuram?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (votes VARCHAR, occupation VARCHAR)
<</SYS>>
SELECT votes FROM table_name_78 WHERE occupation = "security guard"[/INST] How many votes did the security guard get?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (february INTEGER, opponent VARCHAR, game VARCHAR)
<</SYS>>
SELECT MAX(february) FROM table_name_43 WHERE opponent = "philadelphia flyers" AND game > 63[/INST] What is the highest Feb value having an opponent of the Philadelphia Flyers and is after game 63?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR)
<</SYS>>
SELECT time FROM table_name_55 WHERE rank = 6[/INST] What is the Time of the Athlete with a Rank of 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (laps INTEGER, grid VARCHAR)
<</SYS>>
SELECT SUM(laps) FROM table_name_53 WHERE grid = 20[/INST] What is the sum of laps for grid 20?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21980_1 (january__°f_ VARCHAR, location VARCHAR)
<</SYS>>
SELECT january__°f_ FROM table_21980_1 WHERE location = "Corner Brook"[/INST] What were the January (°F) temperatures in the Corner Brook location?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)
<</SYS>>
SELECT result FROM table_name_65 WHERE score = "4-1"[/INST] What was the result of the game with a score of 4-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (shooter VARCHAR, total VARCHAR)
<</SYS>>
SELECT shooter FROM table_name_9 WHERE total = "28"[/INST] What Shooter has a Total of 28?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE campuses (campus VARCHAR, county VARCHAR, YEAR VARCHAR)
<</SYS>>
SELECT campus FROM campuses WHERE county = "Los Angeles" AND YEAR > 1950[/INST] Which university is in Los Angeles county and opened after 1950?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR)
<</SYS>>
SELECT rank FROM table_name_96 WHERE total = 123[/INST] What rank has 123 as the total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (home_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_21 WHERE tie_no = "14"[/INST] WHAT IS THE HOME TEAM WITH A TIE OF 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (airline VARCHAR, fleet_size VARCHAR, iata VARCHAR)
<</SYS>>
SELECT airline FROM table_name_98 WHERE fleet_size > 17 AND iata = "pr"[/INST] Which Airline has a Fleet size larger than 17, and a IATA of pr?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (college VARCHAR, round INTEGER)
<</SYS>>
SELECT college FROM table_name_80 WHERE round < 2[/INST] Which college had rounds smaller than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (loss INTEGER, game INTEGER)
<</SYS>>
SELECT MAX(loss) FROM table_name_31 WHERE game < 14[/INST] What is the highest loss before game 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24018112_1 (frequency VARCHAR, brand_name VARCHAR)
<</SYS>>
SELECT frequency FROM table_24018112_1 WHERE brand_name = "Pentium"[/INST] What frequency does the Pentium processor use?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR)
<</SYS>>
SELECT south FROM table_name_92 WHERE east = "germering wanderers" AND season = "2001-02"[/INST] What is south in the 2001-02 season, which had germering wanderers east?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)
<</SYS>>
SELECT player FROM table_name_90 WHERE previous_team__league_ = "medicine hat tigers ( whl )" AND year < 2002[/INST] What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR)
<</SYS>>
SELECT player FROM table_2897457_5 WHERE college_junior_club_team = "Avon Old Farms (USHS-CT)"[/INST] What player attended avon old farms (ushs-ct)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
<</SYS>>
SELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76[/INST] What was the average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (away_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_94 WHERE away_team = "footscray"[/INST] What was Footscray's score as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (lijsttrekker VARCHAR, cabinet VARCHAR, fractievoorzitter VARCHAR)
<</SYS>>
SELECT lijsttrekker FROM table_name_81 WHERE cabinet = "hans van mierlo" AND fractievoorzitter = "thom de graaf"[/INST] What is Lijsttrekker, when Cabinet is "Hans Van Mierlo", and when Fractievoorzitter is "Thom De Graaf"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (points INTEGER, name VARCHAR, lost VARCHAR)
<</SYS>>
SELECT AVG(points) FROM table_name_12 WHERE name = "svg burgkirchen" AND lost < 6[/INST] How many average points did svg burgkirchen have with a loss smaller than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR)
<</SYS>>
SELECT MAX(chimoré_municipality) FROM table_name_76 WHERE pojo_municipality = 9 AND totora_municipality < 7[/INST] What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (Id VARCHAR)
<</SYS>>
SELECT 2007 FROM table_name_92 WHERE 2003 = "ch callaway's copyright"[/INST] What is the 2007 with ch callaway's copyright in 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (july VARCHAR, december VARCHAR)
<</SYS>>
SELECT july FROM table_name_58 WHERE december = "morgan fox"[/INST] Who is the July playmate with a December playmate Morgan Fox?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (opponent VARCHAR, loss VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–8)"[/INST] Who was the opponent at the game that had a loss of Leonard (7–8)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (_percentage_2006 VARCHAR, _percentage_2001 VARCHAR, seats_2001 VARCHAR, seats_2006 VARCHAR)
<</SYS>>
SELECT _percentage_2006 FROM table_name_12 WHERE seats_2001 < 23 AND seats_2006 > 4 AND _percentage_2001 = 25.4[/INST] What is the %2006 that has fewer seats than 23 in Seats 2001, more seats than 4 in 2006 Seats, and a % in 2001 of 25.4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19260_1 (_percentage VARCHAR, _percentage_core_moldova VARCHAR)
<</SYS>>
SELECT _percentage FROM table_19260_1 WHERE _percentage_core_moldova = "4.36_percentage"[/INST] Name the % for core moldova being 4.36%</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (arena VARCHAR, points VARCHAR, date VARCHAR)
<</SYS>>
SELECT arena FROM table_name_2 WHERE points > 28 AND date = "december 14"[/INST] Which Arena has Points larger than 28, and a Date of december 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_83 WHERE date = "20/6/97"[/INST] What was the score on 20/6/97?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)
<</SYS>>
SELECT team FROM table_name_31 WHERE league = "national" AND year = 2001[/INST] What team has a national league in 2001?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (hindu VARCHAR, jewish VARCHAR)
<</SYS>>
SELECT hindu FROM table_name_87 WHERE jewish = "source: uk 2001 census"[/INST] Tell me the Hindu with Jewish of source: uk 2001 census</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR, silver VARCHAR)
<</SYS>>
SELECT COUNT(bronze) FROM table_name_89 WHERE total = 4 AND silver = 1[/INST] What is the total number of bronze medals of the nation with 4 total medals and 1 silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (winner VARCHAR, date VARCHAR)
<</SYS>>
SELECT winner FROM table_name_59 WHERE date = "28 december 2007"[/INST] Who was the winner on 28 December 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (date VARCHAR, competition VARCHAR)
<</SYS>>
SELECT date FROM table_name_19 WHERE competition = "1986 fifa world cup"[/INST] What is the date of the 1986 FIFA World Cup?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (score VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT score FROM table_name_23 WHERE home_team = "cairns taipans"[/INST] what is the score when the home team is cairns taipans?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at new york jets"[/INST] Which Record has a Week smaller than 15, and an Opponent of at new york jets?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1140113_5 (race_name VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT race_name FROM table_1140113_5 WHERE circuit = "Bordeaux"[/INST] What was the name of the race in Bordeaux?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341577_44 (candidates VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT candidates FROM table_1341577_44 WHERE incumbent = "Lamar S. Smith"[/INST] Who were the candidates when Lamar S. Smith was incumbent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (points VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_92 WHERE chassis = "simtek s951"[/INST] How many points for the simtek s951 chassis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29077342_19 (points_classification VARCHAR, general_classification VARCHAR)
<</SYS>>
SELECT points_classification FROM table_29077342_19 WHERE general_classification = "Levi Leipheimer"[/INST] Name the points classification for levi leipheimer</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (record VARCHAR, arena VARCHAR, loss VARCHAR)
<</SYS>>
SELECT record FROM table_name_53 WHERE arena = "arrowhead pond of anaheim" AND loss = "bryzgalov (10–11–1)"[/INST] What is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10–11–1)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (peroutka INTEGER, others VARCHAR, electors VARCHAR)
<</SYS>>
SELECT MAX(peroutka) FROM table_name_69 WHERE others = 46 AND electors < 15[/INST] What is the highest Peroutka with 46 others, and less than 15 electors?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (location VARCHAR, result VARCHAR)
<</SYS>>
SELECT location FROM table_name_26 WHERE result = "21–16"[/INST] What is the name of the location of the game with a Result of 21–16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (team VARCHAR, rank VARCHAR, year VARCHAR)
<</SYS>>
SELECT team FROM table_name_66 WHERE rank = "3rd" AND year = 2008[/INST] Which team is ranked 3rd in 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25557556_5 (number_of_dances INTEGER, competition_finish VARCHAR)
<</SYS>>
SELECT MAX(number_of_dances) FROM table_25557556_5 WHERE competition_finish = 3[/INST] What was the number of dances for the competition finish of 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR)
<</SYS>>
SELECT surface FROM table_2215159_2 WHERE championship = "French championships"[/INST] What is the surface of the French Championships?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (studio VARCHAR, gross VARCHAR)
<</SYS>>
SELECT studio FROM table_name_49 WHERE gross = "$81,198,894"[/INST] WHAT IS THE STUDIO WITH A GROSS $81,198,894?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_157826_1 (municipality VARCHAR, county VARCHAR, population VARCHAR)
<</SYS>>
SELECT municipality FROM table_157826_1 WHERE county = "Finnmark" AND population > 6187.0[/INST] Which municipalities located in the county of Finnmark have populations bigger than 6187.0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (year VARCHAR, engine VARCHAR)
<</SYS>>
SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t"[/INST] What year was the Honda ra168e 1.5 v6 t engine used?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (segment_a VARCHAR, segment_d VARCHAR)
<</SYS>>
SELECT segment_a FROM table_name_57 WHERE segment_d = "kitchen shears"[/INST] Which segment A also has a segment D of kitchen shears?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR)
<</SYS>>
SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30"[/INST] What are all the approved treatments for the target CD30?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (name VARCHAR, regional_county_municipality VARCHAR, code VARCHAR)
<</SYS>>
SELECT name FROM table_name_9 WHERE regional_county_municipality = "d'autray" AND code < 52017[/INST] What is the name for the regional county municipality of d'autray and a code less than 52017?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR)
<</SYS>>
SELECT SUM(pts) FROM table_name_96 WHERE wins = 21 AND coach = "bruce arena"[/INST] What is the sum of points when Bruce Arena has 21 wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE climber (Points INTEGER, Country VARCHAR)
<</SYS>>
SELECT MAX(Points) FROM climber WHERE Country = "United Kingdom"[/INST] What is the maximum point for climbers whose country is United Kingdom?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (date VARCHAR, home VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT date FROM table_name_32 WHERE home = "pittsburgh" AND visitor = "boston"[/INST] What is the date of the game with pittsburgh as the home team and boston as the visitor team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR)
<</SYS>>
SELECT servedby FROM table_name_1 WHERE local_authority_[a_] = "thurrock" AND station = "ockendon"[/INST] Which Servedby has a Local authority [a ] of thurrock, and a Station of ockendon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)
<</SYS>>
SELECT MAX(matches) FROM table_name_50 WHERE team = "deccan chargers" AND strike_rate > 15.5[/INST] What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (week VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT week FROM table_name_37 WHERE attendance = "90,138"[/INST] Which week's game had an attendance of 90,138?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22517564_3 (jockey VARCHAR, trainer VARCHAR)
<</SYS>>
SELECT COUNT(jockey) FROM table_22517564_3 WHERE trainer = "Eoin Harty"[/INST] HOw many jockeys had eoin harty as a trainer</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (score VARCHAR, october VARCHAR, record VARCHAR)
<</SYS>>
SELECT score FROM table_name_73 WHERE october < 15 AND record = "2–0–0"[/INST] Which Score has an October smaller than 15, and a Record of 2–0–0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (rank VARCHAR, bronze VARCHAR, nation VARCHAR)
<</SYS>>
SELECT rank FROM table_name_96 WHERE bronze < 7 AND nation = "norway"[/INST] Where does Norway rank in total medals among countries with fewer than 7 bronzes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)
<</SYS>>
SELECT result FROM table_name_5 WHERE date = "1979-01-17"[/INST] Tell me the result for 1979-01-17</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)
<</SYS>>
SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g"[/INST] What is the value of the coin weighing 10.5 g and made of cupronickel?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (oberliga_bayern VARCHAR, season VARCHAR)
<</SYS>>
SELECT oberliga_bayern FROM table_name_24 WHERE season = "1981-82"[/INST] Which Oberliga Bayern has a Season of 1981-82?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (home VARCHAR, record VARCHAR)
<</SYS>>
SELECT home FROM table_name_13 WHERE record = "4-6-0"[/INST] What was the home team with a 4-6-0 record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (assist_pass VARCHAR, goal VARCHAR)
<</SYS>>
SELECT assist_pass FROM table_name_31 WHERE goal = "5"[/INST] Which Assist/pass has a Goal of 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (race VARCHAR, length VARCHAR)
<</SYS>>
SELECT race FROM table_name_20 WHERE length = "12 hours"[/INST] What is the race 12 hours in length?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (rank INTEGER, country VARCHAR)
<</SYS>>
SELECT MIN(rank) FROM table_name_86 WHERE country = "great britain"[/INST] What was the lowest ranking rower from Great Britain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19753079_35 (result VARCHAR, district VARCHAR)
<</SYS>>
SELECT result FROM table_19753079_35 WHERE district = "New York 8"[/INST] Name the result for new york 8</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (away_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_40 WHERE away_team = "melbourne"[/INST] How many points did the away team from Melbourne score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (money___ VARCHAR, place VARCHAR, player VARCHAR)
<</SYS>>
SELECT COUNT(money___) AS £__ FROM table_name_61 WHERE place = "t6" AND player = "ian baker-finch"[/INST] What is the total Money (£) with a Place of t6, and a Player of ian baker-finch?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (tournament VARCHAR)
<</SYS>>
SELECT 1993 FROM table_name_35 WHERE tournament = "cincinnati"[/INST] What is 1993, when Tournament is "Cincinnati"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (avg_g INTEGER, name VARCHAR, loss VARCHAR)
<</SYS>>
SELECT SUM(avg_g) FROM table_name_59 WHERE name = "josh freeman" AND loss < 134[/INST] Which Avg/G has a Name of josh freeman, and a Loss smaller than 134?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16175064_3 (season__number VARCHAR, director_s_ VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT season__number FROM table_16175064_3 WHERE director_s_ = "Donald Crombie" AND series__number = 40[/INST] What is the season number of the episode directed by Donald Crombie and the series number is 40?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (nationality VARCHAR, school_club_team VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_65 WHERE school_club_team = "barton cc (ks)"[/INST] What is the nationality of school/club team of barton cc (ks)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponents_in_the_final FROM table_name_19 WHERE outcome = "runner-up" AND date = "august 7, 2011"[/INST] Name the opponents for outcome of runner-up and date of august 7, 2011</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (Id VARCHAR)
<</SYS>>
SELECT 2010 FROM table_name_21 WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 2[/INST] What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT MAX(silver) FROM table_name_18 WHERE sport = "table tennis" AND bronze > 0[/INST] Name the highest silver for table tennis and bronze more than 0</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (date VARCHAR, opponent VARCHAR, ground VARCHAR)
<</SYS>>
SELECT date FROM table_name_58 WHERE opponent = "siena" AND ground = "home"[/INST] On what date was the game played at home against the opponent Siena?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR)
<</SYS>>
SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride"[/INST] What year was the team with the nickname pride established?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.