instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_55755 (
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode with a production code of ad... | SELECT "Title" FROM table_55755 WHERE "Production code" = 'ad1b04' |
### Instruction:
CREATE TABLE table_5668 (
"Draw" real,
"Artist" text,
"Song" text,
"Jury" real,
"Televoting" real,
"Points" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Televoting smaller than 2 had what highest draw?
### ... | SELECT MAX("Draw") FROM table_5668 WHERE "Televoting" < '2' |
### Instruction:
CREATE TABLE table_56897 (
"Week" real,
"EASTERN #1" text,
"Eastern #2" text,
"WESTERN #1" text,
"Western #2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the eastern #1 for week of 5
### Response:
| SELECT "EASTERN #1" FROM table_56897 WHERE "Week" = '5' |
### Instruction:
CREATE TABLE table_41951 (
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tournament with a Margin of victory that was 4 strokes?
... | SELECT "Tournament" FROM table_41951 WHERE "Margin of victory" = '4 strokes' |
### Instruction:
CREATE TABLE table_47393 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the match that had a home team of Kidderminster Harriers?
### ... | SELECT "Score" FROM table_47393 WHERE "Home team" = 'kidderminster harriers' |
### Instruction:
CREATE TABLE table_2856898_1 (
dividend_per_share__p_ VARCHAR,
turnover__£m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many items appear in the dividend per share when the turnover is 0.42?
### Response:
| SELECT COUNT(dividend_per_share__p_) FROM table_2856898_1 WHERE turnover__£m_ = "0.42" |
### Instruction:
CREATE TABLE table_75587 (
"Name" text,
"Pennant number" text,
"Builder" text,
"Laid Down" text,
"Launched" text,
"Commissioned" text,
"Current status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what builder launched the... | SELECT "Launched" FROM table_75587 WHERE "Name" = 'minerva' |
### Instruction:
CREATE TABLE table_52641 (
"Date" text,
"Competition" text,
"Venue" text,
"Result" text,
"Score" text,
"Goals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the date with the venue of mcalpine stadium
### Response:
| SELECT "Date" FROM table_52641 WHERE "Venue" = 'mcalpine stadium' |
### Instruction:
CREATE TABLE table_8984 (
"Number" real,
"Name" text,
"Type" text,
"Builder" text,
"Works number" text,
"Date built" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Builder for the locomotive that has a works number o... | SELECT "Builder" FROM table_8984 WHERE "Works number" = '323' |
### Instruction:
CREATE TABLE table_18240 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party did Beau Boulter represent?
### Response:
| SELECT "Party" FROM table_18240 WHERE "Incumbent" = 'Beau Boulter' |
### Instruction:
CREATE TABLE table_55273 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college has a linebacker from Lessburg High School?
### Response:
| SELECT "College" FROM table_55273 WHERE "Position" = 'linebacker' AND "School" = 'lessburg high school' |
### Instruction:
CREATE TABLE table_18747 (
"Frequency" text,
"Call sign" text,
"Name" text,
"Format" text,
"Owner" text,
"Target city/ market" text,
"City of license" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What station owns Moody Bi... | SELECT "Format" FROM table_18747 WHERE "Owner" = 'Moody Bible Institute' |
### Instruction:
CREATE TABLE table_4211 (
"Player" text,
"Starts" real,
"Cuts made" real,
"Best finish" text,
"Money list rank" text,
"Earnings ($)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which money list ranks had a best finish of 2?
... | SELECT COUNT("Money list rank") FROM table_4211 WHERE "Best finish" = '2' |
### Instruction:
CREATE TABLE table_26458137_2 (
score VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times is the opponents in the final is beti sekulovski cindy watson?
### Response:
| SELECT COUNT(score) FROM table_26458137_2 WHERE opponents_in_the_final = "Beti Sekulovski Cindy Watson" |
### Instruction:
CREATE TABLE table_name_46 (
replaced_by VARCHAR,
team VARCHAR,
date_of_vacancy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the replacement for the Brussels team with a date of vacancy of 22 December 2007?
### Response:
| SELECT replaced_by FROM table_name_46 WHERE team = "brussels" AND date_of_vacancy = "22 december 2007" |
### Instruction:
CREATE TABLE table_68148 (
"Championship" text,
"Champion(s)" text,
"Previous champion(s)" text,
"Date Won" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the champion of the title previously held by Lash?
... | SELECT "Champion(s)" FROM table_68148 WHERE "Previous champion(s)" = 'lash' |
### Instruction:
CREATE TABLE table_5095 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game against Luxembourg?
### Response:
| SELECT "Results\u00b9" FROM table_5095 WHERE "Opponent" = 'luxembourg' |
### Instruction:
CREATE TABLE table_73940 (
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents in final" text,
"Score in final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the surface when he played with Joh... | SELECT "Surface" FROM table_73940 WHERE "Partner" = 'John Alexander' |
### Instruction:
CREATE TABLE table_16837 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which number is the player from Minnesota?
###... | SELECT MAX("No.") FROM table_16837 WHERE "School/Club Team" = 'Minnesota' |
### Instruction:
CREATE TABLE table_60308 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name Event of wc milan and a Total of 23?
### Response:
| SELECT "Score points" FROM table_60308 WHERE "Event" = 'wc milan' AND "Total" = '23' |
### Instruction:
CREATE TABLE table_61099 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total number of Laps for the rider whose time was +7.951?
### Response:
| SELECT COUNT("Laps") FROM table_61099 WHERE "Time" = '+7.951' |
### Instruction:
CREATE TABLE table_13819 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the attendance when the week is 5?
###... | SELECT "Attendance" FROM table_13819 WHERE "Week" = '5' |
### Instruction:
CREATE TABLE table_58336 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Hometown for Villanova College?
### Response:
| SELECT "Hometown" FROM table_58336 WHERE "College" = 'villanova' |
### Instruction:
CREATE TABLE table_22427 (
"Candidate" text,
"Office running for" text,
"Running with (in team)" text,
"Won or lost" text,
"Votes given" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the office running for for anthony mussara
... | SELECT "Office running for" FROM table_22427 WHERE "Candidate" = 'Anthony Mussara' |
### Instruction:
CREATE TABLE table_47265 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the result for 1970 at yankee stadium?
### Response:
| SELECT "Result" FROM table_47265 WHERE "Year" = '1970' AND "Location" = 'yankee stadium' |
### Instruction:
CREATE TABLE table_72530 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most touchdowns for beck... | SELECT MAX("Touchdowns") FROM table_72530 WHERE "Player" = 'Becker' |
### Instruction:
CREATE TABLE table_32302 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position has a Round of 7, and a College of kansas state?
### Response:
| SELECT "Position" FROM table_32302 WHERE "Round" = '7' AND "College" = 'kansas state' |
### Instruction:
CREATE TABLE table_train_91 (
"id" int,
"mini_mental_state_examination_mmse" int,
"stroke" bool,
"rosen_modified_hachinski_ischemic_score" int,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- clinically or radiographically s... | SELECT * FROM table_train_91 WHERE stroke = 1 |
### Instruction:
CREATE TABLE table_27627 (
"Letters" text,
"Organization" text,
"Nickname" text,
"Founding Date" text,
"Founding University" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what type of organization is sigma phi omeg... | SELECT "Type" FROM table_27627 WHERE "Organization" = 'Sigma Phi Omega' |
### Instruction:
CREATE TABLE table_53748 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visitor on October 20?
### Response... | SELECT "Visitor" FROM table_53748 WHERE "Date" = 'october 20' |
### Instruction:
CREATE TABLE table_37505 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of Johnny Miller (7)?
### Response:
| SELECT "Score" FROM table_37505 WHERE "Winner" = 'johnny miller (7)' |
### Instruction:
CREATE TABLE table_63787 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time for the rank after 5 with sc/d notes?
### Response:
| SELECT "Time" FROM table_63787 WHERE "Notes" = 'sc/d' AND "Rank" > '5' |
### Instruction:
CREATE TABLE table_36388 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Series has a Score of 3 8?
### Response:
| SELECT "Series" FROM table_36388 WHERE "Score" = '3 – 8' |
### Instruction:
CREATE TABLE table_16109 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the playoffs for the usl pro select league?
### ... | SELECT "Playoffs" FROM table_16109 WHERE "League" = 'USL Pro Select League' |
### Instruction:
CREATE TABLE table_204_700 (
id number,
"name" text,
"developer" text,
"release" text,
"type" text,
"game flow" text,
"setting" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year was twilight heroes released ?
###... | SELECT "release" FROM table_204_700 WHERE "name" = 'twilight heroes' |
### Instruction:
CREATE TABLE table_13675 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score when the opponent is ann grossman?
### Respon... | SELECT "Score" FROM table_13675 WHERE "Opponent" = 'ann grossman' |
### Instruction:
CREATE TABLE table_53025 (
"Name" text,
"Real Name" text,
"Birthdate" text,
"Costume Role" text,
"Defining characteristics" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the birth date of the member with the Defining charac... | SELECT "Birthdate" FROM table_53025 WHERE "Defining characteristics" = 'pink hair' |
### Instruction:
CREATE TABLE table_2101431_1 (
broadcast_date VARCHAR,
archive VARCHAR,
run_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the broadcast date of the episode on 16mm t/r that ran 23:25?
### Response:
| SELECT broadcast_date FROM table_2101431_1 WHERE archive = "16mm t/r" AND run_time = "23:25" |
### Instruction:
CREATE TABLE table_77352 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which week has a record of 5 2?
### Response... | SELECT "Week" FROM table_77352 WHERE "Record" = '5–2' |
### Instruction:
CREATE TABLE table_54944 (
"Year" real,
"Artist" text,
"Composition" text,
"Mintage" real,
"Issue Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Artist Steve Hepburn's Mintage?
### Response:
| SELECT SUM("Mintage") FROM table_54944 WHERE "Artist" = 'steve hepburn' |
### Instruction:
CREATE TABLE table_4618 (
"Line" text,
"Color" text,
"Terminus" text,
"Length" text,
"Stations" text,
"Daily Ridership" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Daily ridership greater that 414 is associated with which len... | SELECT "Length" FROM table_4618 WHERE "Daily Ridership" > '414' |
### Instruction:
CREATE TABLE table_57101 (
"Pos." real,
"Driver" text,
"Time" text,
"Best time" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points associated with a Best time of 01:46.367?
### Response:
| SELECT AVG("Points") FROM table_57101 WHERE "Best time" = '01:46.367' |
### Instruction:
CREATE TABLE table_23518 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the original title of The New Land?
##... | SELECT "Original title" FROM table_23518 WHERE "Film title used in nomination" = 'The New Land' |
### Instruction:
CREATE TABLE table_22765 (
"Entities" text,
"Country" text,
"Supply point" text,
"Voltage (kV)" real,
"Power (MW)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In how many countries is Itaipu a supply point for electricity?
### ... | SELECT COUNT("Country") FROM table_22765 WHERE "Supply point" = 'Itaipu' |
### Instruction:
CREATE TABLE table_52743 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the game played when the final score was 35-62?
### Response:
| SELECT "Stadium" FROM table_52743 WHERE "Final Score" = '35-62' |
### Instruction:
CREATE TABLE table_45816 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has 72-67-71=210 as the score?
### Response:
| SELECT "Player" FROM table_45816 WHERE "Score" = '72-67-71=210' |
### Instruction:
CREATE TABLE table_61215 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what series was in sydney, new south wales?
### Response:
| SELECT "Series" FROM table_61215 WHERE "City / State" = 'sydney, new south wales' |
### Instruction:
CREATE TABLE table_name_16 (
episode VARCHAR,
production_code VARCHAR,
season VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which episode was directed by Bob Anderson with a production code of KABF16 and a seaso... | SELECT episode FROM table_name_16 WHERE season < 25 AND directed_by = "bob anderson" AND production_code = "kabf16" |
### Instruction:
CREATE TABLE table_755 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was Phil J. Welch first elected?
### Respo... | SELECT "First elected" FROM table_755 WHERE "Incumbent" = 'Phil J. Welch' |
### Instruction:
CREATE TABLE table_76969 (
"Result" text,
"Race" text,
"Distance" text,
"Weight" real,
"Winner or 2nd" text,
"Pos'n" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the weight number when the distance was 5 f?
### Respo... | SELECT COUNT("Weight") FROM table_76969 WHERE "Distance" = '5 ½ f' |
### Instruction:
CREATE TABLE table_44440 (
"Driver" text,
"Team" text,
"Laps" text,
"Time/Retired" text,
"Grid" text,
"Laps Led" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps have 50 points?
### Response:
| SELECT "Laps" FROM table_44440 WHERE "Points" = '50' |
### Instruction:
CREATE TABLE table_name_28 (
pepe_michinoku VARCHAR,
ryuji_hijikata VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?
### Response:
| SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)" |
### Instruction:
CREATE TABLE table_203_466 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of gold medals awarded ... | SELECT SUM("gold") FROM table_203_466 |
### Instruction:
CREATE TABLE table_67624 (
"Year" real,
"Chassis" text,
"Engine(s)" text,
"Tyres" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the average points with a Chassis of zakspeed 881?
### Response:
| SELECT AVG("Points") FROM table_67624 WHERE "Chassis" = 'zakspeed 881' |
### Instruction:
CREATE TABLE table_203_636 (
id number,
"#" number,
"date" text,
"winner" text,
"score" text,
"location" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team scored the most points in 2008 ?
### Response... | SELECT "winner" FROM table_203_636 WHERE "date" = 2008 |
### Instruction:
CREATE TABLE table_69131 (
"Rank" real,
"Gymnast" text,
"Difficulty score" text,
"Routine score" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the total for a routine score of 26.6?
### Response:
| SELECT SUM("Total") FROM table_69131 WHERE "Routine score" = '26.6' |
### Instruction:
CREATE TABLE table_21676617_1 (
winning_time__km_rate_ VARCHAR,
odds_of_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the winning time in the year when the odds of the winner were 2.94?
### Response:
| SELECT winning_time__km_rate_ FROM table_21676617_1 WHERE odds_of_winner = "2.94" |
### Instruction:
CREATE TABLE table_78669 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition took place on October 11, 2006?
### Response:
| SELECT "Competition" FROM table_78669 WHERE "Date" = 'october 11, 2006' |
### Instruction:
CREATE TABLE table_67111 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the host team for january 1 (2006)
### Response:
| SELECT "Host Team" FROM table_67111 WHERE "Date" = 'january 1 (2006)' |
### Instruction:
CREATE TABLE ship (
ship_id number,
name text,
type text,
nationality text,
tonnage number
)
CREATE TABLE mission (
mission_id number,
ship_id number,
code text,
launched_year number,
location text,
speed_knots number,
fate text
)
-- Using valid SQLite... | SELECT COUNT(*) FROM ship |
### Instruction:
CREATE TABLE table_51727 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which School/Club Team did Andre Wakefield play for?
### Respo... | SELECT "School/Club Team" FROM table_51727 WHERE "Player" = 'andre wakefield' |
### Instruction:
CREATE TABLE table_name_89 (
points INTEGER,
year VARCHAR,
class VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Points for 250cc class, ranked 13th, later than 1955?
### Response:
| SELECT SUM(points) FROM table_name_89 WHERE class = "250cc" AND rank = "13th" AND year > 1955 |
### Instruction:
CREATE TABLE table_10983 (
"Grand Prix" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the constructor for Brazilian Gra... | SELECT "Constructor" FROM table_10983 WHERE "Grand Prix" = 'brazilian grand prix' |
### Instruction:
CREATE TABLE table_4257 (
"Name" text,
"Family name" text,
"Receptor" text,
"Coreceptor" text,
"Property" text,
"Chromosomal location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the names listed in the family il-1f2... | SELECT "Name" FROM table_4257 WHERE "Family name" = 'IL-1F2' |
### Instruction:
CREATE TABLE table_58502 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest earnings for a player with over 24 wins?
### Response:
| SELECT MIN("Earnings( $ )") FROM table_58502 WHERE "Wins" > '24' |
### Instruction:
CREATE TABLE table_17638 (
"Record" text,
"Date and Time" text,
"Competition" text,
"Home or Away" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Is the biggest win recorded as home or away?
### ... | SELECT "Home or Away" FROM table_17638 WHERE "Record" = 'Biggest win' |
### Instruction:
CREATE TABLE table_4230 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position for the university of north carolina carolina dynamo affilia... | SELECT "Position" FROM table_4230 WHERE "Affiliation" = 'University of North Carolina Carolina Dynamo' |
### Instruction:
CREATE TABLE table_716 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election featuring ike skelton... | SELECT "Result" FROM table_716 WHERE "Incumbent" = 'Ike Skelton' |
### Instruction:
CREATE TABLE table_6904 (
"Year" text,
"Playoff round" text,
"Venue" text,
"Winner" text,
"Result" text,
"Loser" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was the winner when the result was 90 86?
### Response:
| SELECT "Winner" FROM table_6904 WHERE "Result" = '90–86' |
### Instruction:
CREATE TABLE table_26720 (
"Pitcher" text,
"Strikeouts" real,
"Season" real,
"Team" text,
"League" text,
"Overall Rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of pitcher for 9 overall rank
### Res... | SELECT COUNT("Pitcher") FROM table_26720 WHERE "Overall Rank" = '9' |
### Instruction:
CREATE TABLE table_49982 (
"Name" text,
"Built" text,
"Listed" text,
"Location" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date Listed of the B & O Bridge in Washington?
### Response:
| SELECT "Listed" FROM table_49982 WHERE "County" = 'washington' AND "Name" = 'b & o bridge' |
### Instruction:
CREATE TABLE table_45890 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance for all events held at Palmerston Park venue?
### Res... | SELECT AVG("Attendance") FROM table_45890 WHERE "Venue" = 'palmerston park' |
### Instruction:
CREATE TABLE table_4699 (
"Tournament" text,
"2007" text,
"2009" text,
"2010" text,
"2011" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament had the result of a W in 2009?
### Response:
| SELECT "Tournament" FROM table_4699 WHERE "2009" = 'w' |
### Instruction:
CREATE TABLE table_11500 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On October 25, when the visitor was Colorado, what is the score?
### Response:
| SELECT "Score" FROM table_11500 WHERE "Visitor" = 'colorado' AND "Date" = 'october 25' |
### Instruction:
CREATE TABLE table_56579 (
"Player" text,
"Position" text,
"Tries" real,
"Goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tries did the player Paul Sykes take when he earned 0 points?
### Response:
| SELECT MAX("Tries") FROM table_56579 WHERE "Player" = 'paul sykes' AND "Points" > '0' |
### Instruction:
CREATE TABLE table_77247 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did Luca Sbisa play for the Philadelphia F... | SELECT "Position" FROM table_77247 WHERE "Player" = 'luca sbisa' |
### Instruction:
CREATE TABLE table_48448 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games in February have a record of 40-15-5?
### Response:
| SELECT SUM("February") FROM table_48448 WHERE "Record" = '40-15-5' |
### Instruction:
CREATE TABLE table_11234 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadium hosted the game that had a final score of 9-14?
### Response... | SELECT "Stadium" FROM table_11234 WHERE "Final Score" = '9-14' |
### Instruction:
CREATE TABLE table_203_775 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"game site" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the largest difference of points in... | SELECT MAX(ABS("result" - "result")) FROM table_203_775 |
### Instruction:
CREATE TABLE table_36770 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average grid for the +2.2 secs time/retired?
### Response:
| SELECT AVG("Grid") FROM table_36770 WHERE "Time/Retired" = '+2.2 secs' |
### Instruction:
CREATE TABLE table_44279 (
"Year" real,
"Name" text,
"Field" text,
"State" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of years that prof. aditya naraian purohit won?
### Response:
| SELECT COUNT("Year") FROM table_44279 WHERE "Name" = 'prof. aditya naraian purohit' |
### Instruction:
CREATE TABLE table_18432 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the candidate first elected in 1942
### Response... | SELECT "Candidates" FROM table_18432 WHERE "First elected" = '1942' |
### Instruction:
CREATE TABLE table_204_918 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"record" text,
"attendance" number,
"bye" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of poi... | SELECT SUM("result" + "result") FROM table_204_918 |
### Instruction:
CREATE TABLE table_4996 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent had a result of 0:1?
### Response:
| SELECT "Opponent" FROM table_4996 WHERE "Results\u00b9" = '0:1' |
### Instruction:
CREATE TABLE table_19919 (
"Series Ep." text,
"Episode" real,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the segment b for 226 episode
### Response:
| SELECT "Segment B" FROM table_19919 WHERE "Episode" = '226' |
### Instruction:
CREATE TABLE table_79751 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game with the loss of Moore (0-1)?
### Response:
| SELECT "Date" FROM table_79751 WHERE "Loss" = 'moore (0-1)' |
### Instruction:
CREATE TABLE table_203_27 (
id number,
"number" number,
"serial no" number,
"entered service" text,
"withdrawn" text,
"kilometres travelled" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which locomotive did not have any info... | SELECT "number" FROM table_203_27 WHERE "kilometres travelled" IS NULL |
### Instruction:
CREATE TABLE table_65258 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the home team when the away team is wolverhampton wanderers?
### Response:
| SELECT "Home team" FROM table_65258 WHERE "Away team" = 'wolverhampton wanderers' |
### Instruction:
CREATE TABLE table_12078 (
"Round" text,
"Pick" text,
"Position" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position of the team Minneapolis Lakers during round T?
### Response:
| SELECT "Position" FROM table_12078 WHERE "Round" = 't' AND "Team" = 'minneapolis lakers' |
### Instruction:
CREATE TABLE table_58957 (
"Season" text,
"League" text,
"Teams" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the 1958-59 season, what league did the team play in?
### Response:
| SELECT "League" FROM table_58957 WHERE "Season" = '1958-59' |
### Instruction:
CREATE TABLE table_38108 (
"Rank" real,
"Player" text,
"Team" text,
"Year" real,
"BB/SO" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the rank of tris speaker when BB/SO was 7?
### Response:
| SELECT "Rank" FROM table_38108 WHERE "Player" = 'tris speaker' AND "BB/SO" = '7' |
### Instruction:
CREATE TABLE table_203_533 (
id number,
"season" number,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the lowest position earned during th... | SELECT "position" FROM table_203_533 ORDER BY "position" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_18539 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the candidates for hardie scott
### Response... | SELECT "Candidates" FROM table_18539 WHERE "Incumbent" = 'Hardie Scott' |
### Instruction:
CREATE TABLE table_2024 (
"Discipline" text,
"Degree/Diploma" text,
"Total Seats" real,
"Recognised Seats" real,
"Permitted Seats" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the recognised seats for pharmacology
### Respo... | SELECT "Recognised Seats" FROM table_2024 WHERE "Discipline" = 'Pharmacology' |
### Instruction:
CREATE TABLE table_76540 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week was the finalist Martina Hingis?
### Response:... | SELECT "Week" FROM table_76540 WHERE "Finalist" = 'martina hingis' |
### Instruction:
CREATE TABLE table_69819 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visitor on march 21?
### Response:
| SELECT "Visitor" FROM table_69819 WHERE "Date" = 'march 21' |
### Instruction:
CREATE TABLE table_19459 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the class a for carthage
### Response:
| SELECT "Class A" FROM table_19459 WHERE "Class AAAA" = 'Carthage' |
### Instruction:
CREATE TABLE table_41250 (
"Year" real,
"Actor" text,
"Award" text,
"Series" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year gave a nominated result for the room 222 series?
### Response:
| SELECT COUNT("Year") FROM table_41250 WHERE "Result" = 'nominated' AND "Series" = 'room 222' |
### Instruction:
CREATE TABLE table_75024 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Attendance of 30,335 had what record?
### Response:
| SELECT "Record" FROM table_75024 WHERE "Attendance" = '30,335' |
### Instruction:
CREATE TABLE table_41712 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first leg score when the second leg score is 0-4?
### Response:
| SELECT "1st leg" FROM table_41712 WHERE "2nd leg" = '0-4' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.