text
stringlengths
400
694
__index_level_0__
int64
6
25k
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the surface for the May 10, 2009 tournament? ### Input: CREATE TABLE table_71174 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) ### Response: SELECT "Surface" FROM table_71174 WHERE "Date" = 'may 10, 2009'
1,326
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the number or times samoa has been represented at the summer olympics ? ### Input: CREATE TABLE table_204_986 ( id number, "#" number, "event year" number, "season" text, "flag bearer" text ) ### Response: SELECT COUNT(*) FROM table_204_986 WHERE "season" = 'summer'
16,034
Below are sql tables 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 members gained university status in 1900? ### Input: CREATE TABLE table_142950_1 ( research_funding__ VARCHAR, gained_university_status VARCHAR ) ### Response: SELECT COUNT(research_funding__) AS £, 000 AS _ FROM table_142950_1 WHERE gained_university_status = 1900
2,196
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the dates where the opponent was guillermo garc a-l pez albert portas? ### Input: CREATE TABLE table_69838 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) ### Response: SELECT "Date" FROM table_69838 WHERE "Opponents" = 'guillermo garcía-lópez albert portas'
4,473
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Wjat score is greater than 22 with this song: - ? ### Input: CREATE TABLE table_68912 ( "Round" text, "Name" text, "Song" text, "Score" real, "Status" text ) ### Response: SELECT "Name" FROM table_68912 WHERE "Score" > '22' AND "Song" = '林俊杰 - 木乃伊'
13,924
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the attendance from November 3, 1974? ### Input: CREATE TABLE table_47818 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) ### Response: SELECT "Attendance" FROM table_47818 WHERE "Date" = 'november 3, 1974'
2,451
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the lowest round that has kazushi sakuraba as the opponent? ### Input: CREATE TABLE table_63726 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) ### Response: SELECT MIN("Round") FROM table_63726 WHERE "Opponent" = 'kazushi sakuraba'
11,452
Below are sql tables schemas 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 Ground with a Date that is 2008-06-20? ### Input: CREATE TABLE table_75858 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) ### Response: SELECT "Ground" FROM table_75858 WHERE "Date" = '2008-06-20'
9,700
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the name of the movie where mischa barton plays the role of ms. monica ? ### Input: CREATE TABLE table_200_1 ( id number, "year" number, "title" text, "role" text, "notes" text ) ### Response: SELECT "title" FROM table_200_1 WHERE "role" = 'ms. monica'
5,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: Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6? ### Input: CREATE TABLE table_48308 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT "Nation" FROM table_48308 WHERE "Gold" > '0' AND "Total" > '4' AND "Rank" = '6'
3,860
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many times is the seasons 2 and the coach guy lowman? ### Input: CREATE TABLE table_9759 ( "Coach" text, "Years" text, "Seasons" real, "Record" text, "Winning %" real ) ### Response: SELECT COUNT("Winning %") FROM table_9759 WHERE "Seasons" = '2' AND "Coach" = 'guy lowman'
276
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Is WPEO in stereo? ### Input: CREATE TABLE table_32767 ( "Freq" real, "Call" text, "City" text, "Owner" text, "Day Power ( W )" real, "Night Power" real, "Format" text, "Stereo" text ) ### Response: SELECT "Stereo" FROM table_32767 WHERE "Call" = 'wpeo'
9,570
Below are sql tables schemas 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 fewest number of laps completed by a rank 32? ### Input: CREATE TABLE table_14660 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) ### Response: SELECT MIN("Laps") FROM table_14660 WHERE "Rank" = '32'
8,910
Below are sql tables schemas 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 original air date of the episode 'Another Happy Day'? ### Input: CREATE TABLE table_2570269_3 ( original_air_date__uk_ VARCHAR, episode_title VARCHAR ) ### Response: SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = "Another Happy Day"
21,598
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what are the original air dates with a production code of 2394087 ### Input: CREATE TABLE table_10953197_3 ( original_air_date VARCHAR, production_code VARCHAR ) ### Response: SELECT original_air_date FROM table_10953197_3 WHERE production_code = "2394087"
16,991
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which To par has a Finish of t3, and a Player of julius boros? ### Input: CREATE TABLE table_9787 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) ### Response: SELECT "To par" FROM table_9787 WHERE "Finish" = 't3' AND "Player" = 'julius boros'
22,918
Below are sql tables schemas 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 Year, when Laps is greater than 161? ### Input: CREATE TABLE table_43739 ( "Year" real, "Number" real, "Team" text, "Co-driver" text, "Position" text, "Laps" real ) ### Response: SELECT MAX("Year") FROM table_43739 WHERE "Laps" > '161'
17,796
Below are sql tables schemas 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 3rd Liga from Game 1 of 0-1 between the years 2008-09? ### Input: CREATE TABLE table_name_36 ( game_1 VARCHAR, date VARCHAR ) ### Response: SELECT 3 AS rd_liga_3rd FROM table_name_36 WHERE game_1 = "0-1" AND date = "2008-09"
4,098
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the average number of sailors for each country during the worlds qualification tournament ? ### Input: CREATE TABLE table_203_586 ( id number, "#" number, "nation" text, "qualification tournament" text, "place in qt" number, "sailor" text ) ### Response: SELECT AVG("sailor") FROM table_203_586 WHERE NOT "place in qt" IS NULL
4,505
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Average has Yards larger than 167, and a Team of at tb, and a Week larger than 7? ### Input: CREATE TABLE table_78817 ( "Week" real, "Team" text, "Carries" real, "Yards" real, "Average" real ) ### Response: SELECT MIN("Average") FROM table_78817 WHERE "Yards" > '167' AND "Team" = 'at tb' AND "Week" > '7'
10,236
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what's the 4th day with 3rd day being bumped by downing ### Input: CREATE TABLE table_670 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text ) ### Response: SELECT "4th Day" FROM table_670 WHERE "3rd day" = 'bumped by Downing'
14,238
Below are sql tables 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 number of gold medals is greater than 59, and the rank is total, what is the average bronze medals? ### Input: CREATE TABLE table_58927 ( "Rank" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT AVG("Bronze") FROM table_58927 WHERE "Rank" = 'total' AND "Gold" > '59'
23,145
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: who is the player when the place is t5 and the score is 69-66-71=206? ### Input: CREATE TABLE table_44177 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) ### Response: SELECT "Player" FROM table_44177 WHERE "Place" = 't5' AND "Score" = '69-66-71=206'
1,261
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the road team of the game with Philadelphia as the home team with a result of 105-102? ### Input: CREATE TABLE table_6553 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) ### Response: SELECT "Road Team" FROM table_6553 WHERE "Home Team" = 'philadelphia' AND "Result" = '105-102'
18,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: Which Visiting Team has a Stadium of servus centre? ### Input: CREATE TABLE table_56761 ( "Date" text, "Home Team" text, "Score" text, "Visiting Team" text, "Stadium" text ) ### Response: SELECT "Visiting Team" FROM table_56761 WHERE "Stadium" = 'servus centre'
1,018
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the rank of player Jason Dunstall? ### Input: CREATE TABLE table_80377 ( "Rank" text, "Goals" text, "Player" text, "Club/Clubs" text, "Career" text ) ### Response: SELECT "Rank" FROM table_80377 WHERE "Player" = 'jason dunstall'
3,032
Below are sql tables 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 has Attempts of 282 ? ### Input: CREATE TABLE table_6375 ( "Year" text, "Team" text, "Attempts" text, "Completions" text, "Completion %" text, "Yards" text ) ### Response: SELECT "Year" FROM table_6375 WHERE "Attempts" = '282'
1,508
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the first area covered ? ### Input: CREATE TABLE table_203_287 ( id number, "rank" number, "area" text, "date" text, "presenter" text, "seven wonders covered" text ) ### Response: SELECT "area" FROM table_203_287 ORDER BY "date" LIMIT 1
16,515
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the winning score for runnerup Greg Norman ### Input: CREATE TABLE table_39484 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) ### Response: SELECT "Winning score" FROM table_39484 WHERE "Runner(s)-up" = 'greg norman'
4,297
Below are sql tables schemas 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 at CN Centre on April 5, 2008? ### Input: CREATE TABLE table_36602 ( "Date" text, "Home Team" text, "Score" text, "Visiting Team" text, "Stadium" text ) ### Response: SELECT "Score" FROM table_36602 WHERE "Stadium" = 'cn centre' AND "Date" = 'april 5, 2008'
12,866
Below are sql tables schemas 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 when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9? ### Input: CREATE TABLE table_name_31 ( position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR ) ### Response: SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 9
8,877
Below are sql tables 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 stage winner of the letua cycling team on stage 2? ### Input: CREATE TABLE table_27112708_2 ( stage VARCHAR, team_classification VARCHAR ) ### Response: SELECT stage AS winner FROM table_27112708_2 WHERE team_classification = "LeTua Cycling Team" AND stage = 2
15,828
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the result of round R3? ### Input: CREATE TABLE table_77430 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Scorers" text ) ### Response: SELECT "Result" FROM table_77430 WHERE "Round" = 'r3'
8,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: Which Position has Notes of 68.76 m? ### Input: CREATE TABLE table_13840 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) ### Response: SELECT "Position" FROM table_13840 WHERE "Notes" = '68.76 m'
3,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 average enrollment that has hot dogs as the mascot, with a year joined later than 1926? ### Input: CREATE TABLE table_name_38 ( enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR ) ### Response: SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926
20,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 episode title on original air date of September 30, 2007? ### Input: CREATE TABLE table_23799417_2 ( title VARCHAR, original_airing VARCHAR ) ### Response: SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007"
135
Below are sql tables 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 authors with submissions are from college 'Florida' or 'Temple'? ### Input: CREATE TABLE workshop ( workshop_id number, date text, venue text, name text ) CREATE TABLE acceptance ( submission_id number, workshop_id number, result text ) CREATE TABLE submission ( submission_id number, scores number, author text, college text ) ### Response: SELECT author FROM submission WHERE college = "Florida" OR college = "Temple"
7,860
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are the most againsts with more than 11 losses and central murray is Nyah Nyah West Utd? ### Input: CREATE TABLE table_58867 ( "Central Murray" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) ### Response: SELECT MAX("Against") FROM table_58867 WHERE "Central Murray" = 'nyah nyah west utd' AND "Losses" > '11'
851
Below are sql tables 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 DOB has a Surname of cresswell? ### Input: CREATE TABLE table_37655 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text ) ### Response: SELECT "D.O.B." FROM table_37655 WHERE "Surname" = 'cresswell'
4,371
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What year had an attendance of 90,000? ### Input: CREATE TABLE table_45390 ( "Year" real, "Champion" text, "Runner-Up" text, "Result" text, "Date" text, "Venue" text, "Attendance" text ) ### Response: SELECT "Year" FROM table_45390 WHERE "Attendance" = '90,000'
6,278
Below are sql tables 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 years did sir patrick duncan serve in office ? ### Input: CREATE TABLE table_203_89 ( id number, "#" number, "name\n(birth-death)" text, "took office" text, "left office" text, "monarch" text, "prime minister" text ) ### Response: SELECT "left office" - "took office" FROM table_203_89 WHERE "name\n(birth-death)" = 'sir patrick duncan'
23,941
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34? ### Input: CREATE TABLE table_name_69 ( losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR ) ### Response: SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 34
2,846
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the method of elimination in the chamber with a time of 24:02? ### Input: CREATE TABLE table_27026 ( "Eliminated" real, "Wrestler" text, "Entered" real, "Eliminated by" text, "Method of elimination" text, "Time" text ) ### Response: SELECT "Method of elimination" FROM table_27026 WHERE "Time" = '24:02'
21,554
Below are sql tables schemas 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 home record of the team with percentage of .168? ### Input: CREATE TABLE table_2754 ( "Team" text, "SEC Wins" real, "SEC Losses" real, "Percentage" text, "Home Record" text, "Road Record" text, "Overall Record" text ) ### Response: SELECT "Home Record" FROM table_2754 WHERE "Percentage" = '.168'
16,998
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the wrestlers with days held of 428 ### Input: CREATE TABLE table_68550 ( "Wrestlers" text, "Reign" text, "Days held" text, "Location" text, "Event" text ) ### Response: SELECT "Wrestlers" FROM table_68550 WHERE "Days held" = '428'
4,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: How many sets were in the 2011 Australian Open Tournament? ### Input: CREATE TABLE table_14542 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2011" text, "2012" text, "2013" text ) ### Response: SELECT "2011" FROM table_14542 WHERE "Tournament" = 'australian open'
12,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: Name the aircraft type for jagdgeschwader 26 ### Input: CREATE TABLE table_30483 ( "Parent unit" text, "Geschwader Base" text, "Unit (Gruppe/Staffel)" text, "Aircraft Type" text, "Commanding Officer" text ) ### Response: SELECT "Aircraft Type" FROM table_30483 WHERE "Parent unit" = 'Jagdgeschwader 26'
13,632
Below are sql tables schemas 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 Score, when Edition is 2011, and when Surface is Hard (i)? ### Input: CREATE TABLE table_62016 ( "Outcome" text, "Edition" real, "Round" text, "Opponent Team" text, "Surface" text, "Opponent" text, "Score" text ) ### Response: SELECT "Score" FROM table_62016 WHERE "Edition" = '2011' AND "Surface" = 'hard (i)'
1,569
Below are sql tables 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 winning team beat the New York Yankees? ### Input: CREATE TABLE table_54 ( "Year" real, "Game or event" text, "Date contested" text, "League or governing body" text, "Sport" text, "Winning team" text, "Losing team" text, "Final score" text ) ### Response: SELECT "Winning team" FROM table_54 WHERE "Losing team" = 'New York Yankees'
2,159
Below are sql tables 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 captain where coach is geoff miles ### Input: CREATE TABLE table_17002 ( "Season" real, "Position" real, "Win/Loss" text, "Coach" text, "Captain" text, "Dudley Tuckey Medal" text, "Leading goalkicker" text ) ### Response: SELECT "Captain" FROM table_17002 WHERE "Coach" = 'Geoff Miles'
22,605
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What address was the document with id 4 mailed to? ### Input: CREATE TABLE Documents_Mailed ( document_id VARCHAR ) CREATE TABLE Addresses ( document_id VARCHAR ) ### Response: SELECT Addresses.address_details FROM Addresses JOIN Documents_Mailed ON Documents_Mailed.mailed_to_address_id = Addresses.address_id WHERE document_id = 4
3,474
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What teams has 1-5 as the away? ### Input: CREATE TABLE table_58914 ( "Season" text, "League" text, "Teams" text, "Home" text, "Away" text ) ### Response: SELECT "Teams" FROM table_58914 WHERE "Away" = '1-5'
15,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 was the attendance in the game against the Detroit Lions? ### Input: CREATE TABLE table_33442 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) ### Response: SELECT "Attendance" FROM table_33442 WHERE "Opponent" = 'detroit lions'
9,988
Below are sql tables schemas 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 Gold, when Nation is Yugoslavia, and when Silver is greater than 0? ### Input: CREATE TABLE table_49687 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT AVG("Gold") FROM table_49687 WHERE "Nation" = 'yugoslavia' AND "Silver" > '0'
18,297
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What IHSAA football class do the Generals play in? ### Input: CREATE TABLE table_13817 ( "School" text, "Mascot" text, "School Corp." text, "Size" real, "IHSAA Class (Football)" text, "Year Joined" text, "Other Conferences" text ) ### Response: SELECT "IHSAA Class (Football)" FROM table_13817 WHERE "Mascot" = 'generals'
9,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 is the lowest number of games loss with a Points difference of 40 - 17, and over 6 games? ### Input: CREATE TABLE table_name_3 ( lost INTEGER, points_difference VARCHAR, games VARCHAR ) ### Response: SELECT MIN(lost) FROM table_name_3 WHERE points_difference = "40 - 17" AND games > 6
5,053
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: The order number 713726-713735 has what serial number? ### Input: CREATE TABLE table_2351952_1 ( serial_numbers VARCHAR, order_number VARCHAR ) ### Response: SELECT serial_numbers FROM table_2351952_1 WHERE order_number = "713726-713735"
16,904
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the seat of the county that has a density of 14.1? ### Input: CREATE TABLE table_73309 ( "Regional County Municipality (RCM)" text, "Population Canada 2011 Census" real, "Land Area" text, "Density (pop. per km2)" text, "Seat of RCM" text ) ### Response: SELECT "Seat of RCM" FROM table_73309 WHERE "Density (pop. per km2)" = '14.1'
9,451
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which label's year is 1993? ### Input: CREATE TABLE table_42519 ( "Year" text, "Title" text, "Genre" text, "Label" text, "Result" text ) ### Response: SELECT "Label" FROM table_42519 WHERE "Year" = '1993'
4,612
Below are sql tables schemas 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 number of seasons for Terri Drake who lost less than 9? ### Input: CREATE TABLE table_5390 ( "Name" text, "Years" text, "Seasons" real, "Lost" real, "Pct." real ) ### Response: SELECT AVG("Seasons") FROM table_5390 WHERE "Name" = 'terri drake' AND "Lost" < '9'
10,668
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total number of gold medals of the nation with 1 bronze and less than 1 total medal? ### Input: CREATE TABLE table_8304 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT COUNT("Gold") FROM table_8304 WHERE "Bronze" = '1' AND "Total" < '1'
3,004
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how long did william inge live ? ### Input: CREATE TABLE table_203_449 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text ) ### Response: SELECT "lifetime" - "lifetime" FROM table_203_449 WHERE "name" = 'william inge'
15,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: Name the chassis for ludwig fischer ### Input: CREATE TABLE table_30619 ( "No" real, "Driver" text, "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text ) ### Response: SELECT "Chassis" FROM table_30619 WHERE "Driver" = 'Ludwig Fischer'
8,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 average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps? ### Input: CREATE TABLE table_name_98 ( year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR ) ### Response: SELECT AVG(year) FROM table_name_98 WHERE poles < 2 AND fast_laps = 0 AND drivers = "adrian quaife-hobbs"
5,119
Below are sql tables 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 name has a lane less than 8, russia as the country, with a mark of 8.07? ### Input: CREATE TABLE table_name_88 ( name VARCHAR, mark VARCHAR, lane VARCHAR, country VARCHAR ) ### Response: SELECT name FROM table_name_88 WHERE lane < 8 AND country = "russia" AND mark = "8.07"
1,350
Below are sql tables schemas 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 match for the lineal super lightweight (140)? ### Input: CREATE TABLE table_17558 ( "Number" real, "Name" text, "Titles" text, "Date" text, "Opponent" text, "Result" text, "Defenses" real ) ### Response: SELECT "Date" FROM table_17558 WHERE "Titles" = 'Lineal Super lightweight (140)'
6,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: What is No.1, when No. 2 is Emma, and when No. 7 is Olivia? ### Input: CREATE TABLE table_name_28 ( no_1 VARCHAR, no_2 VARCHAR, no_7 VARCHAR ) ### Response: SELECT no_1 FROM table_name_28 WHERE no_2 = "emma" AND no_7 = "olivia"
9,891
Below are sql tables 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 school has the least number of students attending it ? ### Input: CREATE TABLE table_204_501 ( id number, "institution" text, "location" text, "nickname" text, "founded" number, "type" text, "enrollment" number, "joined" number ) ### Response: SELECT "institution" FROM table_204_501 ORDER BY "enrollment" LIMIT 1
10,754
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Circuit has a Date of 25 july? ### Input: CREATE TABLE table_79039 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) ### Response: SELECT "Circuit" FROM table_79039 WHERE "Date" = '25 july'
7,912
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Draw for skra warszawa? ### Input: CREATE TABLE table_41177 ( "Team" text, "Match" text, "Points" text, "Draw" text, "Lost" text ) ### Response: SELECT "Draw" FROM table_41177 WHERE "Team" = 'skra warszawa'
10,447
Below are sql tables schemas 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 Steve Jones from? ### Input: CREATE TABLE table_12969 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) ### Response: SELECT "Country" FROM table_12969 WHERE "Player" = 'steve jones'
16,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 Time/Retired, when Laps is less than 49, and when Name is 'Michael Caruso'? ### Input: CREATE TABLE table_name_65 ( time_retired VARCHAR, laps VARCHAR, name VARCHAR ) ### Response: SELECT time_retired FROM table_name_65 WHERE laps < 49 AND name = "michael caruso"
3,878
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the attendance when the home team is chester city? ### Input: CREATE TABLE table_8276 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) ### Response: SELECT "Attendance" FROM table_8276 WHERE "Home team" = 'chester city'
5,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 was the date of vacancy when Viorel Moldovan replaced a manager? ### Input: CREATE TABLE table_17115950_2 ( date_of_vacancy VARCHAR, replaced_by VARCHAR ) ### Response: SELECT date_of_vacancy FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan"
822
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where did the player loaned out on 27 november 2008 move to ? ### Input: CREATE TABLE table_62206 ( "Date From" text, "Date To" text, "Pos." text, "Name" text, "Moving To" text ) ### Response: SELECT "Moving To" FROM table_62206 WHERE "Date From" = '27 november 2008'
1,781
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where is the location of the friendly match larger than 1 where the Super Reds were the opponent? ### Input: CREATE TABLE table_name_87 ( location VARCHAR, opponent_team VARCHAR, match VARCHAR, tournament VARCHAR ) ### Response: SELECT location FROM table_name_87 WHERE match > 1 AND tournament = "friendly" AND opponent_team = "super reds"
11,437
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: who is the only one in 4th place in the 1986 masters tournament ? ### Input: CREATE TABLE table_203_499 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) ### Response: SELECT "player" FROM table_203_499 WHERE "place" = 4
5,112
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who is the opponent on May 7? ### Input: CREATE TABLE table_56815 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) ### Response: SELECT "Opponent" FROM table_56815 WHERE "Date" = 'may 7'
4,043
Below are sql tables schemas 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 original air date of the episode with a broadcast order s04 e01? ### Input: CREATE TABLE table_1231892_4 ( us_air_date VARCHAR, broadcast_order VARCHAR ) ### Response: SELECT us_air_date FROM table_1231892_4 WHERE broadcast_order = "S04 E01"
20,063
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many wins of average has cuts made less than 0? ### Input: CREATE TABLE table_63118 ( "Tournament" text, "Wins" real, "Top-5" real, "Events" real, "Cuts made" real ) ### Response: SELECT AVG("Wins") FROM table_63118 WHERE "Cuts made" < '0'
14,589
Below are sql tables schemas 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 roll for the school with state authority and a decile of 9? ### Input: CREATE TABLE table_14695 ( "Name" text, "Years" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) ### Response: SELECT "Roll" FROM table_14695 WHERE "Authority" = 'state' AND "Decile" = '9'
6,924
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how long did spokane take to finish the race ? ### Input: CREATE TABLE table_204_330 ( id number, "finished" text, "horse" text, "jockey" text, "trainer" text, "owner" text, "time / behind" text ) ### Response: SELECT "time / behind" FROM table_204_330 WHERE "horse" = 'spokane'
24,463
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: marc dos santos started as coach the same year as what other coach ? ### Input: CREATE TABLE table_204_832 ( id number, "name" text, "nationality" text, "club" text, "from" number, "until" text ) ### Response: SELECT "name" FROM table_204_832 WHERE "name" <> 'marc dos santos' AND "from" = (SELECT "from" FROM table_204_832 WHERE "name" = 'marc dos santos')
2,498
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which away team goes against the home team Mauritius? ### Input: CREATE TABLE table_58814 ( "Date" text, "Tournament" text, "Location" text, "Home Team" text, "Away Team" text ) ### Response: SELECT "Away Team" FROM table_58814 WHERE "Home Team" = 'mauritius'
24,427
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no? ### Input: CREATE TABLE table_71060 ( "Sydney" text, "Melbourne" text, "Perth" text, "Adelaide" text, "Gold Coast" text, "Auckland" text ) ### Response: SELECT "Gold Coast" FROM table_71060 WHERE "Melbourne" = 'yes' AND "Perth" = 'no' AND "Adelaide" = 'yes'
4,772
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What song has the band tour vnue of 6. tool (usa) encore? ### Input: CREATE TABLE table_63201 ( "Year" real, "Song" text, "Artist" text, "Genre" text, "Band Tour Venue" text, "Exportable?" text ) ### Response: SELECT "Song" FROM table_63201 WHERE "Band Tour Venue" = '6. tool (usa) encore'
18,587
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Venue with an Attendance that is larger than 6,938? ### Input: CREATE TABLE table_7185 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) ### Response: SELECT "Venue" FROM table_7185 WHERE "Attendance" > '6,938'
5,423
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the interview score when the preliminary average is 8.529 (6)? ### Input: CREATE TABLE table_7812 ( "State" text, "Preliminary Average" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Semifinal Average" text ) ### Response: SELECT "Interview" FROM table_7812 WHERE "Preliminary Average" = '8.529 (6)'
3,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: When is Biddle's DOB? ### Input: CREATE TABLE table_38777 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text ) ### Response: SELECT "D.O.B." FROM table_38777 WHERE "Surname" = 'biddle'
1,225
Below are sql tables 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 bonus points did the club who had 18 losses have? ### Input: CREATE TABLE table_3737 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Bonus points" text, "Points" text ) ### Response: SELECT "Bonus points" FROM table_3737 WHERE "Lost" = '18'
8,832
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007? ### Input: CREATE TABLE table_55365 ( "Title" text, "Original story author" text, "Director" text, "Original U.S. air-date" text, "Original Canadian air-date" text ) ### Response: SELECT "Original U.S. air-date" FROM table_55365 WHERE "Original Canadian air-date" = 'december 9, 2007'
4,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 dar for telenord ### Input: CREATE TABLE table_20380 ( "N\u00b0" real, "Television service" text, "Country" text, "Language" text, "Content" text, "DAR" text, "HDTV" text, "Package/Option" text ) ### Response: SELECT "DAR" FROM table_20380 WHERE "Television service" = 'Telenord'
22,837
Below are sql tables schemas 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 of the tournament that was held in 1974? ### Input: CREATE TABLE table_4537 ( "Outcome" text, "Date" real, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text ) ### Response: SELECT "Score in the final" FROM table_4537 WHERE "Date" = '1974'
1,352
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the torrent download statistics for each release year? ### Input: CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number ) CREATE TABLE tags ( index number, id number, tag text ) ### Response: SELECT SUM(totalsnatched), groupyear FROM torrents GROUP BY groupyear
15,306
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31? ### Input: CREATE TABLE table_name_59 ( release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR ) ### Response: SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31"
10,762
Below are sql tables schemas 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 bleeding time for glanzmann's thrombasthenia? ### Input: CREATE TABLE table_2948 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text ) ### Response: SELECT "Bleeding time" FROM table_2948 WHERE "Condition" = 'Glanzmann''s thrombasthenia'
12,490
Below are sql tables schemas 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 race in the Modena circuit? ### Input: CREATE TABLE table_16767 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) ### Response: SELECT "Race Name" FROM table_16767 WHERE "Circuit" = 'Modena'
2,972
Below are sql tables 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 artists were there for the show thoroughly modern millie? ### Input: CREATE TABLE table_74235 ( "Song title" text, "Artist" text, "Show" text, "Difficulty" real, "Effort" real, "Year" real, "Dancers" text ) ### Response: SELECT COUNT("Artist") FROM table_74235 WHERE "Show" = 'Thoroughly Modern Millie'
24,262
Below are sql tables schemas 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 Date, when Viewers is 4.4 million? ### Input: CREATE TABLE table_46814 ( "Event" text, "Date" text, "Rating" text, "Share" text, "Viewers" text ) ### Response: SELECT "Date" FROM table_46814 WHERE "Viewers" = '4.4 million'
15,642
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Date has Points smaller than 80, Home of Los Angeles, and a Visitor of Pittsburgh? ### Input: CREATE TABLE table_5689 ( "Game #" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Points" real ) ### Response: SELECT "Date" FROM table_5689 WHERE "Points" < '80' AND "Home" = 'los angeles' AND "Visitor" = 'pittsburgh'
4,029