instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_56356 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Naoki Tsukahara finish 3rd in the 200 m race?
### Response:
| SELECT "Year" FROM table_56356 WHERE "Notes" = '200 m' AND "Position" = '3rd' |
### Instruction:
CREATE TABLE table_71481 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year were laps less than 64 and the finish at 25?
### Response:
| SELECT "Year" FROM table_71481 WHERE "Laps" < '64' AND "Finish" = '25' |
### Instruction:
CREATE TABLE table_25323 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Cowboys points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many records show Utah as the opponent... | SELECT COUNT("Record") FROM table_25323 WHERE "Opponent" = 'Utah' |
### Instruction:
CREATE TABLE table_9919 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par of player Tim Herron from the United States with a t3 place?
### Respo... | SELECT "To par" FROM table_9919 WHERE "Country" = 'united states' AND "Place" = 't3' AND "Player" = 'tim herron' |
### Instruction:
CREATE TABLE table_69140 (
"Representative" text,
"Years" text,
"State" text,
"Party" text,
"Lifespan" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Representative had a Lifespan of 1795 1866?
### Response:
| SELECT "Representative" FROM table_69140 WHERE "Lifespan" = '1795–1866' |
### Instruction:
CREATE TABLE table_13154 (
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the assembled date of the parliament elected in 1620/21?
### Res... | SELECT "Assembled" FROM table_13154 WHERE "Elected" = '1620/21' |
### Instruction:
CREATE TABLE table_475 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Intergiro classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer the following questions for the tabl... | SELECT "Trofeo Fast Team" FROM table_475 WHERE "Stage" = '8' |
### Instruction:
CREATE TABLE table_55674 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the fewest Laps for Huub Rothengatter and grid less than 24
### Response:... | SELECT MIN("Laps") FROM table_55674 WHERE "Driver" = 'huub rothengatter' AND "Grid" < '24' |
### Instruction:
CREATE TABLE table_58525 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the venue at VFL ... | SELECT "Date" FROM table_58525 WHERE "Venue" = 'vfl park' |
### Instruction:
CREATE TABLE table_32019 (
"Ship" text,
"Guns" text,
"Class" text,
"Captain" text,
"Rank" text,
"Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the captain for 1774 and guns of 14
### Response:
| SELECT "Captain" FROM table_32019 WHERE "Year" = '1774' AND "Guns" = '14' |
### Instruction:
CREATE TABLE table_70608 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place did Jack McGrath start in when he received a qual score of 141.033?
... | SELECT "Start" FROM table_70608 WHERE "Qual" = '141.033' |
### Instruction:
CREATE TABLE table_203_370 (
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.
-- how many times in total did ikangaa run the marat... | SELECT COUNT(*) FROM table_203_370 WHERE "competition" = 'olympic games' |
### Instruction:
CREATE TABLE table_5260 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... | SELECT "Score" FROM table_5260 WHERE "Team" = 'seattle' |
### Instruction:
CREATE TABLE table_56405 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the team for da... | SELECT "Team" FROM table_56405 WHERE "Date of vacancy" = '28 february' |
### Instruction:
CREATE TABLE table_9127 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the visiting team for the game that... | SELECT "Visitor" FROM table_9127 WHERE "Score" = '82-75' |
### Instruction:
CREATE TABLE table_29087004_2 (
series__number INTEGER,
united_states_original_airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number episode in the series had and original United States air date of December 24, 2010?
### Respo... | SELECT MAX(series__number) FROM table_29087004_2 WHERE united_states_original_airdate = "December 24, 2010" |
### Instruction:
CREATE TABLE table_61464 (
"Draw" real,
"Artist" text,
"Song" text,
"Lyrics (l) / Music (m)" text,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the Lyrics (l) / Music (m) when the draw was 5?
### Response:
| SELECT "Lyrics (l) / Music (m)" FROM table_61464 WHERE "Draw" = '5' |
### Instruction:
CREATE TABLE table_28652521_1 (
description VARCHAR,
singer_part_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the description of the buttonholer whose singer part number is 121795 kit 121908 buttonholer?
### Response:
| SELECT description FROM table_28652521_1 WHERE singer_part_number = "121795 kit 121908 buttonholer" |
### Instruction:
CREATE TABLE table_62533 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the event with a 2:08 time... | SELECT "Event" FROM table_62533 WHERE "Time" = '2:08' |
### Instruction:
CREATE TABLE table_3011 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district was the successor seated in March 28, 1878?
... | SELECT "District" FROM table_3011 WHERE "Date successor seated" = 'March 28, 1878' |
### Instruction:
CREATE TABLE table_203_38 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which track is longer , money or die 4 ?
### Response:
| SELECT "title" FROM table_203_38 WHERE "title" IN ('"money"', '"die 4"') ORDER BY "length" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_203_439 (
id number,
"pos." number,
"rider" text,
"semi-final points" number,
"final points" number,
"final heats" text,
"total points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many semi finals... | SELECT COUNT(*) FROM table_203_439 WHERE "semi-final points" > 10 |
### Instruction:
CREATE TABLE table_30810 (
"Series #" 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.
-- What is the episode series number for 'T... | SELECT COUNT("Series #") FROM table_30810 WHERE "Title" = 'The Devil Made Me Do It' |
### Instruction:
CREATE TABLE table_68384 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Attendance" real,
"Group position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were in attendance when the gro... | SELECT "Attendance" FROM table_68384 WHERE "Group position" = '3rd' |
### Instruction:
CREATE TABLE table_26859 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"FLaps" real,
"Podiums" real,
"Points" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... | SELECT MIN("FLaps") FROM table_26859 |
### Instruction:
CREATE TABLE table_16683 (
"English Name" text,
"Japanese orthography" text,
"Pronouciation" text,
"abbreviation" text,
"Provider(IAI)" text,
"Foundation" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many providers were fo... | SELECT COUNT("Provider(IAI)") FROM table_16683 WHERE "Foundation" = '1964' |
### Instruction:
CREATE TABLE table_32522 (
"Year" real,
"Champion" text,
"Score" text,
"Runner-Up" text,
"Arena" text,
"City" text,
"Tournament MVP" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player from Tucson, Arizona won the Ch... | SELECT "Champion" FROM table_32522 WHERE "City" = 'tucson, arizona' |
### Instruction:
CREATE TABLE table_42160 (
"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.
-- Which Team #2 has a 2nd leg of 79 - 74 (ot)?
### Response:
| SELECT "Team #2" FROM table_42160 WHERE "2nd leg" = '79 - 74 (ot)' |
### Instruction:
CREATE TABLE table_8757 (
"Player" text,
"Nationality" text,
"Jersey Number(s)" text,
"Position" text,
"Years" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when Position is C, and when From is Cinc... | SELECT "Player" FROM table_8757 WHERE "Position" = 'c' AND "From" = 'cincinnati' |
### Instruction:
CREATE TABLE table_34632 (
"Spacecraft" text,
"Destination" text,
"Launched" text,
"Closest approach" text,
"Time elapsed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a Launched of 3 July 1998 what is the Closest approach?
... | SELECT "Closest approach" FROM table_34632 WHERE "Launched" = '3 july 1998' |
### Instruction:
CREATE TABLE table_54535 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition did he win on August 15, 2012?
### Response:
| SELECT "Competition" FROM table_54535 WHERE "Result" = 'win' AND "Date" = 'august 15, 2012' |
### Instruction:
CREATE TABLE table_77854 (
"Building" text,
"Height" text,
"Floors" real,
"Year" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of the building with less than 18 floors and later than 2013?
### Re... | SELECT "Status" FROM table_77854 WHERE "Floors" < '18' AND "Year" > '2013' |
### Instruction:
CREATE TABLE table_name_52 (
opinionway_5_18_09 VARCHAR,
ipsos_5_16_09 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%?
### Response:
| SELECT opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%" |
### Instruction:
CREATE TABLE table_name_74 (
year_s__of_manufacture VARCHAR,
quantity VARCHAR,
axle_arrangement___uic__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the b n2t axle arrangement, which has a quantity of 31, manufactured?
... | SELECT year_s__of_manufacture FROM table_name_74 WHERE quantity = 31 AND axle_arrangement___uic__ = "b n2t" |
### Instruction:
CREATE TABLE table_204_868 (
id number,
"outcome" text,
"no." number,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the number of matches ... | SELECT COUNT(*) FROM table_204_868 WHERE "surface" = 'clay' |
### Instruction:
CREATE TABLE table_1650 (
"Season" text,
"Series" text,
"Team Name" text,
"Races" real,
"Poles" real,
"Wins" real,
"Points" real,
"Final Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many poles did David Pr... | SELECT MAX("Poles") FROM table_1650 WHERE "Team Name" = 'David Price Racing' |
### Instruction:
CREATE TABLE table_34140 (
"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 record of the team who played the C... | SELECT "Record" FROM table_34140 WHERE "Opponent" = 'cleveland browns' |
### Instruction:
CREATE TABLE table_68558 (
"Season" text,
"Competition" text,
"Round" text,
"Opponents" text,
"Home leg" text,
"Away leg" text,
"Aggregate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the competition for motherwell o... | SELECT "Competition" FROM table_68558 WHERE "Opponents" = 'motherwell' |
### Instruction:
CREATE TABLE table_6056 (
"Tone" text,
"Standard Thai" text,
"Phonemic" text,
"Phonetic" text,
"Example meaning in English" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the phonemic when the phonetic is [p a ]?
### Respo... | SELECT "Phonemic" FROM table_6056 WHERE "Phonetic" = '[pʰaː˥˥]' |
### Instruction:
CREATE TABLE table_6863 (
"Couple" text,
"Style" text,
"Music" text,
"Choreographer(s)" text,
"Chosen by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Couple, when Choreographer(s) is Nakul Dev Mahajan?
### Response:
| SELECT "Couple" FROM table_6863 WHERE "Choreographer(s)" = 'nakul dev mahajan' |
### Instruction:
CREATE TABLE table_name_95 (
rank INTEGER,
nation VARCHAR,
total VARCHAR,
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bro... | SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine" |
### Instruction:
CREATE TABLE table_name_16 (
pre_conversion VARCHAR,
owner VARCHAR,
re_entered_service__p_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984?
### Response:... | SELECT pre_conversion FROM table_name_16 WHERE owner = "v/line passenger" AND re_entered_service__p_ = "23 november 1984" |
### Instruction:
CREATE TABLE table_35120 (
"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.
-- What is the FCC info for the city of Tribune, Kansa... | SELECT "FCC info" FROM table_35120 WHERE "City of license" = 'tribune, kansas' |
### Instruction:
CREATE TABLE table_203_837 (
id number,
"rank" number,
"name" text,
"height\nft / m" text,
"floors" number,
"year" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which buildings are taller than 500 ft ?
###... | SELECT "name" FROM table_203_837 WHERE "height\nft / m" > 500 |
### Instruction:
CREATE TABLE table_name_68 (
europe VARCHAR,
head_coach VARCHAR,
regional_competitions VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST?
### Response:
| SELECT europe FROM table_name_68 WHERE head_coach = "vainauskas , sakalauskas" AND regional_competitions = "nebl finalist" |
### Instruction:
CREATE TABLE table_19731 (
"Name" text,
"Years" text,
"League" real,
"FA Cup" real,
"League Cup" real,
"Europe" real,
"Other a" real,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What name is associated with Le... | SELECT "Name" FROM table_19731 WHERE "League" = '142' |
### Instruction:
CREATE TABLE table_name_14 (
heat VARCHAR,
lane VARCHAR,
mark VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the lane is under 2 and the name is virgen benavides with a mark of 7.29, what's the total number of Heat... | SELECT COUNT(heat) FROM table_name_14 WHERE mark = "7.29" AND name = "virgen benavides" AND lane < 2 |
### Instruction:
CREATE TABLE table_203_338 (
id number,
"#" number,
"title" text,
"date" text,
"director" text,
"story" text,
"synopsis" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of stories directed... | SELECT COUNT("title") FROM table_203_338 WHERE "story" = 'jim ryan' |
### Instruction:
CREATE TABLE table_21107 (
"Story #" real,
"Title" text,
"Doctor" text,
"Narrator" text,
"Format" text,
"release date" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the release date for Destiny of the ... | SELECT "release date" FROM table_21107 WHERE "Title" = 'Destiny of the Daleks' |
### Instruction:
CREATE TABLE table_78278 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest attendace of the game w... | SELECT MAX("Attendance") FROM table_78278 WHERE "Home" = 'lakers' |
### Instruction:
CREATE TABLE table_11450 (
"Date" text,
"Opponents" text,
"Result" text,
"Score" text,
"Competition" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the score on 17/03/1956?
### Response:
| SELECT "Score" FROM table_11450 WHERE "Date" = '17/03/1956' |
### Instruction:
CREATE TABLE table_74334 (
"Team" text,
"Stadium" text,
"Home Games" real,
"Average Attendance" real,
"Total Attendance" real,
"Capacity Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many teams had a 99.3% capac... | SELECT COUNT("Team") FROM table_74334 WHERE "Capacity Percentage" = '99.3%' |
### Instruction:
CREATE TABLE table_13672 (
"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 outcome on april 24, 1988?
### Response:
| SELECT "Outcome" FROM table_13672 WHERE "Date" = 'april 24, 1988' |
### Instruction:
CREATE TABLE table_74383 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Position in table" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... | SELECT "Replaced by" FROM table_74383 WHERE "Team" = 'Santos' |
### Instruction:
CREATE TABLE table_18343 (
"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.
-- How many incumbents resulted in a lost renomination rep... | SELECT COUNT("Incumbent") FROM table_18343 WHERE "Result" = 'Lost renomination Republican gain' |
### Instruction:
CREATE TABLE table_4913 (
"Date" text,
"Round" text,
"Circuit" text,
"Winning driver" text,
"Winning team" text,
"Winning car" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the race held on 10/08/86, what was the circuit?
... | SELECT "Circuit" FROM table_4913 WHERE "Date" = '10/08/86' |
### Instruction:
CREATE TABLE basketball_match (
team_name VARCHAR,
school_id VARCHAR
)
CREATE TABLE university (
school_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the team names of the universities whose enrollments are smaller than the ave... | SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT AVG(enrollment) FROM university) |
### Instruction:
CREATE TABLE table_40067 (
"Stake" text,
"Organized" text,
"Wards/ Branches in Arkansas" real,
"Stake President" text,
"Occupation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stake has realtor for American equity realty as ... | SELECT "Stake" FROM table_40067 WHERE "Occupation" = 'realtor for american equity realty' |
### Instruction:
CREATE TABLE table_72521 (
"School" text,
"Winners" real,
"Finalists" real,
"Total Finals" real,
"Year of last win" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total finals where there when the last win was in 2012-13?
... | SELECT "Total Finals" FROM table_72521 WHERE "Year of last win" = '2012-13' |
### Instruction:
CREATE TABLE table_77658 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game played at Lak... | SELECT "Date" FROM table_77658 WHERE "Venue" = 'lake oval' |
### Instruction:
CREATE TABLE table_18631 (
"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.
-- William Fadjo Cravens serves the fourth district of Ark... | SELECT "District" FROM table_18631 WHERE "Incumbent" = 'William Fadjo Cravens' |
### Instruction:
CREATE TABLE table_32813 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the away team that pla... | SELECT "Away team" FROM table_32813 WHERE "Home team" = 'fitzroy' |
### Instruction:
CREATE TABLE table_45390 (
"Year" real,
"Champion" text,
"Runner-Up" text,
"Result" text,
"Date" text,
"Venue" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had an attendance of 90,000?
### Re... | SELECT "Year" FROM table_45390 WHERE "Attendance" = '90,000' |
### Instruction:
CREATE TABLE table_20531 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Team Nickname" text,
"Primary conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the un... | SELECT "Location" FROM table_20531 WHERE "Team Nickname" = 'Wolves' |
### Instruction:
CREATE TABLE table_60438 (
"Symbol" text,
"Prefix" text,
"SI Meaning" text,
"Binary meaning" text,
"Size difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the size difference for the binary meaning of 2 70 = 1024 7?... | SELECT "Size difference" FROM table_60438 WHERE "Binary meaning" = '2 70 = 1024 7' |
### Instruction:
CREATE TABLE table_72017 (
"Wicket" text,
"Runs" text,
"Partnerships" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue did the partnership of herschelle gibbs / justin kemp happen?
### Response:... | SELECT "Venue" FROM table_72017 WHERE "Partnerships" = 'herschelle gibbs / justin kemp' |
### Instruction:
CREATE TABLE table_name_2 (
poll_source VARCHAR,
peg_luksik VARCHAR,
dates_administered VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Poll source has a Peg Luksik of 9%, and Dates administered of may 12, 2010?
### Response:
| SELECT poll_source FROM table_name_2 WHERE peg_luksik = "9%" AND dates_administered = "may 12, 2010" |
### Instruction:
CREATE TABLE table_203_491 (
id number,
"year" number,
"title" text,
"us hot 100" number,
"us modern rock" number,
"us mainstream rock" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many singles were rel... | SELECT COUNT("title") FROM table_203_491 WHERE "year" > 2010 |
### Instruction:
CREATE TABLE table_48779 (
"Title" text,
"Season" real,
"Director" text,
"Teleplay" text,
"First Broadcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Season, when First Broadcast is January 23, 1981?
### R... | SELECT AVG("Season") FROM table_48779 WHERE "First Broadcast" = 'january 23, 1981' |
### Instruction:
CREATE TABLE table_2726 (
"Age (before)" text,
"America" text,
"Atlantic Europe" text,
"Maghreb" text,
"Mediterranean Europe" text,
"Central Europe" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every entry for America ... | SELECT "America" FROM table_2726 WHERE "Atlantic Europe" = 'Hoxniense' |
### Instruction:
CREATE TABLE table_28915 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many districts have John C. Calhoun as the incumben... | SELECT COUNT("District") FROM table_28915 WHERE "Incumbent" = 'John C. Calhoun' |
### Instruction:
CREATE TABLE table_name_21 (
player VARCHAR,
total_reb VARCHAR,
fg_pct VARCHAR,
def_reb VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has a FG Pct less than 45.9, a def reb less than 43, and a total reb of 9?
### Resp... | SELECT player FROM table_name_21 WHERE fg_pct < 45.9 AND def_reb < 43 AND total_reb = 9 |
### Instruction:
CREATE TABLE match_season (
Country VARCHAR,
Position VARCHAR
)
CREATE TABLE country (
Official_native_language VARCHAR,
Country_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many distinct official languages are there among ... | SELECT COUNT(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" |
### Instruction:
CREATE TABLE table_13679 (
"Name" text,
"Ceremony" text,
"Year" text,
"Academy Award" text,
"Film" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Film with winner Jerome Kern in the 19th Ceremony?
### Response:
| SELECT "Film" FROM table_13679 WHERE "Ceremony" = '19th' AND "Name" = 'jerome kern' |
### Instruction:
CREATE TABLE table_68348 (
"Round" text,
"Kick Off" text,
"Opponents" text,
"H / A" text,
"Result" text,
"Attendance" real,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the kickoff date for the round valu... | SELECT "Kick Off" FROM table_68348 WHERE "Round" = 'r4' |
### Instruction:
CREATE TABLE table_6125 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many silvers for the nation with under 6 total and under 0 bronze?
###... | SELECT COUNT("Silver") FROM table_6125 WHERE "Total" < '6' AND "Bronze" < '0' |
### Instruction:
CREATE TABLE table_15911 (
"Year" text,
"Typhus" real,
"Typhoid fever" real,
"Relapsing fever" real,
"Smallpox" real,
"Malaria" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the typhus number when smallpox is 4
#... | SELECT "Typhus" FROM table_15911 WHERE "Smallpox" = '4' |
### Instruction:
CREATE TABLE table_18289 (
"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.
-- Who's the incumbent in the district first elected in 19... | SELECT "Incumbent" FROM table_18289 WHERE "First elected" = '1976' |
### Instruction:
CREATE TABLE table_71040 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which record has an Opponent of orioles and a Date of april 14?
### Response:
| SELECT "Record" FROM table_71040 WHERE "Opponent" = 'orioles' AND "Date" = 'april 14' |
### Instruction:
CREATE TABLE table_3657 (
"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.
-- Where are the Buffalo Sabres from?
### Res... | SELECT "College/junior/club team" FROM table_3657 WHERE "NHL team" = 'Buffalo Sabres' |
### Instruction:
CREATE TABLE table_55284 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the away team at mcg?
... | SELECT "Away team" FROM table_55284 WHERE "Venue" = 'mcg' |
### Instruction:
CREATE TABLE table_32408 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the home team fro... | SELECT "Date" FROM table_32408 WHERE "Home team" = 'carlton' |
### Instruction:
CREATE TABLE table_203_52 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was ... | SELECT "driver" FROM table_203_52 ORDER BY "points" LIMIT 1 |
### Instruction:
CREATE TABLE table_25961 (
"Round" real,
"Location" text,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who held the pole position in ... | SELECT "Pole Position" FROM table_25961 WHERE "Circuit" = 'Misano World Circuit' |
### Instruction:
CREATE TABLE table_name_80 (
cuts_made INTEGER,
top_10 VARCHAR,
wins VARCHAR,
top_25 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2
### Response:... | SELECT SUM(cuts_made) FROM table_name_80 WHERE wins < 2 AND top_25 > 7 AND top_10 < 2 |
### Instruction:
CREATE TABLE table_name_26 (
population_estimate_2005 VARCHAR,
area__km_2__ INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the population estimate 2005 have an area (km2) more than 8,023.74?
### Response:
| SELECT COUNT(population_estimate_2005) FROM table_name_26 WHERE area__km_2__ > 8 OFFSET 023.74 |
### Instruction:
CREATE TABLE table_62447 (
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the 1st member that was elected in 1541/42?
### Response:
| SELECT "1st member" FROM table_62447 WHERE "Elected" = '1541/42' |
### Instruction:
CREATE TABLE table_24205 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Cowboys points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the team record when the team pla... | SELECT "Record" FROM table_24205 WHERE "Opponent" = '@ Utah' |
### Instruction:
CREATE TABLE table_73547 (
"Average Ranking" real,
"Competitive Finish" real,
"Couple" text,
"Number Of Dances" real,
"Total Score" real,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total score when 7 is... | SELECT MAX("Total Score") FROM table_73547 WHERE "Average Ranking" = '7' |
### Instruction:
CREATE TABLE table_79495 (
"Athlete" text,
"Nationality" text,
"2.15" text,
"2.20" text,
"2.25" text,
"Result" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2.15 for Tom Parsons?
### Response:
| SELECT "2.15" FROM table_79495 WHERE "Athlete" = 'tom parsons' |
### Instruction:
CREATE TABLE table_name_54 (
silver INTEGER,
total VARCHAR,
rank VARCHAR,
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, a... | SELECT MAX(silver) FROM table_name_54 WHERE gold > "1" AND bronze = 3 AND rank = "1" AND total < 12 |
### Instruction:
CREATE TABLE table_44856 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total overall number of the ot position player with a pick ... | SELECT COUNT("Overall") FROM table_44856 WHERE "Position" = 'ot' AND "Pick" > '5' |
### Instruction:
CREATE TABLE table_name_22 (
status VARCHAR,
area_km_2 VARCHAR,
census_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What status has an area km 2 greater than 10.9, with 4,674 of 5,008 as the census ranking
### Response:
| SELECT status FROM table_name_22 WHERE area_km_2 > 10.9 AND census_ranking = "4,674 of 5,008" |
### Instruction:
CREATE TABLE table_40620 (
"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 Outcome with an Opponent that is jelena jankovi ?
#... | SELECT "Outcome" FROM table_40620 WHERE "Opponent" = 'jelena janković' |
### Instruction:
CREATE TABLE table_60831 (
"Aircraft" text,
"Introduced" real,
"Retired" text,
"Seating" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the aircraft retired when it was replaced by 737-300s?
### Respons... | SELECT "Retired" FROM table_60831 WHERE "Notes" = 'replaced by 737-300s' |
### Instruction:
CREATE TABLE table_28839 (
"Place" real,
"Nation" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"for" real,
"against" real,
"difference" real,
"Table points" real
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT MAX("lost") FROM table_28839 |
### Instruction:
CREATE TABLE table_11722 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- After 1979, where was the European Indoor Championships held?
### Response:
| SELECT "Venue" FROM table_11722 WHERE "Competition" = 'european indoor championships' AND "Year" > '1979' |
### Instruction:
CREATE TABLE table_204_543 (
id number,
"national team" text,
"title(s)\nrepresented" text,
"first\nworn" number,
"number\nof stars" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of stars ital... | SELECT "number\nof stars" FROM table_204_543 WHERE "national team" = 'italy' |
### Instruction:
CREATE TABLE table_55838 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Melbourne's score as t... | SELECT "Home team score" FROM table_55838 WHERE "Home team" = 'melbourne' |
### Instruction:
CREATE TABLE table_15507 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the opponent when the attendance was larger than 54,766?
##... | SELECT "Opponent" FROM table_15507 WHERE "Attendance" > '54,766' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.