instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_1096 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position of the player picked by the Montreal Canadiens?
### Response:
|
SELECT "Position" FROM table_1096 WHERE "NHL team" = 'Montreal Canadiens'
|
### Instruction:
CREATE TABLE table_28458 (
"Modern English day name" text,
"Old English day name" text,
"English day name meaning" text,
"Glossed from Latin day name" text,
"Latin day name meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the old English name of Saturday?
### Response:
|
SELECT "Old English day name" FROM table_28458 WHERE "Modern English day name" = 'Saturday'
|
### Instruction:
CREATE TABLE table_2356 (
"Sd" real,
"Player" text,
"Points" real,
"Points defending" real,
"Points won" real,
"New points" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did agnieszka radwa ska score?
### Response:
|
SELECT "Points" FROM table_2356 WHERE "Player" = 'Agnieszka Radwańska'
|
### Instruction:
CREATE TABLE table_54934 (
"Year" text,
"Team" text,
"Comp" text,
"Rate" text,
"RAtt" text,
"RYds" text,
"RAvg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 1984, what was the RAvg?
### Response:
|
SELECT "RAvg" FROM table_54934 WHERE "Year" = '1984'
|
### Instruction:
CREATE TABLE table_27355 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?
### Response:
|
SELECT "Position" FROM table_27355 WHERE "NFL Team" = 'New Orleans Saints'
|
### Instruction:
CREATE TABLE table_75167 (
"Volume:Issue" text,
"Issue Date(s)" text,
"Weeks on Top" real,
"Song" text,
"Artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Issue Date(s) has an Artist of men at work?
### Response:
|
SELECT "Issue Date(s)" FROM table_75167 WHERE "Artist" = 'men at work'
|
### Instruction:
CREATE TABLE table_10121127_1 (
dates_of_australian_involvement VARCHAR,
number_of_australians_involved VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was it where 65 Australians were involved in the UN?
### Response:
|
SELECT dates_of_australian_involvement FROM table_10121127_1 WHERE number_of_australians_involved = "65"
|
### Instruction:
CREATE TABLE table_50290 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest week when the New Orleans Saints were the opponents?
### Response:
|
SELECT MIN("Week") FROM table_50290 WHERE "Opponent" = 'new orleans saints'
|
### Instruction:
CREATE TABLE table_23816 (
"Country" text,
"Contestant" text,
"Age" real,
"Height (cm)" real,
"Height (ft)" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different heights are there for the contestants from Warsaw?
### Response:
|
SELECT COUNT("Height (ft)") FROM table_23816 WHERE "Hometown" = 'Warsaw'
|
### Instruction:
CREATE TABLE table_5956 (
"City" text,
"State/Territory" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IATA for Beijing Capital International Airport?
### Response:
|
SELECT "IATA" FROM table_5956 WHERE "Airport" = 'beijing capital international airport'
|
### Instruction:
CREATE TABLE table_202_43 (
id number,
"year" number,
"publisher" text,
"country" text,
"accolade" text,
"rank" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- from where did ` stayin ' alive ' receive the most accolades ?
### Response:
|
SELECT "publisher" FROM table_202_43 GROUP BY "publisher" ORDER BY COUNT("accolade") DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_44871 (
"Year" real,
"Country" text,
"Course" text,
"Location" text,
"Total score" text,
"To par [a ]" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum for the year with a location of newport, rhode island?
### Response:
|
SELECT SUM("Year") FROM table_44871 WHERE "Location" = 'newport, rhode island'
|
### Instruction:
CREATE TABLE table_25235489_2 (
june_10_11 VARCHAR,
november_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times does an occurance happen in June when it happens on NOvember 3, 1975?
### Response:
|
SELECT COUNT(june_10_11) FROM table_25235489_2 WHERE november_3 = "november_3, 1975"
|
### Instruction:
CREATE TABLE table_17277 (
"Series #" real,
"Season #" real,
"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.
-- How many titles are there for season 8
### Response:
|
SELECT COUNT("Title") FROM table_17277 WHERE "Season #" = '8'
|
### Instruction:
CREATE TABLE table_name_88 (
evening_gown INTEGER,
swimsuit VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Evening Gown scores where the swimsuit score is higher than 9.4 and the average score is lower than 9.733?
### Response:
|
SELECT SUM(evening_gown) FROM table_name_88 WHERE swimsuit > 9.4 AND average < 9.733
|
### Instruction:
CREATE TABLE table_203_549 (
id number,
"player" text,
"team" text,
"date" text,
"opponent" text,
"venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of times a boston red sox player has had two grand slams in one game ?
### Response:
|
SELECT COUNT(*) FROM table_203_549 WHERE "team" = 'boston red sox'
|
### Instruction:
CREATE TABLE table_273 (
"Series no." real,
"Season no." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production Code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons was series number 47 shown?
### Response:
|
SELECT COUNT("Season no.") FROM table_273 WHERE "Series no." = '47'
|
### Instruction:
CREATE TABLE table_62960 (
"Hampden FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many byes when there are more than 16 wins?
### Response:
|
SELECT AVG("Byes") FROM table_62960 WHERE "Wins" > '16'
|
### Instruction:
CREATE TABLE table_203_655 (
id number,
"goal" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the least amount of goals scored in a game ?
### Response:
|
SELECT MIN("score" + "score") FROM table_203_655
|
### Instruction:
CREATE TABLE table_name_17 (
producer VARCHAR,
author VARCHAR,
narrator VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the producer when the narrator is katherine kellgren, the year is before 2013 and the author is karen cushman?
### Response:
|
SELECT producer FROM table_name_17 WHERE narrator = "katherine kellgren" AND year < 2013 AND author = "karen cushman"
|
### Instruction:
CREATE TABLE table_58170 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the qual 2 when the qual 1 is 1:16.841?
### Response:
|
SELECT "Qual 2" FROM table_58170 WHERE "Qual 1" = '1:16.841'
|
### Instruction:
CREATE TABLE table_71371 (
"Name" text,
"Period" text,
"Matches" text,
"Wins" text,
"Draws" text,
"Losses" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has 5 losses and has played 11 matches?
### Response:
|
SELECT "Name" FROM table_71371 WHERE "Losses" = '5' AND "Matches" = '11'
|
### Instruction:
CREATE TABLE table_61243 (
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the girl on week 1 that was previous to week 3's Ava Hart?
### Response:
|
SELECT "Week 1" FROM table_61243 WHERE "Week 3" = 'ava hart'
|
### Instruction:
CREATE TABLE table_50538 (
"Season" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)?
### Response:
|
SELECT "Second" FROM table_50538 WHERE "Third" = 'kelly wood (e) anna sloan (jr)'
|
### Instruction:
CREATE TABLE table_31494 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many items appear in the area column when Glasvaunta is the townland?
### Response:
|
SELECT COUNT("Area( acres )") FROM table_31494 WHERE "Townland" = 'Glasvaunta'
|
### Instruction:
CREATE TABLE table_17599 (
"#" real,
"Nation" text,
"Winners" real,
"Runners-up" real,
"3rd Place" real,
"4th Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did bec tero sasana win?
### Response:
|
SELECT MAX("Winners") FROM table_17599 WHERE "Nation" = 'BEC Tero Sasana'
|
### Instruction:
CREATE TABLE table_26271 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record in game played on July 28?
### Response:
|
SELECT "Record" FROM table_26271 WHERE "Date" = 'July 28'
|
### Instruction:
CREATE TABLE table_20886 (
"Episode #" text,
"Original airdate (UK)" text,
"Episode title" text,
"Doctor Who episode" text,
"Webcast link" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number is the episode 'bringing back the doctor'?
### Response:
|
SELECT "Episode #" FROM table_20886 WHERE "Episode title" = 'Bringing Back the Doctor'
|
### Instruction:
CREATE TABLE table_name_47 (
portfolio_attachment VARCHAR,
age_at_appointment VARCHAR,
chinese_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of ?
### Response:
|
SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = "梁鳳儀"
|
### Instruction:
CREATE TABLE table_204_507 (
id number,
"bridge name" text,
"location" text,
"year completed" number,
"total length" text,
"carries" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of mccullough 's bridges were completed in 1922
### Response:
|
SELECT COUNT("bridge name") FROM table_204_507 WHERE "year completed" = 1922
|
### Instruction:
CREATE TABLE table_13418 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record of the game with an Attendance of 70,604?
### Response:
|
SELECT "Record" FROM table_13418 WHERE "Attendance" = '70,604'
|
### Instruction:
CREATE TABLE table_33938 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the gold number when the total is 8 and bronze is more than 4?
### Response:
|
SELECT AVG("Gold") FROM table_33938 WHERE "Total" = '8' AND "Bronze" > '4'
|
### Instruction:
CREATE TABLE table_1157867_2 (
date_built VARCHAR,
wheel_arrangement VARCHAR,
builder VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?
### Response:
|
SELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = "0-6-0 ST" AND builder = "Hudswell Clarke"
|
### Instruction:
CREATE TABLE table_25668203_2 (
most_laps_led VARCHAR,
location VARCHAR,
winning_driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the most laps led in monterey, california when scott rarick won the race?
### Response:
|
SELECT most_laps_led FROM table_25668203_2 WHERE location = "Monterey, California" AND winning_driver = "Scott Rarick"
|
### Instruction:
CREATE TABLE table_1142 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the date with attendance being 40657
### Response:
|
SELECT "Date" FROM table_1142 WHERE "Attendance" = '40657'
|
### Instruction:
CREATE TABLE table_11387 (
"Year" real,
"Award" text,
"Category" text,
"Nominated work" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for the king and I after 2006?
### Response:
|
SELECT "Result" FROM table_11387 WHERE "Year" > '2006' AND "Nominated work" = 'the king and i'
|
### Instruction:
CREATE TABLE publication (
Publication_ID int,
Book_ID int,
Publisher text,
Publication_Date text,
Price real
)
CREATE TABLE book (
Book_ID int,
Title text,
Issues real,
Writer text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Bar chart x axis publication date y axis how many publication date
### Response:
|
SELECT Publication_Date, COUNT(Publication_Date) FROM publication GROUP BY Publication_Date
|
### Instruction:
CREATE TABLE table_59126 (
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Week 2 has a Week 4 of araya robinson?
### Response:
|
SELECT "Week 2" FROM table_59126 WHERE "Week 4" = 'araya robinson'
|
### Instruction:
CREATE TABLE table_2705 (
"Constituency" text,
"Winner" text,
"Party" text,
"Margin" real,
"Runner-up a" text,
"Party a" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which was k. annamalai s party a?
### Response:
|
SELECT "Party a" FROM table_2705 WHERE "Runner-up a" = 'K. Annamalai'
|
### Instruction:
CREATE TABLE table_54657 (
"Name" text,
"Scotland career" text,
"Caps" real,
"Goals" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which caps was in scotland in 1920 1923?
### Response:
|
SELECT "Caps" FROM table_54657 WHERE "Scotland career" = '1920–1923'
|
### Instruction:
CREATE TABLE table_47773 (
"Name" text,
"Built" text,
"Listed" text,
"Location" text,
"Borough" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the listings in the Valdez-cordova (census area) Borough?
### Response:
|
SELECT "Listed" FROM table_47773 WHERE "Borough" = 'valdez-cordova (census area)'
|
### Instruction:
CREATE TABLE table_75652 (
"Outcome" text,
"Event" text,
"Year" text,
"Venue" text,
"Partner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Outcome of the Danish Open in 1985?
### Response:
|
SELECT "Outcome" FROM table_75652 WHERE "Venue" = 'danish open' AND "Year" = '1985'
|
### Instruction:
CREATE TABLE table_12859 (
"Designation" text,
"Launch date/time ( GMT )" text,
"Mass" text,
"Apogee" text,
"Inclination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Apogee, when Designation is Prognoz 6?
### Response:
|
SELECT "Apogee" FROM table_12859 WHERE "Designation" = 'prognoz 6'
|
### Instruction:
CREATE TABLE table_59130 (
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Week 2 that has a Week 1 of mackenzie ryan?
### Response:
|
SELECT "Week 2" FROM table_59130 WHERE "Week 1" = 'mackenzie ryan'
|
### Instruction:
CREATE TABLE table_49991 (
"Position" real,
"Pilot" text,
"Country" text,
"Glider" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest position of pilot mario kiessling from Germany?
### Response:
|
SELECT MIN("Position") FROM table_49991 WHERE "Country" = 'germany' AND "Pilot" = 'mario kiessling'
|
### Instruction:
CREATE TABLE table_19280 (
"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.
-- How many touchdowns were there when Heston was in play?
### Response:
|
SELECT MAX("Touchdowns") FROM table_19280 WHERE "Player" = 'Heston'
|
### Instruction:
CREATE TABLE table_204_688 (
id number,
"name" text,
"red vs. blue" text,
"couples team" text,
"status" text,
"weight" text,
"total votes" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many people were eliminated in week 1 ?
### Response:
|
SELECT COUNT(*) FROM table_204_688 WHERE "status" = 'eliminated week 1'
|
### Instruction:
CREATE TABLE table_name_73 (
natural_change__per_1000_ VARCHAR,
live_births_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the natural change (per 1000) when the live births 1 is 278 977?
### Response:
|
SELECT natural_change__per_1000_ FROM table_name_73 WHERE live_births_1 = "278 977"
|
### Instruction:
CREATE TABLE table_35440 (
"Name" text,
"GP-GS" text,
"Effic" real,
"Att-Cmp-Int" text,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest effic with an avg/g of 91.9?
### Response:
|
SELECT MAX("Effic") FROM table_35440 WHERE "Avg/G" = '91.9'
|
### Instruction:
CREATE TABLE table_name_43 (
score VARCHAR,
opponents VARCHAR,
partner VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman?
### Response:
|
SELECT score FROM table_name_43 WHERE partner = "florencia labat" AND surface = "clay" AND opponents = "laura golarsa ann grossman"
|
### Instruction:
CREATE TABLE table_16123 (
"No." real,
"#" real,
"Title" text,
"Director" text,
"Writer" text,
"US air date" text,
"Storyteller" text,
"Villains" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many titles have the number 11
### Response:
|
SELECT COUNT("Title") FROM table_16123 WHERE "#" = '11'
|
### Instruction:
CREATE TABLE table_31677 (
"Cellist" text,
"Orchestra" text,
"Conductor" text,
"Record Company" text,
"Year of Recording" real,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format was conductor Erich Leinsdorf's album released on?
### Response:
|
SELECT "Format" FROM table_31677 WHERE "Conductor" = 'erich leinsdorf'
|
### Instruction:
CREATE TABLE table_67524 (
"Name" text,
"Street address" text,
"Years as tallest" text,
"Height feet / m" text,
"Floors" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Street address with a Name of New York Life Insurance building?
### Response:
|
SELECT "Street address" FROM table_67524 WHERE "Name" = 'new york life insurance building'
|
### Instruction:
CREATE TABLE table_28339 (
"Country" text,
"Exports" text,
"Imports" text,
"Total Trade" text,
"Trade Balance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where the exports is 13,608.65, what is the total trade?
### Response:
|
SELECT "Total Trade" FROM table_28339 WHERE "Exports" = '13,608.65'
|
### Instruction:
CREATE TABLE table_2157 (
"Election" text,
"# of candidates nominated" real,
"# of seats won" real,
"# of total votes" real,
"% of popular vote" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number for % popular vote for # of seats won for 83
### Response:
|
SELECT COUNT("% of popular vote") FROM table_2157 WHERE "# of seats won" = '83'
|
### Instruction:
CREATE TABLE table_name_26 (
tournament VARCHAR,
date VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament took place after 1986 and had a final score of 7 6, 3 6, 6 2?
### Response:
|
SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2"
|
### Instruction:
CREATE TABLE table_5362 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least year for european indoor championships result of 3rd
### Response:
|
SELECT MIN("Year") FROM table_5362 WHERE "Tournament" = 'european indoor championships' AND "Result" = '3rd'
|
### Instruction:
CREATE TABLE table_5916 (
"Character" text,
"French voice actor" text,
"Italian voice actor" text,
"German voice actor" text,
"Spanish voice actor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Spanish voice actor does the same character as French voice actor Dennis Boileau?
### Response:
|
SELECT "Spanish voice actor" FROM table_5916 WHERE "French voice actor" = 'dennis boileau'
|
### Instruction:
CREATE TABLE table_73988 (
"Name" text,
"Park" text,
"Length (ft)" real,
"Height (ft)" real,
"Speed (mph)" text,
"Opened" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What park is Boardwalk Bullet located in?
### Response:
|
SELECT "Park" FROM table_73988 WHERE "Name" = 'Boardwalk Bullet'
|
### Instruction:
CREATE TABLE table_41544 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the margin of victory that has masters gc ladies as the tournament?
### Response:
|
SELECT "Margin of victory" FROM table_41544 WHERE "Tournament" = 'masters gc ladies'
|
### Instruction:
CREATE TABLE table_57287 (
"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.
-- Tell me the player for round more than 5 and position of c
### Response:
|
SELECT "Player" FROM table_57287 WHERE "Round" > '5' AND "Position" = 'c'
|
### Instruction:
CREATE TABLE table_47488 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when Event is 'UFC 64'?
### Response:
|
SELECT "Record" FROM table_47488 WHERE "Event" = 'ufc 64'
|
### Instruction:
CREATE TABLE table_2729 (
"Date" text,
"Location" text,
"Opponent" text,
"Spartans Points" real,
"Opp. Points" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Against whom did the Spartans score 73 points?
### Response:
|
SELECT "Opponent" FROM table_2729 WHERE "Spartans Points" = '73'
|
### Instruction:
CREATE TABLE table_75891 (
"Draw" real,
"Song" text,
"Performer" text,
"Points" real,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of points for a song ranked 2nd with a draw greater than 3?
### Response:
|
SELECT AVG("Points") FROM table_75891 WHERE "Rank" = '2nd' AND "Draw" > '3'
|
### Instruction:
CREATE TABLE table_46026 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Time of 12:00?
### Response:
|
SELECT "Date" FROM table_46026 WHERE "Time" = '12:00'
|
### Instruction:
CREATE TABLE table_203_245 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of marathons that silva ran in the united states ?
### Response:
|
SELECT COUNT(*) FROM table_203_245 WHERE "venue" = 'united states'
|
### Instruction:
CREATE TABLE table_38339 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance is the highest one that has a Record of 37-38?
### Response:
|
SELECT MAX("Attendance") FROM table_38339 WHERE "Record" = '37-38'
|
### Instruction:
CREATE TABLE table_49665 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2013 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Height which has a 2013 club of wvc dynamo moscow?
### Response:
|
SELECT "Height" FROM table_49665 WHERE "2013 club" = 'wvc dynamo moscow'
|
### Instruction:
CREATE TABLE table_22042 (
"Home (1st leg)" text,
"Home (2nd leg)" text,
"1st Leg" text,
"2nd leg" text,
"Aggregate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the second leg is Instituto, what is the total number of aggregate?
### Response:
|
SELECT COUNT("Aggregate") FROM table_22042 WHERE "Home (2nd leg)" = 'Instituto'
|
### Instruction:
CREATE TABLE table_66750 (
"Season" text,
"Champion" text,
"Runner Up" text,
"Israel Bowl" text,
"Venue" text,
"Date" text,
"Finals MVP" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the champion for israel bowl of iv
### Response:
|
SELECT "Champion" FROM table_66750 WHERE "Israel Bowl" = 'iv'
|
### Instruction:
CREATE TABLE table_204_579 (
id number,
"code" text,
"district" text,
"headquarters" text,
"population (as of 2011)" number,
"area (km2)" number,
"density (/km2)" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total amount of districts listed ?
### Response:
|
SELECT COUNT("district") FROM table_204_579
|
### Instruction:
CREATE TABLE table_27277284_27 (
socket VARCHAR,
frequency VARCHAR,
model_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of sockets does a 2100MHz Athlon X2 QL-64 use?
### Response:
|
SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"
|
### Instruction:
CREATE TABLE table_9444 (
"Name" text,
"Born-Died" text,
"Term start" text,
"Term end" text,
"Political Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Born-Died has a Term start of 4 november 1943?
### Response:
|
SELECT "Born-Died" FROM table_9444 WHERE "Term start" = '4 november 1943'
|
### Instruction:
CREATE TABLE table_41655 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team of the game on 2 February 2006?
### Response:
|
SELECT "Home" FROM table_41655 WHERE "Date" = '2 february 2006'
|
### Instruction:
CREATE TABLE table_43386 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Gold medals for the Nation with more than 3 Bronze?
### Response:
|
SELECT COUNT("Gold") FROM table_43386 WHERE "Bronze" > '3'
|
### Instruction:
CREATE TABLE table_29281 (
"Position" real,
"Building" text,
"City" text,
"Height" text,
"Number of floors" real,
"Completion" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- if the completed is 2010, what is the number of floors?
### Response:
|
SELECT MIN("Number of floors") FROM table_29281 WHERE "Completion" = '2010'
|
### Instruction:
CREATE TABLE table_48488 (
"Name" text,
"Country" text,
"Status" text,
"Moving to" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TRANSFER WINDOW FOR THE COUNTRY OF BRA?
### Response:
|
SELECT "Transfer window" FROM table_48488 WHERE "Country" = 'bra'
|
### Instruction:
CREATE TABLE table_4385 (
"General elections" real,
"Voting percentile %" text,
"Voting turnout" text,
"Presiding Convener of the party" text,
"Parliamentary position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the voting turnout for 1985 general elections
### Response:
|
SELECT "Voting turnout" FROM table_4385 WHERE "General elections" = '1985'
|
### Instruction:
CREATE TABLE table_32045 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the sum of frequency for ERP W less than 1
### Response:
|
SELECT SUM("Frequency MHz") FROM table_32045 WHERE "ERP W" < '1'
|
### Instruction:
CREATE TABLE table_12448 (
"Mininera DFL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which against has the lowest when byes are larger than 0?
### Response:
|
SELECT MIN("Against") FROM table_12448 WHERE "Byes" > '0'
|
### Instruction:
CREATE TABLE table_64976 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA Class has a School of shakamak?
### Response:
|
SELECT "IHSAA Class" FROM table_64976 WHERE "School" = 'shakamak'
|
### Instruction:
CREATE TABLE table_60566 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The match against Paul-Henri Mathieu had what outcome?
### Response:
|
SELECT "Outcome" FROM table_60566 WHERE "Opponent" = 'paul-henri mathieu'
|
### Instruction:
CREATE TABLE table_name_38 (
area_2006_km² INTEGER,
area_1996_km² INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which area 2006 km has an area 1996 km smaller than 17.31?
### Response:
|
SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.31
|
### Instruction:
CREATE TABLE table_38757 (
"Couple" text,
"Score" text,
"Style" text,
"Music" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Couple has a Result of third place, and a Style of cha-cha-cha?
### Response:
|
SELECT "Couple" FROM table_38757 WHERE "Result" = 'third place' AND "Style" = 'cha-cha-cha'
|
### Instruction:
CREATE TABLE table_69003 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F\u2013A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Was the game with Kashima antlers at home or away?
### Response:
|
SELECT "H / A" FROM table_69003 WHERE "Opponents" = 'kashima antlers'
|
### Instruction:
CREATE TABLE table_23115 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Persian title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the Persian Title , what were the results?
### Response:
|
SELECT "Result" FROM table_23115 WHERE "Persian title" = 'میم مثل مادر'
|
### Instruction:
CREATE TABLE table_60148 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Venue has a Date of 17/03/1990?
### Response:
|
SELECT "Venue" FROM table_60148 WHERE "Date" = '17/03/1990'
|
### Instruction:
CREATE TABLE table_54120 (
"Goal" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue was used on 10 september 2010?
### Response:
|
SELECT "Venue" FROM table_54120 WHERE "Date" = '10 september 2010'
|
### Instruction:
CREATE TABLE table_name_67 (
wins INTEGER,
appearances VARCHAR,
percent VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Wins, when Percent is 0.000, when School is Oklahoma State, and when Appearances is less than 1?
### Response:
|
SELECT MAX(wins) FROM table_name_67 WHERE percent = "0.000" AND school = "oklahoma state" AND appearances < 1
|
### Instruction:
CREATE TABLE table_69303 (
"Year" real,
"Artist" text,
"Album / Song" text,
"Award" text,
"Result / Category" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most recent year with the Album/Song 'the best worst-case scenario'?
### Response:
|
SELECT MAX("Year") FROM table_69303 WHERE "Album / Song" = 'the best worst-case scenario'
|
### Instruction:
CREATE TABLE table_25944 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the surface for the year 2001?
### Response:
|
SELECT "Surface" FROM table_25944 WHERE "Year" = '2001'
|
### Instruction:
CREATE TABLE table_18613 (
"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 does clyde t. ellis represent?
### Response:
|
SELECT "Party" FROM table_18613 WHERE "Incumbent" = 'Clyde T. Ellis'
|
### Instruction:
CREATE TABLE table_22464685_1 (
date VARCHAR,
georgian_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date for when the georgian name is ?
### Response:
|
SELECT date FROM table_22464685_1 WHERE georgian_name = "ცხოვრება და უწყება ბაგრატონიანთა"
|
### Instruction:
CREATE TABLE table_41022 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What power belongs to the LP Class and has an Identifier of CBLI?
### Response:
|
SELECT "Power" FROM table_41022 WHERE "Class" = 'lp' AND "Identifier" = 'cbli'
|
### Instruction:
CREATE TABLE table_name_22 (
party VARCHAR,
home_town VARCHAR,
district VARCHAR,
took_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?
### Response:
|
SELECT party FROM table_name_22 WHERE district < 10 AND took_office < 1991 AND home_town = "mount pleasant"
|
### Instruction:
CREATE TABLE table_55223 (
"NGC number" real,
"Object type" text,
"Constellation" text,
"Right ascension ( J2000 )" text,
"Declination ( J2000 )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the constellation for open cluster?
### Response:
|
SELECT "Constellation" FROM table_55223 WHERE "Object type" = 'open cluster'
|
### Instruction:
CREATE TABLE table_56707 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the catalog number of the album whose label is Atlantic Records and region is the United States?
### Response:
|
SELECT "Catalog #" FROM table_56707 WHERE "Label" = 'atlantic records' AND "Region" = 'united states'
|
### Instruction:
CREATE TABLE table_26967904_1 (
p_max___bar__ VARCHAR,
p1_diameter__mm_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the P max (bar) of the pistol with a P1 diameter of 12.09 mm?
### Response:
|
SELECT p_max___bar__ FROM table_26967904_1 WHERE p1_diameter__mm_ = "12.09"
|
### Instruction:
CREATE TABLE table_18685 (
"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 number of incumbents for texas 12
### Response:
|
SELECT COUNT("Incumbent") FROM table_18685 WHERE "District" = 'Texas 12'
|
### Instruction:
CREATE TABLE table_203_203 (
id number,
"year" number,
"majors" number,
"atp wins" number,
"total wins" number,
"earnings (us$)" number,
"money list rank" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- top paid year ?
### Response:
|
SELECT "year" FROM table_203_203 ORDER BY "earnings (us$)" DESC LIMIT 1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.