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 Highest Points for Team Adet where the Draw is less than 6? ### Input: CREATE TABLE table_7304 ( "Place" real, "Team" text, "Played" real, "Draw" real, "Lost" real, "Goals Scored" real, "Goals Conceded" real, "Points" real ) ### Response: SELECT MAX("Points") FROM table_7304 WHERE "Team" = 'adet' AND "Draw" < '6'
3,854
Below are sql tables 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 opponent is ann grossman? ### Input: CREATE TABLE table_13675 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) ### Response: SELECT "Score" FROM table_13675 WHERE "Opponent" = 'ann grossman'
8,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: How big was the crowd at the game the away team geelong played at? ### Input: CREATE TABLE table_57686 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT SUM("Crowd") FROM table_57686 WHERE "Away team" = 'geelong'
5,501
Below are sql tables 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 pick for the Buffalo Bills? ### Input: CREATE TABLE table_66592 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text ) ### Response: SELECT MIN("Pick") FROM table_66592 WHERE "Team" = 'buffalo bills'
608
Below are sql tables 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 boat was laid down on 25 april 1887? ### Input: CREATE TABLE table_75743 ( "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" real ) ### Response: SELECT "Name" FROM table_75743 WHERE "Laid down" = '25 april 1887'
6,733
Below are sql tables 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 title of the last album ? ### Input: CREATE TABLE table_203_512 ( id number, "release date" text, "album" text, "catalog number" text, "chart position" number, "notes" text ) ### Response: SELECT "album" FROM table_203_512 ORDER BY "release date" DESC LIMIT 1
19,417
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For the game where the opponent is listed as @ Indiana Pacers, what was the end record? ### Input: CREATE TABLE table_46558 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) ### Response: SELECT "Record" FROM table_46558 WHERE "Opponent" = '@ indiana pacers'
2,644
Below are sql tables 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 highest ranking player to withdraw from the 2010 french open tournament ? ### Input: CREATE TABLE table_204_188 ( id number, "rank" number, "player" text, "points" number, "points defending" number, "points won" number, "new points" number, "withdrew due to" text ) ### Response: SELECT "player" FROM table_204_188 ORDER BY "rank" LIMIT 1
24,797
Below are sql tables 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 at Princes Park? ### Input: CREATE TABLE table_53393 ( "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_53393 WHERE "Venue" = 'princes park'
19,072
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the opponent on september 10, 1979? ### Input: CREATE TABLE table_64116 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) ### Response: SELECT "Opponent" FROM table_64116 WHERE "Date" = 'september 10, 1979'
15,344
Below are sql tables 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 rank that shows 276 games? ### Input: CREATE TABLE table_67018 ( "Rank" text, "Games" text, "Player" text, "Club" text, "Career span" text ) ### Response: SELECT "Rank" FROM table_67018 WHERE "Games" = '276'
12,282
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the points that has a lost more 6, played less than 14 and a position more than 1? ### Input: CREATE TABLE table_79490 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) ### Response: SELECT SUM("Points") FROM table_79490 WHERE "Position" > '1' AND "Lost" > '6' AND "Played" < '14'
1,760
Below are sql tables 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 constructor whose circuit was Oulton Park? ### Input: CREATE TABLE table_54651 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) ### Response: SELECT "Constructor" FROM table_54651 WHERE "Circuit" = 'oulton park'
2,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 Fleet Number(s), when Quantity Preserved is '0', when Quantity Made is 1, and when Class is 'Z'? ### Input: CREATE TABLE table_name_95 ( fleet_number_s_ VARCHAR, class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR ) ### Response: SELECT fleet_number_s_ FROM table_name_95 WHERE quantity_preserved = "0" AND quantity_made = "1" AND class = "z"
17,863
Below are sql tables 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 S bastien Bourdais' lowest points when there were less than 63 laps? ### Input: CREATE TABLE table_name_16 ( points INTEGER, driver VARCHAR, laps VARCHAR ) ### Response: SELECT MIN(points) FROM table_name_16 WHERE driver = "sébastien bourdais" AND laps < 63
11,829
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what name is at the top of the list ? ### Input: CREATE TABLE table_204_741 ( id number, "rank" number, "name" text, "nationality" text, "1,62" text, "1,67" text, "1,72" text, "1,75" text, "notes" text ) ### Response: SELECT "name" FROM table_204_741 WHERE id = 1
6,976
Below are sql tables 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 short name of channel 5.5, KSTC-TV? ### Input: CREATE TABLE table_36937 ( "Channel" real, "Station" text, "Video" text, "Aspect" text, "PSIP Short Name" text, "Programming" text ) ### Response: SELECT "PSIP Short Name" FROM table_36937 WHERE "Station" = 'kstc-tv' AND "Channel" = '5.5'
7,120
Below are sql tables 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 when grimsby town was the away team? ### Input: CREATE TABLE table_12654 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) ### Response: SELECT "Home team" FROM table_12654 WHERE "Away team" = 'grimsby town'
16,305
Below are sql tables 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 Player, when Round is '2', and when School/Club Team is 'Xavier'? ### Input: CREATE TABLE table_76343 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "School/Club Team" text ) ### Response: SELECT "Player" FROM table_76343 WHERE "Round" = '2' AND "School/Club Team" = 'xavier'
5,217
Below are sql tables 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 Themed Area has a Name of troublesome trucks runaway coaster? ### Input: CREATE TABLE table_37578 ( "Name" text, "Style" text, "Opened" real, "Manufacturer" text, "Themed Area" text ) ### Response: SELECT "Themed Area" FROM table_37578 WHERE "Name" = 'troublesome trucks runaway coaster'
5,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 is the sum of draws for all byes larger than 0? ### Input: CREATE TABLE table_59315 ( "Portland DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) ### Response: SELECT SUM("Draws") FROM table_59315 WHERE "Byes" > '0'
1,742
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Overall of 62 is what average round? ### Input: CREATE TABLE table_68562 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) ### Response: SELECT AVG("Round") FROM table_68562 WHERE "Overall" = '62'
2,776
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Loss of kendrick (11 8) had what record? ### Input: CREATE TABLE table_36900 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) ### Response: SELECT "Record" FROM table_36900 WHERE "Loss" = 'kendrick (11–8)'
8,254
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the top listed venue in the table ? ### Input: CREATE TABLE table_204_913 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) ### Response: SELECT "venue" FROM table_204_913 WHERE id = 1
19,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 only nation to win less than 10 medals total ? ### Input: CREATE TABLE table_203_497 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) ### Response: SELECT "nation" FROM table_203_497 WHERE "total" < 10
230
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which place in the order is the Pinyin transcription She Jiang? ### Input: CREATE TABLE table_1805919_1 ( standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR ) ### Response: SELECT MIN(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ = "She Jiang"
7,739
Below are sql tables 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 IcAO of Frankfurt? ### Input: CREATE TABLE table_79538 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) ### Response: SELECT "ICAO" FROM table_79538 WHERE "City" = 'frankfurt'
13,445
Below are sql tables 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 deng (20) had high points? ### Input: CREATE TABLE table_17302 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Date" FROM table_17302 WHERE "High points" = 'Deng (20)'
6,896
Below are sql tables 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 NHL team that had pick number 32? ### Input: CREATE TABLE table_36654 ( "Pick #" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) ### Response: SELECT "NHL team" FROM table_36654 WHERE "Pick #" = '32'
13,275
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average high position for the album unwritten? ### Input: CREATE TABLE table_54995 ( "Position" real, "Album Title" text, "Artist" text, "Highest Position" real, "Sales" real ) ### Response: SELECT AVG("Highest Position") FROM table_54995 WHERE "Album Title" = 'unwritten'
9,969
Below are sql tables 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 activity that has the most faculty members involved in? ### Input: CREATE TABLE Faculty_participates_in ( actID VARCHAR ) CREATE TABLE Activity ( activity_name VARCHAR, actID VARCHAR ) ### Response: SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1
12,650
Below are sql tables 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 Total Medals that has madison independent and Bronze Medals larger than 0 ### Input: CREATE TABLE table_66926 ( "Ensemble" text, "Gold Medals" real, "Silver Medals" real, "Bronze Medals" real, "Total Medals" real ) ### Response: SELECT MIN("Total Medals") FROM table_66926 WHERE "Ensemble" = 'madison independent' AND "Bronze Medals" > '0'
8,099
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the highest lane of rank 4 with a time less than 24.72? ### Input: CREATE TABLE table_64910 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real ) ### Response: SELECT MAX("Lane") FROM table_64910 WHERE "Time" < '24.72' AND "Rank" = '4'
7,039
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What party does James Pleasants belong to? ### Input: CREATE TABLE table_3617 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) ### Response: SELECT "Party" FROM table_3617 WHERE "Incumbent" = 'James Pleasants'
5,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: Where was the game played when the away team scored 14.15 (99)? ### Input: CREATE TABLE table_56616 ( "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_56616 WHERE "Away team score" = '14.15 (99)'
1,357
Below are sql tables 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 Date is '20 August'? ### Input: CREATE TABLE table_58889 ( "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) ### Response: SELECT "Winner" FROM table_58889 WHERE "Date" = '20 august'
17,753
Below are sql tables 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 with a Launched that is april 3, 1990? ### Input: CREATE TABLE table_39892 ( "Channel" text, "Country" text, "Type" text, "Launched" text, "Description" text ) ### Response: SELECT "Country" FROM table_39892 WHERE "Launched" = 'april 3, 1990'
3,084
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What type of 3D game did Valve Corporation release? ### Input: CREATE TABLE table_43622 ( "Developer(s)" text, "Release date" text, "Required OS" text, "Genre" text, "Type" text ) ### Response: SELECT "Genre" FROM table_43622 WHERE "Type" = '3d' AND "Developer(s)" = 'valve corporation'
5,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 are from Purdue? ### Input: CREATE TABLE table_3463 ( "Round #" real, "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) ### Response: SELECT COUNT("Player") FROM table_3463 WHERE "College" = 'Purdue'
14,251
Below are sql tables 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 countries have earned over a hundred medals in total ? ### Input: CREATE TABLE table_203_612 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) ### Response: SELECT COUNT("nation") FROM table_203_612 WHERE "total" > 100
6,806
Below are sql tables 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 mens doubles when womens doubles is catrine bengtsson margit borg? ### Input: CREATE TABLE table_12171145_1 ( mens_doubles VARCHAR, womens_doubles VARCHAR ) ### Response: SELECT COUNT(mens_doubles) FROM table_12171145_1 WHERE womens_doubles = "Catrine Bengtsson Margit Borg"
3,651
Below are sql tables 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 attendance when footscray is the away team? ### Input: CREATE TABLE table_4867 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT MIN("Crowd") FROM table_4867 WHERE "Away team" = 'footscray'
6,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: When the Away team was essendon, what was the Venue they played at? ### Input: CREATE TABLE table_10096 ( "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_10096 WHERE "Away team" = 'essendon'
9,976
Below are sql tables 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 player for England when the to par is 7? ### Input: CREATE TABLE table_13138 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) ### Response: SELECT "Player" FROM table_13138 WHERE "To par" = '7' AND "Country" = 'england'
12,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 team(s) had 120 consecutive starts? ### Input: CREATE TABLE table_30623 ( "Position" text, "Player" text, "Period" text, "Teams" text, "Consecutive starts" real, "Playoffs" real, "Total" real ) ### Response: SELECT "Teams" FROM table_30623 WHERE "Consecutive starts" = '120'
13,287
Below are sql tables 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 Republican when the green was Harold Burbank? ### Input: CREATE TABLE table_63479 ( "District" real, "Incumbent" text, "2008 Status" text, "Democratic" text, "Republican" text, "Green" text ) ### Response: SELECT "Republican" FROM table_63479 WHERE "Green" = 'harold burbank'
13,738
Below are sql tables 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 main developer made their first release in 1991 and created the Mega Drive/Genesis console? ### Input: CREATE TABLE table_12887260_1 ( main_developer VARCHAR, first_release VARCHAR, console VARCHAR ) ### Response: SELECT main_developer FROM table_12887260_1 WHERE first_release = 1991 AND console = "Mega Drive/Genesis"
21,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 was the winner share (in $) in the year when Se Ri Pak (2) was the champion? ### Input: CREATE TABLE table_229059_2 ( winners_share__ INTEGER, champion VARCHAR ) ### Response: SELECT MIN(winners_share__) AS $_ FROM table_229059_2 WHERE champion = "Se Ri Pak (2)"
19,285
Below are sql tables 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 Berlin when fk pirmasens was S dwest and westfalia herne was west? ### Input: CREATE TABLE table_51004 ( "Year" real, "Nord" text, "West" text, "S\u00fcdwest" text, "Berlin" text ) ### Response: SELECT "Berlin" FROM table_51004 WHERE "S\u00fcdwest" = 'fk pirmasens' AND "West" = 'westfalia herne'
14,117
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the episode writer when the viewers reached 3.03 million in the US? ### Input: CREATE TABLE table_17861265_1 ( written_by VARCHAR, us_viewers__million_ VARCHAR ) ### Response: SELECT written_by FROM table_17861265_1 WHERE us_viewers__million_ = "3.03"
1,897
Below are sql tables 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 counties have people before profit as the party, and a borough greater than 0? ### Input: CREATE TABLE table_63503 ( "Party" text, "County" real, "City" real, "Borough" real, "Town" real, "Total" real ) ### Response: SELECT SUM("County") FROM table_63503 WHERE "Party" = 'people before profit' AND "Borough" > '0'
16,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: How many home (2nd leg) had a 1st leg 1-1? ### Input: CREATE TABLE table_19180 ( "Home (1st leg)" text, "Home (2nd leg)" text, "1st Leg" text, "2nd leg" text, "Aggregate" text ) ### Response: SELECT COUNT("Home (2nd leg)") FROM table_19180 WHERE "1st Leg" = '1-1'
19,208
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of the evening gown scores where the interview score is less than 8.77, the swimsuit score is equal to 7.8, and the average score is less than 8.2? ### Input: CREATE TABLE table_name_4 ( evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR ) ### Response: SELECT SUM(evening_gown) FROM table_name_4 WHERE interview < 8.77 AND swimsuit = 7.8 AND average < 8.2
1,246
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest number of points for players with less than 2 touchdowns and 0 extra points? ### Input: CREATE TABLE table_75196 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) ### Response: SELECT MAX("Points") FROM table_75196 WHERE "Extra points" = '0' AND "Touchdowns" < '2'
9,739
Below are sql tables 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 Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs? ### Input: CREATE TABLE table_31656 ( "Year" real, "Division" text, "League" text, "Reg. Season" text, "Playoffs" text, "Open Cup" text ) ### Response: SELECT "Open Cup" FROM table_31656 WHERE "Playoffs" = '2nd round'
5,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: Find all the songs produced by artists with first name 'Marianne'. ### Input: CREATE TABLE Songs ( Title VARCHAR, SongId VARCHAR ) CREATE TABLE Performance ( bandmate VARCHAR, SongId VARCHAR ) CREATE TABLE Band ( id VARCHAR, firstname VARCHAR ) ### Response: SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = "Marianne"
876
Below are sql tables 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 artist with a Single / Pack of guitar hero track pack 1? ### Input: CREATE TABLE table_69766 ( "Year" real, "Song title" text, "Artist" text, "Master recording?" text, "Release date" text, "Single / Pack" text ) ### Response: SELECT "Artist" FROM table_69766 WHERE "Single / Pack" = 'guitar hero track pack 1'
12,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 is the Away with a Time that is 14:00? ### Input: CREATE TABLE table_75970 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) ### Response: SELECT "Away" FROM table_75970 WHERE "Time" = '14:00'
8,725
Below are sql tables 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 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th? ### Input: CREATE TABLE table_26986076_5 ( sat_29_aug VARCHAR, tues_24_aug VARCHAR ) ### Response: SELECT sat_29_aug FROM table_26986076_5 WHERE tues_24_aug = "21' 10.25 106.930mph"
4,420
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What date did the episode air that had n/a for it's bbc three weekly ranking? ### Input: CREATE TABLE table_24399615_4 ( airdate VARCHAR, bbc_three_weekly_ranking VARCHAR ) ### Response: SELECT airdate FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "N/A"
14,226
Below are sql tables 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 Position has a Pick of 174? ### Input: CREATE TABLE table_36952 ( "Round" real, "Pick" real, "Player" text, "Position" text, "College" text ) ### Response: SELECT "Position" FROM table_36952 WHERE "Pick" = '174'
6,030
Below are sql tables 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 club is associated with Hafiz Abu Sujad? ### Input: CREATE TABLE table_55344 ( "Name" text, "Date of Birth (Age)" text, "Club" text, "Caps" text, "Goals" text ) ### Response: SELECT "Club" FROM table_55344 WHERE "Name" = 'hafiz abu sujad'
18,205
Below are sql tables 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 series had a high points of Prince (23)? ### Input: CREATE TABLE table_58544 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) ### Response: SELECT "Series" FROM table_58544 WHERE "High points" = 'prince (23)'
8,058
Below are sql tables 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 with an Opponent that is hearts? ### Input: CREATE TABLE table_7186 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) ### Response: SELECT "Date" FROM table_7186 WHERE "Opponent" = 'hearts'
4,508
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How big was the crowd when the home team scored 5.14 (44)? ### Input: CREATE TABLE table_55635 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT COUNT("Crowd") FROM table_55635 WHERE "Home team score" = '5.14 (44)'
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: How many cop apps in the season with fewer than 12 league apps? ### Input: CREATE TABLE table_32374 ( "Season" text, "Team" text, "League Apps" real, "League Goals" real, "Cup Apps" real, "Cup Goals" real ) ### Response: SELECT SUM("Cup Apps") FROM table_32374 WHERE "League Apps" < '12'
4,903
Below are sql tables 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 assists total number if the minutes is 1? ### Input: CREATE TABLE table_27118 ( "Name" text, "Nationality" text, "Position" text, "Sky Blue FC career" text, "Appearances" real, "Starts" real, "Minutes" real, "Goals" real, "Assists" real ) ### Response: SELECT COUNT("Assists") FROM table_27118 WHERE "Minutes" = '1'
10,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: Name the division for detroit diesel series 50egr allison wb-400r ### Input: CREATE TABLE table_24193494_3 ( division VARCHAR, powertrain__engine_transmission_ VARCHAR ) ### Response: SELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = "Detroit Diesel Series 50EGR Allison WB-400R"
10,853
Below are sql tables 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 2013 has a 2006 of grand slam tournaments? ### Input: CREATE TABLE table_33983 ( "Tournament" text, "2006" text, "2007" text, "2008-12" text, "2013" text ) ### Response: SELECT "2013" FROM table_33983 WHERE "2006" = 'grand slam tournaments'
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 is the leading scorer on february 1? ### Input: CREATE TABLE table_17346 ( "#" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text, "Streak" text ) ### Response: SELECT "Leading scorer" FROM table_17346 WHERE "Date" = 'February 1'
12,497
Below are sql tables 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 competition when there was no competition for mens doubles? ### Input: CREATE TABLE table_1161 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) ### Response: SELECT "Womens doubles" FROM table_1161 WHERE "Mens doubles" = 'No competition'
8,548
Below are sql tables 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 percentage of the people in Bonneville voted for Bush? ### Input: CREATE TABLE table_73610 ( "County" text, "Kerry%" text, "Kerry#" real, "Bush%" text, "Bush#" real, "Others%" text, "Others#" real ) ### Response: SELECT "Bush%" FROM table_73610 WHERE "County" = 'Bonneville'
3,432
Below are sql tables 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 number of shows when there was 2 million views ### Input: CREATE TABLE table_13336122_6 ( us_viewers__million_ VARCHAR, no_in_season VARCHAR ) ### Response: SELECT COUNT(us_viewers__million_) FROM table_13336122_6 WHERE no_in_season = 2
13,171
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score for game 3? ### Input: CREATE TABLE table_29806 ( "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_29806 WHERE "Game" = '3'
19,700
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many remittances in 2010 where the remittances is 19.73? ### Input: CREATE TABLE table_2941963_1 ( remittances_2010 VARCHAR, remittances_2009 VARCHAR ) ### Response: SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73"
9,303
Below are sql tables 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 populati in 2000 for Panlicsian? ### Input: CREATE TABLE table_24372 ( "Barangay" text, "Population (2000)" real, "Population (2007)" real, "Population (2010)" real, "Barangay Fiesta" text ) ### Response: SELECT MIN("Population (2000)") FROM table_24372 WHERE "Barangay" = 'Panlicsian'
1,199
Below are sql tables 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 received the least amount of votes ? ### Input: CREATE TABLE table_204_786 ( id number, "riding" text, "candidate" text, "gender" text, "residence" text, "occupation" text, "votes" number, "%" number, "rank" text, "biographical notes" text ) ### Response: SELECT "candidate" FROM table_204_786 ORDER BY "votes" LIMIT 1
3,083
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find the list of documents that are both in the most three popular type and have the most three popular structure. ### Input: CREATE TABLE documents ( document_name VARCHAR, document_type_code VARCHAR, document_structure_code VARCHAR ) ### Response: SELECT document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC LIMIT 3
2,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: How many catagories for denominations does Austria have? ### Input: CREATE TABLE table_28183 ( "Country" text, "Name of bullion coin" text, "Fineness" text, "Denominations (Gold weight)" text, "Years of mintage" text ) ### Response: SELECT COUNT("Denominations (Gold weight)") FROM table_28183 WHERE "Country" = 'Austria'
8,731
Below are sql tables 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 lowest edition for winner of arsenal and third of celtic ### Input: CREATE TABLE table_10515 ( "Edition" real, "Year" real, "Winner" text, "Runner-up" text, "Third" text, "Fourth" text ) ### Response: SELECT MIN("Edition") FROM table_10515 WHERE "Winner" = 'arsenal' AND "Third" = 'celtic'
3,544
Below are sql tables 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 year of the tournament played at Melbourne, Australia? ### Input: CREATE TABLE table_80260 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text ) ### Response: SELECT AVG("Year") FROM table_80260 WHERE "Venue" = 'melbourne, australia'
8,104
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find the total credits of all classes offered by each department. ### Input: CREATE TABLE CLASS ( crs_code VARCHAR ) CREATE TABLE course ( dept_code VARCHAR, crs_credit INTEGER, crs_code VARCHAR ) ### Response: SELECT SUM(T1.crs_credit), T1.dept_code FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code GROUP BY T1.dept_code
21,143
Below are sql tables 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 were the opponents during week 14? ### Input: CREATE TABLE table_6524 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) ### Response: SELECT "Opponent" FROM table_6524 WHERE "Week" = '14'
9,741
Below are sql tables 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 next product listed after egonet ? ### Input: CREATE TABLE table_204_870 ( id number, "product" text, "main functionality" text, "input format" text, "output format" text, "platform" text, "license and cost" text, "notes" text ) ### Response: SELECT "product" FROM table_204_870 WHERE id = (SELECT id FROM table_204_870 WHERE "product" = 'egonet') + 1
7,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: What years is the private school in upper hutt? ### Input: CREATE TABLE table_71489 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" text ) ### Response: SELECT "Years" FROM table_71489 WHERE "Area" = 'upper hutt' AND "Authority" = 'private'
10,298
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the country of origin for the player who plays on Tondena 65 Rhum? ### Input: CREATE TABLE table_14292 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) ### Response: SELECT "Country of origin*" FROM table_14292 WHERE "PBA team" = 'tondena 65 rhum'
7,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: What is the highest Attendance, when Result is l 26-16, and when Week is less than 12? ### Input: CREATE TABLE table_name_36 ( attendance INTEGER, result VARCHAR, week VARCHAR ) ### Response: SELECT MAX(attendance) FROM table_name_36 WHERE result = "l 26-16" AND week < 12
17,728
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How much Area km 2 have a Population of 1,215? ### Input: CREATE TABLE table_60607 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text ) ### Response: SELECT COUNT("Area km 2") FROM table_60607 WHERE "Population" = '1,215'
9,154
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the name of department where has the smallest number of professors? ### Input: CREATE TABLE professor ( dept_code VARCHAR ) CREATE TABLE department ( dept_name VARCHAR, dept_code VARCHAR ) ### Response: SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) LIMIT 1
6,900
Below are sql tables 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 dates had below 80,000 in attendance ? ### Input: CREATE TABLE table_204_55 ( id number, "date" text, "time" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number ) ### Response: SELECT "date" FROM table_204_55 WHERE "attendance" < 80000
21,758
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: List the total number of defense points for caroline wozniacki. ### Input: CREATE TABLE table_3047 ( "Seed" real, "Rank" real, "Player" text, "Points" real, "Points defending" text, "Points won" real, "New points" real, "Status" text ) ### Response: SELECT "Points defending" FROM table_3047 WHERE "Player" = 'Caroline Wozniacki'
9,426
Below are sql tables 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 for the opponent Marcos Baghdatis? ### Input: CREATE TABLE table_50980 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent" text, "Score" text ) ### Response: SELECT "Surface" FROM table_50980 WHERE "Opponent" = 'marcos baghdatis'
21,966
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of the rounds of the match with brett chism as the opponent? ### Input: CREATE TABLE table_60363 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) ### Response: SELECT SUM("Round") FROM table_60363 WHERE "Opponent" = 'brett chism'
6,385
Below are sql tables 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 term in office has a qld state, a Party of labor, and an Electorate of fisher? ### Input: CREATE TABLE table_name_76 ( term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR ) ### Response: SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher"
2,017
Below are sql tables 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 age for cibao central and santo domingo ### Input: CREATE TABLE table_21346767_3 ( age INTEGER, geographical_regions VARCHAR, hometown VARCHAR ) ### Response: SELECT MIN(age) FROM table_21346767_3 WHERE geographical_regions = "Cibao Central" AND hometown = "Santo Domingo"
2,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: what is the country when the score is 72-68-67=207? ### Input: CREATE TABLE table_44175 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) ### Response: SELECT "Country" FROM table_44175 WHERE "Score" = '72-68-67=207'
21,336
Below are sql tables 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 when incumbent John R. Tyson was elected? ### Input: CREATE TABLE table_18720 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) ### Response: SELECT "Result" FROM table_18720 WHERE "Incumbent" = 'John R. Tyson'
7,920
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which opening film has the opening date of august 23? ### Input: CREATE TABLE table_72992 ( "Year" real, "Date (Opening)" text, "Date (Closing)" text, "Opening Film" text, "Number of Screening" text, "Award-Winning Film" text ) ### Response: SELECT "Opening Film" FROM table_72992 WHERE "Date (Opening)" = 'August 23'
10,915
Below are sql tables 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 left a seat open for the district of connecticut at-large ### Input: CREATE TABLE table_25038 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) ### Response: SELECT "Vacator" FROM table_25038 WHERE "District" = 'Connecticut At-large'
4,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: What is the sum of Races, when Podiums is less than 3, when Wins is 0, when Season is after 2001, and when Points is 32? ### Input: CREATE TABLE table_name_82 ( races INTEGER, points VARCHAR, season VARCHAR, podiums VARCHAR, wins VARCHAR ) ### Response: SELECT SUM(races) FROM table_name_82 WHERE podiums < 3 AND wins = 0 AND season > 2001 AND points = "32"
1,393