text
stringlengths
400
694
__index_level_0__
int64
6
25k
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the accreditation level for the approved (awarded 05.12.12) date? ### Input: CREATE TABLE table_47481 ( "Company name" text, "Hardware Model" text, "Accreditation type" text, "Accreditation level" text, "Date" text ) ### Response: SELECT "Accreditation level" FROM table_47481 WHERE "Date" = 'approved (awarded 05.12.12)'
20,137
Below are sql tables 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 entries are there for u.s. viewers (millions) for the episode directed by rob bailey? ### Input: CREATE TABLE table_26914076_3 ( us_viewers__millions_ VARCHAR, directed_by VARCHAR ) ### Response: SELECT COUNT(us_viewers__millions_) FROM table_26914076_3 WHERE directed_by = "Rob Bailey"
6,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: What was the date of natural cause situation? ### Input: CREATE TABLE table_68013 ( "Date" text, "Location" text, "Nature of incident" text, "Circumstances" text, "Casualties" text ) ### Response: SELECT "Date" FROM table_68013 WHERE "Circumstances" = 'natural cause'
22,543
Below are sql tables 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 Total has an FA Cup goals of 1, and a League goals of 4 + 7? ### Input: CREATE TABLE table_43815 ( "Club" text, "League goals" text, "FA Cup goals" text, "League Cup goals" text, "Total" real ) ### Response: SELECT AVG("Total") FROM table_43815 WHERE "FA Cup goals" = '1' AND "League goals" = '4 + 7'
16,259
Below are sql tables 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 glass bulb color for ordinary ### Input: CREATE TABLE table_1238 ( "Maximum Ceiling Temperature" text, "Temperature Rating" text, "Temperature Classification" text, "Color Code (with Fusible Link)" text, "Glass Bulb Color" text ) ### Response: SELECT "Glass Bulb Color" FROM table_1238 WHERE "Temperature Classification" = 'Ordinary'
2,791
Below are sql tables 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 during the season were attended by at least 50,000 people ? ### Input: CREATE TABLE table_203_405 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number ) ### Response: SELECT COUNT(*) FROM table_203_405 WHERE "attendance" >= 50000
24,997
Below are sql tables 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 model for total production of 1347 ### Input: CREATE TABLE table_4379 ( "Model" text, "Build year" text, "Top speed (In operation) \uff08km/h\uff09" real, "Power output \uff08kW\uff09" text, "Builder" text, "Total production" real ) ### Response: SELECT "Model" FROM table_4379 WHERE "Total production" = '1347'
21,073
Below are sql tables 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 region is listed below atacama ? ### Input: CREATE TABLE table_203_447 ( id number, "constituency" number, "region" text, "name" text, "party" text, "last elected" number ) ### Response: SELECT "region" FROM table_203_447 WHERE id = (SELECT id FROM table_203_447 WHERE "region" = 'atacama' ORDER BY id DESC LIMIT 1) + 1
5,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: If the passengers are 15,505,566, what is the iata code? ### Input: CREATE TABLE table_18047346_4 ( iata_code VARCHAR, passengers VARCHAR ) ### Response: SELECT iata_code FROM table_18047346_4 WHERE passengers = "15,505,566"
17,111
Below are sql tables 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 Sack with an Assisted larger than 4, with TD's smaller than 0? ### Input: CREATE TABLE table_56450 ( "Player" text, "Tackles" real, "Solo" real, "Assisted" real, "Sack" real, "Yards" real, "TD's" real ) ### Response: SELECT MAX("Sack") FROM table_56450 WHERE "Assisted" > '4' AND "TD's" < '0'
14,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: What is the total number of acres at Sai Tso Wan, opening before 1978? ### Input: CREATE TABLE table_41788 ( "Landfill" text, "Location" text, "Acres" real, "Opened" real, "Capacity" text, "Status" text, "Rehab Period" text ) ### Response: SELECT COUNT("Acres") FROM table_41788 WHERE "Landfill" = 'sai tso wan' AND "Opened" < '1978'
15,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 total number of plants in algeria ? ### Input: CREATE TABLE table_204_789 ( id number, "plant name" text, "location" text, "country" text, "startup date" number, "capacity (mmtpa)" text, "corporation" text ) ### Response: SELECT COUNT("plant name") FROM table_204_789 WHERE "country" = 'algeria'
5,872
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the Attendance at Jobing.com Arena? ### Input: CREATE TABLE table_59817 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text ) ### Response: SELECT COUNT("Attendance") FROM table_59817 WHERE "Arena" = 'jobing.com arena'
16,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: What is the frequency of the station with a coverage of oaxaca guerrero puebla? ### Input: CREATE TABLE table_39699 ( "Call sign" text, "Launched" text, "Transmitting from" text, "Coverage" text, "Languages" text, "Frequency" text ) ### Response: SELECT "Frequency" FROM table_39699 WHERE "Coverage" = 'oaxaca guerrero puebla'
8,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 country was the game played when it was played from April 11-April 21? ### Input: CREATE TABLE table_41995 ( "Date" text, "Location" text, "Country" text, "Event" text, "Winner" text, "Runner-up" text ) ### Response: SELECT "Country" FROM table_41995 WHERE "Date" = 'april 11-april 21'
24,495
Below are sql tables 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 rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14 ### Input: CREATE TABLE table_name_95 ( rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR ) ### Response: SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 14
3,997
Below are sql tables 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 are there before 1990 ? ### Input: CREATE TABLE table_204_121 ( id number, "year" text, "game" text, "developer" text, "setting" text, "platform" text, "notes" text ) ### Response: SELECT COUNT("game") FROM table_204_121 WHERE "year" < 1990
994
Below are sql tables 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 airing at 8:00 on the channel that airs Castle at 10:00? ### Input: CREATE TABLE table_7514 ( "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text ) ### Response: SELECT "8:00" FROM table_7514 WHERE "10:00" = 'castle'
21,048
Below are sql tables 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 percentage of votes for coakley when kennedy won 1.6% ### Input: CREATE TABLE table_24115349_4 ( coakley__percentage VARCHAR, kennedy__percentage VARCHAR ) ### Response: SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "1.6%"
3,769
Below are sql tables 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 time did the game start during week 1? ### Input: CREATE TABLE table_34271 ( "Week" real, "Date" text, "Opponent" text, "Time ( ET )" text, "Result" text, "Record" text, "Game Site" text ) ### Response: SELECT "Time ( ET )" FROM table_34271 WHERE "Week" = '1'
24,823
Below are sql tables 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 Glider, when Speed is '147.3km/h'? ### Input: CREATE TABLE table_46983 ( "Position" real, "Pilot" text, "Glider" text, "Speed" text, "Distance" text ) ### Response: SELECT "Glider" FROM table_46983 WHERE "Speed" = '147.3km/h'
1,433
Below are sql tables 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 players play either mf or df ? ### Input: CREATE TABLE table_204_877 ( id number, "place" number, "position" text, "number" number, "name" text, "league two" number, "fa cup" number, "league cup" number, "fl trophy" number, "total" number ) ### Response: SELECT COUNT("name") FROM table_204_877 WHERE "position" IN ('mf', 'df')
13,028
Below are sql tables 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 highest score achieved by rhein fire ? ### Input: CREATE TABLE table_204_123 ( id number, "week" number, "date" text, "kickoff" text, "opponent" text, "results\nfinal score" text, "results\nteam record" text, "game site" text, "attendance" number ) ### Response: SELECT MAX("results\nfinal score") FROM table_204_123 WHERE "opponent" = 'rhein fire'
18,912
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which First elected has a Incumbent of none (new seat)? ### Input: CREATE TABLE table_37902 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text ) ### Response: SELECT "First elected" FROM table_37902 WHERE "Incumbent" = 'none (new seat)'
42
Below are sql tables 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 leading scorer that was a visitor of the Trail Blazers? ### Input: CREATE TABLE table_56787 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) ### Response: SELECT "Leading scorer" FROM table_56787 WHERE "Visitor" = 'trail blazers'
9,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: What distance did the winning horse run in the Summer Doldrums. ### Input: CREATE TABLE table_58023 ( "Date" text, "Track" text, "Race" text, "Distance" text, "Surface track" text, "Winning horse" text, "Winning jockey" text ) ### Response: SELECT "Distance" FROM table_58023 WHERE "Winning horse" = 'summer doldrums'
16,025
Below are sql tables 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 events when the cuts made is less than 34, the top-25 is less than 5 and the top-10 is more than 1? ### Input: CREATE TABLE table_name_72 ( events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_25 VARCHAR ) ### Response: SELECT MAX(events) FROM table_name_72 WHERE cuts_made < 34 AND top_25 < 5 AND top_10 > 1
8,269
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many cities are there in rizal ? ### Input: CREATE TABLE table_204_987 ( id number, "city/municipality" text, "no. of\nbarangays" number, "area\n(km2)" number, "population\n(2010 census)" number, "pop. density\n(per km2)" number ) ### Response: SELECT COUNT("city/municipality") FROM table_204_987
14,557
Below are sql tables 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 average year that Xuxa 3 earned the certification 2x platinum, and that the sales were higher than 750,000? ### Input: CREATE TABLE table_name_60 ( year INTEGER, sales VARCHAR, certification VARCHAR, álbum VARCHAR ) ### Response: SELECT AVG(year) FROM table_name_60 WHERE certification = "2x platinum" AND álbum = "xuxa 3" AND sales > 750 OFFSET 000
167
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Grid has a Time of +13.999? ### Input: CREATE TABLE table_8762 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) ### Response: SELECT MIN("Grid") FROM table_8762 WHERE "Time" = '+13.999'
24,024
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the country of Origin is South Africa, who is the primary user? ### Input: CREATE TABLE table_28656 ( "Name / designation" text, "Year of introduction" text, "Country of origin" text, "Primary cartridge" text, "primary user" text ) ### Response: SELECT "primary user" FROM table_28656 WHERE "Country of origin" = 'South Africa'
11,564
Below are sql tables 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 most # that aired on september 29, 2008? ### Input: CREATE TABLE table_11235334_2 ( _number INTEGER, air_date VARCHAR ) ### Response: SELECT MAX(_number) FROM table_11235334_2 WHERE air_date = "September 29, 2008"
913
Below are sql tables 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 Match has the percentage won 52.38? ### Input: CREATE TABLE table_14830 ( "Team" text, "Matches" text, "Winner" text, "Lost" text, "No result" text, "Tied" text, "% Won" text ) ### Response: SELECT "Matches" FROM table_14830 WHERE "% Won" = '52.38'
2,149
Below are sql tables 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 have an area of at least 20 km ? ### Input: CREATE TABLE table_204_851 ( id number, "serial number" number, "river" text, "name" text, "area (km2)" number, "district" text, "co-ordinate" text, "altitude (m)" number ) ### Response: SELECT COUNT(*) FROM table_204_851 WHERE "area (km2)" >= 20
13,764
Below are sql tables 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 game date had a record of 17-7? ### Input: CREATE TABLE table_25552 ( "Date" text, "Location" text, "Opponent" text, "Sooners Points" real, "Opp. Points" real, "Record" text ) ### Response: SELECT "Date" FROM table_25552 WHERE "Record" = '17-7'
4,133
Below are sql tables 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 of the home team from South Melbourne? ### Input: CREATE TABLE table_56905 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Date" FROM table_56905 WHERE "Home team" = 'south melbourne'
18,831
Below are sql tables 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 the Home Score of 52-54? ### Input: CREATE TABLE table_75789 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) ### Response: SELECT "Home" FROM table_75789 WHERE "Score" = '52-54'
2,298
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What record has candlestick park as the game site, and october 12, 2008 as the date? ### Input: CREATE TABLE table_name_36 ( record VARCHAR, game_site VARCHAR, date VARCHAR ) ### Response: SELECT record FROM table_name_36 WHERE game_site = "candlestick park" AND date = "october 12, 2008"
16,680
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: first home opponent for the dolphins in the season ### Input: CREATE TABLE table_204_9 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number ) ### Response: SELECT "opponent" FROM table_204_9 WHERE "opponent" = 'home' ORDER BY "date" LIMIT 1
3,965
Below are sql tables 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 fastest lap where Joan Lascorz was the winner? ### Input: CREATE TABLE table_35989 ( "Date" text, "Round" text, "Circuit" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Report" text ) ### Response: SELECT "Fastest Lap" FROM table_35989 WHERE "Race Winner" = 'joan lascorz'
3,874
Below are sql tables 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 greatest lost where played is less than 9? ### Input: CREATE TABLE table_42900 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) ### Response: SELECT MAX("Lost") FROM table_42900 WHERE "Played" < '9'
15,708
Below are sql tables 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 venue that hosted Carlton as the away team? ### Input: CREATE TABLE table_56324 ( "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_56324 WHERE "Away team" = 'carlton'
15,193
Below are sql tables 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 had 6 assists? ### Input: CREATE TABLE table_27569 ( "Player" text, "Games Played" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real ) ### Response: SELECT "Player" FROM table_27569 WHERE "Assists" = '6'
999
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the broadcast date of the episode on 16mm t/r that ran 23:25? ### Input: CREATE TABLE table_24044 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) ### Response: SELECT "Broadcast date" FROM table_24044 WHERE "Archive" = '16mm t/r' AND "Run time" = '23:25'
5,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 largest Area (msr) that has an Area less than 291.045, is part of the Per family, and has a rank higher than 78? ### Input: CREATE TABLE table_name_70 ( area__msr_ INTEGER, rank VARCHAR, area__sqdeg_ VARCHAR, family VARCHAR ) ### Response: SELECT MAX(area__msr_) FROM table_name_70 WHERE area__sqdeg_ < 291.045 AND family = "per" AND rank > 78
1,559
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the position of tickets sold/available when the sellout is 82%? ### Input: CREATE TABLE table_16331025_2 ( tickets_sold___available VARCHAR, sellout___percentage_ VARCHAR ) ### Response: SELECT COUNT(tickets_sold___available) FROM table_16331025_2 WHERE sellout___percentage_ = "82%"
12,187
Below are sql tables 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 years had scores of 10 12, 6 1, 6 3? ### Input: CREATE TABLE table_2127933_3 ( year VARCHAR, score VARCHAR ) ### Response: SELECT COUNT(year) FROM table_2127933_3 WHERE score = "10–12, 6–1, 6–3"
16,462
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which was the lowest overall that Wisconsin's team managed? ### Input: CREATE TABLE table_32197 ( "Round" real, "Overall" real, "Player" text, "Position" text, "School/Club Team" text ) ### Response: SELECT MIN("Overall") FROM table_32197 WHERE "School/Club Team" = 'wisconsin'
7,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: What was the result of the game played in hurst? ### Input: CREATE TABLE table_37892 ( "Date" text, "Round" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text ) ### Response: SELECT "Result F \u2013 A" FROM table_37892 WHERE "H / A" = 'hurst'
4,312
Below are sql tables 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 of vacancy for the person that left because of end of caretaker contract? ### Input: CREATE TABLE table_2554 ( "Team" text, "Outgoing manager(s)" text, "Manner of departure" text, "Date of vacancy" text, "Position in table" text, "Replaced by" text, "Date of appointment" text ) ### Response: SELECT "Date of vacancy" FROM table_2554 WHERE "Manner of departure" = 'End of caretaker contract'
2,340
Below are sql tables 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 series had 6.55 u.s. viewers (million) and were directed by pete michels ### Input: CREATE TABLE table_26259391_1 ( no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR ) ### Response: SELECT COUNT(no_in_series) FROM table_26259391_1 WHERE us_viewers__million_ = "6.55" AND directed_by = "Pete Michels"
2,618
Below are sql tables 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 event had 1 round and a record of 6-2? ### Input: CREATE TABLE table_11510 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) ### Response: SELECT "Event" FROM table_11510 WHERE "Round" = '1' AND "Record" = '6-2'
5,582
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What were GD Mcgrath's bowling figures? ### Input: CREATE TABLE table_56382 ( "Bowling figures Wickets-Runs (Overs)" text, "Bowler" text, "Versus" text, "Venue" text, "Date" text ) ### Response: SELECT "Bowling figures Wickets-Runs (Overs)" FROM table_56382 WHERE "Bowler" = 'gd mcgrath'
17,167
Below are sql tables 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 place has a To par of +4 and a score of 74-70-74-74=292? ### Input: CREATE TABLE table_name_77 ( place VARCHAR, to_par VARCHAR, score VARCHAR ) ### Response: SELECT place FROM table_name_77 WHERE to_par = "+4" AND score = 74 - 70 - 74 - 74 = 292
17,848
Below are sql tables 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 bb - blind bear where ba - running bear is mf - mountain falcon? ### Input: CREATE TABLE table_2603017_2 ( bb___blind_bear VARCHAR, ba___running_bear VARCHAR ) ### Response: SELECT bb___blind_bear FROM table_2603017_2 WHERE ba___running_bear = "MF - Mountain Falcon"
5,408
Below are sql tables 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 lane did the swimmer get a time of 1:59.42? ### Input: CREATE TABLE table_14270 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) ### Response: SELECT SUM("Lane") FROM table_14270 WHERE "Time" = '1:59.42'
4,504
Below are sql tables 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 opponents are there when cowboy points were 10? ### Input: CREATE TABLE table_25324 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Cowboys points" real, "Opponents" real, "Record" text ) ### Response: SELECT "Opponents" FROM table_25324 WHERE "Cowboys points" = '10'
11,791
Below are sql tables 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 only wrestler to have only 1 combined day ? ### Input: CREATE TABLE table_204_721 ( id number, "rank" number, "wrestler" text, "no. of reigns" number, "combined\ndefenses" number, "combined\ndays" number ) ### Response: SELECT "wrestler" FROM table_204_721 WHERE "combined\ndays" = '1'
5,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: Record of 42 16 8, and a March larger than 5 has what average points? ### Input: CREATE TABLE table_35021 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) ### Response: SELECT AVG("Points") FROM table_35021 WHERE "Record" = '42–16–8' AND "March" > '5'
10,049
Below are sql tables 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 is charley hoffman from? ### Input: CREATE TABLE table_30545 ( "#" text, "Player" text, "Country" text, "Score" text, "To par" text, "Winnings ($)" real, "After" real, "Before" real ) ### Response: SELECT "Country" FROM table_30545 WHERE "Player" = 'Charley Hoffman'
10,566
Below are sql tables 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 listed under against when there were less than 13 losses and less than 2 byes? ### Input: CREATE TABLE table_75805 ( "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) ### Response: SELECT COUNT("Against") FROM table_75805 WHERE "Losses" < '13' AND "Byes" < '2'
11,023
Below are sql tables 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 broadcast date where Jason's team is Rhod Gilbert and Shappi Khorsandi? ### Input: CREATE TABLE table_23292220_8 ( first_broadcast VARCHAR, jasons_team VARCHAR ) ### Response: SELECT first_broadcast FROM table_23292220_8 WHERE jasons_team = "Rhod Gilbert and Shappi Khorsandi"
6,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: What is the intergiro classification of stage 21? ### Input: CREATE TABLE table_474 ( "Stage" real, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Intergiro classification" text, "Trofeo Fast Team" text ) ### Response: SELECT "Intergiro classification" FROM table_474 WHERE "Stage" = '21'
11,185
Below are sql tables 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 original artist of the song choice ' The Letter '? ### Input: CREATE TABLE table_73924 ( "Episode" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) ### Response: SELECT "Original artist" FROM table_73924 WHERE "Song choice" = ' The Letter '
2,561
Below are sql tables 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 losses did the team with 0 wins and more than 72 runs allowed have? ### Input: CREATE TABLE table_67839 ( "Rank" real, "Team" text, "Wins" real, "Losses" real, "Runs Allowed" real, "Run Ratio" real ) ### Response: SELECT SUM("Losses") FROM table_67839 WHERE "Wins" = '0' AND "Runs Allowed" > '72'
20,767
Below are sql tables 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 total number of grupo capitol valladolid ### Input: CREATE TABLE table_17882 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) ### Response: SELECT COUNT("No") FROM table_17882 WHERE "Current Club" = 'Grupo Capitol Valladolid'
6,659
Below are sql tables 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 team with high assists of nelson (5) ### Input: CREATE TABLE table_57731 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) ### Response: SELECT "Team" FROM table_57731 WHERE "High assists" = 'nelson (5)'
15,947
Below are sql tables 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 pages does a dream of spring have? ### Input: CREATE TABLE table_79869 ( "Title" text, "Pages" text, "Chapters" text, "Audio" text, "US release" text ) ### Response: SELECT "Pages" FROM table_79869 WHERE "Title" = 'a dream of spring'
1,955
Below are sql tables 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 place for score of 67-70=137 and stuart appleby ### Input: CREATE TABLE table_80184 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) ### Response: SELECT "Place" FROM table_80184 WHERE "Score" = '67-70=137' AND "Player" = 'stuart appleby'
2,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: Name the poll source for republican joe kenney being 28% ### Input: CREATE TABLE table_21787 ( "Poll Source" text, "Dates administered" text, "Democrat: John Lynch" text, "Republican: Joe Kenney" text, "Lead Margin" real ) ### Response: SELECT "Poll Source" FROM table_21787 WHERE "Republican: Joe Kenney" = '28%'
3,817
Below are sql tables 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 film title for andr t chin category:articles with hcards ### Input: CREATE TABLE table_18987377_1 ( film_title_used_in_nomination VARCHAR, director VARCHAR ) ### Response: SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "André Téchiné Category:Articles with hCards"
8,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: On which date did the shock at latitude 08.909 s occur? ### Input: CREATE TABLE table_3370 ( "Date (YYYY-MM-DD)" text, "Time (UTC)" text, "Latitude" text, "Longitude" text, "Depth" text, "Magnitude" text ) ### Response: SELECT "Date (YYYY-MM-DD)" FROM table_3370 WHERE "Latitude" = '08.909° S'
14,848
Below are sql tables 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 Year for the Royal Canadian Mint Engravers Artist when the Mintage is under 200? ### Input: CREATE TABLE table_54945 ( "Year" real, "Artist" text, "Composition" text, "Mintage" real, "Issue Price" text ) ### Response: SELECT AVG("Year") FROM table_54945 WHERE "Artist" = 'royal canadian mint engravers' AND "Mintage" < '200'
2,248
Below are sql tables 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 Number of electorates (2009) has a Constituency number of 46? ### Input: CREATE TABLE table_78969 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) ### Response: SELECT AVG("Number of electorates (2009)") FROM table_78969 WHERE "Constituency number" = '46'
4,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: How many points numbers had a class of 250cc, a year prior to 1978, Yamaha as a team, and where wins was more than 0? ### Input: CREATE TABLE table_name_19 ( points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR ) ### Response: SELECT COUNT(points) FROM table_name_19 WHERE class = "250cc" AND year < 1978 AND team = "yamaha" AND wins > 0
7,029
Below are sql tables 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 his first game on a clay surface where he scored 0 6, 3 6? ### Input: CREATE TABLE table_name_24 ( date INTEGER, surface VARCHAR, score VARCHAR ) ### Response: SELECT MIN(date) FROM table_name_24 WHERE surface = "clay" AND score = "0–6, 3–6"
1,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: How many Draws have a South West DFL of tyrendarra, and less than 10 wins? ### Input: CREATE TABLE table_name_83 ( draws INTEGER, south_west_dfl VARCHAR, wins VARCHAR ) ### Response: SELECT SUM(draws) FROM table_name_83 WHERE south_west_dfl = "tyrendarra" AND wins < 10
376
Below are sql tables 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 entrant had a Maserati 250F chassis and fewer than 6 points before 1957? ### Input: CREATE TABLE table_67242 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) ### Response: SELECT "Entrant" FROM table_67242 WHERE "Chassis" = 'maserati 250f' AND "Year" < '1957' AND "Points" < '6'
5,845
Below are sql tables 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 value for week? ### Input: CREATE TABLE table_73592 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) ### Response: SELECT MIN("Week") FROM table_73592
8,652
Below are sql tables 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 away team for the home team wigan athletic? ### Input: CREATE TABLE table_47299 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) ### Response: SELECT "Away team" FROM table_47299 WHERE "Home team" = 'wigan athletic'
11,425
Below are sql tables 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 points won when the player is aravane reza ? ### Input: CREATE TABLE table_3051 ( "Seed" real, "Rank" real, "Player" text, "Points" real, "Points defending" real, "Points won" real, "New points" real, "Status" text ) ### Response: SELECT MAX("Points won") FROM table_3051 WHERE "Player" = 'Aravane Rezaï'
4,478
Below are sql tables 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 racers who finished under 6:00.00 ? ### Input: CREATE TABLE table_204_262 ( id number, "rank" number, "athlete" text, "time" text, "notes" text, "q" text ) ### Response: SELECT COUNT("athlete") FROM table_204_262 WHERE "time" < 6
1,638
Below are sql tables 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 status of the county with per capita market income of $24,326? ### Input: CREATE TABLE table_22815568_2 ( status VARCHAR, market_income_per_capita VARCHAR ) ### Response: SELECT status FROM table_22815568_2 WHERE market_income_per_capita = "$24,326"
10,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: What is the height in ft for number 42 for the rockets in 1993-94? ### Input: CREATE TABLE table_11734041_16 ( height_in_ft VARCHAR, no_s_ VARCHAR, years_for_rockets VARCHAR ) ### Response: SELECT height_in_ft FROM table_11734041_16 WHERE no_s_ = "42" AND years_for_rockets = "1993-94"
10,795
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many total points were score over all the seasons ? ### Input: CREATE TABLE table_203_34 ( id number, "season" text, "appearance" number, "interchange" number, "tries" number, "goals" number, "f/g" number, "points" number ) ### Response: SELECT SUM("points") FROM table_203_34
7,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 Country has a number smaller than 56 in 2005 and of 14 in 2006? ### Input: CREATE TABLE table_69006 ( "Country" text, "2006" real, "2005" real, "2004" real, "2003" real ) ### Response: SELECT COUNT("2004") FROM table_69006 WHERE "2005" < '56' AND "2006" = '14'
5,170
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which opponent has a game larger than 23, December larger than 8, and record of 8-10-7? ### Input: CREATE TABLE table_9025 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text ) ### Response: SELECT "Opponent" FROM table_9025 WHERE "Game" > '23' AND "December" > '8' AND "Record" = '8-10-7'
984
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the position of the player from Dartmouth Ohio State? ### Input: CREATE TABLE table_38921 ( "Position" text, "Name" text, "School" text, "Unanimous" text, "College Hall of Fame" text ) ### Response: SELECT "Position" FROM table_38921 WHERE "School" = 'dartmouth ohio state'
1,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 To Par, when Country is United States, and when Score is 71-68-73=212? ### Input: CREATE TABLE table_48861 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) ### Response: SELECT "To par" FROM table_48861 WHERE "Country" = 'united states' AND "Score" = '71-68-73=212'
2,732
Below are sql tables 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 most common birth place of people? ### Input: CREATE TABLE people ( people_id number, name text, height number, weight number, birth_date text, birth_place text ) CREATE TABLE body_builder ( body_builder_id number, people_id number, snatch number, clean_jerk number, total number ) ### Response: SELECT birth_place FROM people GROUP BY birth_place ORDER BY COUNT(*) DESC LIMIT 1
14,659
Below are sql tables 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 assists for player(s) with over 107 games and ranked less than 2? ### Input: CREATE TABLE table_4796 ( "Rank" real, "Player" text, "Years" text, "Games" real, "Ast. Avg." real, "Total Assists" real ) ### Response: SELECT COUNT("Total Assists") FROM table_4796 WHERE "Games" > '107' AND "Rank" < '2'
2,698
Below are sql tables 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 african country had 8 silver medal wins , but no gold medals ? ### Input: CREATE TABLE table_203_61 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) ### Response: SELECT "nation" FROM table_203_61 WHERE "silver" = 8 AND "gold" = 0
20,869
Below are sql tables 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 guest performer has a track length of 5:49? ### Input: CREATE TABLE table_53164 ( "Title" text, "Composer(s)" text, "Guest performer" text, "Producer(s)" text, "Time" text ) ### Response: SELECT "Guest performer" FROM table_53164 WHERE "Time" = '5:49'
15,399
Below are sql tables 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 teams won at least 85 games ? ### Input: CREATE TABLE table_204_905 ( id number, "team" text, "wins" number, "losses" number, "win %" number, "gb" number ) ### Response: SELECT COUNT("team") FROM table_204_905 WHERE "wins" >= 85
18,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 is the points when played is less than 38? ### Input: CREATE TABLE table_47403 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real ) ### Response: SELECT SUM("Points") FROM table_47403 WHERE "Played" < '38'
15,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 rank is Takat riki having less than 30 total? ### Input: CREATE TABLE table_58731 ( "Name" text, "Total" real, "First" text, "Last" text, "Highest rank" text ) ### Response: SELECT "Highest rank" FROM table_58731 WHERE "Total" < '30' AND "Name" = 'takatōriki'
6,713
Below are sql tables 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 has Peak Fitness as the primary sponsor? ### Input: CREATE TABLE table_37459 ( "Team" text, "Car(s)" text, "Driver(s)" text, "Primary Sponsor(s)" text, "Crew Chief" text ) ### Response: SELECT "Team" FROM table_37459 WHERE "Primary Sponsor(s)" = 'peak fitness'
1,553
Below are sql tables 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 of TCKL in 2000 with a P/KO RET less than 14? ### Input: CREATE TABLE table_54008 ( "Year" text, "TCKL" real, "SACK" real, "P/KO RET" real, "YARDS" real ) ### Response: SELECT COUNT("TCKL") FROM table_54008 WHERE "Year" = '2000' AND "P/KO RET" < '14'
15,789
Below are sql tables 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 winners did I Dessau Autobahnspinne have? ### Input: CREATE TABLE table_217 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) ### Response: SELECT COUNT("Winning driver") FROM table_217 WHERE "Race Name" = 'I Dessau Autobahnspinne'
1,546
Below are sql tables 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 first elections have Claude Fuller as incumbent? ### Input: CREATE TABLE table_18653 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) ### Response: SELECT COUNT("First elected") FROM table_18653 WHERE "Incumbent" = 'Claude Fuller'
77