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 record after the bout with Alexis Vila? ### Input: CREATE TABLE table_37137 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
) ### Response: SELECT "Record" FROM table_37137 WHERE "Opponent" = 'alexis vila' | 2,207 |
Below are sql tables 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 Record of Visitor of toronto st. pats with a Score of 5 4 and a Home of ottawa senators? Question 5 ### Input: CREATE TABLE table_8378 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) ### Response: SELECT "Record" FROM table_8378 WHERE "Visitor" = 'toronto st. pats' AND "Score" = '5–4' AND "Home" = 'ottawa senators' | 9,460 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which character has a French voice actor of Marc Saez and a German voice actor of Dirk Fenselau? ### Input: CREATE TABLE table_name_70 (
character VARCHAR,
french_voice_actor VARCHAR,
german_voice_actor VARCHAR
) ### Response: SELECT character FROM table_name_70 WHERE french_voice_actor = "marc saez" AND german_voice_actor = "dirk fenselau" | 20,597 |
Below are sql tables 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 most games for eredivisie when jurrie koolhof is manager when goals are less than 10 ### Input: CREATE TABLE table_name_25 (
games INTEGER,
goals VARCHAR,
league VARCHAR,
manager VARCHAR
) ### Response: SELECT MAX(games) FROM table_name_25 WHERE league = "eredivisie" AND manager = "jurrie koolhof" AND goals < 10 | 21,914 |
Below are sql tables 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 Finalist has a Tournament of monte carlo? ### Input: CREATE TABLE table_50864 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semifinalists" text
) ### Response: SELECT "Finalist" FROM table_50864 WHERE "Tournament" = 'monte carlo' | 15,861 |
Below are sql tables 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 college hall of fame of the player who plays fullback? ### Input: CREATE TABLE table_38920 (
"Position" text,
"Name" text,
"School" text,
"Unanimous" text,
"College Hall of Fame" text
) ### Response: SELECT "College Hall of Fame" FROM table_38920 WHERE "Position" = 'fullback' | 6,170 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Round 1 of 71 has how many highest money? ### Input: CREATE TABLE table_69470 (
"Year" real,
"Round 1" text,
"Round 2" text,
"Place" real,
"Money ($)" real
) ### Response: SELECT MAX("Money ($)") FROM table_69470 WHERE "Round 1" = '71' | 3,292 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the record the the match against vs. calgary stampeders before week 15? ### Input: CREATE TABLE table_76711 (
"Week" real,
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Attendance" text,
"Record" text
) ### Response: SELECT "Record" FROM table_76711 WHERE "Opponent" = 'vs. calgary stampeders' AND "Week" < '15' | 9,894 |
Below are sql tables 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 names of members and the locations of colleges they go to in ascending alphabetical order of member names. ### Input: CREATE TABLE college (
College_Location VARCHAR,
College_ID VARCHAR
)
CREATE TABLE member (
Name VARCHAR,
College_ID VARCHAR
) ### Response: SELECT T2.Name, T1.College_Location FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID ORDER BY T2.Name | 4,440 |
Below are sql tables 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 is from the Russian Major League? ### Input: CREATE TABLE table_54542 (
"Pick #" real,
"Player" text,
"Nationality" text,
"Position" text,
"League from" text
) ### Response: SELECT "Position" FROM table_54542 WHERE "League from" = 'russian major league' | 3,648 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the finalist for the tournament in berlin? ### Input: CREATE TABLE table_9129 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semifinalists" text
) ### Response: SELECT "Finalist" FROM table_9129 WHERE "Tournament" = 'berlin' | 2,337 |
Below are sql tables 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 Week smaller than 8, and an Opponent of philadelphia eagles? ### Input: CREATE TABLE table_42533 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) ### Response: SELECT "Attendance" FROM table_42533 WHERE "Week" < '8' AND "Opponent" = 'philadelphia eagles' | 20,936 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest rank of the player with less than 32 points? ### Input: CREATE TABLE table_41871 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Points" real
) ### Response: SELECT MAX("Rank") FROM table_41871 WHERE "Points" < '32' | 17,577 |
Below are sql tables 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 Points- when the Sets- is larger than 51? ### Input: CREATE TABLE table_76194 (
"Team" text,
"Sets+" real,
"Sets\u2013" real,
"Points+" real,
"Points\u2013" real
) ### Response: SELECT COUNT("Points\u2013") FROM table_76194 WHERE "Sets\u2013" > '51' | 11,190 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which position has a Round of 7, and a College of kansas state? ### Input: CREATE TABLE table_32302 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT "Position" FROM table_32302 WHERE "Round" = '7' AND "College" = 'kansas state' | 19,687 |
Below are sql tables 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 has a Competition of welsh rugby union challenge trophy and a Result of 34-34? Question 1 ### Input: CREATE TABLE table_name_72 (
date VARCHAR,
competition VARCHAR,
result VARCHAR
) ### Response: SELECT date FROM table_name_72 WHERE competition = "welsh rugby union challenge trophy" AND result = "34-34" | 19,332 |
Below are sql tables 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 songs in volumes associated with the artist aged 32 or older? ### Input: CREATE TABLE volume (
Song VARCHAR,
Artist_ID VARCHAR
)
CREATE TABLE artist (
Artist_ID VARCHAR,
age VARCHAR
) ### Response: SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age >= 32 | 1,714 |
Below are sql tables 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 location of the mountain ranked at 36? ### Input: CREATE TABLE table_14894 (
"Rank" real,
"Mountain Peak" text,
"State" text,
"Mountain Range" text,
"Location" text
) ### Response: SELECT "Location" FROM table_14894 WHERE "Rank" = '36' | 7,686 |
Below are sql tables 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 source has a cardwell of 20%? ### Input: CREATE TABLE table_78034 (
"Source" text,
"Date" text,
"Cardwell" text,
"Jones" text,
"Knight" text,
"Lanier" text,
"Martin" text
) ### Response: SELECT "Source" FROM table_78034 WHERE "Cardwell" = '20%' | 9,218 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51? ### Input: CREATE TABLE table_name_1 (
draws INTEGER,
goals_for VARCHAR,
goals_against VARCHAR,
losses VARCHAR
) ### Response: SELECT MAX(draws) FROM table_name_1 WHERE goals_against > 33 AND losses = 13 AND goals_for < 51 | 11,872 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which grid is the highest and has a time/retired of +0.3? ### Input: CREATE TABLE table_54221 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT MAX("Grid") FROM table_54221 WHERE "Time/Retired" = '+0.3' | 628 |
Below are sql tables 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 color description of the product with name 'catnip'? ### Input: CREATE TABLE products (
color_code VARCHAR,
product_name VARCHAR
)
CREATE TABLE ref_colors (
color_description VARCHAR,
color_code VARCHAR
) ### Response: SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = "catnip" | 5,755 |
Below are sql tables 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 time for Cuba, with a notes entry of QS? ### Input: CREATE TABLE table_64370 (
"Rank" real,
"Athletes" text,
"Country" text,
"Time" text,
"Notes" text
) ### Response: SELECT "Time" FROM table_64370 WHERE "Notes" = 'qs' AND "Country" = 'cuba' | 24,342 |
Below are sql tables 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 first names of the teachers who teach grade 1? ### Input: CREATE TABLE teachers (
lastname text,
firstname text,
classroom number
)
CREATE TABLE list (
lastname text,
firstname text,
grade number,
classroom number
) ### Response: SELECT DISTINCT T2.firstname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE grade = 1 | 1,454 |
Below are sql tables 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 GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team? ### Input: CREATE TABLE table_24865763_2 (
gt2_winning_team VARCHAR,
lmp1_winning_team VARCHAR
) ### Response: SELECT gt2_winning_team FROM table_24865763_2 WHERE lmp1_winning_team = "Greg Mansell Leo Mansell" | 14,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: Which competition in Budapest, Hungary gave a result of 8th? ### Input: CREATE TABLE table_36822 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
) ### Response: SELECT "Competition" FROM table_36822 WHERE "Position" = '8th' AND "Venue" = 'budapest, hungary' | 810 |
Below are sql tables 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 held against a team with a 6-3 record against the Cowboys? ### Input: CREATE TABLE table_25311 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Cowboys points" real,
"Opponents" real,
"Record" text
) ### Response: SELECT "Game" FROM table_25311 WHERE "Record" = '6-3' | 17,765 |
Below are sql tables 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 of the Canterbury has a Central District of 276* M.D. Crowe & P.S. Briasco V (C) 1986/87? ### Input: CREATE TABLE table_name_67 (
canterbury VARCHAR,
central_districts VARCHAR
) ### Response: SELECT canterbury FROM table_name_67 WHERE central_districts = "276* m.d. crowe & p.s. briasco v (c) 1986/87" | 3,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 is the three-mora word with a low tone accented mora and a one mora of 2? ### Input: CREATE TABLE table_name_18 (
three_mora_word VARCHAR,
one_mora VARCHAR,
accented_mora VARCHAR
) ### Response: SELECT three_mora_word FROM table_name_18 WHERE NOT accented_mora = "low tone" AND one_mora = "2" | 13,389 |
Below are sql tables 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 Label, when Date is 1987? ### Input: CREATE TABLE table_47951 (
"Date" text,
"Region" text,
"Label" text,
"Catalogue" text,
"Format" text
) ### Response: SELECT "Label" FROM table_47951 WHERE "Date" = '1987' | 3,525 |
Below are sql tables 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 unit has an Avoirdupois value of 57.602 gr.? ### Input: CREATE TABLE table_37329 (
"Unit" text,
"Russian" text,
"Translation" text,
"Ratio" real,
"Metric value" text,
"Avoirdupois value" text,
"Ordinary value" text
) ### Response: SELECT "Unit" FROM table_37329 WHERE "Avoirdupois value" = '57.602 gr.' | 6,619 |
Below are sql tables 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 statuses are listed for the parish officially named Gagetown? ### Input: CREATE TABLE table_21377 (
"Official Name" text,
"Status" text,
"Area km 2" text,
"Population" real,
"Census Ranking" text
) ### Response: SELECT COUNT("Status") FROM table_21377 WHERE "Official Name" = 'Gagetown' | 19,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 Player in the Int'l Debut of 1974? ### Input: CREATE TABLE table_64942 (
"Player" text,
"Int'l Debut" text,
"Year" text,
"Cross Code Debut" text,
"Date" text
) ### Response: SELECT "Player" FROM table_64942 WHERE "Year" = '1974' | 16,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: Which round has the record of 5-0? ### Input: CREATE TABLE table_35866 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
) ### Response: SELECT "Round" FROM table_35866 WHERE "Record" = '5-0' | 670 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Format for Branding of 1290 wkbk w281au 104.1? ### Input: CREATE TABLE table_10333757_1 (
format VARCHAR,
branding VARCHAR
) ### Response: SELECT format FROM table_10333757_1 WHERE branding = "1290 WKBK W281AU 104.1" | 4,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 name of award when the awardee(s) is elangbam natasha? ### Input: CREATE TABLE table_25926120_7 (
name_of_award VARCHAR,
awardee_s_ VARCHAR
) ### Response: SELECT name_of_award FROM table_25926120_7 WHERE awardee_s_ = "Elangbam Natasha" | 2,161 |
Below are sql tables 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 season number for 'the night of the feathered fury ### Input: CREATE TABLE table_23348 (
"Series #" real,
"Season #" real,
"Title" text,
"Director(s)" text,
"Writer(s)" text,
"Airdate" text,
"Production code" real,
"Arties disguises" text
) ### Response: SELECT COUNT("Season #") FROM table_23348 WHERE "Title" = 'The Night of the Feathered Fury' | 6,182 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the semifinalists when the surface is hard (i)? ### Input: CREATE TABLE table_9215 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
) ### Response: SELECT "Semifinalists" FROM table_9215 WHERE "Surface" = 'hard (i)' | 18,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 previous name of matt dallas ? ### Input: CREATE TABLE table_204_425 (
id number,
"name" text,
"lifetime" text,
"nationality" text,
"notable as" text,
"notes" text
) ### Response: SELECT "name" FROM table_204_425 WHERE id = (SELECT id FROM table_204_425 WHERE "name" = 'matt dallas') - 1 | 9,592 |
Below are sql tables 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 region is on 11 August 2008? ### Input: CREATE TABLE table_61517 (
"Region" text,
"Date" text,
"Label" text,
"Format(s)" text,
"Catalog" text
) ### Response: SELECT "Region" FROM table_61517 WHERE "Date" = '11 august 2008' | 1,543 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the lowest value of INT's with an average more than 25? ### Input: CREATE TABLE table_37005 (
"Player" text,
"Sacks" real,
"INT'S" real,
"Yards" real,
"Average" real,
"Long" text
) ### Response: SELECT MIN("INT'S") FROM table_37005 WHERE "Average" > '25' | 18,942 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When is the Monsters of Rock show with 12 bands? ### Input: CREATE TABLE table_31803 (
"Year" real,
"Date" text,
"Event" text,
"Days" text,
"Stages" text,
"Acts" text
) ### Response: SELECT "Date" FROM table_31803 WHERE "Event" = 'monsters of rock' AND "Acts" = '12 bands' | 19,818 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many years was the trailing votes 25.34% ### Input: CREATE TABLE table_1811 (
"Year" real,
"Lok Sabha" text,
"Members of Parliament" text,
"Party Won" text,
"Winners % votes" text,
"Trailing Party" text,
"Trailing Party % votes" text
) ### Response: SELECT COUNT("Year") FROM table_1811 WHERE "Trailing Party % votes" = '25.34%' | 2,013 |
Below are sql tables 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 latest Fiscal Year with Revenues of $4.3 billion, and more than 85,335 employees? ### Input: CREATE TABLE table_35238 (
"Firm" text,
"Revenues" text,
"Employees" real,
"Fiscal Year" real,
"Headquarters" text
) ### Response: SELECT MAX("Fiscal Year") FROM table_35238 WHERE "Revenues" = '$4.3 billion' AND "Employees" > '85,335' | 16,445 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many games did this team win this season ? ### Input: CREATE TABLE table_204_755 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
) ### Response: SELECT COUNT(*) FROM table_204_755 WHERE "result" = 'w' | 21,764 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total of a crowd with an Away team score of 8.17 (65)? ### Input: CREATE TABLE table_53007 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT SUM("Crowd") FROM table_53007 WHERE "Away team score" = '8.17 (65)' | 19,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: What is the lowest value for Points, when Games is greater than 34, and when Name is Andrew Panko? ### Input: CREATE TABLE table_name_98 (
points INTEGER,
games VARCHAR,
name VARCHAR
) ### Response: SELECT MIN(points) FROM table_name_98 WHERE games > 34 AND name = "andrew panko" | 4,146 |
Below are sql tables 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 mean year number where there are more than 0 wins, the class is 250cc, and the points are 95? ### Input: CREATE TABLE table_74984 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
) ### Response: SELECT AVG("Year") FROM table_74984 WHERE "Wins" > '0' AND "Class" = '250cc' AND "Points" = '95' | 76 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where was the game with a score of 13.13 (91) played? ### Input: CREATE TABLE table_55683 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Venue" FROM table_55683 WHERE "Away team score" = '13.13 (91)' | 16,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: Name the Shuji Kondo for MAZADA of hijikata (14:24) ### Input: CREATE TABLE table_57985 (
"Block A" text,
"Ryuji Hijikata" text,
"Shuji Kondo" text,
"MAZADA" text,
"El Samurai" text
) ### Response: SELECT "Shuji Kondo" FROM table_57985 WHERE "MAZADA" = 'hijikata (14:24)' | 13,776 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the away team's score when south melbourne is the away team? ### Input: CREATE TABLE table_4823 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Away team score" FROM table_4823 WHERE "Away team" = 'south melbourne' | 2,181 |
Below are sql tables 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 away team against which the home team scored 10.14 (74)? ### Input: CREATE TABLE table_33230 (
"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_33230 WHERE "Home team score" = '10.14 (74)' | 11,432 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where was the method of tko? ### Input: CREATE TABLE table_43993 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Location" text
) ### Response: SELECT "Location" FROM table_43993 WHERE "Method" = 'tko' | 2,696 |
Below are sql tables 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 Tournament, when Date is 'Sep 12, 1976'? ### Input: CREATE TABLE table_49615 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
) ### Response: SELECT "Tournament" FROM table_49615 WHERE "Date" = 'sep 12, 1976' | 9,527 |
Below are sql tables 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 chateau comes after chateau de bourmont ? ### Input: CREATE TABLE table_204_806 (
id number,
"name" text,
"date" text,
"condition" text,
"ownership\n/ access" text,
"notes" text
) ### Response: SELECT "name" FROM table_204_806 WHERE id = (SELECT id FROM table_204_806 WHERE "name" = 'chateau de bourmont') + 1 | 17,834 |
Below are sql tables 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 minimum mundubbera when biggenden is 1882 ### Input: CREATE TABLE table_12526990_1 (
mundubbera INTEGER,
biggenden VARCHAR
) ### Response: SELECT MIN(mundubbera) FROM table_12526990_1 WHERE biggenden = 1882 | 7,100 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the lowest overall amount of assists? ### Input: CREATE TABLE table_3181 (
"Player" text,
"Minutes" real,
"Field Goals" real,
"Rebounds" real,
"Assists" real,
"Steals" real,
"Blocks" real,
"Points" real
) ### Response: SELECT MIN("Assists") FROM table_3181 | 9,035 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Alpha 2 code for Papua New Guinea? ### Input: CREATE TABLE table_222771_1 (
alpha_2_code VARCHAR,
english_short_name__upper_lower_case_ VARCHAR
) ### Response: SELECT alpha_2_code FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "Papua New Guinea" | 8,511 |
Below are sql tables 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 had the most wins ? ### Input: CREATE TABLE table_203_30 (
id number,
"place" number,
"team" text,
"played" number,
"won" number,
"draw" number,
"lost" number,
"goals\nscored" number,
"goals\nconceded" number,
"+/-" number,
"points" number
) ### Response: SELECT "team" FROM table_203_30 ORDER BY "won" DESC LIMIT 1 | 3,239 |
Below are sql tables 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 segment a for s duvet ### Input: CREATE TABLE table_19897 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
) ### Response: SELECT "Segment A" FROM table_19897 WHERE "Segment C" = 's Duvet' | 9,841 |
Below are sql tables 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 kind of No Result has a % Win of 100.00% and a Played larger than 4 in 2012? ### Input: CREATE TABLE table_name_50 (
no_result INTEGER,
year VARCHAR,
_percentage_win VARCHAR,
played VARCHAR
) ### Response: SELECT MIN(no_result) FROM table_name_50 WHERE _percentage_win = "100.00%" AND played > 4 AND year = "2012" | 8,853 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name The Ground on 18 january 1998? ### Input: CREATE TABLE table_60774 (
"Date" text,
"Nationality / Opponent" text,
"Ground" text,
"Result" text,
"Competition" text
) ### Response: SELECT "Ground" FROM table_60774 WHERE "Date" = '18 january 1998' | 14,771 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Tries against for the team that has 207 points for? ### Input: CREATE TABLE table_44337 (
"Team" text,
"Tries for" text,
"Tries against" text,
"Try diff" text,
"Points for" text,
"Points against" text,
"Points diff" text
) ### Response: SELECT "Tries against" FROM table_44337 WHERE "Points for" = '207' | 16,459 |
Below are sql tables 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 finish for England? ### Input: CREATE TABLE table_60144 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) ### Response: SELECT "Finish" FROM table_60144 WHERE "Country" = 'england' | 3,169 |
Below are sql tables 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 the game with 72,949 in attendance? ### Input: CREATE TABLE table_75934 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) ### Response: SELECT "Result" FROM table_75934 WHERE "Attendance" = '72,949' | 4,380 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008? ### Input: CREATE TABLE table_name_37 (
result VARCHAR,
competition VARCHAR,
date VARCHAR
) ### Response: SELECT result FROM table_name_37 WHERE competition = "2010 fifa world cup qualification" AND date = "10 september 2008" | 4,947 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many TTkl have 2004 as the year, and a pass def greater than 5? ### Input: CREATE TABLE table_68110 (
"Year" text,
"Team" text,
"TTkl" real,
"Solo" real,
"Sacks" real,
"Pass Def" real
) ### Response: SELECT SUM("TTkl") FROM table_68110 WHERE "Year" = '2004' AND "Pass Def" > '5' | 7,450 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how long was daubin in office ? ### Input: CREATE TABLE table_203_372 (
id number,
"from" number,
"to" number,
"name" text,
"party" text,
"position" number
) ### Response: SELECT "to" - "from" FROM table_203_372 WHERE "name" = 'daubin' | 6,420 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the surface for October 10, 2004? ### Input: CREATE TABLE table_42380 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) ### Response: SELECT "Surface" FROM table_42380 WHERE "Date" = 'october 10, 2004' | 14,441 |
Below are sql tables 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 player for seattle ### Input: CREATE TABLE table_20197 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
) ### Response: SELECT "Player" FROM table_20197 WHERE "School/Club Team" = 'Seattle' | 1,592 |
Below are sql tables 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 film did damon produce right after monster ? ### Input: CREATE TABLE table_203_438 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
) ### Response: SELECT "title" FROM table_203_438 WHERE id = (SELECT id FROM table_203_438 WHERE "title" = 'monster') - 1 | 1,906 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: With a score of 68-65=133 and United States as the country what is the To par? ### Input: CREATE TABLE table_79181 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) ### Response: SELECT "To par" FROM table_79181 WHERE "Country" = 'united states' AND "Score" = '68-65=133' | 17,895 |
Below are sql tables 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 population for the area that has a density of 36.7? ### Input: CREATE TABLE table_name_89 (
population__2011_ INTEGER,
density__inhabitants_km_2__ VARCHAR
) ### Response: SELECT MIN(population__2011_) FROM table_name_89 WHERE density__inhabitants_km_2__ = 36.7 | 1,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's the region for an item on November 10, 2007 that's a cd? ### Input: CREATE TABLE table_55145 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) ### Response: SELECT "Region" FROM table_55145 WHERE "Date" = 'november 10, 2007' AND "Format" = 'cd' | 4,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: WHICH Regular Season has a League of npsl, and a Year of 2008? ### Input: CREATE TABLE table_50807 (
"Year" text,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
) ### Response: SELECT "Regular Season" FROM table_50807 WHERE "League" = 'npsl' AND "Year" = '2008' | 11,645 |
Below are sql tables 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 Kanji for the Ayanami dd-45? ### Input: CREATE TABLE table_34249 (
"Kanji" text,
"Name" text,
"Builder" text,
"Laid down" text,
"Launched" text,
"Completed" text
) ### Response: SELECT "Kanji" FROM table_34249 WHERE "Name" = 'ayanami dd-45' | 12,245 |
Below are sql tables 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 code name when the Southbridge shows as amd-766, via-vt82c686b? ### Input: CREATE TABLE table_name_26 (
code_name VARCHAR,
southbridge VARCHAR
) ### Response: SELECT code_name FROM table_name_26 WHERE southbridge = "amd-766, via-vt82c686b" | 7,002 |
Below are sql tables 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 ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1? ### Input: CREATE TABLE table_name_1 (
rank VARCHAR,
gold VARCHAR,
bronze VARCHAR,
total VARCHAR
) ### Response: SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 1 | 14,153 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the number of goals if the name is Xavier Gravelaine? ### Input: CREATE TABLE table_3087 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
) ### Response: SELECT "Goals\u00b9" FROM table_3087 WHERE "Name" = 'Xavier Gravelaine' | 4,001 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Please tell me the average star ratings of each movie title using a bar chart. ### Input: CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
) ### Response: SELECT title, AVG(stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title | 3,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 high assists for may 21 ### Input: CREATE TABLE table_21829 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
) ### Response: SELECT "High assists" FROM table_21829 WHERE "Date" = 'May 21' | 7,672 |
Below are sql tables 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 Rocco Mediate of the United States has a To par of +2, what was his score? ### Input: CREATE TABLE table_name_43 (
score VARCHAR,
player VARCHAR,
to_par VARCHAR,
country VARCHAR
) ### Response: SELECT score FROM table_name_43 WHERE to_par = "+2" AND country = "united states" AND player = "rocco mediate" | 5,740 |
Below are sql tables 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 heat in the lane less than 3 with a time of 14:48.39? ### Input: CREATE TABLE table_name_99 (
heat INTEGER,
lane VARCHAR,
time VARCHAR
) ### Response: SELECT AVG(heat) FROM table_name_99 WHERE lane < 3 AND time = "14:48.39" | 7,137 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: did the snp or the conservative party get a greater percentage of the vote in the 2001 general election in ochil ? ### Input: CREATE TABLE table_202_224 (
id number,
"party" text,
"candidate" text,
"votes" number,
"%" number
) ### Response: SELECT "party" FROM table_202_224 WHERE "party" IN ('snp', 'conservative') ORDER BY "%" DESC LIMIT 1 | 21,127 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the highest number of wins for any team? ### Input: CREATE TABLE table_22079 (
"Position" real,
"Club" text,
"Games played" real,
"Wins" real,
"Draws" real,
"Loses" real,
"Goals scored" real,
"Goals conceded" real,
"Points" real
) ### Response: SELECT MAX("Wins") FROM table_22079 | 16,222 |
Below are sql tables 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 Game has a Record of 4 2 1, and Points larger than 9? ### Input: CREATE TABLE table_34482 (
"Game" real,
"October" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) ### Response: SELECT SUM("Game") FROM table_34482 WHERE "Record" = '4–2–1' AND "Points" > '9' | 8,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 is the type when the position is ambassador and the location is rabat? ### Input: CREATE TABLE table_60655 (
"Mission" text,
"Location" text,
"Type" text,
"Head of Mission" text,
"Position" text,
"List" text
) ### Response: SELECT "Type" FROM table_60655 WHERE "Position" = 'ambassador' AND "Location" = 'rabat' | 15,534 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Away captain with a Venue that is old trafford? ### Input: CREATE TABLE table_7302 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
) ### Response: SELECT "Away captain" FROM table_7302 WHERE "Venue" = 'old trafford' | 21,704 |
Below are sql tables 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 latest round for Pohang Steelers as the away team? ### Input: CREATE TABLE table_65059 (
"Round" real,
"Date" text,
"Home Team" text,
"Score" text,
"Away Team" text,
"Attendance" real,
"Stadium" text
) ### Response: SELECT MAX("Round") FROM table_65059 WHERE "Away Team" = 'pohang steelers' | 3,586 |
Below are sql tables 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 Loss when the opponent was the Rangers and the attendance was greater than 43,211? ### Input: CREATE TABLE table_name_57 (
loss VARCHAR,
opponent VARCHAR,
attendance VARCHAR
) ### Response: SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211 | 4,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: which had the least amount of time ? ### Input: CREATE TABLE table_203_734 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
) ### Response: SELECT "competition" FROM table_203_734 ORDER BY "notes" LIMIT 1 | 290 |
Below are sql tables 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 Score points has a Rank points of defending champion? ### Input: CREATE TABLE table_59511 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
) ### Response: SELECT "Score points" FROM table_59511 WHERE "Rank points" = 'defending champion' | 2,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: What was the score of the game against Charlotte? ### Input: CREATE TABLE table_48815 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) ### Response: SELECT "Score" FROM table_48815 WHERE "Team" = 'charlotte' | 7,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 polling source gave Michael Signer 5%? ### Input: CREATE TABLE table_63160 (
"Source" text,
"Date" text,
"Jody Wagner" text,
"Pat Edmonson" text,
"Michael Signer" text,
"Rich Savage" text,
"Jon Bowerbank" text,
"Undecided" text
) ### Response: SELECT "Source" FROM table_63160 WHERE "Michael Signer" = '5%' | 11,558 |
Below are sql tables 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 NHL team for ryan johnson ### Input: CREATE TABLE table_31542 (
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) ### Response: SELECT "NHL team" FROM table_31542 WHERE "Player" = 'ryan johnson' | 6,492 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70 ### Input: CREATE TABLE table_name_83 (
grid INTEGER,
laps VARCHAR,
time_retired VARCHAR,
driver VARCHAR
) ### Response: SELECT MIN(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "emerson fittipaldi" AND laps > 70 | 13,351 |
Below are sql tables 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 most game with opponent of hartford whalers ### Input: CREATE TABLE table_6228 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
) ### Response: SELECT MAX("Game") FROM table_6228 WHERE "Opponent" = 'hartford whalers' | 5,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 was the loss for Boris Picano-Nacci? ### Input: CREATE TABLE table_75985 (
"Name" text,
"Country" text,
"Date(s)" text,
"Loss" text,
"Institution" text,
"Market activity" text
) ### Response: SELECT "Loss" FROM table_75985 WHERE "Name" = 'boris picano-nacci' | 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: In what season was 577 runs scored? ### Input: CREATE TABLE table_45685 (
"Wicket" text,
"Runs" text,
"Batting partners" text,
"Batting team" text,
"Fielding team" text,
"Venue" text,
"Season" text
) ### Response: SELECT "Season" FROM table_45685 WHERE "Runs" = '577' | 5,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: What CERCLIS ID was listed 10/14/1992? ### Input: CREATE TABLE table_9430 (
"CERCLIS ID" text,
"Name" text,
"County" text,
"Proposed" text,
"Listed" text,
"Construction completed" text,
"Partially deleted" text
) ### Response: SELECT "CERCLIS ID" FROM table_9430 WHERE "Listed" = '10/14/1992' | 4,366 |