instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_62465 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sokn)" text, "Church Name" text, "Year Built" text, "Location of the Church" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the church that is ...
SELECT "Church Name" FROM table_62465 WHERE "Location of the Church" = 'eikefjord'
### Instruction: CREATE TABLE table_7132 ( "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 was the location of the fight ...
SELECT "Location" FROM table_7132 WHERE "Record" = '1-0'
### Instruction: CREATE TABLE table_72787 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score did the away team r...
SELECT "Away team score" FROM table_72787 WHERE "Home team" = 'Port Adelaide'
### Instruction: CREATE TABLE table_12828 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position has a time over 38.61 at the gothenburg venue? ### Re...
SELECT "Position" FROM table_12828 WHERE "Time" > '38.61' AND "Venue" = 'gothenburg'
### Instruction: CREATE TABLE table_33690 ( "Name" text, "Bullet" text, "Length" text, "Base" text, "Shoulder" text, "Neck" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the neck measurement of the gun with a shoulder measurement of 10....
SELECT "Neck" FROM table_33690 WHERE "Shoulder" = '10.688 (.420)'
### Instruction: CREATE TABLE table_25442 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in final" text, "Score in final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the amount of US open runner-up score...
SELECT COUNT("Score in final") FROM table_25442 WHERE "Championship" = 'US Open' AND "Outcome" = 'Runner-up'
### Instruction: CREATE TABLE table_204_468 ( id number, "pos" number, "no" number, "driver" text, "team" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- alex zanardi...
SELECT "no" FROM table_204_468 WHERE "pos" = 1
### Instruction: CREATE TABLE table_22381 ( "Species" text, "Common name" text, "Trinidad" text, "Tobago" text, "Bocas Is." text, "Other" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the bocas for chironius multiventris septentrionalis ...
SELECT "Bocas Is." FROM table_22381 WHERE "Species" = 'Chironius multiventris septentrionalis'
### Instruction: CREATE TABLE tryout ( cName VARCHAR, decision VARCHAR ) CREATE TABLE college ( state VARCHAR, enr VARCHAR, cName VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the state and enrollment of the colleges where have any stud...
SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
### Instruction: CREATE TABLE table_66684 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance of the game on September 18, 1965 before week 3? ### Response...
SELECT "Attendance" FROM table_66684 WHERE "Week" < '3' AND "Date" = 'september 18, 1965'
### Instruction: CREATE TABLE table_1848 ( "No." text, "Summoned" text, "Elected" text, "Assembled" text, "Dissolved" text, "1st member" text, "2nd member" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1472 was the elected when was the...
SELECT "Assembled" FROM table_1848 WHERE "Elected" = '1472'
### Instruction: CREATE TABLE table_54231 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is result of the game at Arrowhead Stadium where the loser was the K...
SELECT "Result" FROM table_54231 WHERE "Location" = 'arrowhead stadium' AND "Loser" = 'kansas city chiefs'
### Instruction: CREATE TABLE table_203_431 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the most number of points...
SELECT "score" + "score" FROM table_203_431 ORDER BY ("score" + "score") DESC LIMIT 1
### Instruction: CREATE TABLE table_28394 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined MAC" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What institution(s) are located in ...
SELECT "Institution" FROM table_28394 WHERE "Location" = 'Wilkes-Barre, Pennsylvania'
### Instruction: CREATE TABLE table_28783 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Patient Portrayer" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who directed an...
SELECT "Directed by" FROM table_28783 WHERE "Production code" = '176452'
### Instruction: CREATE TABLE table_name_10 ( copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ? ### Response...
SELECT copa_libertadores_1996 FROM table_name_10 WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors"
### Instruction: CREATE TABLE table_52426 ( "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 north melbourne was the ho...
SELECT "Away team" FROM table_52426 WHERE "Home team" = 'north melbourne'
### Instruction: CREATE TABLE table_name_16 ( player VARCHAR, draft VARCHAR, nationality VARCHAR, round VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Round of 7, a Pick larger than 187, a Nationality of united st...
SELECT player FROM table_name_16 WHERE round = "7" AND pick > 187 AND nationality = "united states" AND draft > 2000
### Instruction: CREATE TABLE table_57681 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds have an Opponent of sakae kasuya? ###...
SELECT COUNT("Round") FROM table_57681 WHERE "Opponent" = 'sakae kasuya'
### Instruction: CREATE TABLE table_42777 ( "Name" text, "Appointed" real, "Term expiration" real, "Appointing Governor" text, "Law School Attended" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who attended Columbia law school and was appointed in...
SELECT "Name" FROM table_42777 WHERE "Law School Attended" = 'columbia law school' AND "Appointed" = '2004'
### Instruction: CREATE TABLE table_3671 ( "Hand Number" real, "Prevailing Wind" text, "Player 1" text, "Player 2" text, "Player 3" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is player 1 when player 3 is South and the prevailing wind is Sou...
SELECT "Player 1" FROM table_3671 WHERE "Player 3" = 'South' AND "Prevailing Wind" = 'South'
### Instruction: CREATE TABLE table_26657 ( "District" text, "Vacator" text, "Reason for Vacancy" text, "Successor" text, "Date of successors taking office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When rudolph kleberg (d) is the successor wha...
SELECT "Date of successors taking office" FROM table_26657 WHERE "Successor" = 'Rudolph Kleberg (D)'
### Instruction: CREATE TABLE table_78344 ( "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 was the largest crowd size...
SELECT MAX("Crowd") FROM table_78344 WHERE "Venue" = 'arden street oval'
### Instruction: CREATE TABLE table_39758 ( "Office" text, "Democratic ticket" text, "Republican ticket" text, "Law Preservation ticket" text, "Socialist ticket" text, "Socialist Labor ticket" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which...
SELECT "Office" FROM table_39758 WHERE "Republican ticket" = 'daniel h. conway'
### Instruction: CREATE TABLE table_31248 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the episode that was ...
SELECT "Original air date" FROM table_31248 WHERE "Directed by" = 'Christian I. Nyby II'
### Instruction: CREATE TABLE table_69088 ( "Year" real, "Date" text, "Title" text, "Format(s)" text, "Award Description(s)" text, "Result(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title has a year later than 1986 with an album as...
SELECT "Title" FROM table_69088 WHERE "Year" > '1986' AND "Format(s)" = 'album'
### Instruction: CREATE TABLE table_12803 ( "Draft" real, "Round" real, "Pick" real, "Player" text, "Nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average round of player dave pulkkinen, who had a draft after 1969? ### Re...
SELECT AVG("Round") FROM table_12803 WHERE "Player" = 'dave pulkkinen' AND "Draft" > '1969'
### Instruction: CREATE TABLE table_42429 ( "Season" text, "Tier" real, "League" text, "Postseason" text, "European competitions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Season when league shows bundesliga, and a European competit...
SELECT "Season" FROM table_42429 WHERE "League" = 'bundesliga' AND "European competitions" = 'played korac cup'
### Instruction: CREATE TABLE table_name_36 ( average INTEGER, peak VARCHAR, finale VARCHAR, hk_viewers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the high average that has a Finale larger than 35, a HK viewers of 2.12 million, and a Peak...
SELECT MAX(average) FROM table_name_36 WHERE finale > 35 AND hk_viewers = "2.12 million" AND peak > 40
### Instruction: CREATE TABLE table_26898 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What epis...
SELECT MAX("No. in series") FROM table_26898 WHERE "Title" = 'Mean Teacher'
### Instruction: CREATE TABLE table_69092 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue has a Competition of 2008 myanmar grand royal challenge cup...
SELECT "Venue" FROM table_69092 WHERE "Competition" = '2008 myanmar grand royal challenge cup'
### Instruction: CREATE TABLE table_42613 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Unit" text, "Location" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status where the notes are possible jr s...
SELECT "Status" FROM table_42613 WHERE "Notes" = 'possible jr synonym of sapeornis'
### Instruction: CREATE TABLE table_70723 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gold medals does the country ranked higher than 2 with more than 8...
SELECT SUM("Gold") FROM table_70723 WHERE "Rank" < '2' AND "Bronze" > '8'
### Instruction: CREATE TABLE table_45293 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Opponent, when Event is 'ISCF - Southeast C...
SELECT "Opponent" FROM table_45293 WHERE "Event" = 'iscf - southeast championships'
### Instruction: CREATE TABLE table_77755 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of TDs when the Avg is larger than 8.5 and the Rec is less than 1? ...
SELECT MAX("TD's") FROM table_77755 WHERE "Avg." > '8.5' AND "Rec." < '1'
### Instruction: CREATE TABLE table_25352 ( "County" text, "Population" real, "Unemployment Rate" text, "Market Income Per Capita" text, "Poverty Rate" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status if the pover...
SELECT "Status" FROM table_25352 WHERE "Poverty Rate" = '11.4%'
### Instruction: CREATE TABLE table_72569 ( "Rank" real, "Country" text, "Overall" text, "Justice" text, "Health" text, "Education" text, "Economics" text, "Politics" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the country with...
SELECT "Country" FROM table_72569 WHERE "Health" = '91.4'
### Instruction: CREATE TABLE table_23527 ( "Pos" real, "Driver" text, "Vehicle" text, "Top 13 Time" text, "Shoot-Out Time" text, "Best Time of Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which vehicles got best time of day 1:17.17 ###...
SELECT "Vehicle" FROM table_23527 WHERE "Best Time of Day" = '1:17.17'
### Instruction: CREATE TABLE table_2005 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Year Joined" real, "Nickname" text, "Conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where...
SELECT "Location" FROM table_2005 WHERE "Conference" = 'American Athletic Conference'
### Instruction: CREATE TABLE table_52229 ( "DVD Name" text, "Released" text, "Audio" text, "Aspect Ratio" text, "Duration" text, "Number of Episodes" real, "Num of Discs" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What DVD has a time of...
SELECT "DVD Name" FROM table_52229 WHERE "Duration" = '2 hours 22 minutes'
### Instruction: CREATE TABLE table_name_22 ( attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total attendance with a Report of sd.hr, and a Score of 3 1, and a Date of 14 apr 2001? ...
SELECT SUM(attendance) FROM table_name_22 WHERE report = "sd.hr" AND score = "3–1" AND date = "14 apr 2001"
### Instruction: CREATE TABLE table_73656 ( "Team" text, "City" text, "Stadium" text, "Capacity" real, "Founded" real, "Folded" real, "History" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum folded value of the team whose...
SELECT MAX("Folded") FROM table_73656 WHERE "Stadium" = 'Fraser Field'
### Instruction: CREATE TABLE table_204_457 ( id number, "ship name" text, "desig" text, "status" text, "notes" text, "links" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the ship listed before the maryland ? ### Respon...
SELECT "ship name" FROM table_204_457 WHERE id = (SELECT id FROM table_204_457 WHERE "ship name" = 'maryland') - 1
### Instruction: CREATE TABLE table_56220 ( "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 crowd size when the...
SELECT SUM("Crowd") FROM table_56220 WHERE "Away team" = 'south melbourne'
### Instruction: CREATE TABLE table_79277 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Beohari's highest numbe...
SELECT MAX("Number of electorates (2009)") FROM table_79277 WHERE "Name" = 'beohari'
### Instruction: CREATE TABLE table_204_851 ( id number, "serial number" number, "river" text, "name" text, "area (km2)" number, "district" text, "co-ordinate" text, "altitude (m)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how man...
SELECT COUNT(*) FROM table_204_851 WHERE "district" = 'palakkad'
### Instruction: CREATE TABLE table_15538 ( "Call Sign" text, "City of License" text, "Frequency" text, "age Watt" text, "Coverage Area" text, "Founded" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the coverage area for licesne of hillsbo...
SELECT "Coverage Area" FROM table_15538 WHERE "City of License" = 'hillsboro, west virginia'
### Instruction: CREATE TABLE table_16869 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For how many players from UTEP can one calculate...
SELECT COUNT("Years for Jazz") FROM table_16869 WHERE "School/Club Team" = 'UTEP'
### Instruction: CREATE TABLE table_47991 ( "Year" real, "Network" text, "Title" text, "Notes" text, "Language" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes for the Mandarin Chinese program on CTV earlier than 2013? ### Respon...
SELECT "Notes" FROM table_47991 WHERE "Year" < '2013' AND "Language" = 'mandarin chinese' AND "Network" = 'ctv'
### Instruction: CREATE TABLE table_16939 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the Toshiba S...
SELECT "Score" FROM table_16939 WHERE "Tournament" = 'Toshiba Senior Classic'
### Instruction: CREATE TABLE table_203_338 ( id number, "#" number, "title" text, "date" text, "director" text, "story" text, "synopsis" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who directed the least number of the i...
SELECT "director" FROM table_203_338 GROUP BY "director" ORDER BY COUNT(*) LIMIT 1
### Instruction: CREATE TABLE table_45292 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Res., when Event is 'FT 6 - Full Throttle 6...
SELECT "Res." FROM table_45292 WHERE "Event" = 'ft 6 - full throttle 6'
### Instruction: CREATE TABLE table_68163 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest number of points with an Engine of climax v8, and a Year of 1966? ...
SELECT MIN("Points") FROM table_68163 WHERE "Engine" = 'climax v8' AND "Year" = '1966'
### Instruction: CREATE TABLE table_19626 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in the game played on Decem...
SELECT "Record" FROM table_19626 WHERE "Date" = 'December 2, 1984'
### Instruction: CREATE TABLE table_20129 ( "City of License /Market" text, "Station" text, "Channel TV ( DT )" text, "Years owned" text, "Current affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city of license/market has 3 (26) as...
SELECT "City of License /Market" FROM table_20129 WHERE "Channel TV ( DT )" = '3 (26)'
### Instruction: CREATE TABLE table_10215 ( "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 average Crowd has a Home ...
SELECT AVG("Crowd") FROM table_10215 WHERE "Home team" = 'south melbourne'
### Instruction: CREATE TABLE table_73792 ( "Number" real, "Name" text, "Games Played" real, "Games Started" real, "Goals" real, "Assists" real, "Points" real, "Shots" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numbers belon...
SELECT COUNT("Number") FROM table_73792 WHERE "Assists" = '10'
### Instruction: CREATE TABLE table_76217 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Johnny Palmer with a To larger than 6 Money sum? ###...
SELECT SUM("Money ( $ )") FROM table_76217 WHERE "To par" > '6' AND "Player" = 'johnny palmer'
### Instruction: CREATE TABLE table_65877 ( "World record" text, "Snatch" text, "Andrei Rybakou ( BLR )" text, "187kg" text, "Chiang Mai , Thailand" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the world record for a 187kg of 392kg? ### ...
SELECT "World record" FROM table_65877 WHERE "187kg" = '392kg'
### Instruction: CREATE TABLE table_13455 ( "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 the number of silver medals greater than 1, and bronze med...
SELECT "Nation" FROM table_13455 WHERE "Silver" > '1' AND "Bronze" = '1'
### Instruction: CREATE TABLE table_23563375_11 ( w_l VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the w/l when the final score was 2 6, 5 7, 7 6 (11 9) , 1 6? ### Response:
SELECT w_l FROM table_23563375_11 WHERE result = "2–6, 5–7, 7–6 (11–9) , 1–6"
### Instruction: CREATE TABLE table_52949 ( "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 did the team score when pl...
SELECT "Home team score" FROM table_52949 WHERE "Venue" = 'victoria park'
### Instruction: CREATE TABLE table_11885 ( "Date" text, "Opponent" text, "Score" text, "Site/Stadium" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at Lindsey Nelson Stadi...
SELECT "Opponent" FROM table_11885 WHERE "Site/Stadium" = 'lindsey nelson stadium'
### Instruction: CREATE TABLE table_76257 ( "Date From" text, "Date To" text, "Position" text, "Name" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the player from who had the position of DF, who started 2007-10-30? ### Res...
SELECT "From" FROM table_76257 WHERE "Position" = 'df' AND "Date From" = '2007-10-30'
### Instruction: CREATE TABLE table_23541 ( "Starting price" text, "Number" real, "Name" text, "Age" real, "Weight (st, lb)" text, "Jockey" text, "Trainer" text, "Owner" text, "Colours" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
SELECT "Name" FROM table_23541 WHERE "Number" = '25'
### Instruction: CREATE TABLE table_69308 ( "Name" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total decile with an Authority of state, and a Name of newfie...
SELECT SUM("Decile") FROM table_69308 WHERE "Authority" = 'state' AND "Name" = 'newfield park school'
### Instruction: CREATE TABLE table_30757 ( "No in. series" real, "No in. season" real, "Title" text, "Original air date" text, "Production Code" real, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the airdate...
SELECT "Original air date" FROM table_30757 WHERE "Production Code" = '214'
### Instruction: CREATE TABLE table_7513 ( "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is airing at 9:30 on the channel that airs Heroes at 9:00? ### Response:
SELECT "9:30" FROM table_7513 WHERE "9:00" = 'heroes'
### Instruction: CREATE TABLE table_57311 ( "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 average crowd size ...
SELECT AVG("Crowd") FROM table_57311 WHERE "Venue" = 'corio oval'
### Instruction: CREATE TABLE table_name_80 ( date INTEGER, catalog VARCHAR, label VARCHAR, region VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG? ### Response:
SELECT AVG(date) FROM table_name_80 WHERE label = "cbs" AND region = "australia" AND catalog = "sbp 241031"
### Instruction: CREATE TABLE table_41824 ( "Week" real, "Date" text, "Time (CST)" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "NFL Recap" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which week has giants st...
SELECT "Week" FROM table_41824 WHERE "Game site" = 'giants stadium'
### Instruction: CREATE TABLE table_35860 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the averae top 25 with events less than 0 ...
SELECT AVG("Top-25") FROM table_35860 WHERE "Events" < '0'
### Instruction: CREATE TABLE table_64483 ( "interval name" text, "size (steps)" real, "size (cents)" real, "just ratio" text, "just (cents)" real, "error" text, "audio" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the value of the...
SELECT "audio" FROM table_64483 WHERE "just ratio" = '21:20'
### Instruction: CREATE TABLE table_6661 ( "Tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the tournament for 2010 of grand slam tournaments ### Response:
SELECT "Tournament" FROM table_6661 WHERE "2010" = 'grand slam tournaments'
### Instruction: CREATE TABLE table_21500850_1 ( song_title VARCHAR, artist VARCHAR, genre VARCHAR, original_game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every song title for the rock genre and Guitar Hero as original game and the arti...
SELECT song_title FROM table_21500850_1 WHERE genre = "Rock" AND original_game = "Guitar Hero" AND artist = "Queens of the Stone Age"
### Instruction: CREATE TABLE table_16590 ( "Finishing position" text, "Points awarded (Platinum)" real, "Points awarded (Gold)" real, "Points awarded (Silver)" real, "Points awarded (Satellite)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How ma...
SELECT MAX("Points awarded (Platinum)") FROM table_16590 WHERE "Points awarded (Gold)" = '6'
### Instruction: CREATE TABLE table_12827 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest time for the 1995 200 metres event? ### Response...
SELECT MAX("Time") FROM table_12827 WHERE "Year" = '1995' AND "Event" = '200 metres'
### Instruction: CREATE TABLE table_23380 ( "Rank" real, "Dismissals" real, "Player" text, "Caught" real, "Stumped" real, "Matches" real, "Innings" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the least number of stumps in a game w...
SELECT MIN("Stumped") FROM table_23380 WHERE "Dismissals" = '13'
### Instruction: CREATE TABLE table_3025 ( "Conference" text, "Regular Season Winner" text, "Conference Player of the Year" text, "Conference Tournament" text, "Tournament Venue (City)" text, "Tournament Winner" text ) -- Using valid SQLite, answer the following questions for the tables provid...
SELECT "Tournament Winner" FROM table_3025 WHERE "Conference" = 'Atlantic Sun Conference'
### Instruction: CREATE TABLE table_name_38 ( score VARCHAR, player VARCHAR, money___Β£__ VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Money ( ) of 90,400, and a Country of south africa, and a Player of thomas aike...
SELECT score FROM table_name_38 WHERE money___Β£__ = "90,400" AND country = "south africa" AND player = "thomas aiken"
### Instruction: CREATE TABLE table_203_8 ( id number, "player" text, "rec." number, "yards" number, "avg." number, "td's" number, "long" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many touchdowns did anthony hines and boo williams...
SELECT SUM("td's") FROM table_203_8 WHERE "player" IN ('anthony hines', 'boo williams')
### Instruction: CREATE TABLE table_204_475 ( id number, "home team" text, "score" text, "away team" text, "date" text, "agg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team scored higher as the home team , ayr united or morton ? ###...
SELECT "home team" FROM table_204_475 WHERE "home team" IN ('ayr united', 'morton') ORDER BY "score" DESC LIMIT 1
### Instruction: CREATE TABLE table_10259 ( "Rank" real, "Mountain Pass" text, "State" text, "Elevation" text, "Route" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the route that has a rank higher than 63, and Separation Summit as its moun...
SELECT SUM("Route") FROM table_10259 WHERE "Rank" > '63' AND "Mountain Pass" = 'separation summit'
### Instruction: CREATE TABLE table_204_612 ( id number, "draft order\nround" number, "draft order\nchoice" number, "player" text, "position" text, "height" text, "weight" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wh...
SELECT "player" FROM table_204_612 ORDER BY "draft order\nchoice" LIMIT 1
### Instruction: CREATE TABLE table_204_841 ( id number, "no." number, "temple" text, "honzon (main image)" text, "city/town/village" text, "prefecture" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last city/town/village listed in ...
SELECT "city/town/village" FROM table_204_841 ORDER BY "no." DESC LIMIT 1
### Instruction: CREATE TABLE table_22336 ( "Eliminated" real, "Wrestler" text, "Entered" real, "Eliminated by" text, "Method of elimination" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time of the match where Chris ...
SELECT "Time" FROM table_22336 WHERE "Eliminated by" = 'Chris Jericho'
### Instruction: CREATE TABLE table_57977 ( "Team" text, "Games Played" real, "Wins" real, "Losses" real, "Ties" real, "Goals For" real, "Goals Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total wins with less than 21 ...
SELECT SUM("Wins") FROM table_57977 WHERE "Goals Against" < '21'
### Instruction: CREATE TABLE table_53881 ( "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 was the crowd size when th...
SELECT "Crowd" FROM table_53881 WHERE "Home team" = 'hawthorn'
### Instruction: CREATE TABLE table_54911 ( "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. -- Which Player has a PI GP over 0 and a Rd # of 1? ### Response:
SELECT "Player" FROM table_54911 WHERE "Pl GP" > '0' AND "Rd #" = '1'
### Instruction: CREATE TABLE table_13655 ( "Year" real, "Champion" text, "Score" text, "Runner-up" text, "Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Score of the Year larger than 2004 and a Runner-up of northeastern? ### Respo...
SELECT "Score" FROM table_13655 WHERE "Year" > '2004' AND "Runner-up" = 'northeastern'
### Instruction: CREATE TABLE table_name_70 ( total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Total that has a Gold of 0, when the rank is less than 16, the nati...
SELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = "georgia" AND bronze > 2
### Instruction: CREATE TABLE table_34225 ( "Team" text, "Games" real, "Drawn" real, "Lost" real, "Points Difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games does team Czechoslovakia have that had a drawn gre...
SELECT MAX("Games") FROM table_34225 WHERE "Team" = 'czechoslovakia' AND "Drawn" > '0'
### Instruction: CREATE TABLE table_52610 ( "Year" real, "Theme" text, "Artist" text, "Mintage" real, "Issue Price" real, "Special Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average year for a coin that had a mintage smal...
SELECT AVG("Year") FROM table_52610 WHERE "Mintage" < '10,000'
### Instruction: CREATE TABLE table_59578 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did home team sunderland play on 23 january 1982? ### Response:
SELECT "Away team" FROM table_59578 WHERE "Date" = '23 january 1982' AND "Home team" = 'sunderland'
### Instruction: CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) CREATE TABLE movie ( mid number, title text, year number, director text ) -- Using valid SQLite, answer the following questions for t...
SELECT title FROM movie WHERE director = 'James Cameron' AND year > 2000
### Instruction: CREATE TABLE table_26402 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people directed...
SELECT COUNT("Directed by") FROM table_26402 WHERE "Title" = 'Through The Looking Glass'
### Instruction: CREATE TABLE table_26420 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of surfaces for 4-6, 2-6 ...
SELECT COUNT("Surface") FROM table_26420 WHERE "Score" = '4-6, 2-6'
### Instruction: CREATE TABLE table_23214 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On how many different dates did schools...
SELECT COUNT("Joined") FROM table_23214 WHERE "Location" = 'Chestnut Hill, Massachusetts'
### Instruction: CREATE TABLE table_19548 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the college/junior club team for pick ...
SELECT "College/junior/club team" FROM table_19548 WHERE "Pick #" = '63'
### Instruction: CREATE TABLE table_10894 ( "Manufacturer" text, "Type" text, "Quantity" real, "LMMR Name" text, "GWR No." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain? ...
SELECT "Manufacturer" FROM table_10894 WHERE "Quantity" = '1' AND "LMMR Name" = 'great mountain'