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 was the women's singles were men's doubles were steen fladberg jens peter nierhoff? ### Input: CREATE TABLE table_444 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) ### Response: SELECT "Womens singles" FROM table_444 WHERE "Mens doubles" = 'Steen Fladberg Jens Peter Nierhoff'
11,423
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: Tell me the partner for opponents of anamika bhargava sylvia krywacz ### Input: CREATE TABLE table_name_15 ( partner VARCHAR, opponents_in_the_final VARCHAR ) ### Response: SELECT partner FROM table_name_15 WHERE opponents_in_the_final = "anamika bhargava sylvia krywacz"
14,316
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: Successes smaller than 6, and Launches larger than 1, and a Failures of 2 is what sum of the partial failures? ### Input: CREATE TABLE table_36413 ( "Country" text, "Launches" real, "Successes" real, "Failures" real, "Partial failures" real ) ### Response: SELECT SUM("Partial failures") FROM table_36413 WHERE "Successes" < '6' AND "Launches" > '1' AND "Failures" = '2'
15,387
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 number of games with less than 1 loss? ### Input: CREATE TABLE table_37827 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) ### Response: SELECT MIN("Games") FROM table_37827 WHERE "Lost" < '1'
7,386
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 for the game played on January 25? ### Input: CREATE TABLE table_21454 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Score" FROM table_21454 WHERE "Date" = 'January 25'
14,737
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: Find the name of different colleges involved in the tryout in alphabetical order. ### Input: CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) CREATE TABLE college ( cname text, state text, enr number ) ### Response: SELECT DISTINCT cname FROM tryout ORDER BY cname
5,841
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 Road Team of Game 3? ### Input: CREATE TABLE table_46899 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) ### Response: SELECT "Road Team" FROM table_46899 WHERE "Game" = 'game 3'
1,776
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 attendance? ### Input: CREATE TABLE table_26094 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) ### Response: SELECT MAX("Attendance") FROM table_26094
16,963
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 picks included Kenny Evans? ### Input: CREATE TABLE table_51539 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) ### Response: SELECT COUNT("Pick") FROM table_51539 WHERE "Player" = 'kenny evans'
10,013
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 lowest Weight (kg) for a player that had Jersey #10? ### Input: CREATE TABLE table_41522 ( "Position" text, "Jersey #" real, "Name" text, "Height (cm)" real, "Weight (kg)" real, "Birthdate" text, "Birthplace" text, "Previous Club/Team" text ) ### Response: SELECT MIN("Weight (kg)") FROM table_41522 WHERE "Jersey #" = '10'
19,296
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 awardee for best editing ### Input: CREATE TABLE table_26857 ( "Name of Award" text, "Name of Film" text, "Language" text, "Awardee(s)" text, "Cash Prize" text ) ### Response: SELECT "Awardee(s)" FROM table_26857 WHERE "Name of Award" = 'Best Editing'
3,236
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 year was the last pylon in germany built ? ### Input: CREATE TABLE table_203_375 ( id number, "name" text, "year built" text, "country" text, "town" text, "height" text, "remarks" text ) ### Response: SELECT MAX("year built") FROM table_203_375 WHERE "country" = 'germany'
7,377
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 team had the attendance of 16,468 and lost? ### Input: CREATE TABLE table_69378 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text ) ### Response: SELECT "Loss" FROM table_69378 WHERE "Attendance" = '16,468'
2,862
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 Pick, when Nationality is 'France', and when Draft is less than 1979? ### Input: CREATE TABLE table_name_27 ( pick INTEGER, nationality VARCHAR, draft VARCHAR ) ### Response: SELECT MAX(pick) FROM table_name_27 WHERE nationality = "france" AND draft < 1979
17,640
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 episode number was 'Stumped Again / The Kick Stays in the Picture'? ### Input: CREATE TABLE table_3538 ( "Series #" real, "Season #" real, "Episode Title" text, "Original airdate" text, "Prod. No." text ) ### Response: SELECT MIN("Season #") FROM table_3538 WHERE "Episode Title" = 'Stumped Again / The Kick Stays in the Picture'
4,571
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 year has 2 wins? ### Input: CREATE TABLE table_42338 ( "Year" text, "Matches" text, "Wins" text, "Losses" text, "No Result" text, "Success Rate" text ) ### Response: SELECT "Year" FROM table_42338 WHERE "Wins" = '2'
1,175
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: Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold? ### Input: CREATE TABLE table_name_77 ( total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR ) ### Response: SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6
1,346
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 team is previous to cska moscow on team 1 ### Input: CREATE TABLE table_204_510 ( id number, "team 1" text, "agg." text, "team 2" text, "1st leg" text, "2nd leg" text ) ### Response: SELECT "team 1" FROM table_204_510 WHERE id = (SELECT id FROM table_204_510 WHERE "team 1" = 'cska moscow') - 1
231
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: Where did the player who won in 1991 finish? ### Input: CREATE TABLE table_61462 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) ### Response: SELECT "Finish" FROM table_61462 WHERE "Year(s) won" = '1991'
6,414
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 people were at the game with a record of 6-1? ### Input: CREATE TABLE table_33769 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "TV Time" text, "Attendance" text ) ### Response: SELECT "Attendance" FROM table_33769 WHERE "Record" = '6-1'
20,466
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 points for class 125cc with 1 win earlier than 1961? ### Input: CREATE TABLE table_67963 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real ) ### Response: SELECT MIN("Points") FROM table_67963 WHERE "Class" = '125cc' AND "Wins" = '1' AND "Year" < '1961'
11,538
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 party did the re-elected incumbent of the Texas 11 district belong to? ### Input: CREATE TABLE table_18523 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) ### Response: SELECT "Party" FROM table_18523 WHERE "Result" = 'Re-elected' AND "District" = 'Texas 11'
4,326
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 number in the series are the episodes with production code 5016/5017? ### Input: CREATE TABLE table_17482534_1 ( no_in_series VARCHAR, production_code VARCHAR ) ### Response: SELECT no_in_series FROM table_17482534_1 WHERE production_code = "5016/5017"
16,010
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: Count the number of different scientists assigned to any project. ### Input: CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE assignedto ( scientist number, project text ) ### Response: SELECT COUNT(DISTINCT scientist) FROM assignedto
19,066
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 intergiro classification is there for team Polti at stage 14? ### Input: CREATE TABLE table_66911 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Intergiro classification" text, "Trofeo Fast Team" text ) ### Response: SELECT "Intergiro classification" FROM table_66911 WHERE "Trofeo Fast Team" = 'team polti' AND "Stage" = '14'
9,828
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 minimum games played with goals for/against being 7-5 ### Input: CREATE TABLE table_14181578_1 ( games_played INTEGER, goals_for_against VARCHAR ) ### Response: SELECT MIN(games_played) FROM table_14181578_1 WHERE goals_for_against = "7-5"
10,734
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 Total with a Rank that is smaller than 4 and a Nation of tunisia (tun) with a Gold that is smaller than 2? ### Input: CREATE TABLE table_name_57 ( total INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR ) ### Response: SELECT MAX(total) FROM table_name_57 WHERE rank < 4 AND nation = "tunisia (tun)" AND gold < 2
20,827
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 is the player that has a round greater than 2 and a pick bigger than 83? ### Input: CREATE TABLE table_44327 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College" text ) ### Response: SELECT "Player" FROM table_44327 WHERE "Round" > '2' AND "Pick" > '83'
20,098
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 english composers are on this list ? ### Input: CREATE TABLE table_204_748 ( id number, "composer" text, "born" number, "died" number, "nationality" text, "notable works for piano" text, "remarks" text ) ### Response: SELECT COUNT("composer") FROM table_204_748 WHERE "nationality" = 'english'
8,482
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 smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson? ### Input: CREATE TABLE table_name_90 ( year INTEGER, binibining_pilipinas_international VARCHAR ) ### Response: SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = "jessie alice salones dixson"
15,479
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 competition had 2 draws? ### Input: CREATE TABLE table_13862 ( "Competition" text, "Total" real, "Al Ahly wins" real, "Draws" real, "El Zamalek wins" real ) ### Response: SELECT "Competition" FROM table_13862 WHERE "Draws" = '2'
18,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: When completing 182 laps, what was the qual.? ### Input: CREATE TABLE table_14658 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) ### Response: SELECT "Qual" FROM table_14658 WHERE "Laps" = '182'
2,534
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 residents does each property have? List property id and resident count. ### Input: CREATE TABLE properties ( property_id VARCHAR ) CREATE TABLE residents ( property_id VARCHAR ) ### Response: SELECT T1.property_id, COUNT(*) FROM properties AS T1 JOIN residents AS T2 ON T1.property_id = T2.property_id GROUP BY T1.property_id
14,522
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 WITH THE SCORE 69-71-66-73=279? ### Input: CREATE TABLE table_45786 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) ### Response: SELECT "Place" FROM table_45786 WHERE "Score" = '69-71-66-73=279'
19,540
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 station is on top of the list ? ### Input: CREATE TABLE table_203_749 ( id number, "call sign" text, "frequency" text, "city of license" text, "licensee" text, "format" text ) ### Response: SELECT "call sign" FROM table_203_749 WHERE id = 1
3,465
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: NHL team player San Jose Sharks is United States nationally. ### Input: CREATE TABLE table_1013129_10 ( player VARCHAR, nhl_team VARCHAR, nationality VARCHAR ) ### Response: SELECT player FROM table_1013129_10 WHERE nhl_team = "San Jose Sharks" AND nationality = "United States"
6,405
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 title had a remark of #21 us [riaa certified gold january 3, 1990]? ### Input: CREATE TABLE table_36552 ( "Year" real, "Title" text, "Format" text, "Label" text, "Catalogno" text, "Remark" text ) ### Response: SELECT "Title" FROM table_36552 WHERE "Remark" = '#21 us [riaa certified gold january 3, 1990]'
4,936
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 Games covered had a round of divisional finals? ### Input: CREATE TABLE table_6027 ( "Year" real, "Round" text, "Series" text, "Games covered" text, "Play-by-play" text, "Colour commentator (s)" text ) ### Response: SELECT "Games covered" FROM table_6027 WHERE "Round" = 'divisional finals'
2,637
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 year was The Last Samurai nominated? ### Input: CREATE TABLE table_10409 ( "Year" text, "Name" text, "Film" text, "Role" text, "Status" text ) ### Response: SELECT "Year" FROM table_10409 WHERE "Status" = 'nominated' AND "Film" = 'the last samurai'
3,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: When 'the postcard' is the original title what is the production code? ### Input: CREATE TABLE table_23553 ( "#" text, "Original title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Prod. code" text, "Viewers" real ) ### Response: SELECT "Prod. code" FROM table_23553 WHERE "Original title" = 'The Postcard'
7,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: What is the constructor of the driver Heinz-Harald Frentzen? ### Input: CREATE TABLE table_57600 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) ### Response: SELECT "Constructor" FROM table_57600 WHERE "Driver" = 'heinz-harald frentzen'
19,807
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 had a difference of - 4 and an against of less than 24? ### Input: CREATE TABLE table_34591 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) ### Response: SELECT COUNT("Position") FROM table_34591 WHERE "Difference" = '- 4' AND "Against" < '24'
7,515
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 Away team had a score of 15.15 (105)? ### Input: CREATE TABLE table_11251 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Away team" FROM table_11251 WHERE "Away team score" = '15.15 (105)'
7,840
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 soccer stadium in NL providence? ### Input: CREATE TABLE table_3751 ( "University" text, "Varsity Name" text, "City" text, "Province" text, "Founded" real, "Soccer Stadium" text, "Stadium Capacity" text ) ### Response: SELECT "Soccer Stadium" FROM table_3751 WHERE "Province" = 'NL'
3,107
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 the away team scored 7.11 (53) what venue did they play at? ### Input: CREATE TABLE table_77776 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Venue" FROM table_77776 WHERE "Away team score" = '7.11 (53)'
20,958
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 times is the settlement karlov i ? ### Input: CREATE TABLE table_2562572_52 ( dominant_religion__2002_ VARCHAR, settlement VARCHAR ) ### Response: SELECT COUNT(dominant_religion__2002_) FROM table_2562572_52 WHERE settlement = "Karlovčić"
10,916
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 have the number 11 ### Input: CREATE TABLE table_16123 ( "No." real, "#" real, "Title" text, "Director" text, "Writer" text, "US air date" text, "Storyteller" text, "Villains" text ) ### Response: SELECT COUNT("Title") FROM table_16123 WHERE "#" = '11'
13,960
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 average attendance on October 9, 1983? ### Input: CREATE TABLE table_55985 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) ### Response: SELECT AVG("Attendance") FROM table_55985 WHERE "Date" = 'october 9, 1983'
8,941
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 has total medals under 63, less than 2 silver, more than 2 bronze, and a rank of 8? ### Input: CREATE TABLE table_name_69 ( nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR ) ### Response: SELECT nation FROM table_name_69 WHERE total < 63 AND silver < 2 AND bronze > 2 AND rank = "8"
10,326
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: tell me the number of juniors on the team . ### Input: CREATE TABLE table_204_534 ( id number, "#" number, "name" text, "height" text, "weight (lbs.)" number, "position" text, "class" text, "hometown" text, "previous team(s)" text ) ### Response: SELECT COUNT(*) FROM table_204_534 WHERE "class" = 'jr'
13,967
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 has 136-134 as the score? ### Input: CREATE TABLE table_38118 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) ### Response: SELECT "Date" FROM table_38118 WHERE "Score" = '136-134'
2,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: who is the opponent when the method is submission (rear naked choke) at 4:02 of round 2? ### Input: CREATE TABLE table_name_83 ( opponent VARCHAR, method VARCHAR ) ### Response: SELECT opponent FROM table_name_83 WHERE method = "submission (rear naked choke) at 4:02 of round 2"
1,000
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 played after 2009 ? ### Input: CREATE TABLE table_204_282 ( id number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text, "#" number ) ### Response: SELECT COUNT(*) FROM table_204_282 WHERE "date" > 2009
12,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 Team on January 20? ### Input: CREATE TABLE table_76278 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text ) ### Response: SELECT "Team" FROM table_76278 WHERE "Date" = 'january 20'
4,920
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 states have smaller colleges than average? ### Input: CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) ### Response: SELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)
3,479
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 goals for when the drawn is less than 7, less than 21 games have been lost, and there are 1 of 33 points? ### Input: CREATE TABLE table_name_33 ( goals_for VARCHAR, points_1 VARCHAR, drawn VARCHAR, lost VARCHAR ) ### Response: SELECT COUNT(goals_for) FROM table_name_33 WHERE drawn < 7 AND lost < 21 AND points_1 = "33"
18,515
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 team West Ham United ### Input: CREATE TABLE table_8420 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) ### Response: SELECT "Date" FROM table_8420 WHERE "Home team" = 'west ham united'
21,083
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 score has charlton athletic as the away team? ### Input: CREATE TABLE table_76133 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) ### Response: SELECT "Score" FROM table_76133 WHERE "Away team" = 'charlton athletic'
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: How many nations do the FMS international team represent? ### Input: CREATE TABLE table_2027 ( "Name" text, "Nation" text, "Seasons" text, "Championship Titles" text, "Race Starts" real, "Poles" real, "Wins" real, "Podiums" real, "Fastest Laps" real ) ### Response: SELECT COUNT("Nation") FROM table_2027 WHERE "Name" = 'FMS International'
917
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 Country, when Place is 'T4', and when Player is 'Scott Simpson'? ### Input: CREATE TABLE table_48770 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) ### Response: SELECT "Country" FROM table_48770 WHERE "Place" = 't4' AND "Player" = 'scott simpson'
11,568
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 parties listed for Pennsylvania 8? ### Input: CREATE TABLE table_28929 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) ### Response: SELECT "Party" FROM table_28929 WHERE "District" = 'Pennsylvania 8'
905
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 Name has a Winning constructor of ansaldo? ### Input: CREATE TABLE table_60592 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) ### Response: SELECT "Name" FROM table_60592 WHERE "Winning constructor" = 'ansaldo'
18,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: In what district was the incumbent Edwin Gray? ### Input: CREATE TABLE table_28935 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) ### Response: SELECT "District" FROM table_28935 WHERE "Incumbent" = 'Edwin Gray'
23,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 country made the Flieger-Doppelpistole 1919? ### Input: CREATE TABLE table_29474407_11 ( country_of_origin VARCHAR, name__designation VARCHAR ) ### Response: SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919"
6,983
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 Nationality has a Rank larger than 3, and a Name of tom hilde? ### Input: CREATE TABLE table_34380 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" real, "Points" real, "Overall NT points" text, "Overall WC points (Rank)" text ) ### Response: SELECT "Nationality" FROM table_34380 WHERE "Rank" > '3' AND "Name" = 'tom hilde'
3,653
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 Distance, when Pilot is 'Stanislaw Wujczak'? ### Input: CREATE TABLE table_46984 ( "Position" real, "Pilot" text, "Glider" text, "Speed" text, "Distance" text ) ### Response: SELECT "Distance" FROM table_46984 WHERE "Pilot" = 'stanislaw wujczak'
24,615
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 minimum gross tonnage of the Munich? ### Input: CREATE TABLE table_17016 ( "Ships name" text, "Entered service" text, "Ended service" text, "Gross Tonnage" real, "Type of Vessel" text ) ### Response: SELECT MIN("Gross Tonnage") FROM table_17016 WHERE "Ships name" = 'Munich'
15,256
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 country has the Highest mountain of rettlkirchspitze? ### Input: CREATE TABLE table_52140 ( "AVE- No." text, "Name" text, "Country" text, "Highest mountain" text, "Height (m)" real ) ### Response: SELECT "Country" FROM table_52140 WHERE "Highest mountain" = 'rettlkirchspitze'
8,035
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 institution for yellowjackets ### Input: CREATE TABLE table_23229 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) ### Response: SELECT "Institution" FROM table_23229 WHERE "Nickname" = 'Yellowjackets'
6,670
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 latest keynote version of version 2.3 of numbers with pages greater than 4.3? ### Input: CREATE TABLE table_name_18 ( keynote_version INTEGER, numbers_version VARCHAR, pages_version VARCHAR ) ### Response: SELECT MAX(keynote_version) FROM table_name_18 WHERE numbers_version = "2.3" AND pages_version > 4.3
22,116
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 leg that has a Rc Cannes Team 1? ### Input: CREATE TABLE table_59269 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) ### Response: SELECT "1st leg" FROM table_59269 WHERE "Team 1" = 'rc cannes'
4,079
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 City or town has top division smaller than 40 and Gaziantepspor Club ? ### Input: CREATE TABLE table_name_70 ( city_or_town VARCHAR, number_of_seasons_in_top_division VARCHAR, club VARCHAR ) ### Response: SELECT city_or_town FROM table_name_70 WHERE number_of_seasons_in_top_division < 40 AND club = "gaziantepspor"
246
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: Moving from Nancy after 2005, what is listed as the lowest rank? ### Input: CREATE TABLE table_66765 ( "Rank" real, "Year" real, "Name" text, "Moving from" text, "Moving to" text ) ### Response: SELECT MIN("Rank") FROM table_66765 WHERE "Year" > '2005' AND "Moving from" = 'nancy'
3,630
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: Where did the Paris Marathon occur? ### Input: CREATE TABLE table_32047 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) ### Response: SELECT "Venue" FROM table_32047 WHERE "Competition" = 'paris marathon'
7,254
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 manufacturer won the race on November 2? ### Input: CREATE TABLE table_21919 ( "Year" real, "Date" text, "Driver" text, "Manufacturer" text, "Laps" real, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text ) ### Response: SELECT "Manufacturer" FROM table_21919 WHERE "Date" = 'November 2'
5,488
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: Bar chart of the total number from each party ### Input: CREATE TABLE representative ( Representative_ID int, Name text, State text, Party text, Lifespan text ) CREATE TABLE election ( Election_ID int, Representative_ID int, Date text, Votes real, Vote_Percent real, Seats real, Place real ) ### Response: SELECT Party, COUNT(*) FROM representative GROUP BY Party
18,722
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 Place, when Score is '73-71=144', and when Player is 'Scott Simpson'? ### Input: CREATE TABLE table_name_66 ( place VARCHAR, player VARCHAR, score VARCHAR ) ### Response: SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson"
12,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: What was the lowest recorded record for a player with an average larger than 13? ### Input: CREATE TABLE table_54132 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real ) ### Response: SELECT MIN("Rec.") FROM table_54132 WHERE "Avg." > '13'
16,439
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: On what date did the Pistons play @ toronto? ### Input: CREATE TABLE table_25366 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Date" FROM table_25366 WHERE "Team" = '@ Toronto'
21,219
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 people attended the Cleveland Browns game on November 11, 1979? ### Input: CREATE TABLE table_32675 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) ### Response: SELECT MAX("Attendance") FROM table_32675 WHERE "Date" = 'november 11, 1979' AND "Week" > '11'
9,506
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 Authority for Kuranui Primary School that is located in the Area of Tirau? ### Input: CREATE TABLE table_71667 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" text ) ### Response: SELECT "Authority" FROM table_71667 WHERE "Area" = 'tirau' AND "Name" = 'kuranui primary school'
2,710
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 M809 seris with M939 series of M931/932 ### Input: CREATE TABLE table_name_88 ( m809_series VARCHAR, m939_series VARCHAR ) ### Response: SELECT m809_series FROM table_name_88 WHERE m939_series = "m931/932"
2,879
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 nationality was the round 6 draft pick? ### Input: CREATE TABLE table_77838 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) ### Response: SELECT "Nationality" FROM table_77838 WHERE "Round" = '6'
2,808
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 catalogue has a formate of 'CD Remastered with 3 bonus tracks'? ### Input: CREATE TABLE table_70018 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) ### Response: SELECT "Catalogue" FROM table_70018 WHERE "Format" = 'cd remastered with 3 bonus tracks'
14,182
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 is the second member that was elected in 1555? ### Input: CREATE TABLE table_60046 ( "Summoned" text, "Elected" text, "Assembled" text, "Dissolved" text, "1st member" text, "2nd member" text ) ### Response: SELECT "2nd member" FROM table_60046 WHERE "Elected" = '1555'
12,067
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 loss of the game when the record was 46-84? ### Input: CREATE TABLE table_34841 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) ### Response: SELECT "Loss" FROM table_34841 WHERE "Record" = '46-84'
92
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 Constructor has a Grid of 17? ### Input: CREATE TABLE table_34662 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) ### Response: SELECT "Constructor" FROM table_34662 WHERE "Grid" = '17'
12,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: What is the highest amount of money a play from Scotland United States has? ### Input: CREATE TABLE table_69866 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) ### Response: SELECT MAX("Money ( $ )") FROM table_69866 WHERE "Country" = 'scotland united states'
12,700
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 home team played at western oval? ### Input: CREATE TABLE table_74764 ( "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_74764 WHERE "Venue" = 'western oval'
15,545
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: where title is am/pm callanetics , what are all the copyright information? ### Input: CREATE TABLE table_16543 ( "Year" real, "Title" text, "Format" text, "Studio" text, "Release Date" text, "Copyright Information" text, "Catalog Number" text ) ### Response: SELECT "Copyright Information" FROM table_16543 WHERE "Title" = 'AM/PM Callanetics'
13,925
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 is the second member when RT Hon. Edward Stanley is the first member? ### Input: CREATE TABLE table_60787 ( "Year" real, "First member" text, "First party" text, "Second member" text, "Second party" text ) ### Response: SELECT "Second member" FROM table_60787 WHERE "First member" = 'rt hon. edward stanley'
21,508
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 benue house made of? ### Input: CREATE TABLE table_16803 ( "House Name" text, "Composition" text, "Named after" text, "Founded" real, "Colours" text ) ### Response: SELECT "Composition" FROM table_16803 WHERE "House Name" = 'Benue'
3,744
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 names of body builders in descending order of total scores? ### Input: CREATE TABLE people ( Name VARCHAR, People_ID VARCHAR ) CREATE TABLE body_builder ( People_ID VARCHAR, Total VARCHAR ) ### Response: SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC
8,735
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 record of the game that went 0-7? ### Input: CREATE TABLE table_15093 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) ### Response: SELECT "Record" FROM table_15093 WHERE "Score" = '0-7'
14,154
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 has a public nickname, founded after 1838 in Harrisonburg, Va? ### Input: CREATE TABLE table_46120 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Nickname" text ) ### Response: SELECT "Nickname" FROM table_46120 WHERE "Affiliation" = 'public' AND "Founded" > '1838' AND "Location" = 'harrisonburg, va'
14,468
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 school that is private ### Input: CREATE TABLE table_25579 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real ) ### Response: SELECT "Institution" FROM table_25579 WHERE "Type" = 'Private'
5,437
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 weeks on chart for the single from france? ### Input: CREATE TABLE table_79842 ( "Title" text, "Album" text, "Country" text, "Peak position" real, "Weeks on chart" real ) ### Response: SELECT "Weeks on chart" FROM table_79842 WHERE "Country" = 'france'
16,292
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 television service has italian as the language, and sky famiglia as the package option? ### Input: CREATE TABLE table_39986 ( "Television service" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) ### Response: SELECT "Television service" FROM table_39986 WHERE "Language" = 'italian' AND "Package/Option" = 'sky famiglia'
9,834
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 health score with justice being 80.7 ### Input: CREATE TABLE table_72567 ( "Rank" real, "Country" text, "Overall" text, "Justice" text, "Health" text, "Education" text, "Economics" text, "Politics" text ) ### Response: SELECT "Health" FROM table_72567 WHERE "Justice" = '80.7'
3,304
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 is associated with the date July 6, 1949? ### Input: CREATE TABLE table_5510 ( "RBIs" real, "Player" text, "Team" text, "Date" text, "Opponent" text ) ### Response: SELECT "Player" FROM table_5510 WHERE "Date" = 'july 6, 1949'
5,590