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: During what years did athletes who attended school in Minnesota play for the Grizzlies? ### Input: CREATE TABLE table_20865 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text ) ### Response: SELECT "Years for Grizzlies" FROM table_20865 WHERE "School/Club Team" = 'Minnesota'
9,821
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 wrote 'episode 4'? ### Input: CREATE TABLE table_22286 ( "No. overall" real, "No. in series" real, "Title" text, "Director" text, "Writer" text, "Original air date" text, "Production code" real ) ### Response: SELECT "Writer" FROM table_22286 WHERE "Title" = 'Episode 4'
646
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 saturated fat with a total fat of 100g and 11g of polyunsaturated fat? ### Input: CREATE TABLE table_name_94 ( saturated_fat VARCHAR, total_fat VARCHAR, polyunsaturated_fat VARCHAR ) ### Response: SELECT saturated_fat FROM table_name_94 WHERE total_fat = "100g" AND polyunsaturated_fat = "11g"
4,263
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 only candidate that was first elected in 1811 . ### Input: CREATE TABLE table_204_109 ( id number, "district" text, "incumbent" text, "party" text, "first\nelected" text, "result" text, "candidates" text ) ### Response: SELECT "incumbent" FROM table_204_109 WHERE "first\nelected" = 1811
16,624
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 Baltimore group is of the retroviridae family? ### Input: CREATE TABLE table_43232 ( "Family" text, "Baltimore group" text, "envelopment" text, "Virion shape" text, "Replication site" text ) ### Response: SELECT "Baltimore group" FROM table_43232 WHERE "Family" = 'retroviridae'
5,284
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: the two best positions in which kazlou has ranked in major world competition were ________ and ______ . ### Input: CREATE TABLE table_203_238 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) ### Response: SELECT "position" FROM table_203_238 ORDER BY "position" LIMIT 2
4,980
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 class aa for 1998-99 ### Input: CREATE TABLE table_19419 ( "School Year" text, "Class A" text, "Class AA" text, "Class AAA" text, "Class AAAA" text, "Class AAAAA" text ) ### Response: SELECT "Class AA" FROM table_19419 WHERE "School Year" = '1998-99'
1,531
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 river found in Madhya Pradesh, India? ### Input: CREATE TABLE table_44783 ( "Name of Deity" text, "Bhuta(Tatwa)" text, "Name of the Stone (Sila)" text, "Name of the River" text, "Name of the State where found in India" text ) ### Response: SELECT "Name of the River" FROM table_44783 WHERE "Name of the State where found in India" = 'madhya pradesh'
7,603
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 gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3? ### Input: CREATE TABLE table_name_41 ( gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR ) ### Response: SELECT AVG(gold) FROM table_name_41 WHERE silver = 1 AND event = "2000 summer paralympics" AND bronze > 3
7,311
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: Plot the average of age by grouped by class as a bar graph ### Input: CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) ### Response: SELECT Class, AVG(age) FROM captain GROUP BY Class
23,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: What is the Illustration with a Design of tim nokes, and a First Day Cover Cancellation with calgary, alberta? ### Input: CREATE TABLE table_name_76 ( illustration VARCHAR, design VARCHAR, first_day_cover_cancellation VARCHAR ) ### Response: SELECT illustration FROM table_name_76 WHERE design = "tim nokes" AND first_day_cover_cancellation = "calgary, alberta"
2,721
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 away team when the tie no is more than 13 and the home team is team bath? ### Input: CREATE TABLE table_name_30 ( away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR ) ### Response: SELECT away_team FROM table_name_30 WHERE tie_no > 13 AND home_team = "team bath"
18,773
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 only event won in belgium ? ### Input: CREATE TABLE table_203_299 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) ### Response: SELECT "competition" FROM table_203_299 WHERE "venue" = 'belgium'
5,027
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 winning % for the 2010 QF? ### Input: CREATE TABLE table_12789 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "Win %" text ) ### Response: SELECT "Win %" FROM table_12789 WHERE "2010" = 'qf'
9,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: When the record is listed as 2-0-0, and the November date is less than 27, what is the sum of the game? ### Input: CREATE TABLE table_6940 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text ) ### Response: SELECT SUM("Game") FROM table_6940 WHERE "November" < '27' AND "Record" = '2-0-0'
12,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: In which year was the Pick #46? ### Input: CREATE TABLE table_12184 ( "Draft" text, "Round" text, "Pick" text, "Nationality" text, "Position" text, "College/High School/Club" text ) ### Response: SELECT "Draft" FROM table_12184 WHERE "Pick" = '46'
17,819
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 is the class A when Marion was the class AA ### Input: CREATE TABLE table_19559 ( "School Year" text, "Class A" text, "Class AA" text, "Class AAA" text, "Class AAAA" text, "Class AAAAA" text ) ### Response: SELECT "Class A" FROM table_19559 WHERE "Class AA" = 'Marion'
460
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 does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent? ### Input: CREATE TABLE table_name_13 ( current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR ) ### Response: SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" AND year_born < 1982 AND player = "tariq kirksay"
14,263
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 round has a Kick Off of 1993-02-17 20:30? ### Input: CREATE TABLE table_70536 ( "Round" text, "Kick Off" text, "Opponents" text, "H / A" text, "Result" text, "Referee" text ) ### Response: SELECT "Round" FROM table_70536 WHERE "Kick Off" = '1993-02-17 20:30'
5,322
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 home team's score when the away team scored 16.14 (110)? ### Input: CREATE TABLE table_55232 ( "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_55232 WHERE "Away team score" = '16.14 (110)'
5,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: the other team besides brazil to score 5 goals ### Input: CREATE TABLE table_204_487 ( id number, "home team" text, "score" text, "visiting team" text, "location" text, "venue" text, "door" text, "surface" text ) ### Response: SELECT "home team" FROM table_204_487 WHERE "home team" <> 'brazil' AND "score" = 5
14,394
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 did the home team score when playing against Collingwood? ### Input: CREATE TABLE table_55442 ( "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_55442 WHERE "Away team" = 'collingwood'
1,268
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 score for home of green bay packers ### Input: CREATE TABLE table_69941 ( "Date" text, "Visitor" text, "Result" text, "Score" text, "Home" text, "Record" text, "Attendance" real ) ### Response: SELECT "Score" FROM table_69941 WHERE "Home" = 'green bay packers'
21,321
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 incorporated for principal activites of travel agency ### Input: CREATE TABLE table_67422 ( "Company" text, "Type" text, "Principal activities" text, "Incorporated in" text, "Group's Equity Shareholding (10 March 2010)" text ) ### Response: SELECT "Incorporated in" FROM table_67422 WHERE "Principal activities" = 'travel agency'
1,085
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 Psychological Dependence, when Pleasure is '2.3', and when Mean is less than 1.9300000000000002? ### Input: CREATE TABLE table_name_91 ( psychological_dependence VARCHAR, pleasure VARCHAR, mean VARCHAR ) ### Response: SELECT COUNT(psychological_dependence) FROM table_name_91 WHERE pleasure = 2.3 AND mean < 1.9300000000000002
24,930
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 Snatch weight for the year that had a total of 409kg? ### Input: CREATE TABLE table_14263 ( "Year" real, "Competition" text, "Location" text, "Weight Category" text, "Snatch" text, "Clean and Jerk" text, "Total" text, "Place" real ) ### Response: SELECT "Snatch" FROM table_14263 WHERE "Total" = '409kg'
19,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: Name the barrel length for rear sight a2 for factory compensator ### Input: CREATE TABLE table_12834315_4 ( barrel_length VARCHAR, rear_sight VARCHAR, muzzle_device VARCHAR ) ### Response: SELECT barrel_length FROM table_12834315_4 WHERE rear_sight = "A2" AND muzzle_device = "Factory compensator"
3,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 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9? ### Input: CREATE TABLE table_name_51 ( reservation VARCHAR ) ### Response: SELECT SUM(1979) FROM table_name_51 WHERE reservation = "standing rock indian reservation" AND 1989 < 54.9
6,626
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 year was the only album on the fontana label ? ### Input: CREATE TABLE table_204_394 ( id number, "year" number, "album" text, "label" text, "peak chart\npositions\nus" number, "peak chart\npositions\nus r&b" number ) ### Response: SELECT "year" FROM table_204_394 WHERE "label" = 'fontana'
11,971
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 Winner, when Team is 'R.J.MacArthur Onslow', and when Circuit is 'Oran Park Raceway'? ### Input: CREATE TABLE table_58887 ( "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) ### Response: SELECT "Winner" FROM table_58887 WHERE "Team" = 'r.j.macarthur onslow' AND "Circuit" = 'oran park raceway'
1,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 is the series 4 with sarah newman in series 1? ### Input: CREATE TABLE table_12147 ( "Seat" real, "Series 1" text, "Series 3" text, "Series 4" text, "Series 5" text ) ### Response: SELECT "Series 4" FROM table_12147 WHERE "Series 1" = 'sarah newman'
1,258
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: Return the average money requested across all entrepreneurs. ### Input: CREATE TABLE people ( people_id number, name text, height number, weight number, date_of_birth text ) CREATE TABLE entrepreneur ( entrepreneur_id number, people_id number, company text, money_requested number, investor text ) ### Response: SELECT AVG(money_requested) FROM entrepreneur
7,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: which regiment was in the Fulton County ### Input: CREATE TABLE table_31156 ( "Division" text, "Brigade" text, "Regiment" text, "Colonel" text, "County" text ) ### Response: SELECT "Regiment" FROM table_31156 WHERE "County" = 'Fulton'
5,606
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 hometowns have a height of m (ft 10 1 2 in)? ### Input: CREATE TABLE table_24192031_2 ( hometown VARCHAR, height VARCHAR ) ### Response: SELECT COUNT(hometown) FROM table_24192031_2 WHERE height = "m (ft 10 1⁄2 in)"
9,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: What is the total number of episodes where jim sweeney was the 1st performer and steve steen was the 2nd performer? ### Input: CREATE TABLE table_name_78 ( episode VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR ) ### Response: SELECT COUNT(episode) FROM table_name_78 WHERE performer_1 = "jim sweeney" AND performer_2 = "steve steen"
12,365
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 power provided for transfer speed mb/s is 1250 ### Input: CREATE TABLE table_21674 ( "Name" text, "Raw bandwidth (Mbit/s)" real, "Transfer speed (MB/s)" text, "Max. cable length (m)" text, "Power provided" text, "Devices per channel" text ) ### Response: SELECT "Power provided" FROM table_21674 WHERE "Transfer speed (MB/s)" = '1250'
3,832
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 2012 for 2009 of a and 2010 of a and 2011 of a ### Input: CREATE TABLE table_name_89 ( Id VARCHAR ) ### Response: SELECT 2012 FROM table_name_89 WHERE 2009 = "a" AND 2010 = "a" AND 2011 = "a"
6,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: What is the frequency of the radio station with a call sign of WGNR-FM? ### Input: CREATE TABLE table_77341 ( "Call sign" text, "Frequency" text, "City of license" text, "State" text, "FCC info" text ) ### Response: SELECT "Frequency" FROM table_77341 WHERE "Call sign" = 'wgnr-fm'
12,319
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 laps that has a manufacturer of yamaha, and a time/retired of +1:08.312, and a grid less than 20? ### Input: CREATE TABLE table_name_4 ( laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR ) ### Response: SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20
3,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: In which host city was Margaret Thatcher the President-in-Office in 1981? ### Input: CREATE TABLE table_name_85 ( host_city VARCHAR, president_in_office VARCHAR, year VARCHAR ) ### Response: SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981
20,404
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 inroductory phase for the episode with neil shubin as a guest? ### Input: CREATE TABLE table_1119 ( "Episode #" real, "The W\u00f8rd" text, "Guest" text, "Introductory phrase" text, "Original Airdate" text, "Production Code" real ) ### Response: SELECT "Introductory phrase" FROM table_1119 WHERE "Guest" = 'Neil Shubin'
2,427
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 population density of Caramoran? ### Input: CREATE TABLE table_27795 ( "Municipality" text, "No. of Barangays" real, "Area (hectares)" real, "Population (2007)" real, "Population (2010)" real, "Pop. density (per km 2 )" text ) ### Response: SELECT "Pop. density (per km 2 )" FROM table_27795 WHERE "Municipality" = 'Caramoran'
13,648
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 Total with a Rank greater than 1, and a Bronze larger than 8? ### Input: CREATE TABLE table_5451 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT AVG("Total") FROM table_5451 WHERE "Rank" > '1' AND "Bronze" > '8'
7,950
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 different drivers are listed ? ### Input: CREATE TABLE table_204_976 ( id number, "pos" text, "driver" text, "entrant" text, "constructor" text, "time/retired" text, "grid" number ) ### Response: SELECT COUNT(DISTINCT "driver") FROM table_204_976
3,655
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 score for january 26 ### Input: CREATE TABLE table_21247 ( "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_21247 WHERE "Date" = 'January 26'
24,826
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 Nation with a Date that is may 6, 1991? ### Input: CREATE TABLE table_42208 ( "Record" text, "Athlete" text, "Nation" text, "Venue" text, "Date" text ) ### Response: SELECT "Nation" FROM table_42208 WHERE "Date" = 'may 6, 1991'
7,609
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 School/Club Team of Illinois? ### Input: CREATE TABLE table_40968 ( "Player" text, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text ) ### Response: SELECT "Player" FROM table_40968 WHERE "School/Club Team" = 'illinois'
11,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: what is the country for zhang xiuyun? ### Input: CREATE TABLE table_66211 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) ### Response: SELECT "Country" FROM table_66211 WHERE "Athlete" = 'zhang xiuyun'
50
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 archive for run time of 23:55 ### Input: CREATE TABLE table_24055 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) ### Response: SELECT "Archive" FROM table_24055 WHERE "Run time" = '23:55'
19,759
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 owner/operator of the line from Kambalda to Esperance? ### Input: CREATE TABLE table_59727 ( "Name (year commissioned)" text, "Owner/operator" text, "Length" text, "Maximum diameter" text, "From/to" text, "Licence number" text ) ### Response: SELECT "Owner/operator" FROM table_59727 WHERE "From/to" = 'kambalda to esperance'
22,942
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: The ship named Bacchus with a tonnage of t had what disposition of ship? ### Input: CREATE TABLE table_78966 ( "Date" text, "Ship Name" text, "Tonnage" text, "Ship Type" text, "Location" text, "Disposition of Ship" text ) ### Response: SELECT "Disposition of Ship" FROM table_78966 WHERE "Tonnage" = 't' AND "Ship Name" = 'bacchus'
9,393
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 Surface on during 10 November 2006? ### Input: CREATE TABLE table_66440 ( "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text ) ### Response: SELECT "Surface" FROM table_66440 WHERE "Date" = '10 november 2006'
16,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: What was the nationality of the sunk ship named Rinos? ### Input: CREATE TABLE table_13734 ( "Date" text, "Ship" text, "Nationality" text, "Tonnage" real, "Fate" text ) ### Response: SELECT "Nationality" FROM table_13734 WHERE "Fate" = 'sunk' AND "Ship" = 'rinos'
10,971
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 golfer that has the score of 73-65=138? ### Input: CREATE TABLE table_76232 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) ### Response: SELECT "Player" FROM table_76232 WHERE "Score" = '73-65=138'
4,158
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 medals won by all countries combined ? ### Input: CREATE TABLE table_203_608 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) ### Response: SELECT SUM("total") FROM table_203_608
8,611
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 Germany's lowest heat ranked after 24? ### Input: CREATE TABLE table_13437 ( "Rank" real, "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) ### Response: SELECT MIN("Heat") FROM table_13437 WHERE "Nationality" = 'germany' AND "Rank" > '24'
9,068
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 attended on march 1? ### Input: CREATE TABLE table_69818 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) ### Response: SELECT AVG("Attendance") FROM table_69818 WHERE "Date" = 'march 1'
21,260
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 won under Gary Simms? ### Input: CREATE TABLE table_74528 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Time" text, "Grade" text ) ### Response: SELECT "Winner" FROM table_74528 WHERE "Trainer" = 'gary simms'
16,493
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 had the high rebounds when Chris Bosh (16) had the high points? ### Input: CREATE TABLE table_11960407_4 ( high_rebounds VARCHAR, high_points VARCHAR ) ### Response: SELECT high_rebounds FROM table_11960407_4 WHERE high_points = "Chris Bosh (16)"
11,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: Where is the miss global teen? ### Input: CREATE TABLE table_22221 ( "Year" real, "Delegate" text, "Hometown" text, "Pageant" text, "Result" text, "Other awards" text ) ### Response: SELECT "Hometown" FROM table_22221 WHERE "Pageant" = 'Miss Global Teen'
7,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: How big was the crowd of away team Richmond? ### Input: CREATE TABLE table_55612 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Crowd" FROM table_55612 WHERE "Away team" = 'richmond'
9,484
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 last match with a vacancy date of round 2 and Ney Franco as outgoing manager? ### Input: CREATE TABLE table_35437 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Last match" text, "Replaced by" text ) ### Response: SELECT "Last match" FROM table_35437 WHERE "Date of vacancy" = 'round 2' AND "Outgoing manager" = 'ney franco'
7,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: What was the player's result at the U.S. Open of the player who finished 6th at the Open Ch? ### Input: CREATE TABLE table_1172 ( "Nationality" text, "Player" text, "Year" real, "Wins" real, "Masters" text, "U.S. Open" text, "Open Ch." text, "PGA Ch." text ) ### Response: SELECT "U.S. Open" FROM table_1172 WHERE "Open Ch." = '6th'
7,018
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 author of the submission with the highest score? ### Input: CREATE TABLE submission ( submission_id number, scores number, author text, college text ) CREATE TABLE acceptance ( submission_id number, workshop_id number, result text ) CREATE TABLE workshop ( workshop_id number, date text, venue text, name text ) ### Response: SELECT author FROM submission ORDER BY scores DESC LIMIT 1
14,100
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 winning driver with circuit of monza ### Input: CREATE TABLE table_56879 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text ) ### Response: SELECT "Winning driver" FROM table_56879 WHERE "Circuit" = 'monza'
4,715
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 Elaine Powell (g) of the United states picked? ### Input: CREATE TABLE table_43656 ( "Pick" real, "Player" text, "Nationality" text, "New WNBA Team" text, "Former WNBA Team" text, "College/Country/Team" text ) ### Response: SELECT "Pick" FROM table_43656 WHERE "Nationality" = 'united states' AND "Player" = 'elaine powell (g)'
4,911
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 least number for (popup.version) ### Input: CREATE TABLE table_2144389_8 ( _number INTEGER, japanese_title VARCHAR ) ### Response: SELECT MIN(_number) FROM table_2144389_8 WHERE japanese_title = "君のそばで~ヒカリのテーマ~(PopUp.Version)"
11,218
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 number of registered female voters where the percentage is 108.6% ### Input: CREATE TABLE table_25042332_30 ( enrolled_women VARCHAR, e_vap_ratio_women VARCHAR ) ### Response: SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.6%"
5,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: The canadian airdate of 17 march 2008 had how many numbers in the season? ### Input: CREATE TABLE table_72141 ( "No. in season" real, "No. in series" real, "Title" text, "Canadian airdate" text, "US airdate" text, "Production code" real ) ### Response: SELECT COUNT("No. in season") FROM table_72141 WHERE "Canadian airdate" = '17 March 2008'
881
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 are all the major users of the Gordon Close-Support Weapon System? ### Input: CREATE TABLE table_31149 ( "Name/ designation" text, "Year of intro" real, "Country of origin" text, "Primary cartridge" text, "Major users" text ) ### Response: SELECT "Major users" FROM table_31149 WHERE "Name/ designation" = 'Gordon Close-Support Weapon System'
4,406
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 License has a System of amiga, and a Name of pocketuae? ### Input: CREATE TABLE table_55128 ( "Name" text, "Actual version" text, "System" text, "Platform" text, "License" text ) ### Response: SELECT "License" FROM table_55128 WHERE "System" = 'amiga' AND "Name" = 'pocketuae'
2,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 Score when the winner was sanyo wild knights, and a Runner-up of suntory sungoliath? ### Input: CREATE TABLE table_name_39 ( score VARCHAR, winner VARCHAR, runner_up VARCHAR ) ### Response: SELECT score FROM table_name_39 WHERE winner = "sanyo wild knights" AND runner_up = "suntory sungoliath"
5,395
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 overall FHT points for Denis Kornilov? ### Input: CREATE TABLE table_36687 ( "Rank" real, "Name" text, "Nationality" text, "1st (m)" real, "2nd (m)" real, "Points" real, "Overall FHT points" text, "Overall WC points (Rank)" text ) ### Response: SELECT "Overall FHT points" FROM table_36687 WHERE "Name" = 'denis kornilov'
3,502
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 of the discus throw for Bulgaria? ### Input: CREATE TABLE table_55229 ( "Event" text, "Record" text, "Athlete" text, "Nationality" text, "Date" text ) ### Response: SELECT "Date" FROM table_55229 WHERE "Nationality" = 'bulgaria' AND "Event" = 'discus throw'
10,021
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 VFL played Brunswick Street Oval what was the home team score? ### Input: CREATE TABLE table_4544 ( "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_4544 WHERE "Venue" = 'brunswick street oval'
12,358
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 played on January 5? ### Input: CREATE TABLE table_2841 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Record" FROM table_2841 WHERE "Date" = 'January 5'
4,868
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 medals when there were 0 gold medals and 1 silver? ### Input: CREATE TABLE table_66535 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT MAX("Total") FROM table_66535 WHERE "Silver" = '1' AND "Gold" < '0'
5,274
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 venue when the away side scores 11.20 (86)? ### Input: CREATE TABLE table_33579 ( "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_33579 WHERE "Away team score" = '11.20 (86)'
6,250
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 for game 6? ### Input: CREATE TABLE table_14584 ( "Game" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) ### Response: SELECT "Date" FROM table_14584 WHERE "Game" = '6'
9,352
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 clubs are involved when there are 4 winners from the previous rounds and more than 4 clubs remaining? ### Input: CREATE TABLE table_name_59 ( clubs_involved INTEGER, winners_from_previous_round VARCHAR, clubs_remaining VARCHAR ) ### Response: SELECT MIN(clubs_involved) FROM table_name_59 WHERE winners_from_previous_round = "4" AND clubs_remaining > 4
16,794
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 has a draw greater than 15? ### Input: CREATE TABLE table_59987 ( "Draw" real, "Language" text, "Artist" text, "Song" text, "English translation" text, "Place" real, "Points" real ) ### Response: SELECT "Artist" FROM table_59987 WHERE "Draw" > '15'
18,324
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 guests in episode 1-01 ? ### Input: CREATE TABLE table_204_494 ( id number, "episode #" text, "original air date (uk)" text, "episode title" text, "guest cast" text, "dvd # 1" number ) ### Response: SELECT "guest cast" FROM table_204_494 WHERE "episode #" = '1-01'
9,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 is the population estimate 2005 for the with the area (km2) 3,034.08? ### Input: CREATE TABLE table_name_89 ( population_estimate_2005 INTEGER, area__km_2__ VARCHAR ) ### Response: SELECT AVG(population_estimate_2005) FROM table_name_89 WHERE area__km_2__ = 3 OFFSET 034.08
18,992
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 Balayan, Batangas campus founded? ### Input: CREATE TABLE table_65869 ( "Campus" text, "Executive Director" text, "Founded" real, "Type" text, "Location" text ) ### Response: SELECT "Founded" FROM table_65869 WHERE "Location" = 'balayan, batangas'
10,050
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 language did the word that means mahjong first come from? ### Input: CREATE TABLE table_45720 ( "Japanese" text, "R\u014dmaji" text, "Meaning" text, "Chinese" text, "Romanization" text, "Source language" text ) ### Response: SELECT "Source language" FROM table_45720 WHERE "Meaning" = 'mahjong'
10,442
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 Goal Difference has 13 Wins, and a Position of 3, and Played smaller than 30? ### Input: CREATE TABLE table_name_10 ( goal_difference INTEGER, played VARCHAR, wins VARCHAR, position VARCHAR ) ### Response: SELECT AVG(goal_difference) FROM table_name_10 WHERE wins = 13 AND position = 3 AND played < 30
14,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 second leg that Valencia was on? ### Input: CREATE TABLE table_68891 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) ### Response: SELECT "2nd leg" FROM table_68891 WHERE "Team 2" = 'valencia'
3,633
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 has scored more goals than any other melbourne player ? ### Input: CREATE TABLE table_203_221 ( id number, "name" text, "nationality" text, "matches played" number, "goals scored" number, "notes" text ) ### Response: SELECT "name" FROM table_203_221 ORDER BY "goals scored" DESC LIMIT 1
10,457
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 method of the bout lasting 4:15? ### Input: CREATE TABLE table_36508 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) ### Response: SELECT "Method" FROM table_36508 WHERE "Time" = '4:15'
21,931
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 first in number of winnings on this list ? ### Input: CREATE TABLE table_203_529 ( id number, "fin" number, "st" number, "driver" text, "car #" number, "make" text, "points" number, "bonus" number, "laps" number, "winnings" text ) ### Response: SELECT "driver" FROM table_203_529 ORDER BY "winnings" DESC LIMIT 1
2,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: What is every reference for type and usage of Germanium small-signal RF transistor? ### Input: CREATE TABLE table_31422 ( "Prefix class" text, "Type and usage" text, "Example" text, "Equivalent" text, "Reference" text ) ### Response: SELECT "Reference" FROM table_31422 WHERE "Type and usage" = 'Germanium small-signal RF transistor'
21,777
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 Home team at the Western Oval location? ### Input: CREATE TABLE table_58234 ( "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_58234 WHERE "Venue" = 'western oval'
11,937
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 runner-up on 5 aug 1990? ### Input: CREATE TABLE table_34802 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner-up" text ) ### Response: SELECT "Runner-up" FROM table_34802 WHERE "Date" = '5 aug 1990'
951
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 final score when River Plate was the runner-up? ### Input: CREATE TABLE table_24772 ( "Season" text, "Champion" text, "Runner-Up" text, "Result" text, "League MVP" text, "Finals MVP" text, "Winning Coach" text ) ### Response: SELECT "Result" FROM table_24772 WHERE "Runner-Up" = 'River Plate'
21,380
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 points did shahar pe'er score? ### Input: CREATE TABLE table_2357 ( "Sd" real, "Player" text, "Points" real, "Points defending" real, "Points won" real, "New points" real, "Status" text ) ### Response: SELECT "Points won" FROM table_2357 WHERE "Player" = 'Shahar Pe''er'
3,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 was the date of the match with a winning score of 7 (67-72-69-69=277)? ### Input: CREATE TABLE table_47391 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) ### Response: SELECT "Date" FROM table_47391 WHERE "Winning score" = '–7 (67-72-69-69=277)'
981
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 lesson does customer with first name Ray took? ### Input: CREATE TABLE Lessons ( customer_id VARCHAR ) CREATE TABLE Customers ( customer_id VARCHAR, first_name VARCHAR ) ### Response: SELECT COUNT(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = "Ray"
8,811
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 long did they produce singles ? ### Input: CREATE TABLE table_203_629 ( id number, "year" number, "title" text, "lead vocalist" text, "aria chart position" number, "album" text ) ### Response: SELECT MAX("year") - MIN("year") FROM table_203_629
12,036
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 Event has a Record of 4:02.54? ### Input: CREATE TABLE table_42245 ( "Event" text, "Record" text, "Nation" text, "Date" text, "Venue" text ) ### Response: SELECT "Event" FROM table_42245 WHERE "Record" = '4:02.54'
22,870
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 district is incumbent jack hightower from? ### Input: CREATE TABLE table_18284 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) ### Response: SELECT "District" FROM table_18284 WHERE "Incumbent" = 'Jack Hightower'
2,629