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: Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62? ### Input: CREATE TABLE table_name_29 ( edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR ) ### Response: SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AND vertices > 62
16,341
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12 ### Input: CREATE TABLE table_16423070_4 ( volleyball VARCHAR, school_year VARCHAR, basketball VARCHAR, swimming VARCHAR ) ### Response: SELECT volleyball FROM table_16423070_4 WHERE basketball = "West Holmes" AND swimming = "Wooster" AND school_year = "2011-12"
1,868
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the ICAO for Riyadh, Saudi Arabia? ### Input: CREATE TABLE table_41621 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) ### Response: SELECT "ICAO" FROM table_41621 WHERE "Country" = 'saudi arabia' AND "City" = 'riyadh'
14,595
Below are sql tables 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 week starts on November 23, 1997? ### Input: CREATE TABLE table_32559 ( "Week" text, "Date" text, "Location" text, "Opponent" text, "Result" text ) ### Response: SELECT "Week" FROM table_32559 WHERE "Date" = 'november 23, 1997'
22,210
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many people were in attendance on may 17? ### Input: CREATE TABLE table_69947 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) ### Response: SELECT MIN("Attendance") FROM table_69947 WHERE "Date" = 'may 17'
23,703
Below are sql tables 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 from Great Britain in lanes under number 3? ### Input: CREATE TABLE table_66435 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) ### Response: SELECT "Name" FROM table_66435 WHERE "Lane" < '3' AND "Nationality" = 'great britain'
5,601
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the total number of points with year less than 1955 and rank of 5th with wins less than 0 ### Input: CREATE TABLE table_67094 ( "Year" real, "Class" text, "Team" text, "Points" real, "Rank" text, "Wins" real ) ### Response: SELECT COUNT("Points") FROM table_67094 WHERE "Year" < '1955' AND "Rank" = '5th' AND "Wins" < '0'
19,722
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the total number of written by for original air date for may 8, 2005 ### Input: CREATE TABLE table_1876825_7 ( written_by VARCHAR, original_air_date VARCHAR ) ### Response: SELECT COUNT(written_by) FROM table_1876825_7 WHERE original_air_date = "May 8, 2005"
12,469
Below are sql tables 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 fatalities were there in the crash described as ditched 300 m short of runway? ### Input: CREATE TABLE table_229917_2 ( fatalities VARCHAR, brief_description VARCHAR ) ### Response: SELECT fatalities FROM table_229917_2 WHERE brief_description = "Ditched 300 m short of runway"
23,689
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What driver raced for more than 9 laps on grid 7? ### Input: CREATE TABLE table_53109 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) ### Response: SELECT "Driver" FROM table_53109 WHERE "Laps" > '9' AND "Grid" = '7'
23,136
Below are sql tables schemas 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 Dick Hyland's conv? ### Input: CREATE TABLE table_54680 ( "Player" text, "Tries" text, "Conv" text, "Venue" text, "Date" text ) ### Response: SELECT "Conv" FROM table_54680 WHERE "Player" = 'dick hyland'
2,502
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host? ### Input: CREATE TABLE table_1315616_1 ( date VARCHAR, mediator VARCHAR, red_team_host VARCHAR ) ### Response: SELECT date FROM table_1315616_1 WHERE mediator = "Keiichi Ubukata" AND red_team_host = "Mitsuko Mori"
1,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 is the Date of the Game with a Record of 46-22? ### Input: CREATE TABLE table_14215 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location Attendance" text, "Record" text ) ### Response: SELECT "Date" FROM table_14215 WHERE "Record" = '46-22'
374
Below are sql tables schemas 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 Website of Head Coach Yuriy Korotkevich? ### Input: CREATE TABLE table_35378 ( "Previous season" text, "Team" text, "Town" text, "Arena (capacity)" text, "Website" text, "Head Coach" text, "Foreign Players (max. 2)" text ) ### Response: SELECT "Website" FROM table_35378 WHERE "Head Coach" = 'yuriy korotkevich'
6,849
Below are sql tables 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 January is the lowest one that has an Opponent of florida panthers, and Points smaller than 59? ### Input: CREATE TABLE table_36725 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) ### Response: SELECT MIN("January") FROM table_36725 WHERE "Opponent" = 'florida panthers' AND "Points" < '59'
1,701
Below are sql tables schemas 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 episode where b b is 20/16 ### Input: CREATE TABLE table_19485888_1 ( title__french_____english_ VARCHAR, b_b_ VARCHAR, _corresponds_to_tf1s_broadcast_schedule VARCHAR ) ### Response: SELECT title__french_____english_ FROM table_19485888_1 WHERE b_b_ = _corresponds_to_tf1s_broadcast_schedule = 20 / 16
20
Below are sql tables schemas 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 of the game with an attendance of 14,096? ### Input: CREATE TABLE table_34071 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text ) ### Response: SELECT "Leading scorer" FROM table_34071 WHERE "Attendance" = '14,096'
4,220
Below are sql tables 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 did leonardo maia have the fastest lap ? ### Input: CREATE TABLE table_204_845 ( id number, "round" number, "circuit" text, "location" text, "date" text, "pole position" text, "fastest lap" text, "winning driver" text, "headline event" text ) ### Response: SELECT COUNT(*) FROM table_204_845 WHERE "fastest lap" = 'leonardo maia'
3,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: When were there less than 1 point with a cosworth v8 engine in jolly club switzerland? ### Input: CREATE TABLE table_name_73 ( year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR ) ### Response: SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland"
10,816
Below are sql tables schemas 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 record where result is l 24-10 ### Input: CREATE TABLE table_229 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Kickoff [a ]" text, "Game site" text, "TV" text, "Attendance" text, "Record" text ) ### Response: SELECT "Record" FROM table_229 WHERE "Result" = 'L 24-10'
20,424
Below are sql tables schemas 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 pic for Canada for player Yvon Bouillon earlier than 1974? ### Input: CREATE TABLE table_name_38 ( pick INTEGER, player VARCHAR, nationality VARCHAR, year VARCHAR ) ### Response: SELECT AVG(pick) FROM table_name_38 WHERE nationality = "canada" AND year < 1974 AND player = "yvon bouillon"
11,258
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the city/state of Hidden Valley Raceway? ### Input: CREATE TABLE table_62738 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text ) ### Response: SELECT "City / State" FROM table_62738 WHERE "Circuit" = 'hidden valley raceway'
11,368
Below are sql tables schemas 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 point classification with chris anker s rensen as the young rider classification and Christian vande velde as the general classification? ### Input: CREATE TABLE table_name_93 ( points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR ) ### Response: SELECT points_classification FROM table_name_93 WHERE young_rider_classification = "chris anker sørensen" AND general_classification = "christian vande velde"
124
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which team uses lola t92/00/ buick for their chassis/engine? ### Input: CREATE TABLE table_23391714_1 ( team VARCHAR, chassis_engine VARCHAR ) ### Response: SELECT team FROM table_23391714_1 WHERE chassis_engine = "Lola T92/00/ Buick"
10,097
Below are sql tables schemas 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 event with a $322,280 prize? ### Input: CREATE TABLE table_77007 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text ) ### Response: SELECT "Date" FROM table_77007 WHERE "Prize" = '$322,280'
12,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: Name the least total kurdistan list ### Input: CREATE TABLE table_26850 ( "Governorate" text, "Kurdistan Democratic Party" real, "Patriotic Union of Kurdistan" real, "Total Kurdistan List" real, "Total Governorate Seats" real ) ### Response: SELECT MIN("Total Kurdistan List") FROM table_26850
9,528
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Bar chart x axis nominee y axis the total number, and display from low to high by the x axis. ### Input: CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) ### Response: SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee ORDER BY Nominee
835
Below are sql tables 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 each classroom, show the classroom number and find how many students are using it. ### Input: CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) ### Response: SELECT classroom, COUNT(*) FROM list GROUP BY classroom
2,575
Below are sql tables schemas 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 airdate of the episode that had 8.23 million viewers? ### Input: CREATE TABLE table_3482 ( "Episode #" real, "Series #" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text, "Viewers (in millions)" text ) ### Response: SELECT "Original airdate" FROM table_3482 WHERE "Viewers (in millions)" = '8.23'
8,362
Below are sql tables 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 people's party for social democratic of 30.1% ### Input: CREATE TABLE table_5595 ( "Date Released" text, "Institute" text, "Socialist" text, "Social Democratic" text, "Green-Communist" text, "Left Bloc" text, "People's Party" text, "Lead" text ) ### Response: SELECT "People's Party" FROM table_5595 WHERE "Social Democratic" = '30.1%'
2,682
Below are sql tables schemas 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 Week number on November 30, 1958 with more than 33,240 in Attendance? ### Input: CREATE TABLE table_37509 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) ### Response: SELECT COUNT("Week") FROM table_37509 WHERE "Date" = 'november 30, 1958' AND "Attendance" > '33,240'
3,338
Below are sql tables schemas 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 classification of Stage 18 when the general classification was Denis Menchov? ### Input: CREATE TABLE table_name_46 ( points_classification VARCHAR, general_classification VARCHAR, stage VARCHAR ) ### Response: SELECT points_classification FROM table_name_46 WHERE general_classification = "denis menchov" AND stage = "18"
10,180
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many points have 500cc for the class, a win greater than 0, with a year after 1974? ### Input: CREATE TABLE table_name_77 ( points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR ) ### Response: SELECT SUM(points) FROM table_name_77 WHERE class = "500cc" AND wins > 0 AND year > 1974
23,530
Below are sql tables schemas 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 tournament that was on july 6, 1987? ### Input: CREATE TABLE table_59754 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) ### Response: SELECT "Tournament" FROM table_59754 WHERE "Date" = 'july 6, 1987'
15,293
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Artist has a Draw of 6? ### Input: CREATE TABLE table_66511 ( "Draw" real, "Language" text, "Artist" text, "Song" text, "English translation" text, "Place" real, "Points" real ) ### Response: SELECT "Artist" FROM table_66511 WHERE "Draw" = '6'
15,362
Below are sql tables schemas 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 SAKA ERA WITH MONTHS IN MEDAM? ### Input: CREATE TABLE table_49748 ( "Months in Malayalam Era" text, "In Malayalam" text, "Gregorian Calendar" text, "Tamil calendar" text, "Saka era" text, "Sign of Zodiac" text ) ### Response: SELECT "Saka era" FROM table_49748 WHERE "Months in Malayalam Era" = 'medam'
8,241
Below are sql tables 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 went to cincinnati ? ### Input: CREATE TABLE table_204_585 ( id number, "year" text, "player" text, "high school" text, "college" text, "nba/aba draft" text ) ### Response: SELECT COUNT(*) FROM table_204_585 WHERE "college" = 'cincinnati'
7,411
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the number of McCain votes in the county where Obama got 35.7% and others got 1.9% of the votes? ### Input: CREATE TABLE table_20453681_1 ( mccain_number INTEGER, obama_percentage VARCHAR, others_percentage VARCHAR ) ### Response: SELECT MIN(mccain_number) FROM table_20453681_1 WHERE obama_percentage = "35.7%" AND others_percentage = "1.9%"
6,396
Below are sql tables schemas 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 Case Suffix (Case), when English Meaning is 'to Georgia, in Georgia'? ### Input: CREATE TABLE table_name_54 ( case_suffix__case_ VARCHAR, english_meaning VARCHAR ) ### Response: SELECT case_suffix__case_ FROM table_name_54 WHERE english_meaning = "to georgia, in georgia"
51
Below are sql tables schemas 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 game that was played on a grass surface? ### Input: CREATE TABLE table_6978 ( "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text ) ### Response: SELECT "Score" FROM table_6978 WHERE "Surface" = 'grass'
2,783
Below are sql tables 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 gold received by nation of uzbekistan (uzb)? ### Input: CREATE TABLE table_42232 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT MAX("Gold") FROM table_42232 WHERE "Nation" = 'uzbekistan (uzb)'
10,996
Below are sql tables schemas 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 the cinema when the headquarters are in toronto, ON and the screens is less than 1,438? ### Input: CREATE TABLE table_70058 ( "Rank" real, "Circuit" text, "Headquarters" text, "Screens" real, "Sites" real ) ### Response: SELECT AVG("Rank") FROM table_70058 WHERE "Headquarters" = 'toronto, on' AND "Screens" < '1,438'
19,229
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete? ### Input: CREATE TABLE table_26335424_86 ( athlete VARCHAR, quarterfinals VARCHAR ) ### Response: SELECT athlete FROM table_26335424_86 WHERE quarterfinals = "Nabil Talal ( JOR ) L PTS 3-3"
13,231
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Compute the total the number of job across job as a pie chart. ### Input: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) ### Response: SELECT job, COUNT(job) FROM Person GROUP BY job
5,232
Below are sql tables schemas 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 wins for Runcorn Highfield with more than 0 draws? ### Input: CREATE TABLE table_39499 ( "Season" text, "Team" text, "Wins" real, "Losses" real, "Draws" real ) ### Response: SELECT AVG("Wins") FROM table_39499 WHERE "Team" = 'runcorn highfield' AND "Draws" > '0'
4,033
Below are sql tables schemas 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 weight for the player who is 6' 2'? ### Input: CREATE TABLE table_1009 ( "Player" text, "Position" text, "Games started" text, "Hometown" text, "Height" text, "Weight" real, "Class" text, "Prior experience" text ) ### Response: SELECT MAX("Weight") FROM table_1009 WHERE "Height" = '6'' 2'
4,421
Below are sql tables 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 sum of year for 2nd position for junior race ### Input: CREATE TABLE table_32129 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) ### Response: SELECT SUM("Year") FROM table_32129 WHERE "Position" = '2nd' AND "Event" = 'junior race'
6,139
Below are sql tables 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 report with winner of louis wagner ### Input: CREATE TABLE table_53311 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) ### Response: SELECT "Report" FROM table_53311 WHERE "Winning driver" = 'louis wagner'
16,840
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what's the total number of final epbeingode count with character being rick stetler ### Input: CREATE TABLE table_11210576_4 ( final_episode VARCHAR, character VARCHAR ) ### Response: SELECT COUNT(final_episode) AS Count FROM table_11210576_4 WHERE character = "Rick Stetler"
2,006
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which round's position is according to official website? ### Input: CREATE TABLE table_35026 ( "Round" text, "Pick" text, "Player" text, "Position" text, "College" text ) ### Response: SELECT "Round" FROM table_35026 WHERE "Position" = 'according to official website'
9,699
Below are sql tables schemas 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 Margin of Victory, when Tournament is Mercedes Championships (3)? ### Input: CREATE TABLE table_45099 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) ### Response: SELECT "Margin of victory" FROM table_45099 WHERE "Tournament" = 'mercedes championships (3)'
8,624
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which settlement has the cyrillic and other name of (romanian: locve)? ### Input: CREATE TABLE table_2562572_44 ( settlement VARCHAR, cyrillic_name_other_names VARCHAR ) ### Response: SELECT settlement FROM table_2562572_44 WHERE cyrillic_name_other_names = "Локве (Romanian: Locve)"
16,735
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)? ### Input: CREATE TABLE table_70231 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text ) ### Response: SELECT "Date" FROM table_70231 WHERE "Year" > '1978' AND "Location" = 'memorial stadium (baltimore)'
2,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: Which attendance has a Score of 3-5? ### Input: CREATE TABLE table_14561 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) ### Response: SELECT "Attendance" FROM table_14561 WHERE "Score" = '3-5'
3,003
Below are sql tables schemas 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 torque of the xdrive20d model, which has a power of ps (kw; hp)@4000? ### Input: CREATE TABLE table_name_60 ( torque VARCHAR, power VARCHAR, model VARCHAR ) ### Response: SELECT torque FROM table_name_60 WHERE power = "ps (kw; hp)@4000" AND model = "xdrive20d"
12,893
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Televote Points had a Final Points score of 2? ### Input: CREATE TABLE table_63799 ( "Draw" real, "Televote Points" text, "Jury Points" text, "Total" text, "Final Points" text ) ### Response: SELECT "Televote Points" FROM table_63799 WHERE "Final Points" = '2'
3,228
Below are sql tables 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 german above or below russia in the number of people who speak that language ? ### Input: CREATE TABLE table_203_88 ( id number, "language" text, "number" number, "percentage (%)" number, "males" number, "females" number ) ### Response: SELECT (SELECT "number" FROM table_203_88 WHERE "language" = 'german') > (SELECT "number" FROM table_203_88 WHERE "language" = 'russian')
228
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Why did the manager who departed on August 1, 2008 leave? ### Input: CREATE TABLE table_62879 ( "Team" text, "Outgoing manager" text, "Date Outgoing" text, "Reason of departure" text, "Replaced by" text, "Date of Replacement" text ) ### Response: SELECT "Reason of departure" FROM table_62879 WHERE "Date Outgoing" = 'august 1, 2008'
1,677
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What game was released before 2010 with a Metacritic of 85/100? ### Input: CREATE TABLE table_61654 ( "Game Title" text, "Year Released" real, "Platform" text, "GameRankings" text, "Metacritic" text ) ### Response: SELECT "Game Title" FROM table_61654 WHERE "Metacritic" = '85/100' AND "Year Released" < '2010'
20,744
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Namethe team for feb 27, 1996 ### Input: CREATE TABLE table_20454 ( "S No" real, "Team (A)" text, "Team (B)" text, "Winner" text, "Margin" text, "Match Date" text ) ### Response: SELECT "Team (A)" FROM table_20454 WHERE "Match Date" = 'Feb 27, 1996'
6,585
Below are sql tables 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 results are listed for week 13? ### Input: CREATE TABLE table_72933 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) ### Response: SELECT COUNT("Result") FROM table_72933 WHERE "Week" = '13'
21,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 top lap that had 6 grids and more than 19 points? ### Input: CREATE TABLE table_54339 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" text, "Points" real ) ### Response: SELECT MAX("Laps") FROM table_54339 WHERE "Grid" = '6' AND "Points" > '19'
5,654
Below are sql tables 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 callback audition date for the audition city from the episode aired on February 2, 2011? ### Input: CREATE TABLE table_27455867_1 ( callback_audition_date VARCHAR, episode_air_date VARCHAR ) ### Response: SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 2, 2011"
6,210
Below are sql tables 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 did the Bruins play Tennessee? ### Input: CREATE TABLE table_23785 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Bruins points" real, "Opponents" real, "Record" text ) ### Response: SELECT COUNT("Result") FROM table_23785 WHERE "Opponent" = 'Tennessee'
16,909
Below are sql tables 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 Year is the highest one that has a Bronze of south korea, and a Silver of philippines? ### Input: CREATE TABLE table_name_27 ( year INTEGER, bronze VARCHAR, silver VARCHAR ) ### Response: SELECT MAX(year) FROM table_name_27 WHERE bronze = "south korea" AND silver = "philippines"
5,108
Below are sql tables 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 an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no? ### Input: CREATE TABLE table_36082 ( "Name" text, "Species Specific" text, "Intra-molecular structure" text, "Comparative" text, "Link" text ) ### Response: SELECT "Name" FROM table_36082 WHERE "Intra-molecular structure" = 'no' AND "Link" = 'webserver' AND "Comparative" = 'no'
3,040
Below are sql tables schemas 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 listed before france ? ### Input: CREATE TABLE table_203_374 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) ### Response: SELECT "nation" FROM table_203_374 WHERE id = (SELECT id FROM table_203_374 WHERE "nation" = 'france') - 1
6,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: who came in first when it comes to new points ? ### 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 "new points" DESC LIMIT 1
11,983
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: List the 1st air date for the show where the writers are russel friend & garrett lerner. ### Input: CREATE TABLE table_22904780_1 ( original_air_date VARCHAR, written_by VARCHAR ) ### Response: SELECT original_air_date FROM table_22904780_1 WHERE written_by = "Russel Friend & Garrett Lerner"
21,789
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When the Winning score is 74-68-67-75=284, what was the Margin of victory? ### Input: CREATE TABLE table_name_72 ( margin_of_victory VARCHAR, winning_score VARCHAR ) ### Response: SELECT margin_of_victory FROM table_name_72 WHERE winning_score = 74 - 68 - 67 - 75 = 284
13,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: When was the earliest year that kakha kaladze moved to milan with a rank above 9? ### Input: CREATE TABLE table_name_37 ( year INTEGER, rank VARCHAR, moving_to VARCHAR, name VARCHAR ) ### Response: SELECT MIN(year) FROM table_name_37 WHERE moving_to = "milan" AND name = "kakha kaladze" AND rank < 9
3,870
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? ### Input: CREATE TABLE table_67361 ( "Name" text, "Species Authority" text, "Order" text, "Family" text, "Red List" real ) ### Response: SELECT "Order" FROM table_67361 WHERE "Species Authority" = 'hydrochaeris hydrochaeris (linnaeus, 1766)'
11,844
Below are sql tables 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 numbers for date of feb 27, 1996 ### Input: CREATE TABLE table_20455 ( "S No" real, "Team (A)" text, "Team (B)" text, "Winner" text, "Margin" text, "Match Date" text ) ### Response: SELECT "S No" FROM table_20455 WHERE "Match Date" = 'Feb 27, 1996'
2,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 college did the player who was drafted by Calgary go to? ### Input: CREATE TABLE table_30269 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) ### Response: SELECT "College" FROM table_30269 WHERE "CFL Team" = 'Calgary'
184
Below are sql tables schemas 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 the Results for 25,000 Attendance? ### Input: CREATE TABLE table_48355 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text ) ### Response: SELECT "Result" FROM table_48355 WHERE "Attendance" = '25,000'
23,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 method when the record was 3-2? ### Input: CREATE TABLE table_47136 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) ### Response: SELECT "Method" FROM table_47136 WHERE "Record" = '3-2'
9,489
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In what position did Salina Kosgei finish in the Tokyo Marathon? ### Input: CREATE TABLE table_13505 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) ### Response: SELECT "Position" FROM table_13505 WHERE "Competition" = 'tokyo marathon'
14,240
Below are sql tables 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 Second has a Third of david nedohin, and a Lead of ben hebert? ### Input: CREATE TABLE table_76524 ( "Season" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) ### Response: SELECT "Second" FROM table_76524 WHERE "Third" = 'david nedohin' AND "Lead" = 'ben hebert'
6,698
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the number of first elected for john smith ### Input: CREATE TABLE table_28939 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) ### Response: SELECT COUNT("First elected") FROM table_28939 WHERE "Incumbent" = 'John Smith'
7,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: How may assists per game have 7.7 points per game? ### Input: CREATE TABLE table_73583 ( "Tournament" text, "Games played" real, "Points per game" text, "Rebounds per game" text, "Assists per game" text ) ### Response: SELECT "Assists per game" FROM table_73583 WHERE "Points per game" = '7.7'
15,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 league apps with 1 flt apps, 0 goals, and more than 1 league goals? ### Input: CREATE TABLE table_name_38 ( league_apps VARCHAR, league_goals VARCHAR, flt_apps VARCHAR, total_goals VARCHAR ) ### Response: SELECT league_apps FROM table_name_38 WHERE flt_apps = "1" AND total_goals > 0 AND league_goals > 1
9,302
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In which district was the incumbent Dick Saslaw? ### Input: CREATE TABLE table_835 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "2007 Result" text ) ### Response: SELECT "District" FROM table_835 WHERE "Incumbent" = 'Dick Saslaw'
95
Below are sql tables 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 european tier for rick springfield ### Input: CREATE TABLE table_25008 ( "Year" real, "Song title" text, "Artist" text, "Master recording" text, "NA/UK/AUS/JPN/NL tier" text, "European tier" text ) ### Response: SELECT "European tier" FROM table_25008 WHERE "Artist" = 'Rick Springfield'
8,223
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the position of the player from round 2 from Sweden? ### Input: CREATE TABLE table_77560 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) ### Response: SELECT "Position" FROM table_77560 WHERE "Round" = '2' AND "Nationality" = 'sweden'
18,588
Below are sql tables schemas 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 average weight of the fist three contestants ? ### Input: CREATE TABLE table_204_688 ( id number, "name" text, "red vs. blue" text, "couples team" text, "status" text, "weight" text, "total votes" number ) ### Response: SELECT AVG("weight") FROM table_204_688 WHERE id <= 3
17,457
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger? ### Input: CREATE TABLE table_name_90 ( total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR ) ### Response: SELECT MIN(total) FROM table_name_90 WHERE bronze < 7 AND silver = 1 AND rank > 9
3,690
Below are sql tables schemas 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 team 2 where the result is ICL world by 8 wickets? ### Input: CREATE TABLE table_21303 ( "Match Number" real, "Date" text, "Venue" text, "Team 1" text, "Team 2" text, "Result" text, "Man of the Match" text ) ### Response: SELECT "Team 2" FROM table_21303 WHERE "Result" = 'ICL World by 8 wickets'
15,302
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Show the name of the shop that have the largest quantity of devices in stock. ### Input: CREATE TABLE stock ( Shop_ID VARCHAR, quantity INTEGER ) CREATE TABLE shop ( Shop_Name VARCHAR, Shop_ID VARCHAR ) ### Response: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1
2,756
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What country has an LP format, catalog s 31503? ### Input: CREATE TABLE table_64154 ( "Date" text, "Label" text, "Format" text, "Country" text, "Catalog" text ) ### Response: SELECT "Country" FROM table_64154 WHERE "Format" = 'lp' AND "Catalog" = 's 31503'
10,200
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total of q > 1.4 when q > 1.3 is 455, and q >1.2 is less than 3,028? ### Input: CREATE TABLE table_name_51 ( q_ INTEGER ) ### Response: SELECT SUM(q_) > _1.4 FROM table_name_51 WHERE q_ > _1.3 = 455 AND q_ > _1.2 < 3 OFFSET 028
17,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: Which Tie #has an Attendance of 54,591? ### Input: CREATE TABLE table_36003 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) ### Response: SELECT "Tie no" FROM table_36003 WHERE "Attendance" = '54,591'
517
Below are sql tables 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 fourth district for joan runnels ### Input: CREATE TABLE table_20084 ( "First District" text, "Second District" text, "Third District" text, "Fourth District" text, "Fifth District" text ) ### Response: SELECT "Fourth District" FROM table_20084 WHERE "Second District" = 'Joan Runnels'
9,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: Which Away team has Away team score 5.8 (38)? ### Input: CREATE TABLE table_32989 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Away team" FROM table_32989 WHERE "Away team score" = '5.8 (38)'
21,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: Which driver has a grid value larger than 11, and drove more than 52 laps? ### Input: CREATE TABLE table_52956 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) ### Response: SELECT "Driver" FROM table_52956 WHERE "Grid" > '11' AND "Laps" > '52'
16,401
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who is the away side, when the home side scores 13.22 (100)? ### Input: CREATE TABLE table_33223 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) ### Response: SELECT "Away team" FROM table_33223 WHERE "Home team score" = '13.22 (100)'
1,560
Below are sql tables schemas 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 has 4 points and a Chassis of march 82/83c? ### Input: CREATE TABLE table_70584 ( "Year" real, "Team" text, "Chassis" text, "Engine" text, "Rank" text, "Points" real ) ### Response: SELECT "Team" FROM table_70584 WHERE "Points" = '4' AND "Chassis" = 'march 82/83c'
15,050
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For driver Mark Skaife what is the result for race 1? ### Input: CREATE TABLE table_256 ( "Driver" text, "No." real, "Team" text, "Car" text, "Race 1" text, "GP 100" text, "Race 3" text, "Points" real ) ### Response: SELECT "Race 1" FROM table_256 WHERE "Driver" = 'Mark Skaife'
549
Below are sql tables 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 runs are there when the highest score is 228*? ### Input: CREATE TABLE table_30784 ( "Player" text, "Matches" real, "Innings" real, "Runs" real, "Average" text, "Highest Score" text, "100s" real, "50s" real ) ### Response: SELECT MIN("Runs") FROM table_30784 WHERE "Highest Score" = '228*'
20,502
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the date for hard surface and tournament of fort walton beach ### Input: CREATE TABLE table_69264 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) ### Response: SELECT "Date" FROM table_69264 WHERE "Surface" = 'hard' AND "Tournament" = 'fort walton beach'
15,965
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8? ### Input: CREATE TABLE table_60845 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) ### Response: SELECT MIN("Rank") FROM table_60845 WHERE "Gold" = '3' AND "Bronze" = '4' AND "Total" > '8'
22,167