instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_12753 ( "Season" real, "Winners" text, "Total wins" real, "Runners-up" text, "Third-place" text, "Number of clubs" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the season with 8 clubs and ...
SELECT SUM("Season") FROM table_12753 WHERE "Number of clubs" = '8' AND "Runners-up" = 'shanghai'
### Instruction: CREATE TABLE table_31363 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "High rebounds" FROM table_31363 WHERE "Team" = 'Mount St. Mary''s'
### Instruction: CREATE TABLE inst ( instid number, name text, country text ) CREATE TABLE authors ( authid number, lname text, fname text ) CREATE TABLE papers ( paperid number, title text ) CREATE TABLE authorship ( authid number, instid number, paperid number, autho...
SELECT fname FROM authors WHERE lname = "Ueno"
### Instruction: CREATE TABLE table_44835 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number in attendance at Dowdy-Ficklen stadium Greenville, NC, and the oppon...
SELECT "Attendance" FROM table_44835 WHERE "Site" = 'dowdy-ficklen stadium • greenville, nc' AND "Opponent" = 'ohio'
### Instruction: CREATE TABLE table_20057 ( "Position" real, "Team" text, "Points" real, "Played" real, "Won" real, "Drawn" real, "Lost" real, "For" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
SELECT "Difference" FROM table_20057 WHERE "Drawn" > '2.0'
### Instruction: CREATE TABLE table_11294 ( "Parties and voter communities" text, "% 2006" real, "Seats 2006" real, "% 2001" real, "Seats 2001" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- None of the communities listed has a percentage smaller th...
SELECT COUNT("Seats 2001") FROM table_11294 WHERE "% 2006" < '8.6'
### Instruction: CREATE TABLE table_203_576 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many countries won more silver medals than j...
SELECT COUNT("nation") FROM table_203_576 WHERE "silver" > (SELECT "silver" FROM table_203_576 WHERE "nation" = 'japan')
### Instruction: CREATE TABLE table_58618 ( "Polling Firm" text, "Polling Dates" text, "Bob Chiarelli" text, "Alex Munter" text, "Larry O'Brien" text, "Terry Kilrea (dropped out)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the polli...
SELECT "Polling Dates" FROM table_58618 WHERE "Larry O'Brien" = '37%'
### Instruction: CREATE TABLE table_46852 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above....
SELECT SUM("Position") FROM table_46852 WHERE "Points 1" = '61'
### Instruction: CREATE TABLE table_203_873 ( id number, "model name" text, "length" text, "width" text, "height" text, "riders" number, "capacity" number, "description" text, "portable" text, "notes" number ) -- Using valid SQLite, answer the following questions for the tables...
SELECT "riders" FROM table_203_873 WHERE "model name" = "surf's up"
### Instruction: CREATE TABLE table_42133 ( "Season" real, "Date" text, "Location" text, "Driver" text, "Chassis" text, "Engine" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Seasons, when the Team is Penske ...
SELECT SUM("Season") FROM table_42133 WHERE "Team" = 'penske racing' AND "Date" = 'october 3'
### Instruction: CREATE TABLE table_31223 ( "Skip (Club)" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ...
SELECT MIN("PA") FROM table_31223 WHERE "PF" = '73'
### Instruction: CREATE TABLE table_41675 ( "Poll Source" text, "Date(s) administered" text, "Sample size" real, "Margin of Error" text, "Mel Martinez (R)" text, "Betty Castor (D)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the perce...
SELECT "Mel Martinez (R)" FROM table_41675 WHERE "Sample size" = '800'
### Instruction: CREATE TABLE table_73359 ( "Outcome" text, "Year" real, "Championship (Titles/Finals)" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
SELECT COUNT("Outcome") FROM table_73359 WHERE "Partner" = 'Paul McNamee'
### Instruction: CREATE TABLE table_name_87 ( vertical_relief__ft_ INTEGER, peak_name VARCHAR, elevation__ft_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean vertical relief in feet when the Peak Name is Tower near mead wood road entrance...
SELECT AVG(vertical_relief__ft_) FROM table_name_87 WHERE peak_name = "tower near mead wood road entrance" AND elevation__ft_ > 1 OFFSET 410
### Instruction: CREATE TABLE table_28803 ( "English" text, "Galician ( Official )" text, "Galician ( Reintegrationist )" text, "Portuguese" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Galician (reintegrationist) word ...
SELECT "Galician ( Reintegrationist )" FROM table_28803 WHERE "Galician ( Official )" = 'Bo día / Bos días'
### Instruction: CREATE TABLE table_203_16 ( id number, "name" text, "took office" text, "left office" text, "party" text, "district residence" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many terms did a republican serv...
SELECT COUNT(*) FROM table_203_16 WHERE "party" = 'republican' AND id < (SELECT id FROM table_203_16 WHERE "name" = 'wes watkins')
### Instruction: CREATE TABLE table_56445 ( "Rank" real, "Movie" text, "Year" real, "Studio(s)" text, "Opening Day Net Gross" real, "Day of Week" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the opening day net gross a Reliance Enterta...
SELECT SUM("Opening Day Net Gross") FROM table_56445 WHERE "Studio(s)" = 'reliance entertainment' AND "Year" < '2011'
### Instruction: CREATE TABLE Songs ( Title VARCHAR, SongId VARCHAR ) CREATE TABLE Performance ( bandmate VARCHAR, SongId VARCHAR ) CREATE TABLE Band ( id VARCHAR, firstname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find all the songs ...
SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = "Marianne"
### Instruction: CREATE TABLE table_30933 ( "Series #" real, "Production Code" real, "Title" text, "Directed by" text, "Written by" text, "United States Original Airdate" text, "Canada Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
SELECT MAX("Series #") FROM table_30933 WHERE "Title" = 'The Ruff Ruff Bunch'
### Instruction: CREATE TABLE table_203_656 ( id number, "date" text, "opponent" text, "venue" text, "result" text, "scorers" text, "report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many combined goals were scored on november 15 , ...
SELECT "result" + "result" FROM table_203_656 WHERE "date" = 'november 15, 2008 - 20:30'
### Instruction: CREATE TABLE table_28668 ( "District" real, "Incumbent" text, "Party" text, "Elected" text, "Status" text, "2010 Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times were the 2010 candidates Judson hill (r) ...
SELECT COUNT("Elected") FROM table_28668 WHERE "2010 Candidates" = 'Judson Hill (R) unopposed'
### Instruction: CREATE TABLE table_204_552 ( id number, "rank" number, "cyclist" text, "team" text, "laps\ndown" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the competitor that finished above jessie maclean ? ### Re...
SELECT "cyclist" FROM table_204_552 WHERE "rank" = (SELECT "rank" FROM table_204_552 WHERE "cyclist" = 'jessie maclean') - 1
### Instruction: CREATE TABLE table_50445 ( "Scorer" text, "Club" text, "League goals" text, "FA Cup goals" text, "League Cup goals" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of league goals when Bill Dearde...
SELECT "League goals" FROM table_50445 WHERE "League Cup goals" = '0' AND "Scorer" = 'bill dearden'
### Instruction: CREATE TABLE table_203_731 ( id number, "pos." text, "city" text, "population\n(ab)" number, "surface\n(km2)" number, "density\n(ab/km2)" number, "altitude\n(mslm)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is th...
SELECT "density\n(ab/km2)" FROM table_203_731 ORDER BY "pos." DESC LIMIT 1
### Instruction: CREATE TABLE table_43121 ( "Team" text, "Country" text, "Home" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the lead on the Europe team that has a Liudmila Priv...
SELECT "Lead" FROM table_43121 WHERE "Team" = 'europe' AND "Skip" = 'liudmila privivkova'
### Instruction: CREATE TABLE table_69223 ( "Edition" text, "Round" text, "Date" text, "Partnering" text, "Against" text, "Surface" text, "Opponents" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was played against wi...
SELECT "Against" FROM table_69223 WHERE "Result" = '3–6, 2–6'
### Instruction: CREATE TABLE table_17867 ( "#" real, "Episode" text, "Writer" text, "Director" text, "Viewers(millions)" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total number of episodes both directed b...
SELECT COUNT("#") FROM table_17867 WHERE "Director" = 'Tom Hooper' AND "Viewers(millions)" = '8.08'
### Instruction: CREATE TABLE table_39163 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Rider of the LCR Honda 600CC Team with a Time of 59 22.80? ### Response:
SELECT "Rider" FROM table_39163 WHERE "Team" = 'lcr honda 600cc' AND "Time" = '59’ 22.80'
### Instruction: CREATE TABLE region ( region_id number, region_code text, region_name text ) CREATE TABLE affected_region ( region_id number, storm_id number, number_city_affected number ) CREATE TABLE storm ( storm_id number, name text, dates_active text, max_speed number, ...
SELECT COUNT(*) FROM region
### Instruction: CREATE TABLE table_16264 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
SELECT "Original air date" FROM table_16264 WHERE "Title" = 'Felonious Monk'
### Instruction: CREATE TABLE table_61037 ( "Date" text, "Name" text, "Nationality" text, "Tonnage (GRT)" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Fate has a Tonnage (GRT) larger than 1,352, and a Name of lavington court? ...
SELECT "Fate" FROM table_61037 WHERE "Tonnage (GRT)" > '1,352' AND "Name" = 'lavington court'
### Instruction: CREATE TABLE table_train_190 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "diabetic" string, "acute_diabetic_complications" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- pregnant o...
SELECT * FROM table_train_190 WHERE pregnancy_or_lactation = 1 AND gender = 'female'
### Instruction: CREATE TABLE table_name_10 ( lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lambda functio...
SELECT lambda_functions FROM table_name_10 WHERE pseudorandom_number_generation = "no" AND s_default_argument = "no" AND functions = "no" AND eval_function = "no"
### Instruction: CREATE TABLE table_79833 ( "Place" real, "Team" text, "Played" real, "Draw" real, "Lost" real, "Goals Scored" real, "Goals Conceded" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the place that Onc...
SELECT AVG("Place") FROM table_79833 WHERE "Team" = 'once municipal' AND "Lost" > '3'
### Instruction: CREATE TABLE table_name_10 ( nominated_by_the_taoiseach INTEGER, agricultural_panel VARCHAR, administrative_panel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average number of members Nominated by the Taoiseach, when the ...
SELECT AVG(nominated_by_the_taoiseach) FROM table_name_10 WHERE agricultural_panel < 1 AND administrative_panel < 0
### Instruction: CREATE TABLE table_17030 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
SELECT MIN("No. in season") FROM table_17030 WHERE "Directed by" = 'Anthony Hemingway'
### Instruction: CREATE TABLE table_25042 ( "Rank MidEast" real, "Rank Asia" real, "Rank World" real, "Country" text, "2011 GDP (PPP) billions of USD" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 2011 GDP (PPP) billions of USD does Israel hav...
SELECT "2011 GDP (PPP) billions of USD" FROM table_25042 WHERE "Country" = 'Israel'
### Instruction: CREATE TABLE table_27287 ( "Model" text, "Power" text, "Torque" text, "Gearbox" text, "Weight" text, "Seating" text, "Brakes" text, "Wheels" text, "Tyres" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ge...
SELECT "Gearbox" FROM table_27287 WHERE "Torque" = 'Torque'
### Instruction: CREATE TABLE table_203_451 ( id number, "year" number, "film" text, "role" text, "language" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what other movies was aggarwal in the same year as her role in veera ? ##...
SELECT "film" FROM table_203_451 WHERE "film" <> 'veera' AND "year" = (SELECT "year" FROM table_203_451 WHERE "film" = 'veera')
### Instruction: CREATE TABLE table_33579 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue when the away...
SELECT "Venue" FROM table_33579 WHERE "Away team score" = '11.20 (86)'
### Instruction: CREATE TABLE table_42693 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points have a differe...
SELECT COUNT("Points") FROM table_42693 WHERE "Difference" = '23' AND "Drawn" < '5'
### Instruction: CREATE TABLE table_37555 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Partner has a Score of 6 7, 7 6, 6 7? ...
SELECT "Partner" FROM table_37555 WHERE "Score" = '6–7, 7–6, 6–7'
### Instruction: CREATE TABLE table_48257 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was Silva's Partner in the match with a Score of...
SELECT "Partner" FROM table_48257 WHERE "Score" = '6–3, 7–6 (7–3)'
### Instruction: CREATE TABLE table_20592988_1 ( platelet_count VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of platelet counts for conditions where bleeding time is prolong...
SELECT platelet_count FROM table_20592988_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Unaffected"
### Instruction: CREATE TABLE table_38303 ( "Rank" text, "Film" text, "Director(s)" text, "Country" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country did the Director(s) of kota nagaoka come from and win 300,000? ### Respo...
SELECT "Country" FROM table_38303 WHERE "Prize" = '¥300,000' AND "Director(s)" = 'kota nagaoka'
### Instruction: CREATE TABLE table_19967 ( "Province" text, "Prefecture" text, "County" text, "Tujia Population" real, "% of Chinas Tujia Population" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If 0.52% is the percentage of the population in chi...
SELECT COUNT("Tujia Population") FROM table_19967 WHERE "% of Chinas Tujia Population" = '0.52%'
### Instruction: CREATE TABLE table_38607 ( "Team" text, "Recopa 1995" text, "Supercopa 1995" text, "CONMEBOL 1995" text, "Copa Libertadores 1996" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has a round 1 CONMEBOL 1995? ### Response:...
SELECT "Team" FROM table_38607 WHERE "CONMEBOL 1995" = 'round 1'
### Instruction: CREATE TABLE workshop ( workshop_id number, date text, venue text, name text ) CREATE TABLE acceptance ( submission_id number, workshop_id number, result text ) CREATE TABLE submission ( submission_id number, scores number, author text, college text ) -- ...
SELECT date, venue FROM workshop ORDER BY venue
### Instruction: CREATE TABLE table_203_525 ( id number, "car" text, "engine" text, "compression" text, "power" text, "torque" text, "turbo" text, "stock boost" text, "turbine" text, "compressor" text ) -- Using valid SQLite, answer the following questions for the tables provid...
SELECT "car" FROM table_203_525 WHERE "stock boost" > 7
### Instruction: CREATE TABLE table_54555 ( "Rd #" real, "Pick #" real, "Player" text, "Team (League)" text, "Reg GP" real, "Pl GP" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average PI GP when the pick is smaller tha 70 and the ...
SELECT AVG("Pl GP") FROM table_54555 WHERE "Reg GP" = '97' AND "Pick #" < '70'
### Instruction: CREATE TABLE table_17297 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Date" FROM table_17297 WHERE "High rebounds" = 'Chris Bosh (14)'
### Instruction: CREATE TABLE table_54571 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the Away team score was 14.1...
SELECT "Date" FROM table_54571 WHERE "Away team score" = '14.10 (94)'
### Instruction: CREATE TABLE table_72550 ( "PowerShell (Cmdlet)" text, "PowerShell (Alias)" text, "CMD.EXE / COMMAND.COM" text, "Unix shell" text, "Description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many values of powershell (cmdlet) a...
SELECT COUNT("PowerShell (Cmdlet)") FROM table_72550 WHERE "Unix shell" = 'env, export, set, setenv'
### Instruction: CREATE TABLE table_203_283 ( id number, "#" number, "name" text, "strike tone\n(st-1/16)" text, "weight\n(kg)" number, "diameter\n(mm)" number, "inscription" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many bells weig...
SELECT COUNT("name") FROM table_203_283 WHERE "weight\n(kg)" < 1000
### Instruction: CREATE TABLE table_19732 ( "Name" text, "Years" text, "League" real, "FA Cup" real, "League Cup" real, "Europe" real, "Other a" real, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many values of Other A corr...
SELECT COUNT("Other a") FROM table_19732 WHERE "Name" = 'Tommy Johnson Category:Articles with hCards'
### Instruction: CREATE TABLE table_32652 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest crowd when ...
SELECT MAX("Crowd") FROM table_32652 WHERE "Home team score" = '14.12 (96)'
### Instruction: CREATE TABLE table_45204 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provi...
SELECT COUNT("Game") FROM table_45204 WHERE "Opponent" = 'washington'
### Instruction: CREATE TABLE table_61070 ( "Match Day" real, "Date" text, "Opponent" text, "Venue" text, "Score" text, "Attendance" real, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on 12 May, when the match...
SELECT "Opponent" FROM table_61070 WHERE "Match Day" > '33' AND "Date" = '12 may'
### Instruction: CREATE TABLE table_42817 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Away captain that played on 12,13,14 Jun 1902 which resulted in a dr...
SELECT "Away captain" FROM table_42817 WHERE "Result" = 'draw' AND "Date" = '12,13,14 jun 1902'
### Instruction: CREATE TABLE table_25092 ( "Year" real, "Network" text, "Race caller" text, "s Host" text, "s Analyst" text, "Reporters" text, "Trophy presentation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number for ra...
SELECT COUNT("Race caller") FROM table_25092 WHERE "Trophy presentation" = 'Bob Costas and Charlsie Cantey'
### Instruction: CREATE TABLE table_58682 ( "County" text, "Per capita income" text, "Median household income" text, "Median family income" text, "Population" real, "Number of households" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is th...
SELECT MAX("Population") FROM table_58682 WHERE "County" = 'baraga' AND "Number of households" < '3,444'
### Instruction: CREATE TABLE table_54550 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has a home team scor...
SELECT "Away team score" FROM table_54550 WHERE "Home team score" = '17.12 (114)'
### Instruction: CREATE TABLE table_62511 ( "Date" text, "Venue" text, "Opponent" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location for the match held on April 11, 2007, which ended with a score of 0-0...
SELECT "Venue" FROM table_62511 WHERE "Score" = '0-0' AND "Date" = 'april 11, 2007'
### Instruction: CREATE TABLE table_10741 ( "Player" text, "Team" text, "Date" text, "Opposition" text, "Game" text, "D\u00e9but" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the game whose team is Waterford and debuted lat...
SELECT "Game" FROM table_10741 WHERE "Team" = 'waterford' AND "D\u00e9but" > '1995'
### Instruction: CREATE TABLE table_1628 ( "Series" text, "Title" text, "Broadcasts (TV) 1" real, "Episodes (TV+extra) 2" text, "Directors" text, "Aired in Japan 3" text, "US Release Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When ...
SELECT "US Release Date" FROM table_1628 WHERE "Title" = 'Galaxy Angel AA'
### Instruction: CREATE TABLE table_204_175 ( id number, "pos" text, "no." number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "laps led" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided a...
SELECT "laps" FROM table_204_175 WHERE "driver" = 'pippa mann'
### Instruction: CREATE TABLE table_38244 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for opponents...
SELECT "Score" FROM table_38244 WHERE "Opponents in the final" = 'nathan healey igor kunitsyn'
### Instruction: CREATE TABLE table_40462 ( "Rank by average" text, "Place" text, "Perfect 40s" text, "Total" text, "Number of dances" text, "Season" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average score fo...
SELECT "Average" FROM table_40462 WHERE "Place" = '6th' AND "Total" = '165'
### Instruction: CREATE TABLE table_26594 ( "County" text, "Coakley %" text, "Coakley votes" real, "Brown %" text, "Brown votes" real, "Kennedy %" text, "Kennedy votes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage did kenne...
SELECT "Kennedy %" FROM table_26594 WHERE "Coakley %" = '37.9%'
### Instruction: CREATE TABLE table_49179 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of points with less than 1 draw and more than ...
SELECT AVG("Points") FROM table_49179 WHERE "Drawn" < '1' AND "Name" = 'ev aich' AND "Lost" > '11'
### Instruction: CREATE TABLE table_13210 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of ...
SELECT "Nation" FROM table_13210 WHERE "Silver" < '16' AND "Bronze" > '6' AND "Gold" = '2'
### Instruction: CREATE TABLE table_73268 ( "Gas name" text, "Chemical formula" text, "Lifetime (years)" text, "20-yr" text, "100-yr" text, "500-yr" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 100 year when 500 year is 153? ### ...
SELECT "100-yr" FROM table_73268 WHERE "500-yr" = '153'
### Instruction: CREATE TABLE table_22898 ( "land formation" text, "area, km\u00b2" real, "of which currently forests, km\u00b2" real, "% forests" text, "habitat type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 312 is of which currently for...
SELECT "land formation" FROM table_22898 WHERE "of which currently forests, km\u00b2" = '312'
### Instruction: CREATE TABLE table_204_135 ( id number, "position" number, "club" text, "played" number, "points" number, "wins" number, "draws" number, "losses" number, "goals for" number, "goals against" number, "goal difference" number ) -- Using valid SQLite, answer th...
SELECT "club" FROM table_204_135 WHERE "position" = 1
### Instruction: CREATE TABLE Courses ( course_id VARCHAR, course_name VARCHAR ) CREATE TABLE Student_Course_Enrolment ( date_of_enrolment VARCHAR, course_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of enrollment of the course...
SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish"
### Instruction: CREATE TABLE table_23206 ( "Sd" real, "Rk" real, "Player" text, "Points" real, "Points defending" real, "Points won" real, "New points" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most points f...
SELECT MAX("Points") FROM table_23206 WHERE "Status" = 'Champion, won in the final against Amélie Mauresmo'
### Instruction: CREATE TABLE table_59206 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the lowest Grid which has a Bike of ducati 1098 rs 08 and a Rider of max biaggi? ### Respon...
SELECT MIN("Grid") FROM table_59206 WHERE "Bike" = 'ducati 1098 rs 08' AND "Rider" = 'max biaggi'
### Instruction: CREATE TABLE roller_coaster ( Roller_Coaster_ID int, Name text, Park text, Country_ID int, Length real, Height real, Speed text, Opened text, Status text ) CREATE TABLE country ( Country_ID int, Name text, Population int, Area int, Languages text...
SELECT Length, Height FROM roller_coaster
### Instruction: CREATE TABLE table_15221 ( "Team" text, "Car(s)" text, "Driver(s)" text, "Primary Sponsor(s)" text, "Owner(s)" text, "Crew Chief" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What crew chief has an owner name Jack Roush and dr...
SELECT "Crew Chief" FROM table_15221 WHERE "Owner(s)" = 'jack roush' AND "Driver(s)" = 'greg biffle'
### Instruction: CREATE TABLE table_36819 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what tornament had the scores 6 7, 6 2...
SELECT "Tournament" FROM table_36819 WHERE "Score in the final" = '6–7, 6–2, 6–4'
### Instruction: CREATE TABLE table_39782 ( "Index" text, "Name" text, "Song" text, "Group Song" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0? ### Response:
SELECT "Song" FROM table_39782 WHERE "Score" = '6.5 + 6.0 + 6.0 + 5.5 = 24.0'
### Instruction: CREATE TABLE table_46596 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average round for the ...
SELECT AVG("Round") FROM table_46596 WHERE "Method" = 'tko (punches and elbows)'
### Instruction: CREATE TABLE table_54747 ( "Father" text, "Birth" text, "Marriage" text, "Became Queen" text, "Ceased to be Queen" text, "Death" text, "Spouse" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the birth date of the per...
SELECT "Birth" FROM table_54747 WHERE "Death" = '18 october 1335'
### Instruction: CREATE TABLE table_29875 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT COUNT("Score") FROM table_29875 WHERE "High points" = 'Al Jefferson (24)'
### Instruction: CREATE TABLE table_39038 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight (kg)" real, "Time" text, "Jockey" text, "Winner/2nd" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
SELECT "Venue" FROM table_39038 WHERE "Group" = 'g1'
### Instruction: CREATE TABLE table_48881 ( "SECR No." real, "SR No." real, "BR No." real, "Builder" text, "Date Delivered" text, "Date Withdrawn" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Beyer Peacock's SR number with a SECR numbe...
SELECT AVG("SR No.") FROM table_48881 WHERE "Builder" = 'beyer peacock' AND "SECR No." = '769'
### Instruction: CREATE TABLE table_204_792 ( id number, "#" number, "date" text, "opponent" text, "score" text, "win" text, "loss" text, "save" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- w...
SELECT "#" FROM table_204_792 WHERE "attendance" < 14000
### Instruction: CREATE TABLE table_11293 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the week of the December 9, 1961 game with an attendance larger than 41,268? ...
SELECT COUNT("Week") FROM table_11293 WHERE "Date" = 'december 9, 1961' AND "Attendance" > '41,268'
### Instruction: CREATE TABLE table_42486 ( "Rank" real, "Province" text, "Population" real, "Area" real, "Density" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Density that has a Population larger than 290,458, and an Area of 91.6? ...
SELECT SUM("Density") FROM table_42486 WHERE "Population" > '290,458' AND "Area" = '91.6'
### Instruction: CREATE TABLE table_49189 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Opponent of the Banja Luka Tournament with a Score of 4 6, 4 6? ### Res...
SELECT "Opponent" FROM table_49189 WHERE "Score" = '4–6, 4–6' AND "Tournament" = 'banja luka'
### Instruction: CREATE TABLE table_64180 ( "Position" real, "Gymnast" text, "A Score" real, "B Score" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position for Oleksandr Vorobiov ( ukr ), when the total was larger than 1...
SELECT COUNT("Position") FROM table_64180 WHERE "Gymnast" = 'oleksandr vorobiov ( ukr )' AND "Total" > '16.25'
### Instruction: CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) -- Using valid SQLite, answer the following questions for t...
SELECT AVG(age), MIN(age) FROM captain GROUP BY Class
### Instruction: CREATE TABLE table_26871 ( "Rank" real, "Country" text, "Disposable USD 2011" real, "Disposable USD growth" real, "Compulsory deduction" text, "Gross USD 2011" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the rank is 26, wh...
SELECT "Disposable USD growth" FROM table_26871 WHERE "Rank" = '26'
### Instruction: CREATE TABLE table_51752 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the home team scored 25.23...
SELECT "Date" FROM table_51752 WHERE "Home team score" = '25.23 (173)'
### Instruction: CREATE TABLE table_3418 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
SELECT "F/Laps" FROM table_3418 WHERE "Races" = '14'
### Instruction: CREATE TABLE table_204_266 ( id number, "#" number, "event year" number, "season" text, "flag bearer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the flag bearer directly before zviadauri . ### Response:
SELECT "flag bearer" FROM table_204_266 WHERE "event year" < (SELECT "event year" FROM table_204_266 WHERE "flag bearer" = 'zurab zviadauri') ORDER BY "event year" DESC LIMIT 1
### Instruction: CREATE TABLE table_66809 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For all countries with 7 bronze medals and a total number of medals less th...
SELECT SUM("Silver") FROM table_66809 WHERE "Bronze" = '7' AND "Total" < '13'
### Instruction: CREATE TABLE table_25155 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the par...
SELECT COUNT("Partner") FROM table_25155 WHERE "Opponents in the final" = 'Forget Leconte'
### Instruction: CREATE TABLE table_26364 ( "1 January 2010" text, "DF" text, "Adam Hinshelwood" text, "Aldershot Town" text, "Wycombe Wanderers" text, "Undisclosed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the undisclosed when Wyc...
SELECT "Undisclosed" FROM table_26364 WHERE "Wycombe Wanderers" = 'Unattached'