instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_74607 ( "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 home team score fo...
SELECT "Home team score" FROM table_74607 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_52934 ( "Peak" text, "Height (m)" real, "Prom. (m)" real, "Class" text, "Parent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the lowest height for class of hewitt and prom less than 148 ### Response:
SELECT MIN("Height (m)") FROM table_52934 WHERE "Class" = 'hewitt' AND "Prom. (m)" < '148'
### Instruction: CREATE TABLE table_12209 ( "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 location of the Conqui...
SELECT "Location" FROM table_12209 WHERE "Event" = 'conquista fight 1'
### Instruction: CREATE TABLE table_51043 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when the attendance was 4...
SELECT "Result" FROM table_51043 WHERE "Attendance" = '46,456'
### Instruction: CREATE TABLE table_30202 ( "No." real, "Title" text, "Lyricist" text, "Composer" text, "Arrangement" text, "Sound Engineer" text, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numbers are there for kam wa7...
SELECT COUNT("No.") FROM table_30202 WHERE "Title" = 'Kam Wa7ed Fina'
### Instruction: CREATE TABLE table_203_253 ( id number, "model" text, "frame" text, "years mfg'd" text, "caliber(s)" text, "production" text, "barrel" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last year o...
SELECT MAX("years mfg'd") FROM table_203_253
### Instruction: CREATE TABLE table_name_97 ( name VARCHAR, listed VARCHAR, cerclis_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What name was listed 02/21/1990, and a CERCLIS ID of scd980844005? ### Response:
SELECT name FROM table_name_97 WHERE listed = "02/21/1990" AND cerclis_id = "scd980844005"
### Instruction: CREATE TABLE table_69258 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of gold medals won by nations that won 2 silver medals but fewer than...
SELECT SUM("Gold") FROM table_69258 WHERE "Silver" = '2' AND "Total" < '7'
### Instruction: CREATE TABLE candidate ( people_id VARCHAR, support_rate INTEGER, oppose_rate VARCHAR ) CREATE TABLE people ( name VARCHAR, people_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of the candidates whose support ...
SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t2.support_rate < t2.oppose_rate
### Instruction: CREATE TABLE table_57183 ( "Round" real, "Pick" real, "Player" text, "Pos." text, "Nationality" text, "Team" text, "School/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds have School/club team of pa...
SELECT SUM("Round") FROM table_57183 WHERE "School/club team" = 'pan american'
### Instruction: CREATE TABLE table_22382 ( "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 trindad for yellow-bellied puffing snake ### Resp...
SELECT "Trinidad" FROM table_22382 WHERE "Common name" = 'Yellow-bellied puffing snake'
### Instruction: CREATE TABLE table_29025 ( "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. -- What was the position of the player who pla...
SELECT "Position" FROM table_29025 WHERE "NHL team" = 'New York Islanders'
### Instruction: CREATE TABLE table_52813 ( "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. -- Where did st kilda play as the ...
SELECT "Venue" FROM table_52813 WHERE "Away team" = 'st kilda'
### Instruction: CREATE TABLE table_54263 ( "Railway" text, "Loco name" text, "Build date" real, "Wheels" text, "Disposal" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which railway had the earliest build date and a disposal of 'Scrapped 1941? #...
SELECT MIN("Build date") FROM table_54263 WHERE "Disposal" = 'scrapped 1941'
### Instruction: CREATE TABLE table_203_285 ( id number, "year" number, "location" text, "gold" text, "silver" text, "bronze" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where were the championships held before the 1962 prague championships ?...
SELECT "location" FROM table_203_285 WHERE "year" < 1962 ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_27204 ( "Player" text, "Minutes" real, "Field Goals" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many minutes were p...
SELECT MIN("Minutes") FROM table_27204 WHERE "Player" = 'Sue Bird'
### Instruction: CREATE TABLE table_39166 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Time" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance that has june 24 as t...
SELECT AVG("Attendance") FROM table_39166 WHERE "Date" = 'june 24'
### Instruction: CREATE TABLE table_15621 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many lanes have a Nationality of united states, and a Name of aaron peirsol? ### Respo...
SELECT COUNT("Lane") FROM table_15621 WHERE "Nationality" = 'united states' AND "Name" = 'aaron peirsol'
### Instruction: CREATE TABLE table_26093 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has 36102 is the attendance...
SELECT "Opponent" FROM table_26093 WHERE "Attendance" = '36102'
### Instruction: CREATE TABLE table_204_561 ( id number, "fence" number, "name" text, "jockey" text, "age" number, "handicap (st-lb)" text, "starting price" text, "fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the first fe...
SELECT "fence" FROM table_204_561 WHERE id = 1
### Instruction: CREATE TABLE table_name_47 ( best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Best dancer with the Worst dancer of Jerry Springer, a Best score of 29, and ...
SELECT best_dancer FROM table_name_47 WHERE worst_dancer = "jerry springer" AND best_score = 29 AND dance = "quickstep"
### Instruction: CREATE TABLE table_66955 ( "Year" real, "Team" text, "Chassis" text, "Engine" text, "Rank" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which engine scored 6 points and used the march 88c chassis? ### Response...
SELECT "Engine" FROM table_66955 WHERE "Points" = '6' AND "Chassis" = 'march 88c'
### Instruction: CREATE TABLE table_53899 ( "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 away team score in...
SELECT "Away team score" FROM table_53899 WHERE "Home team" = 'richmond'
### Instruction: CREATE TABLE table_name_15 ( facility_id INTEGER, city_of_license VARCHAR, erp___power_w VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Facility ID has a City of license of springfield, ma, and a ERP / Power W smaller than 230? #...
SELECT MAX(facility_id) FROM table_name_15 WHERE city_of_license = "springfield, ma" AND erp___power_w < 230
### Instruction: CREATE TABLE table_66660 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the match with a score of 3-6, 2-6? ###...
SELECT "Outcome" FROM table_66660 WHERE "Score" = '3-6, 2-6'
### Instruction: CREATE TABLE table_57353 ( "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. -- Who was the home team at Prince...
SELECT "Home team score" FROM table_57353 WHERE "Venue" = 'princes park'
### Instruction: CREATE TABLE table_58568 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the engine with rounds of 7 with geki dri...
SELECT "Engine" FROM table_58568 WHERE "Rounds" = '7' AND "Driver" = 'geki'
### Instruction: CREATE TABLE table_61751 ( "Team" text, "Outgoing manage" text, "Manner" text, "Date of vacancy" text, "Incoming manager" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the day of vacancy for...
SELECT "Date of vacancy" FROM table_61751 WHERE "Team" = 'vitória de guimarães'
### Instruction: CREATE TABLE table_name_51 ( gold INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bro...
SELECT SUM(gold) FROM table_name_51 WHERE silver > 0 AND total < 3 AND nation = "bulgaria" AND bronze < 0
### Instruction: CREATE TABLE table_32952 ( "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. -- Who was the opponent when Richm...
SELECT "Away team" FROM table_32952 WHERE "Home team" = 'richmond'
### Instruction: CREATE TABLE table_37040 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least frequency Mhz with call sign of k202...
SELECT MIN("Frequency MHz") FROM table_37040 WHERE "Call sign" = 'k202ag'
### Instruction: CREATE TABLE table_35890 ( "Date" text, "Competition" text, "Opponents" text, "Venue" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent at the League Cup competition with a score of 3-1? ### Respons...
SELECT "Opponents" FROM table_35890 WHERE "Competition" = 'league cup' AND "Score" = '3-1'
### Instruction: CREATE TABLE table_55187 ( "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 away score when th...
SELECT "Away team score" FROM table_55187 WHERE "Home team" = 'melbourne'
### Instruction: CREATE TABLE table_name_68 ( partner VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Partner which is in 1979, and Opponents in the final of heinz g nthardt bob hewitt? ### Response...
SELECT partner FROM table_name_68 WHERE date = 1979 AND opponents_in_the_final = "heinz günthardt bob hewitt"
### Instruction: CREATE TABLE table_58515 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the match on November 13, 2005? ### Resp...
SELECT "Score" FROM table_58515 WHERE "Date" = 'november 13, 2005'
### Instruction: CREATE TABLE table_60773 ( "Date" text, "Nationality / Opponent" text, "Ground" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name Nationality / Opponent on 10 january 1998? ### Response:
SELECT "Nationality / Opponent" FROM table_60773 WHERE "Date" = '10 january 1998'
### Instruction: CREATE TABLE table_78198 ( "Date" text, "Location" text, "Opponent" text, "Score" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score from the game where Algeria is the opponent at Porto-Novo? ### ...
SELECT "Score" FROM table_78198 WHERE "Opponent" = 'algeria' AND "Location" = 'porto-novo'
### Instruction: CREATE TABLE table_name_52 ( melbourne VARCHAR, gold_coast VARCHAR, perth VARCHAR, adelaide VARCHAR, sydney VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for Melbourne when Adelaide, Sydney, and Perth are yes,...
SELECT melbourne FROM table_name_52 WHERE adelaide = "yes" AND sydney = "yes" AND perth = "yes" AND gold_coast = "no"
### Instruction: CREATE TABLE table_54093 ( "Name" text, "GNIS Feature ID" real, "State" text, "County" text, "Type" text, "USGS 7.5' Map" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total GNIS Feature ID with a County of idaho? ...
SELECT SUM("GNIS Feature ID") FROM table_54093 WHERE "County" = 'idaho'
### Instruction: CREATE TABLE table_25610 ( "Season" text, "Name" text, "Teams" real, "Relegated to League" text, "Promoted to League" text, "Promoted from League" text, "Relegated from League" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ...
SELECT "Name" FROM table_25610 WHERE "Promoted to League" = 'Henley Manchester'
### Instruction: CREATE TABLE table_34213 ( "Player" text, "Position" text, "Games started" text, "Hometown" text, "Height" text, "Weight" real, "Class" text, "Previous experience" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Games sta...
SELECT "Hometown" FROM table_34213 WHERE "Games started" = '4'
### Instruction: CREATE TABLE table_32608 ( "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 venue features collingwood...
SELECT "Venue" FROM table_32608 WHERE "Home team" = 'collingwood'
### Instruction: CREATE TABLE table_32710 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the attendance for the game held on January 2, 2005? ### Re...
SELECT "Attendance" FROM table_32710 WHERE "Date" = 'january 2, 2005'
### Instruction: CREATE TABLE table_40743 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the content of the television service ew...
SELECT "Content" FROM table_40743 WHERE "Country" = 'united kingdom' AND "Television service" = 'ewtn'
### Instruction: CREATE TABLE table_37282 ( "Name" text, "Locomotive type" text, "Wheel arr." text, "Builder" text, "Year built" real, "Whistle" text, "In Traffic?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of locomotive is Wi...
SELECT "Locomotive type" FROM table_37282 WHERE "Name" = 'winston churchill'
### Instruction: CREATE TABLE table_26849 ( "Governorate" text, "Kurdistan Democratic Party" real, "Patriotic Union of Kurdistan" real, "Total Kurdistan List" real, "Total Governorate Seats" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the go...
SELECT MIN("Total Governorate Seats") FROM table_26849 WHERE "Governorate" = 'Hewler'
### Instruction: CREATE TABLE table_12633 ( "Golden Rivers" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest draw when the against was larger than 2638? #...
SELECT MIN("Draws") FROM table_12633 WHERE "Against" > '2638'
### Instruction: CREATE TABLE table_9569 ( "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 the location of the fight against Zaza Tkesh...
SELECT "Location" FROM table_9569 WHERE "Opponent" = 'zaza tkeshelashvili'
### Instruction: CREATE TABLE table_30427 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Team Nickname" text, "Primary conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many mascot...
SELECT COUNT("Team Nickname") FROM table_30427 WHERE "Location" = 'College Station, Texas'
### Instruction: CREATE TABLE table_63404 ( "Callsign" text, "Network" text, "City of License" text, "D ERP" text, "Owner / Operator" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the network that has a callsign of XHTM and a D ERP of ? ##...
SELECT "Network" FROM table_63404 WHERE "D ERP" = '•' AND "Callsign" = 'xhtm'
### Instruction: CREATE TABLE table_22990 ( "Week" real, "Date" text, "Opponent" text, "Final score" text, "Team record" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many locations was the game a...
SELECT COUNT("Game site") FROM table_22990 WHERE "Opponent" = 'Barcelona Dragons'
### Instruction: CREATE TABLE table_54267 ( "Club" text, "League" text, "Sport" text, "Venue" text, "Established" real, "Disbanded" text, "Championships" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which championship was established after...
SELECT "Championships" FROM table_54267 WHERE "Established" > '2005'
### Instruction: CREATE TABLE table_name_27 ( round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the lowest round for when pole position and winning driver is michael schumach...
SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND winning_driver = "michael schumacher" AND pole_position = "michael schumacher"
### Instruction: CREATE TABLE table_name_34 ( best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best? ### Response:
SELECT MIN(best) FROM table_name_34 WHERE team = "n/h/l racing" AND name = "graham rahal" AND qual_2 > 59.384
### Instruction: CREATE TABLE table_23124 ( "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 john ...
SELECT "College/junior/club team" FROM table_23124 WHERE "Player" = 'John Campbell'
### Instruction: CREATE TABLE table_name_82 ( new_council VARCHAR, previous_council VARCHAR, staying_councillors VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the full number of New Council when the previous council was 54 and the staying counci...
SELECT COUNT(new_council) FROM table_name_82 WHERE previous_council = 54 AND staying_councillors > 36
### Instruction: CREATE TABLE table_29250 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year elected for incumbent Cynthia Mckinney? ### Re...
SELECT "Elected" FROM table_29250 WHERE "Incumbent" = 'Cynthia McKinney'
### Instruction: CREATE TABLE table_203_651 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the number of times she came in 2nd position for the europ...
SELECT COUNT(*) FROM table_203_651 WHERE "position" = 2 AND "competition" = 'european championships'
### Instruction: CREATE TABLE table_29972 ( "No." real, "Player" text, "Club" text, "Test career" text, "Tests" real, "Catches" real, "Stumpings" real, "Total dismissals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What club did Cyril...
SELECT "Club" FROM table_29972 WHERE "Player" = 'Cyril Christiani'
### Instruction: CREATE TABLE table_16970 ( "Series #" real, "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. -- Who wrote 'Stop Bei...
SELECT "Written by" FROM table_16970 WHERE "Title" = 'Stop Being All Funky'
### Instruction: CREATE TABLE table_56295 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position has a Nationality of united states, and a Player ...
SELECT "Position" FROM table_56295 WHERE "Nationality" = 'united states' AND "Player" = 'roger powell'
### Instruction: CREATE TABLE table_203_535 ( 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. -- did the united states win above 10 medals ? ##...
SELECT (SELECT "total" FROM table_203_535 WHERE "nation" = 'united states') > 10
### Instruction: CREATE TABLE table_2399 ( "Bowl Game" text, "Date" text, "Stadium" text, "City" text, "Television" text, "Matchups/Result" text, "Payout ( US$ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date when the city ...
SELECT "Date" FROM table_2399 WHERE "City" = 'San Antonio, Texas'
### Instruction: CREATE TABLE table_51997 ( "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. -- Who was the home team at Kardin...
SELECT "Home team" FROM table_51997 WHERE "Venue" = 'kardinia park'
### Instruction: CREATE TABLE table_27050 ( "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 was ...
SELECT "Title" FROM table_27050 WHERE "No. in series" = '56'
### Instruction: CREATE TABLE table_33174 ( "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. -- Where did Hawthorn play as the ...
SELECT "Venue" FROM table_33174 WHERE "Home team" = 'hawthorn'
### Instruction: CREATE TABLE table_25037577_1 ( year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years was lynn muscarella the high school principal and charlie wiltse the superintendent...
SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND superintendent = "Charlie Wiltse"
### Instruction: CREATE TABLE table_31973 ( "Manager" text, "Period" text, "Played" real, "Drawn" real, "Lost" real, "Win %" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of played for serik berdalin and drawn more than 4 ### Res...
SELECT SUM("Played") FROM table_31973 WHERE "Manager" = 'serik berdalin' AND "Drawn" > '4'
### Instruction: CREATE TABLE table_41372 ( "Place" real, "Rider" text, "Country" text, "Machine" text, "Speed" text, "Time" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the fewest points that Roger Dutton/Tony Wrig...
SELECT MIN("Points") FROM table_41372 WHERE "Rider" = 'roger dutton/tony wright'
### Instruction: CREATE TABLE table_20928 ( "Antibody" text, "Brand name" text, "Approval date" real, "Type" text, "Target" text, "Approved treatment(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many targets are there with an approval ...
SELECT COUNT("Target") FROM table_20928 WHERE "Approval date" = '1997'
### Instruction: CREATE TABLE table_38536 ( "Game" text, "Date" text, "Referee" text, "Umpire" text, "Head Linesman" text, "Line Judge" text, "Field Judge" text, "Back Judge" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game had A...
SELECT "Game" FROM table_38536 WHERE "Field Judge" = 'al jury'
### Instruction: CREATE TABLE table_13393 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For what total was 37.410 (4) the 1st run? ### Response:
SELECT "Total" FROM table_13393 WHERE "1st run" = '37.410 (4)'
### Instruction: CREATE TABLE table_203_481 ( id number, "n\u00b0" number, "name" text, "position" text, "date of birth" text, "nationality" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country has the most people ? ### Response:
SELECT "nationality" FROM table_203_481 GROUP BY "nationality" ORDER BY COUNT("n\u00b0") DESC LIMIT 1
### Instruction: CREATE TABLE table_56717 ( "Athlete" text, "Event" text, "Round of 16" text, "Quarterfinal" text, "Semifinal" text, "Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event had zhamash l 1 2 in the quarterfinal? ### R...
SELECT "Event" FROM table_56717 WHERE "Quarterfinal" = 'zhamash l 1–2'
### Instruction: CREATE TABLE table_32591 ( "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 at pr...
SELECT MAX("Crowd") FROM table_32591 WHERE "Venue" = 'princes park'
### Instruction: CREATE TABLE table_38553 ( "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. -- Which Drawn has a Team of inte...
SELECT SUM("Drawn") FROM table_38553 WHERE "Team" = 'internacional-sp'
### Instruction: CREATE TABLE table_204_291 ( id number, "rank" number, "name" text, "nation" text, "cp" number, "fp" number, "points" number, "placings" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many skaters had points greate...
SELECT COUNT("name") FROM table_204_291 WHERE "points" > 2600
### Instruction: CREATE TABLE table_21970 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sokn)" text, "Church Name" text, "Year Built" real, "Location of the Church" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the maximum year built for holmeda...
SELECT MAX("Year Built") FROM table_21970 WHERE "Church Name" = 'Holmedal kyrkje'
### Instruction: CREATE TABLE table_42852 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text, "Team Record" text, "Game Site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Team Record, when the Result ...
SELECT "Team Record" FROM table_42852 WHERE "Result" = 'l 0–24'
### Instruction: CREATE TABLE table_22097588_9 ( spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was spent per voter when total amount spent was 210,280,000? ### Response:
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,000"
### Instruction: CREATE TABLE table_43996 ( "Rank" text, "Time" text, "Athlete" text, "Nation" text, "Date" text, "Race" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time of the peachtree road race in kenya? ### Response:
SELECT "Time" FROM table_43996 WHERE "Nation" = 'kenya' AND "Race" = 'peachtree road race'
### Instruction: CREATE TABLE table_name_96 ( award VARCHAR, group VARCHAR, film_show VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Award, when the Film/Show is East West 101, and when the year is before 2009, and when the ...
SELECT award FROM table_name_96 WHERE film_show = "east west 101" AND year < 2009 AND group = "logie award"
### Instruction: CREATE TABLE table_5651 ( "Name" text, "Tenure" text, "Courtesy title" text, "Court Rank" text, "revenues" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the court rank of the person with a courtesy title of nagato-no-kami? ...
SELECT "Court Rank" FROM table_5651 WHERE "Courtesy title" = 'nagato-no-kami'
### Instruction: CREATE TABLE table_2475 ( "Source" text, "Dates Administered" text, "Terry McAuliffe" text, "Brian Moran" text, "Creigh Deeds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Brian Moran's share of the votes when Creigh Deed...
SELECT "Brian Moran" FROM table_2475 WHERE "Creigh Deeds" = '30%'
### Instruction: CREATE TABLE table_57792 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest numbered grid for piercarlo ghinzani with over 3 laps? ### R...
SELECT MAX("Grid") FROM table_57792 WHERE "Driver" = 'piercarlo ghinzani' AND "Laps" > '3'
### Instruction: CREATE TABLE table_40653 ( "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the To par score for the tournament...
SELECT "To par" FROM table_40653 WHERE "Margin of victory" = '1 stroke'
### Instruction: CREATE TABLE table_6968 ( "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 is on 22 april 2002? ### Resp...
SELECT "Partner" FROM table_6968 WHERE "Date" = '22 april 2002'
### Instruction: CREATE TABLE table_2063 ( "Teams With Division Titles" text, "Division Championships" real, "Playoff Berths" real, "AFC Titles" real, "Super Bowl Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of div...
SELECT MAX("Division Championships") FROM table_2063 WHERE "Playoff Berths" = '11'
### Instruction: CREATE TABLE table_51317 ( "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. -- Name the outcome on 6 october 2013 ### Res...
SELECT "Outcome" FROM table_51317 WHERE "Date" = '6 october 2013'
### Instruction: CREATE TABLE table_54877 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has an away score of 9.10 (64)? ### ...
SELECT "Home team" FROM table_54877 WHERE "Away team score" = '9.10 (64)'
### Instruction: CREATE TABLE table_36884 ( "Game" real, "Date" text, "Score" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Attendance has a Game smaller than 3, and a Date of october 31? ...
SELECT COUNT("Attendance") FROM table_36884 WHERE "Game" < '3' AND "Date" = 'october 31'
### Instruction: CREATE TABLE table_60624 ( "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 LOWEST MONEY WITH TO PAR LARGER THAN 26? ### Respons...
SELECT MIN("Money ( $ )") FROM table_60624 WHERE "To par" > '26'
### Instruction: CREATE TABLE table_517 ( "Series Ep #" real, "Season 2 Ep #" real, "Title" text, "Director" text, "Writer(s)" text, "Original Airdate" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Please give me the...
SELECT "Title" FROM table_517 WHERE "Season 2 Ep #" = '1'
### Instruction: CREATE TABLE table_78021 ( "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 venue had footscray play a...
SELECT "Venue" FROM table_78021 WHERE "Away team" = 'footscray'
### Instruction: CREATE TABLE table_1135 ( "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. -- Name the least week for september 25, 1983 ##...
SELECT MAX("Week") FROM table_1135 WHERE "Date" = 'September 25, 1983'
### Instruction: CREATE TABLE table_69098 ( "Outcome" text, "Date" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome on May 18, 2008? ### Respons...
SELECT "Outcome" FROM table_69098 WHERE "Date" = 'may 18, 2008'
### Instruction: CREATE TABLE table_68426 ( "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 highest number of points for the Modena Team Spa after 1991? ### Response:
SELECT MAX("Points") FROM table_68426 WHERE "Entrant" = 'modena team spa' AND "Year" > '1991'
### Instruction: CREATE TABLE table_203_685 ( id number, "no. in\nseries" number, "no. in\nseason" number, "title" text, "directed by" text, "written by" text, "original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the last episo...
SELECT "title" FROM table_203_685 ORDER BY "no. in\nseason" DESC LIMIT 1
### Instruction: CREATE TABLE table_204_49 ( id number, "city" text, "country" text, "iata" text, "icao" text, "airport" text, "commenced" number, "ended" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many of tigerair 's destination...
SELECT COUNT("city") FROM table_204_49 WHERE "country" = 'china'
### Instruction: CREATE TABLE table_58402 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date that has a friendly competition at rheinpark stadion, vaduz ### Response...
SELECT "Date" FROM table_58402 WHERE "Competition" = 'friendly' AND "Venue" = 'rheinpark stadion, vaduz'