text
stringlengths
400
694
__index_level_0__
int64
6
25k
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the earliest year with less than 45 points for Yamaha team in 21st rank? ### Input: CREATE TABLE table_name_49 ( year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR ) ### Response: SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st"
3,560
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which athlete belongs to rank 10 ? ### Input: CREATE TABLE table_204_262 ( id number, "rank" number, "athlete" text, "time" text, "notes" text, "q" text ) ### Response: SELECT "athlete" FROM table_204_262 WHERE "rank" = 10
8,102
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many golds for Canada (12 total)? ### Input: CREATE TABLE table_4853 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT "Gold" FROM table_4853 WHERE "Total" > '12' AND "Nation" = 'canada'
18,697
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the numbe of provincial captial where the population is 1162900? ### Input: CREATE TABLE table_1691 ( "Province" text, "Provincial capital" text, "Largest city" text, "Area (km 2 )" real, "Population (2013)" real ) ### Response: SELECT COUNT("Provincial capital") FROM table_1691 WHERE "Population (2013)" = '1162900'
17,040
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the distinguished service cross when the navy cross is Coast Guard commendation medal? ### Input: CREATE TABLE table_2104176_1 ( distinguished_service_cross VARCHAR, navy_cross VARCHAR ) ### Response: SELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = "Coast Guard Commendation Medal"
6,451
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the Series with Production Number of 95, br 1254? ### Input: CREATE TABLE table_63342 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text, "reissue?" text ) ### Response: SELECT "Series" FROM table_63342 WHERE "Production Number" = '95, br 1254'
24,724
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Visitor of minnesota has what average attendance? ### Input: CREATE TABLE table_67696 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) ### Response: SELECT AVG("Attendance") FROM table_67696 WHERE "Visitor" = 'minnesota'
6,144
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: was the song healing or the song boys and girls with trax ? ### Input: CREATE TABLE table_204_243 ( id number, "year" number, "album" text, "song" text, "duration" text, "artist" text ) ### Response: SELECT "song" FROM table_204_243 WHERE "song" IN ('"healing"', '"boys & girls"') AND "artist" = 'with trax'
13,411
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Set 2 has a Set 1 of 25 15, and a Score of 3 0? ### Input: CREATE TABLE table_37920 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) ### Response: SELECT "Set 2" FROM table_37920 WHERE "Set 1" = '25–15' AND "Score" = '3–0'
21,208
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the date when the game had a save by Aguilera (5)? ### Input: CREATE TABLE table_5078 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) ### Response: SELECT "Date" FROM table_5078 WHERE "Save" = 'aguilera (5)'
7,614
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which ranked higher in place , israel or the united kingdom ? ### Input: CREATE TABLE table_203_803 ( id number, "draw" number, "country" text, "language" text, "artist" text, "song" text, "english translation" text, "place" number, "points" number ) ### Response: SELECT "country" FROM table_203_803 WHERE "country" IN ('israel', 'united kingdom') ORDER BY "place" LIMIT 1
6,953
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many districts had crib damage of 1,164.50? ### Input: CREATE TABLE table_20403667_2 ( district VARCHAR, crop_damaged__in_lakh_inr__ VARCHAR ) ### Response: SELECT COUNT(district) FROM table_20403667_2 WHERE crop_damaged__in_lakh_inr__ = "1,164.50"
7,781
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team was the home team against Melbourne? ### Input: CREATE TABLE table_58256 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Home team" FROM table_58256 WHERE "Away team" = 'melbourne'
19,795
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the driver for Rovero Campello? ### Input: CREATE TABLE table_48566 ( "Driver" text, "Entrant" text, "Constructor" text, "Time/Retired" text, "Grid" text, "Heat 1/2" text ) ### Response: SELECT "Driver" FROM table_48566 WHERE "Entrant" = 'rovero campello'
18,512
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who did the Jays play on August 30? ### Input: CREATE TABLE table_68574 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) ### Response: SELECT "Opponent" FROM table_68574 WHERE "Date" = 'august 30'
16,938
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What date was there a playoff on the margin of victory during the Shirley Englehorn Invitational? ### Input: CREATE TABLE table_name_36 ( date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR ) ### Response: SELECT date FROM table_name_36 WHERE margin_of_victory = "playoff" AND tournament = "shirley englehorn invitational"
3,172
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How much Body Width/mm has a Body Length/mm of 18.4, and Pins of 40? ### Input: CREATE TABLE table_65820 ( "Part Number" text, "Pins" text, "Body Width/mm" real, "Body Length/mm" real, "Lead Pitch/mm" real ) ### Response: SELECT COUNT("Body Width/mm") FROM table_65820 WHERE "Body Length/mm" = '18.4' AND "Pins" = '40'
14,582
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What theme placed as #3 in the finale? ### Input: CREATE TABLE table_452 ( "Episode" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) ### Response: SELECT "Result" FROM table_452 WHERE "Theme" = 'Finale' AND "Order #" = '3'
16,369
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Set 3 with a Score of 3 1, and has a Set 2 of 13 15? ### Input: CREATE TABLE table_name_7 ( set_3 VARCHAR, score VARCHAR, set_2 VARCHAR ) ### Response: SELECT set_3 FROM table_name_7 WHERE score = "3–1" AND set_2 = "13–15"
21,295
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the 1st round when team 2 is usl dunkerque (d2)? ### Input: CREATE TABLE table_14202 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text ) ### Response: SELECT "1st round" FROM table_14202 WHERE "Team 2" = 'usl dunkerque (d2)'
4,356
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many titles are there with the original air date of august3,2010? ### Input: CREATE TABLE table_31442 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Viewers (million)" text ) ### Response: SELECT COUNT("Title") FROM table_31442 WHERE "Original air date" = 'August3,2010'
11,719
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the vacator when the date successor seated was august 21, 1973? ### Input: CREATE TABLE table_72177 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) ### Response: SELECT "Vacator" FROM table_72177 WHERE "Date successor seated" = 'August 21, 1973'
844
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How much was a Reverse of guitar of agust n p o barrios before 1998? ### Input: CREATE TABLE table_39613 ( "Value" text, "Color" text, "Obverse" text, "Reverse" text, "First issued" real ) ### Response: SELECT "Value" FROM table_39613 WHERE "First issued" < '1998' AND "Reverse" = 'guitar of agustín pío barrios'
3,123
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many games were won by the swarm by over 2 goals ? ### Input: CREATE TABLE table_203_47 ( id number, "game" number, "date" text, "opponent" text, "location" text, "score" text, "ot" text, "attendance" number, "record" text ) ### Response: SELECT COUNT("game") FROM table_203_47 WHERE "score" - "score" > 2
5,298
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the name of the Outfielder that was picked prior to Pick 42? ### Input: CREATE TABLE table_40284 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text ) ### Response: SELECT "Player" FROM table_40284 WHERE "Position" = 'outfielder' AND "Pick" < '42'
20,269
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which nation was the first to win three gold medals for olympic figure skating ? ### Input: CREATE TABLE table_203_104 ( id number, "athlete" text, "nation" text, "olympics" text, "gold" number, "silver" number, "bronze" number, "total" number ) ### Response: SELECT "nation" FROM table_203_104 WHERE "gold" = 3 ORDER BY "olympics" LIMIT 1
10,805
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200? ### Input: CREATE TABLE table_name_80 ( track VARCHAR, pole_winner VARCHAR, event_name VARCHAR ) ### Response: SELECT track FROM table_name_80 WHERE pole_winner = "frank kimmel" AND event_name = "pennsylvania 200"
10,898
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which engine received 0 points in 1988? ### Input: CREATE TABLE table_70183 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" real ) ### Response: SELECT "Engine(s)" FROM table_70183 WHERE "Points" = '0' AND "Year" = '1988'
10,602
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When 1462/63 was the elected what was the no.? ### Input: CREATE TABLE table_1847 ( "No." text, "Summoned" text, "Elected" text, "Assembled" text, "Dissolved" text, "1st member" text, "2nd member" text ) ### Response: SELECT "No." FROM table_1847 WHERE "Elected" = '1462/63'
8,938
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the results of the incumbent who was first elected in 1996? ### Input: CREATE TABLE table_79086 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text ) ### Response: SELECT "Results" FROM table_79086 WHERE "First elected" = '1996'
7,117
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Points difference has Played of 32, and Points for of 840? ### Input: CREATE TABLE table_46210 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Points" text ) ### Response: SELECT "Points difference" FROM table_46210 WHERE "Played" = '32' AND "Points for" = '840'
22,448
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the pick number of the player from Springfield Olympics (Nejhl)? ### Input: CREATE TABLE table_13 ( "Pick" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) ### Response: SELECT "Pick" FROM table_13 WHERE "College/junior/club team" = 'Springfield Olympics (NEJHL)'
6,720
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of the pick of the guard position player? ### Input: CREATE TABLE table_59350 ( "Player" text, "Round" real, "Pick" real, "Position" text, "NFL Club" text ) ### Response: SELECT SUM("Pick") FROM table_59350 WHERE "Position" = 'guard'
13,613
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Paul Tracy's best time racing on the Forsythe Racing team? ### Input: CREATE TABLE table_10358 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) ### Response: SELECT "Best" FROM table_10358 WHERE "Team" = 'forsythe racing' AND "Name" = 'paul tracy'
6,059
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many dates had an average speed of 102.003? ### Input: CREATE TABLE table_2175858_1 ( date VARCHAR, average_speed__mph_ VARCHAR ) ### Response: SELECT COUNT(date) FROM table_2175858_1 WHERE average_speed__mph_ = "102.003"
14,096
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the lowest round for the player Claude Periard? ### Input: CREATE TABLE table_9202 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) ### Response: SELECT MIN("Round") FROM table_9202 WHERE "Player" = 'claude periard'
222
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What location is listed from 2005-2010? ### Input: CREATE TABLE table_28733 ( "Institution" text, "Location" text, "Team Nickname" text, "Years" text, "New Conference" text, "New Classification" text ) ### Response: SELECT "Location" FROM table_28733 WHERE "Years" = '2005-2010'
4,771
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Grid has a Driver of johnny dumfries? ### Input: CREATE TABLE table_53697 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) ### Response: SELECT "Grid" FROM table_53697 WHERE "Driver" = 'johnny dumfries'
178
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: From what series is Peck Up Your Troubles? ### Input: CREATE TABLE table_64290 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text, "reissue?" text ) ### Response: SELECT "Series" FROM table_64290 WHERE "Title" = 'peck up your troubles'
6,055
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid? ### Input: CREATE TABLE table_34925 ( "Team" text, "Driver" text, "Laps" real, "Time" text, "Grid" real ) ### Response: SELECT COUNT("Laps") FROM table_34925 WHERE "Time" = 'collision' AND "Team" = 'switzerland' AND "Grid" < '11'
7,673
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the name of the Winner in north carolina at the greater greensboro open? ### Input: CREATE TABLE table_34397 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" text ) ### Response: SELECT "Winner" FROM table_34397 WHERE "Location" = 'north carolina' AND "Tournament" = 'greater greensboro open'
19,063
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the largest founded year for schools having enrollment of exactly 696? ### Input: CREATE TABLE table_23911 ( "School" text, "Location(s)" text, "Control" text, "Type" text, "Accreditation" text, "Founded" real, "Enrollment" text ) ### Response: SELECT MAX("Founded") FROM table_23911 WHERE "Enrollment" = '696'
3,275
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the departure time of the train that arrived at 21.26? ### Input: CREATE TABLE table_22292 ( "Departure" text, "Going to" text, "Calling at" text, "Arrival" text, "Operator" text ) ### Response: SELECT "Departure" FROM table_22292 WHERE "Arrival" = '21.26'
6,006
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Can you tell me the Position that has the College/Junior/Club Team of hull olympiques (qmjhl)? ### Input: CREATE TABLE table_name_81 ( position VARCHAR, college_junior_club_team VARCHAR ) ### Response: SELECT position FROM table_name_81 WHERE college_junior_club_team = "hull olympiques (qmjhl)"
2,758
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the least number of Races for a Racer with less than 0 Points? ### Input: CREATE TABLE table_42967 ( "Year" real, "Drivers" text, "Races" real, "Wins" real, "Poles" real, "Fast laps" real, "Points" real, "D.C." text, "T.C." text ) ### Response: SELECT MIN("Races") FROM table_42967 WHERE "Points" < '0'
9,400
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which was the first treaty in morocco to be ratified ? ### Input: CREATE TABLE table_203_109 ( id number, "treaty" text, "organization" text, "introduced" number, "signed" number, "ratified" number ) ### Response: SELECT "treaty" FROM table_203_109 ORDER BY "ratified" LIMIT 1
9,562
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the score of the game attended by 25,034? ### Input: CREATE TABLE table_79963 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) ### Response: SELECT "Score" FROM table_79963 WHERE "Attendance" = '25,034'
15,820
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Roman entry for the allophone of [[[|k]]]? ### Input: CREATE TABLE table_14073 ( "Gothic Letter" text, "Roman" text, "Sound (phoneme)" text, "Sound (allophone)" text, "Proto-Germanic origin" text ) ### Response: SELECT "Roman" FROM table_14073 WHERE "Sound (allophone)" = '[[[|k]]]'
3,724
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which artist had a result of 4? ### Input: CREATE TABLE table_3576 ( "Draw" real, "Song" text, "Artist" text, "Judging panel points" real, "Televote votes" real, "Televote points" real, "Total" real, "Result" text ) ### Response: SELECT "Artist" FROM table_3576 WHERE "Result" = '4'
14,230
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the avarage Attendance for the Date of october 26, 1947? ### Input: CREATE TABLE table_51778 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) ### Response: SELECT AVG("Attendance") FROM table_51778 WHERE "Date" = 'october 26, 1947'
3,436
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the rank when the laps are fewer than 137 and the qual is 116.470? ### Input: CREATE TABLE table_name_99 ( rank VARCHAR, laps VARCHAR, qual VARCHAR ) ### Response: SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = "116.470"
5,675
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the lengths of the tracks arranged by ROZ? ### Input: CREATE TABLE table_60600 ( "Title" text, "Lyricist(s)" text, "Composer(s)" text, "Arranger(s)" text, "Time" text ) ### Response: SELECT "Time" FROM table_60600 WHERE "Arranger(s)" = 'roz'
12,682
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Score of the Scarborough Home game? ### Input: CREATE TABLE table_62995 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) ### Response: SELECT "Score" FROM table_62995 WHERE "Home team" = 'scarborough'
19,197
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which district had SC reserved and 169 Constituents? ### Input: CREATE TABLE table_name_2 ( district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR ) ### Response: SELECT district FROM table_name_2 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "169"
14,169
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What network has an origin in India, a genre of general, and broadcasts in Bengali? ### Input: CREATE TABLE table_name_20 ( network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR ) ### Response: SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali"
8,904
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the place of Mark O'Meara? ### Input: CREATE TABLE table_43746 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) ### Response: SELECT "Place" FROM table_43746 WHERE "Player" = 'mark o''meara'
11,752
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was part of Club Munster with 1 try? ### Input: CREATE TABLE table_12051 ( "Points" real, "Name" text, "Club" text, "Apps" real, "Tries" real, "Drop" real ) ### Response: SELECT "Name" FROM table_12051 WHERE "Tries" = '1' AND "Club" = 'munster'
4,922
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest score when the 1st half is smaller than 289 and rank smaller than 61? ### Input: CREATE TABLE table_66024 ( "Rank" real, "Archer" text, "1st Half" real, "2nd Half" real, "Score" real ) ### Response: SELECT MAX("Score") FROM table_66024 WHERE "1st Half" < '289' AND "Rank" < '61'
3,512
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the date when the away team is newport county? ### Input: CREATE TABLE table_48213 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) ### Response: SELECT "Date" FROM table_48213 WHERE "Away team" = 'newport county'
9,779
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Opponent has a Date of november 17, 1963? ### Input: CREATE TABLE table_76945 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) ### Response: SELECT "Opponent" FROM table_76945 WHERE "Date" = 'november 17, 1963'
13,453
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What school/club team did Amal McCaskill play for? ### Input: CREATE TABLE table_40722 ( "Player" text, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) ### Response: SELECT "School/Club Team" FROM table_40722 WHERE "Player" = 'amal mccaskill'
2,210
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Whate place has 18 points with lost less than 8? ### Input: CREATE TABLE table_13093 ( "Place" real, "Team" text, "Played" real, "Draw" real, "Lost" real, "Goals Scored" real, "Goals Conceded" real, "Points" real ) ### Response: SELECT COUNT("Place") FROM table_13093 WHERE "Points" = '18' AND "Lost" < '8'
13,097
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the Attendance before Week 17 with a Record of Bye? ### Input: CREATE TABLE table_44429 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Kickoff Time" text, "Attendance" text ) ### Response: SELECT "Attendance" FROM table_44429 WHERE "Week" < '17' AND "Record" = 'bye'
10,014
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what was the location for charlotte? ### Input: CREATE TABLE table_29836 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Location Attendance" FROM table_29836 WHERE "Team" = 'Charlotte'
3,551
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the launched date for the Harusame ship? ### Input: CREATE TABLE table_15688 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) ### Response: SELECT "Launched" FROM table_15688 WHERE "Name" = 'harusame'
13,583
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score for the home team St Kilda? ### Input: CREATE TABLE table_74582 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Home team score" FROM table_74582 WHERE "Home team" = 'st kilda'
17,351
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the position of the player who is from the United States and has 30 minutes? ### Input: CREATE TABLE table_23963781_3 ( position VARCHAR, nationality VARCHAR, minutes VARCHAR ) ### Response: SELECT position FROM table_23963781_3 WHERE nationality = "United States" AND minutes = 30
14,778
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What record was set when the result/game was equal to 9 games (28,595 avg.) ### Input: CREATE TABLE table_21436373_8 ( type_of_record VARCHAR, result_games VARCHAR ) ### Response: SELECT type_of_record FROM table_21436373_8 WHERE result_games = "9 games (28,595 avg.)"
9,709
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which player has a total bigger than 285 and a to par of +14? ### Input: CREATE TABLE table_69573 ( "Player" text, "Country" text, "Year(s) Won" text, "Total" real, "To par" text, "Finish" text ) ### Response: SELECT "Player" FROM table_69573 WHERE "Total" > '285' AND "To par" = '+14'
1,105
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When was the Mallala race held? ### Input: CREATE TABLE table_78252 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) ### Response: SELECT "Date" FROM table_78252 WHERE "Race Title" = 'mallala'
7,728
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the Gdp (bn) for the region that has ioannina as its Capital? ### Input: CREATE TABLE table_55114 ( "Region" text, "Capital" text, "Area (km\u00b2)" text, "Area (sq. mi.)" text, "Population" text, "GDP ( bn )" text ) ### Response: SELECT "GDP ( bn )" FROM table_55114 WHERE "Capital" = 'ioannina'
4,370
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the name of the epiode written by Gary M. Goodrich? ### Input: CREATE TABLE table_26554 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) ### Response: SELECT "Title" FROM table_26554 WHERE "Written by" = 'Gary M. Goodrich'
12,998
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many tournaments were played indoor ? ### Input: CREATE TABLE table_203_60 ( id number, "outcome" text, "no." number, "date" text, "championship" text, "surface" text, "opponent in the final" text, "score in the final" text ) ### Response: SELECT COUNT(*) FROM table_203_60 WHERE "surface" = 'indoor'
5,999
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the date for the home detroit and visitor was chicago? ### Input: CREATE TABLE table_74986 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) ### Response: SELECT "Date" FROM table_74986 WHERE "Home" = 'detroit' AND "Visitor" = 'chicago'
3,065
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the race caller for jim mckay and howard cosell and eddie arcaro ### Input: CREATE TABLE table_22514845_5 ( race_caller VARCHAR, s_analyst VARCHAR, trophy_presentation VARCHAR, reporters VARCHAR ) ### Response: SELECT race_caller FROM table_22514845_5 WHERE trophy_presentation = "Jim McKay and Howard Cosell" AND reporters = "Howard Cosell" AND s_analyst = "Eddie Arcaro"
8,118
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the percentage of male voters where the level of maturity is 123726 ### Input: CREATE TABLE table_25042332_30 ( e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR ) ### Response: SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726
14,301
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When was the date that had a Loss of Shirley (0-1)? ### Input: CREATE TABLE table_15395 ( "Date" text, "Opponent" text, "Site" text, "Score" text, "Loss" text ) ### Response: SELECT "Date" FROM table_15395 WHERE "Loss" = 'shirley (0-1)'
505
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was Fredrik Jacobson's score? ### Input: CREATE TABLE table_61315 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) ### Response: SELECT "Score" FROM table_61315 WHERE "Player" = 'fredrik jacobson'
7,889
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which home team corresponds to an away team score of 10.12 (72)? ### Input: CREATE TABLE table_33794 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Home team" FROM table_33794 WHERE "Away team score" = '10.12 (72)'
16,388
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is home team Maine Road's score? ### Input: CREATE TABLE table_12706 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) ### Response: SELECT "Score" FROM table_12706 WHERE "Home team" = 'maine road'
4,242
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Dutch word has the same meaning as the Greek word (pl )? ### Input: CREATE TABLE table_40477 ( "English" text, "German" text, "Dutch" text, "Icelandic" text, "Latin" text, "Greek" text, "Russian" text ) ### Response: SELECT "Dutch" FROM table_40477 WHERE "Greek" = 'πλέω (pléō)'
6,756
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the opponent for the game played on September 19, 1994? ### Input: CREATE TABLE table_42911 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) ### Response: SELECT "Opponent" FROM table_42911 WHERE "Date" = 'september 19, 1994'
6,610
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What college did the player with a school of huntsville high school go to? ### Input: CREATE TABLE table_10729 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) ### Response: SELECT "College" FROM table_10729 WHERE "School" = 'huntsville high school'
3,631
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which engine did dr ing f porsche kg use with the porsche rsk (f2) chassis? ### Input: CREATE TABLE table_80209 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) ### Response: SELECT "Engine" FROM table_80209 WHERE "Entrant" = 'dr ing f porsche kg' AND "Chassis" = 'porsche rsk (f2)'
6,235
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What label released a record on December 19, 2001? ### Input: CREATE TABLE table_71473 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) ### Response: SELECT "Label" FROM table_71473 WHERE "Date" = 'december 19, 2001'
2,907
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection? ### Input: CREATE TABLE table_54426 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) ### Response: SELECT SUM("Grid") FROM table_54426 WHERE "Laps" < '68' AND "Time/Retired" = 'injection'
13,397
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What type of disaster is rms atlantic categorized in that was located in Nova Scotia? ### Input: CREATE TABLE table_37219 ( "Disaster" text, "Type" text, "Location" text, "Deaths" text, "Date" text ) ### Response: SELECT "Type" FROM table_37219 WHERE "Location" = 'nova scotia' AND "Disaster" = 'rms atlantic'
9,450
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which UK Base has an airborne unit of Pathfinders? ### Input: CREATE TABLE table_55333 ( "Serial" real, "Airborne Unit" text, "Troop carrier Group" text, "# of C-47s" real, "UK Base" text, "Drop Zone" text, "Drop Zone Time" real ) ### Response: SELECT "UK Base" FROM table_55333 WHERE "Airborne Unit" = 'pathfinders'
1,524
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest number of plays when drawn is more than 4, more than 30 points were earned, and 37 goals scored for the team? ### Input: CREATE TABLE table_name_91 ( played INTEGER, points VARCHAR, drawn VARCHAR, goals_for VARCHAR ) ### Response: SELECT MAX(played) FROM table_name_91 WHERE drawn > 4 AND goals_for = 37 AND points > 30
912
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the dominant religions in the place with a population of 83? ### Input: CREATE TABLE table_2562572_27 ( dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR ) ### Response: SELECT dominant_religion__2002_ FROM table_2562572_27 WHERE population__2011_ = "83"
1,094
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the result on 20 July 2008? ### Input: CREATE TABLE table_76495 ( "Game" real, "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text ) ### Response: SELECT "Result" FROM table_76495 WHERE "Date" = '20 july 2008'
11,740
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Att-Cmp has a TD-INT of 7-8? ### Input: CREATE TABLE table_63951 ( "Name" text, "GP-GS" text, "Effic" real, "Att-Cmp" text, "TD-INT" text, "Avg/G" real ) ### Response: SELECT "Att-Cmp" FROM table_63951 WHERE "TD-INT" = '7-8'
11,709
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what was the chassis built by simca-gordini and driven by max de terra? ### Input: CREATE TABLE table_53138 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Driver" text, "Rounds" text ) ### Response: SELECT "Chassis" FROM table_53138 WHERE "Constructor" = 'simca-gordini' AND "Driver" = 'max de terra'
18,581
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the first episode in the season directed by nelson mccormick? ### Input: CREATE TABLE table_73977 ( "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 ) ### Response: SELECT MIN("No. in season") FROM table_73977 WHERE "Directed by" = 'Nelson McCormick'
9,477
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What channels have stations that were affiliated in 2002? ### Input: CREATE TABLE table_11147852_1 ( channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR ) ### Response: SELECT channel_tv___dt__ FROM table_11147852_1 WHERE year_of_affiliation = "2002"
21,065
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which To par has a Score of 78-74-71-75=298? ### Input: CREATE TABLE table_61700 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) ### Response: SELECT AVG("To par") FROM table_61700 WHERE "Score" = '78-74-71-75=298'
7,668
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many positions correspond to a 1-3 1st leg? ### Input: CREATE TABLE table_72851 ( "Position" text, "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text ) ### Response: SELECT COUNT("Position") FROM table_72851 WHERE "1st leg" = '1-3'
16,961
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the result under interim head coach, Gary Darnell? ### Input: CREATE TABLE table_32713 ( "Team" text, "Bowl" text, "Season coach" text, "Interim head coach" text, "Result" text, "2008 head coach" text ) ### Response: SELECT "Result" FROM table_32713 WHERE "Interim head coach" = 'gary darnell'
15,695
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the titles for tko 11/12 ### Input: CREATE TABLE table_27215 ( "Number" real, "Name" text, "Titles" text, "Date" text, "Opponent" text, "Result" text, "Defenses" real ) ### Response: SELECT "Titles" FROM table_27215 WHERE "Result" = 'TKO 11/12'
13,746
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the format of the season that ended on June 25? ### Input: CREATE TABLE table_23027 ( "No." real, "Country" text, "Local title" text, "Format" text, "Start Date" text, "End Date" text, "Episodes" text, "Premiere/Air Dates" text ) ### Response: SELECT "Format" FROM table_23027 WHERE "End Date" = 'June 25'
16,053