text
stringlengths 400
694
| __index_level_0__
int64 6
25k
|
---|---|
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Score of the game of the Player in Place 4? ### Input: CREATE TABLE table_76986 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) ### Response: SELECT "Score" FROM table_76986 WHERE "Place" = '4' | 15,373 |
Below are sql tables schemas 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 Top Division Debut, when Tournaments is '12', and when Name is 'Yamamotoyama'? ### Input: CREATE TABLE table_name_67 (
top_division_debut VARCHAR,
tournaments VARCHAR,
name VARCHAR
) ### Response: SELECT top_division_debut FROM table_name_67 WHERE tournaments = 12 AND name = "yamamotoyama" | 2,886 |
Below are sql tables schemas 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 rank of the team with 0 bronze, 1 silver, and more than 0 gold? ### Input: CREATE TABLE table_name_69 (
rank INTEGER,
gold VARCHAR,
bronze VARCHAR,
silver VARCHAR
) ### Response: SELECT MIN(rank) FROM table_name_69 WHERE bronze = 0 AND silver = 1 AND gold > 0 | 15,216 |
Below are sql tables 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 for 800 reset ### Input: CREATE TABLE table_26593 (
"#" real,
"Player" text,
"Country" text,
"Points" real,
"Reset points" real,
"Events" real
) ### Response: SELECT COUNT("Points") FROM table_26593 WHERE "Reset points" = '800' | 16,056 |
Below are sql tables 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 building is Costanera Center Torre 1, what is the height? ### Input: CREATE TABLE table_29282 (
"Position" real,
"Building" text,
"City" text,
"Height" text,
"Number of floors" real,
"Completion" real
) ### Response: SELECT "Height" FROM table_29282 WHERE "Building" = 'Costanera Center Torre 1' | 19,728 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Round of 9 involved what name? ### Input: CREATE TABLE table_69683 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) ### Response: SELECT "Name" FROM table_69683 WHERE "Round" = '9' | 248 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Home captain has a Venue of melbourne cricket ground? ### Input: CREATE TABLE table_15457 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
) ### Response: SELECT "Home captain" FROM table_15457 WHERE "Venue" = 'melbourne cricket ground' | 8,020 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the name of the manager of the Atl tico Baleares? ### Input: CREATE TABLE table_64956 (
"Player" text,
"Current Club" text,
"Born" text,
"Debut" text,
"Manager" text
) ### Response: SELECT "Manager" FROM table_64956 WHERE "Current Club" = 'atlético baleares' | 4,907 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the attendance for record 2-0? ### Input: CREATE TABLE table_39069 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" text
) ### Response: SELECT "Attendance" FROM table_39069 WHERE "Record" = '2-0' | 11,653 |
Below are sql tables schemas 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 Val-de-Marne WITH Seine-Saint-Denis of 4.0%? ### Input: CREATE TABLE table_name_52 (
val_de_marne VARCHAR,
seine_saint_denis VARCHAR
) ### Response: SELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis = "4.0%" | 10,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: When 4 is the week what is the location? ### Input: CREATE TABLE table_26617 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Location" FROM table_26617 WHERE "Week" = '4' | 19,908 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What round was the overall 63 drafted? ### Input: CREATE TABLE table_32514 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT COUNT("Round") FROM table_32514 WHERE "Overall" = '63' | 11,820 |
Below are sql tables schemas 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 'season joined league' for the club that had 15 seasons at this level? ### Input: CREATE TABLE table_name_54 (
season_joined_league VARCHAR,
seasons_at_this_level VARCHAR
) ### Response: SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons" | 9,734 |
Below are sql tables 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 Wayne county? ### Input: CREATE TABLE table_25349 (
"County" text,
"Population" real,
"Unemployment Rate" text,
"Market Income Per Capita" text,
"Poverty Rate" text,
"Status" text
) ### Response: SELECT COUNT("Status") FROM table_25349 WHERE "County" = 'Wayne' | 23,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 is Date, when Away Team is 'Minehead'? ### Input: CREATE TABLE table_61638 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) ### Response: SELECT "Date" FROM table_61638 WHERE "Away team" = 'minehead' | 2,235 |
Below are sql tables 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 visiting team at the matchup at the RCA Dome? ### Input: CREATE TABLE table_68802 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
) ### Response: SELECT "Visiting Team" FROM table_68802 WHERE "Stadium" = 'rca dome' | 10,993 |
Below are sql tables 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 lands with longitude of -100.895783 are? ### Input: CREATE TABLE table_18600760_19 (
land___sqmi__ VARCHAR,
longitude VARCHAR
) ### Response: SELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = "-100.895783" | 2,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: Who had a rank larger than 7, less than 305 goals, and 418 matches? ### Input: CREATE TABLE table_39955 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" text,
"Goals" real
) ### Response: SELECT "Name" FROM table_39955 WHERE "Rank" > '7' AND "Goals" < '305' AND "Matches" = '418' | 21,482 |
Below are sql tables schemas 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 Race 2, when Driver is 'Paul Radisich'? ### Input: CREATE TABLE table_8330 (
"Driver" text,
"Team" text,
"Race 1" text,
"Race 2" text,
"Race 3" text
) ### Response: SELECT "Race 2" FROM table_8330 WHERE "Driver" = 'paul radisich' | 990 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the score of the game when they had a record of 22 19 4? ### Input: CREATE TABLE table_51475 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Score" FROM table_51475 WHERE "Record" = '22–19–4' | 6,557 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Club team has an average of 8, plays kaj linna, and has an overall larger than 131? ### Input: CREATE TABLE table_name_97 (
club_team VARCHAR,
player VARCHAR,
overall VARCHAR,
round VARCHAR
) ### Response: SELECT club_team FROM table_name_97 WHERE overall > 131 AND round = 8 AND player = "kaj linna" | 2,962 |
Below are sql tables 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 a train that was built after ss & iw 's . ### Input: CREATE TABLE table_204_77 (
id number,
"number" text,
"builder" text,
"type" text,
"date" text,
"works number" number,
"notes" text
) ### Response: SELECT "number" FROM table_204_77 WHERE "date" > (SELECT "date" FROM table_204_77 WHERE "builder" = 'ss&iw') ORDER BY "date" LIMIT 1 | 19,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: What is the average React, when Name is 'Candice Davis', and when Lane is less than 3? ### Input: CREATE TABLE table_9645 (
"Lane" real,
"Name" text,
"Country" text,
"Mark" real,
"React" real
) ### Response: SELECT AVG("React") FROM table_9645 WHERE "Name" = 'candice davis' AND "Lane" < '3' | 4,381 |
Below are sql tables 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 flowers have the same type as the freedom bell ? ### Input: CREATE TABLE table_203_699 (
id number,
"name" text,
"parentage" text,
"size" text,
"flower colour" text,
"flower type" text
) ### Response: SELECT COUNT("name") FROM table_203_699 WHERE "name" <> 'freedom bell' AND "flower type" = (SELECT "flower type" FROM table_203_699 WHERE "name" = 'freedom bell') | 3,685 |
Below are sql tables 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 Episodes have a Romaji Title of dragon zakura? ### Input: CREATE TABLE table_64719 (
"Japanese Title" text,
"Romaji Title" text,
"TV Station" text,
"Episodes" real,
"Average Ratings" text
) ### Response: SELECT COUNT("Episodes") FROM table_64719 WHERE "Romaji Title" = 'dragon zakura' | 4,280 |
Below are sql tables schemas 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 all the open 1st viii with u15 6th iv being bgs ### Input: CREATE TABLE table_11318462_5 (
open_1st_viii VARCHAR,
u15_6th_iv VARCHAR
) ### Response: SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS" | 3,122 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what year was more successful , 2012 or 2007 ? ### Input: CREATE TABLE table_203_462 (
id number,
"year" number,
"division" number,
"league" text,
"regular season" text,
"playoffs" text,
"open cup" text
) ### Response: SELECT "year" FROM table_203_462 WHERE "year" IN (2012, 2007) ORDER BY "regular season" LIMIT 1 | 5,975 |
Below are sql tables 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 pregame host when the pregame analysts is Dave Campbell and the year is 2001? ### Input: CREATE TABLE table_2941848_10 (
pregame_hosts VARCHAR,
pregame_analysts VARCHAR,
year VARCHAR
) ### Response: SELECT pregame_hosts FROM table_2941848_10 WHERE pregame_analysts = "Dave Campbell" AND year = 2001 | 10,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 built the car that has a Time/Retired of 1:34:12.912? ### Input: CREATE TABLE table_11352 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT "Constructor" FROM table_11352 WHERE "Time/Retired" = '1:34:12.912' | 10,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: What are all the run times with 8.2 million viewers? ### Input: CREATE TABLE table_19219 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
) ### Response: SELECT "Run time" FROM table_19219 WHERE "Viewers (in millions)" = '8.2' | 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 is the name of the element with a calculated value of 56? ### Input: CREATE TABLE table_40354 (
"number" real,
"symbol" text,
"name" text,
"empirical \u2020" text,
"Calculated" text,
"van der Waals" text,
"Covalent (single bond)" text,
"Covalent (triple bond)" text
) ### Response: SELECT "name" FROM table_40354 WHERE "Calculated" = '56' | 4,204 |
Below are sql tables schemas 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 THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE? ### Input: CREATE TABLE table_name_46 (
bronze INTEGER,
silver VARCHAR,
rank VARCHAR
) ### Response: SELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 AND rank > 1 | 1,948 |
Below are sql tables schemas 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 lost the most ships to u-502 ? ### Input: CREATE TABLE table_203_268 (
id number,
"date" text,
"name" text,
"nationality" text,
"tonnage\n(grt)" number,
"fate" text
) ### Response: SELECT "nationality" FROM table_203_268 GROUP BY "nationality" ORDER BY COUNT("name") DESC LIMIT 1 | 6,116 |
Below are sql tables schemas 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 Born Died for the person whose family moved to Australia at age 6? ### Input: CREATE TABLE table_34690 (
"Name" text,
"Born \u2013 Died" text,
"Notable for" text,
"Connection with Australia" text,
"Connection with America" text
) ### Response: SELECT "Born \u2013 Died" FROM table_34690 WHERE "Connection with Australia" = 'family moved to australia at age 6' | 9,385 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast? ### Input: CREATE TABLE table_38425 (
"Party" text,
"Votes cast" real,
"Percentage" real,
"Seats won" real,
"Percent of seats" real
) ### Response: SELECT "Party" FROM table_38425 WHERE "Seats won" < '21' AND "Percent of seats" = '0' AND "Votes cast" = '69757' | 195 |
Below are sql tables schemas 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 state of the city of denver, which has a rank less than 10? ### Input: CREATE TABLE table_59524 (
"Rank" real,
"City" text,
"State" text,
"Population" real,
"Metro Population of 4 aspects" real
) ### Response: SELECT "State" FROM table_59524 WHERE "Rank" < '10' AND "City" = 'denver' | 21,130 |
Below are sql tables 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 did construction start on the Power station with a net MWE of 1190 ### Input: CREATE TABLE table_143352_1 (
construction_started INTEGER,
net_mwe VARCHAR
) ### Response: SELECT MIN(construction_started) FROM table_143352_1 WHERE net_mwe = 1190 | 7,300 |
Below are sql tables schemas 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 Opponent of the game with more than 13,567 in Attendance with more than 5 Points? ### Input: CREATE TABLE table_name_4 (
opponent VARCHAR,
points VARCHAR,
attendance VARCHAR
) ### Response: SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567 | 24,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: What is the to par of the match with a winning score 69-67-72-64=272? ### Input: CREATE TABLE table_77687 (
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text
) ### Response: SELECT "To par" FROM table_77687 WHERE "Winning score" = '69-67-72-64=272' | 20,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: Name the height in feet for the guard from north carolina-charlotte ### Input: CREATE TABLE table_name_35 (
height_in_ft VARCHAR,
position VARCHAR,
school_club_team_country VARCHAR
) ### Response: SELECT height_in_ft FROM table_name_35 WHERE position = "guard" AND school_club_team_country = "north carolina-charlotte" | 317 |
Below are sql tables schemas 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 Games for Partizan Belgrade player Nikola Pekovi with a Rank of more than 4? ### Input: CREATE TABLE table_76010 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Rebounds" real
) ### Response: SELECT MIN("Games") FROM table_76010 WHERE "Team" = 'partizan belgrade' AND "Name" = 'nikola peković' AND "Rank" > '4' | 3,916 |
Below are sql tables 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 titans or the daredevils winners ? ### Input: CREATE TABLE table_204_642 (
id number,
"team" text,
"domestic tournament" text,
"position" text,
"appearance" text,
"qualified" text
) ### Response: SELECT "team" FROM table_204_642 WHERE "team" IN ('titans', 'delhi daredevils') AND "position" = 'winners' | 1,932 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the home team when there was a record of 20 13 3? ### Input: CREATE TABLE table_67694 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) ### Response: SELECT "Home" FROM table_67694 WHERE "Record" = '20–13–3' | 10,087 |
Below are sql tables schemas 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 goals for in the season that the pct % was 0.604? ### Input: CREATE TABLE table_2110959_1 (
goals_for INTEGER,
pct__percentage VARCHAR
) ### Response: SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct__percentage = "0.604" | 4,014 |
Below are sql tables 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 fastest , iceland or finland ? ### Input: CREATE TABLE table_204_547 (
id number,
"rank" number,
"lane" number,
"name" text,
"nationality" text,
"time" number,
"notes" text
) ### Response: SELECT "nationality" FROM table_204_547 WHERE "nationality" IN ('iceland', 'finland') ORDER BY "time" LIMIT 1 | 2,091 |
Below are sql tables 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 Loss of drese (0-2)? ### Input: CREATE TABLE table_34891 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) ### Response: SELECT "Attendance" FROM table_34891 WHERE "Loss" = 'drese (0-2)' | 6,172 |
Below are sql tables schemas 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 on 12 march 2008? ### Input: CREATE TABLE table_11519 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Record" FROM table_11519 WHERE "Date" = '12 march 2008' | 15,751 |
Below are sql tables 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 height is 181cm, what was the position? ### Input: CREATE TABLE table_24926 (
"Name" text,
"Position" text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Home Team" text
) ### Response: SELECT "Position" FROM table_24926 WHERE "Height" = '181cm' | 3,799 |
Below are sql tables schemas 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 every score for location attendance of Madison Square Garden 19,763 and game less than 80.0? ### Input: CREATE TABLE table_23248869_10 (
score VARCHAR,
location_attendance VARCHAR,
game VARCHAR
) ### Response: SELECT score FROM table_23248869_10 WHERE location_attendance = "Madison Square Garden 19,763" AND game < 80.0 | 3,445 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the fewest games played for teams with 73 goals for and more than 69 goals against? ### Input: CREATE TABLE table_name_17 (
played INTEGER,
goals_for VARCHAR,
goals_against VARCHAR
) ### Response: SELECT MIN(played) FROM table_name_17 WHERE goals_for = 73 AND goals_against > 69 | 213 |
Below are sql tables 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 everyone on the men's doubles when men's singles is Ma Wenge? ### Input: CREATE TABLE table_28211988_1 (
mens_doubles VARCHAR,
mens_singles VARCHAR
) ### Response: SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Ma Wenge" | 22,929 |
Below are sql tables 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 % FPv has First Pref votes larger than 19,684, and Seats of 9? ### Input: CREATE TABLE table_7975 (
"Party" text,
"Seats" text,
"% of seats" text,
"First Pref votes" real,
"% FPv" text
) ### Response: SELECT "% FPv" FROM table_7975 WHERE "First Pref votes" > '19,684' AND "Seats" = '9' | 2,946 |
Below are sql tables schemas 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 round of 32 for Nicole Vaidi ov ? ### Input: CREATE TABLE table_17289604_38 (
round_of_32 VARCHAR,
athlete VARCHAR
) ### Response: SELECT round_of_32 FROM table_17289604_38 WHERE athlete = "Nicole Vaidišová" | 8,029 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How long was the 16 staged event in 1997? ### Input: CREATE TABLE table_32327 (
"Year" text,
"Name" text,
"Date" text,
"Stages" text,
"Distance" text,
"Winner" text,
"Time" text
) ### Response: SELECT "Distance" FROM table_32327 WHERE "Stages" = '16' AND "Year" = '1997' | 23,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 is the number of bronze medals when there are fewer than 0 silver medals? ### Input: CREATE TABLE table_78124 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT SUM("Bronze") FROM table_78124 WHERE "Silver" < '0' | 14,242 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the catalog number for am/pm callanetics ### Input: CREATE TABLE table_74090 (
"Year" real,
"Title" text,
"Format" text,
"Studio" text,
"Release Date" text,
"Copyright Information" text,
"Catalog Number" text
) ### Response: SELECT "Catalog Number" FROM table_74090 WHERE "Title" = 'AM/PM Callanetics' | 14,476 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where did the Centurions play the Hamburg Sea Devils? ### Input: CREATE TABLE table_29961 (
"Week" real,
"Date" text,
"Kickoff" text,
"Opponent" text,
"Final score" text,
"Team record" text,
"Game site" text,
"Attendance" real
) ### Response: SELECT "Game site" FROM table_29961 WHERE "Opponent" = 'Hamburg Sea Devils' | 1,612 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: report the total number of degrees granted between 1998 and 2002. ### Input: CREATE TABLE degrees (
degrees INTEGER,
campus VARCHAR,
year VARCHAR
)
CREATE TABLE campuses (
campus VARCHAR,
id VARCHAR
) ### Response: SELECT T1.campus, SUM(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus | 18,500 |
Below are sql tables schemas 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 of the Rowers in Rank 1? ### Input: CREATE TABLE table_66667 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
) ### Response: SELECT "Time" FROM table_66667 WHERE "Rank" = '1' | 11,085 |
Below are sql tables 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 released the most songs ? ### Input: CREATE TABLE table_204_680 (
id number,
"released" text,
"title" text,
"artist" text,
"format" text,
"language" text
) ### Response: SELECT "artist" FROM table_204_680 GROUP BY "artist" ORDER BY COUNT("title") DESC LIMIT 1 | 19,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: What place was the viewed horse? ### Input: CREATE TABLE table_39030 (
"Saddle cloth" real,
"Horse" text,
"Trainer" text,
"Jockey" text,
"Weight (kg)" real,
"Barrier [b ]" text,
"Placing" text
) ### Response: SELECT "Placing" FROM table_39030 WHERE "Horse" = 'viewed' | 15,647 |
Below are sql tables schemas 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 with a unanimous no result without a college hall of fame? ### Input: CREATE TABLE table_name_34 (
position VARCHAR,
unanimous VARCHAR,
college_hall_of_fame VARCHAR
) ### Response: SELECT position FROM table_name_34 WHERE unanimous = "no" AND college_hall_of_fame = "no" | 23,777 |
Below are sql tables 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 for new mexico ### Input: CREATE TABLE table_23799 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT MIN("Pick #") FROM table_23799 WHERE "College" = 'New Mexico' | 4,148 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For the 2nd string of Ra what is the Depart de la main gauche? ### Input: CREATE TABLE table_76891 (
"Mode" text,
"D\u00e9part de la main gauche" text,
"Accord du 1st string" text,
"2nd string" text,
"3rd string" text
) ### Response: SELECT "D\u00e9part de la main gauche" FROM table_76891 WHERE "2nd string" = 'ra' | 4,078 |
Below are sql tables 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 there a crowd larger than 23,000? ### Input: CREATE TABLE table_11179 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Date" FROM table_11179 WHERE "Crowd" > '23,000' | 402 |
Below are sql tables 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 larger than 7, and a Name of wayne asberry? ### Input: CREATE TABLE table_47833 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) ### Response: SELECT "Position" FROM table_47833 WHERE "Round" > '7' AND "Name" = 'wayne asberry' | 11,856 |
Below are sql tables 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 calgary or the toronto leg take place on august 11 ? ### Input: CREATE TABLE table_203_346 (
id number,
"date" text,
"location" text,
"venue" text,
"opening act" text,
"supporting" text
) ### Response: SELECT "location" FROM table_203_346 WHERE "location" IN ('calgary', 'toronto') AND "date" = 8 AND "date" = 11 | 10,060 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors? ### Input: CREATE TABLE table_name_90 (
rank VARCHAR,
height_ft__m_ VARCHAR,
year VARCHAR,
floors VARCHAR
) ### Response: SELECT rank FROM table_name_90 WHERE year > 1971 AND floors < 35 AND height_ft__m_ = "19.0 477 (145)" | 11,172 |
Below are sql tables schemas 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 games where the giants the opponent ? ### Input: CREATE TABLE table_204_147 (
id number,
"#" number,
"date" text,
"opponent" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" number,
"record" text
) ### Response: SELECT COUNT(*) FROM table_204_147 WHERE "opponent" = 'giants' | 2,779 |
Below are sql tables schemas 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 Surface of the match with a Score of 2 6, 6 4, 7 6? ### Input: CREATE TABLE table_61218 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) ### Response: SELECT "Surface" FROM table_61218 WHERE "Score" = '2–6, 6–4, 7–6' | 23,247 |
Below are sql tables schemas 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 Super Cup, when Title Playoff is '0', when Total is greater than 9, and when League is less than 11? ### Input: CREATE TABLE table_44974 (
"Player" text,
"League" real,
"Title Playoff" real,
"Super Cup" real,
"Total" real
) ### Response: SELECT COUNT("Super Cup") FROM table_44974 WHERE "Title Playoff" = '0' AND "Total" > '9' AND "League" < '11' | 14,754 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tell me the place of action for sergeant rank and 5th company, 2nd marines unit ### Input: CREATE TABLE table_10192 (
"Name" text,
"Service" text,
"Rank" text,
"Place of action" text,
"Unit" text
) ### Response: SELECT "Place of action" FROM table_10192 WHERE "Rank" = 'sergeant' AND "Unit" = '5th company, 2nd marines' | 2,096 |
Below are sql tables 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 cal state fullerton 's baseball team play during april 1979 ? ### Input: CREATE TABLE table_204_418 (
id number,
"date" text,
"opponent" text,
"score" text,
"overall record" text,
"scba record" text
) ### Response: SELECT COUNT(*) FROM table_204_418 | 21,557 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the original air date for Series 36? ### Input: CREATE TABLE table_16444 (
"Series #" real,
"Episode #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
) ### Response: SELECT "Original air date" FROM table_16444 WHERE "Series #" = '36' | 18,724 |
Below are sql tables 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 August 22, how many people came to the game? ### Input: CREATE TABLE table_67152 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Attendance" FROM table_67152 WHERE "Date" = 'august 22' | 18,369 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: With a per capita income of $30,298, what was the total number of households? ### Input: CREATE TABLE table_1840495_2 (
number_of_households VARCHAR,
per_capita_income VARCHAR
) ### Response: SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298" | 14,311 |
Below are sql tables 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 for beta team march 1975 and chassis of march 751 ### Input: CREATE TABLE table_name_86 (
points VARCHAR,
chassis VARCHAR,
entrant VARCHAR,
year VARCHAR
) ### Response: SELECT COUNT(points) FROM table_name_86 WHERE entrant = "beta team march" AND year = 1975 AND chassis = "march 751" | 15,480 |
Below are sql tables schemas 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 LEAGUE WITH PLAYER JOE COLBORNE? ### Input: CREATE TABLE table_43693 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/junior/club team (league)" text
) ### Response: SELECT "College/junior/club team (league)" FROM table_43693 WHERE "Player" = 'joe colborne' | 10,950 |
Below are sql tables schemas 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 Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234? ### Input: CREATE TABLE table_45826 (
"Season" real,
"Series" text,
"Points" text,
"Position" text,
"Driver" text
) ### Response: SELECT "Position" FROM table_45826 WHERE "Series" = 'queensland formula ford championship' AND "Season" > '2001' AND "Points" = '234' | 15,639 |
Below are sql tables 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 does the common of Galliate rank in population? ### Input: CREATE TABLE table_72556 (
"Rank" text,
"Common" text,
"Population" real,
"Area (km 2 )" text,
"Density (inhabitants/km 2 )" text,
"Altitude (mslm)" real
) ### Response: SELECT "Rank" FROM table_72556 WHERE "Common" = 'Galliate' | 15,034 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the home team of the game on February 3? ### Input: CREATE TABLE table_55392 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) ### Response: SELECT "Home" FROM table_55392 WHERE "Date" = 'february 3' | 8,798 |
Below are sql tables 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 Opponents has a Score of 6 3, 6 4, 6 1? ### Input: CREATE TABLE table_6971 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) ### Response: SELECT "Opponents" FROM table_6971 WHERE "Score" = '6–3, 6–4, 6–1' | 7,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 entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis? ### Input: CREATE TABLE table_name_63 (
entrant VARCHAR,
chassis VARCHAR,
pts VARCHAR,
engine VARCHAR
) ### Response: SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24" | 17,694 |
Below are sql tables schemas 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 Qual listed with a Rank of 27? ### Input: CREATE TABLE table_69561 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
) ### Response: SELECT "Qual" FROM table_69561 WHERE "Rank" = '27' | 3,553 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Damani Ralph is associated with which lowest pick #? ### Input: CREATE TABLE table_31916 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
) ### Response: SELECT MIN("Pick #") FROM table_31916 WHERE "Player" = 'damani ralph' | 4,661 |
Below are sql tables schemas 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 maximum number of tropical storms in the year that had exactly 34 deaths? ### Input: CREATE TABLE table_31087 (
"Year" real,
"Number of tropical storms" real,
"Number of hurricanes" real,
"Number of major hurricanes" real,
"Deaths" text,
"Strongest storm" text
) ### Response: SELECT MAX("Number of tropical storms") FROM table_31087 WHERE "Deaths" = '34' | 6,532 |
Below are sql tables schemas 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 TO PAR FOR ERNIE ELS? ### Input: CREATE TABLE table_45785 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
) ### Response: SELECT "To par" FROM table_45785 WHERE "Player" = 'ernie els' | 784 |
Below are sql tables 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 did venue A have an attendance larger than 48,053, and a result of 1 0? ### Input: CREATE TABLE table_77196 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
) ### Response: SELECT "Date" FROM table_77196 WHERE "Attendance" > '48,053' AND "Venue" = 'a' AND "Result" = '1–0' | 8,288 |
Below are sql tables schemas 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 track for the song Rip it Up? ### Input: CREATE TABLE table_54850 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release Date" text,
"Song Title" text,
"Time" text
) ### Response: SELECT MAX("Track") FROM table_54850 WHERE "Song Title" = 'rip it up' | 1,931 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the rank of the gauteng province? ### Input: CREATE TABLE table_64745 (
"Rank" text,
"Province" text,
"Population (2011)" real,
"Percentage" real,
"Population Estimate (2013)" real
) ### Response: SELECT "Rank" FROM table_64745 WHERE "Province" = 'gauteng' | 2,041 |
Below are sql tables 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 Height which has a 2013 club of wvc dynamo moscow? ### Input: CREATE TABLE table_49665 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2013 club" text
) ### Response: SELECT "Height" FROM table_49665 WHERE "2013 club" = 'wvc dynamo moscow' | 7,578 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: From what school was the team that left the conference in 1992? ### Input: CREATE TABLE table_63696 (
"School" text,
"City" text,
"Team Name" text,
"County" text,
"Year Joined" text,
"Year Left" text
) ### Response: SELECT "School" FROM table_63696 WHERE "Year Left" = '1992' | 7,730 |
Below are sql tables schemas 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 Label of the September 20, 2008 release with Catalog number RTRADCD491? ### Input: CREATE TABLE table_name_22 (
label VARCHAR,
catalog VARCHAR,
date VARCHAR
) ### Response: SELECT label FROM table_name_22 WHERE catalog = "rtradcd491" AND date = "september 20, 2008" | 12,157 |
Below are sql tables schemas 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 does Jean-Nicolas Carriere play for? ### Input: CREATE TABLE table_72799 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT "College" FROM table_72799 WHERE "Player" = 'Jean-Nicolas Carriere' | 20,185 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What shows for loaned to when the loan expires end of the season, Francis Jeffers is the player? ### Input: CREATE TABLE table_name_37 (
loaned_to VARCHAR,
loan_expires VARCHAR,
player VARCHAR
) ### Response: SELECT loaned_to FROM table_name_37 WHERE loan_expires = "end of the season" AND player = "francis jeffers" | 1,875 |
Below are sql tables 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 wrote the episode with a production code of ip03007? ### Input: CREATE TABLE table_31036 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
) ### Response: SELECT "Written by" FROM table_31036 WHERE "Production code" = 'IP03007' | 5,678 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what is the name of the episode whose writers were jeff astrof & matt goldman? ### Input: CREATE TABLE table_30104 (
"Series #" real,
"Season #" real,
"Title" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) ### Response: SELECT "Title" FROM table_30104 WHERE "Written by" = 'Jeff Astrof & Matt Goldman' | 12,646 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Status with a Name that is anas cheuen? ### Input: CREATE TABLE table_41713 (
"Name" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text
) ### Response: SELECT "Status" FROM table_41713 WHERE "Name" = 'anas cheuen' | 3,934 |
Below are sql tables schemas 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 rank of Jens Kruppa in a lane larger than 2? ### Input: CREATE TABLE table_71392 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
) ### Response: SELECT MIN("Rank") FROM table_71392 WHERE "Name" = 'jens kruppa' AND "Lane" > '2' | 16,436 |
Below are sql tables 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 genre is fighting what is the game? ### Input: CREATE TABLE table_13803 (
"Year" text,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
) ### Response: SELECT "Game" FROM table_13803 WHERE "Genre" = 'fighting' | 9,124 |