instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_73613 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people voted for Kerry in the county where... | SELECT MIN("Kerry#") FROM table_73613 WHERE "Others#" = '8' |
### Instruction:
CREATE TABLE table_name_91 (
water__sqmi_ INTEGER,
pop__2010_ VARCHAR,
longitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Water (sqmi) has a Pop (2010) of 359, and a Longitude smaller than -97.176811?
### Response:
| SELECT MAX(water__sqmi_) FROM table_name_91 WHERE pop__2010_ = 359 AND longitude < -97.176811 |
### Instruction:
CREATE TABLE table_29864 (
"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 ... | SELECT "High assists" FROM table_29864 WHERE "Game" = '75' |
### Instruction:
CREATE TABLE table_20153 (
"Kinship" text,
"Proto-Austronesian" text,
"Proto-Malayo-Polynesian" text,
"Proto-Oceanic" text,
"Proto-Polynesian" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the kinship for *t-ina
### Response... | SELECT "Kinship" FROM table_20153 WHERE "Proto-Malayo-Polynesian" = '*t-ina' |
### Instruction:
CREATE TABLE table_4526 (
"Name" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won for Forsythe Racing when Bobby Rahal ha... | SELECT "Name" FROM table_4526 WHERE "Winning team" = 'forsythe racing' AND "Pole Position" = 'bobby rahal' |
### Instruction:
CREATE TABLE table_26794 (
"Version" text,
"Dock Connection" text,
"AUX In" text,
"Battery" text,
"iPhone Certified" text,
"Video Out" text,
"Dual Voltage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Was the sounddock ser... | SELECT "iPhone Certified" FROM table_26794 WHERE "Version" = 'SoundDock series I v2' |
### Instruction:
CREATE TABLE table_24977 (
"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.
-- How many college/junior/clubteams have John... | SELECT COUNT("College/junior/club team") FROM table_24977 WHERE "Player" = 'John Garrett' |
### Instruction:
CREATE TABLE table_name_32 (
to_par INTEGER,
year_s__won VARCHAR,
total VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much To par has a Total larger than 149, and a Country of united states, and a Year(s) won of... | SELECT SUM(to_par) FROM table_name_32 WHERE total > 149 AND country = "united states" AND year_s__won = "1997" |
### Instruction:
CREATE TABLE table_49158 (
"Skip" text,
"Third/Vice skip" text,
"Second" text,
"Lead" text,
"City" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lead has a City of winnipeg, and a Third/Vice skip of kevin park?
### Response... | SELECT "Lead" FROM table_49158 WHERE "City" = 'winnipeg' AND "Third/Vice skip" = 'kevin park' |
### Instruction:
CREATE TABLE table_17944 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the county where kerry# is 59740?
### Res... | SELECT "County" FROM table_17944 WHERE "Kerry#" = '59740' |
### Instruction:
CREATE TABLE body_builder (
Body_Builder_ID int,
People_ID int,
Snatch real,
Clean_Jerk real,
Total real
)
CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Birth_Date text,
Birth_Place text
)
-- Using valid SQLite, answer the follo... | SELECT Body_Builder_ID, Snatch FROM body_builder |
### Instruction:
CREATE TABLE table_26602 (
"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.
-- Name the final score for exhibition stadiu... | SELECT "Final Score" FROM table_26602 WHERE "Location" = 'Exhibition Stadium' AND "Date" = 'September 10' |
### Instruction:
CREATE TABLE table_25804 (
"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 ... | SELECT "High points" FROM table_25804 WHERE "Team" = 'Pistons' |
### Instruction:
CREATE TABLE table_76194 (
"Team" text,
"Sets+" real,
"Sets\u2013" real,
"Points+" real,
"Points\u2013" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Points- when the Sets- is larger than 51?
### Respo... | SELECT COUNT("Points\u2013") FROM table_76194 WHERE "Sets\u2013" > '51' |
### Instruction:
CREATE TABLE table_34126 (
"Name" text,
"Number of sequences Number of sequences: ." text,
"Alignment Alignment: predicts an alignment , ." text,
"Structure Structure: predicts structure , ." text,
"Link" text
)
-- Using valid SQLite, answer the following questions for the tables ... | SELECT "Alignment Alignment: predicts an alignment , ." FROM table_34126 WHERE "Link" = 'linuxbinary' |
### Instruction:
CREATE TABLE table_name_24 (
date VARCHAR,
attendance VARCHAR,
opponent VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Dates have an Opponent of romford raiders, and a Result of won 7-3, and an Attendance lar... | SELECT COUNT(date) FROM table_name_24 WHERE opponent = "romford raiders" AND result = "won 7-3" AND attendance > 1 OFFSET 769 |
### Instruction:
CREATE TABLE table_27095 (
"Week" real,
"Date" text,
"Kickoff" text,
"Opponent" text,
"Final score" text,
"Team record" text,
"Game site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the fin... | SELECT "Final score" FROM table_27095 WHERE "Date" = 'Saturday, May 25' |
### Instruction:
CREATE TABLE table_train_20 (
"id" int,
"exercise_rehabilitation" bool,
"severe_sepsis" bool,
"active_infection" bool,
"mental_status" bool,
"functional_disability" bool,
"septic_shock" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the... | SELECT * FROM table_train_20 WHERE active_infection = 1 |
### Instruction:
CREATE TABLE table_56690 (
"Route Name" text,
"Direction" text,
"Termini" text,
"Junctions" text,
"Length" text,
"Population Area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the length of the route with junctions of u... | SELECT "Length" FROM table_56690 WHERE "Junctions" = 'ur 1472 sh 255' |
### Instruction:
CREATE TABLE table_33145 (
"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 away team scored 9.15 (69)... | SELECT "Away team" FROM table_33145 WHERE "Away team score" = '9.15 (69)' |
### Instruction:
CREATE TABLE table_36201 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points have a Game larger than 25, and an Opponent of dallas st... | SELECT AVG("Points") FROM table_36201 WHERE "Game" > '25' AND "Opponent" = 'dallas stars' |
### Instruction:
CREATE TABLE table_50202 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the home team score 1... | SELECT "Date" FROM table_50202 WHERE "Home team score" = '17.5 (107)' |
### Instruction:
CREATE TABLE table_38753 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was th... | SELECT COUNT("Crowd") FROM table_38753 WHERE "Home team" = 'melbourne' |
### Instruction:
CREATE TABLE table_57809 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent in the final with a clay surface at the Tournament o... | SELECT "Opponent in the final" FROM table_57809 WHERE "Surface" = 'clay' AND "Tournament" = 'lyneham' |
### Instruction:
CREATE TABLE table_21235 (
"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 ... | SELECT "High rebounds" FROM table_21235 WHERE "Date" = 'April 7' |
### Instruction:
CREATE TABLE table_35977 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Score of 6 4, and a Opponent of @ marlins had what record?
### Resp... | SELECT "Record" FROM table_35977 WHERE "Score" = '6–4' AND "Opponent" = '@ marlins' |
### Instruction:
CREATE TABLE table_17587 (
"Rank" real,
"Peak" text,
"Elevation (m)" real,
"Prominence (m)" real,
"Isolation (km)" real,
"Municipality" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the county with the p... | SELECT "County" FROM table_17587 WHERE "Peak" = 'Indre Russetind' |
### Instruction:
CREATE TABLE table_32241 (
"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's score ... | SELECT "Away team score" FROM table_32241 WHERE "Venue" = 'lake oval' |
### Instruction:
CREATE TABLE table_1341690_21 (
incumbent VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%?
### Response:
| SELECT COUNT(incumbent) FROM table_1341690_21 WHERE candidates = "Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%" |
### Instruction:
CREATE TABLE table_74014 (
"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.
-- Name the incumbent for matthew lyon (dr) anthony new (d... | SELECT "Incumbent" FROM table_74014 WHERE "Candidates" = 'Matthew Lyon (DR) Anthony New (DR)' |
### Instruction:
CREATE TABLE table_204_125 (
id number,
"state" text,
"type" text,
"name" text,
"title" text,
"royal house" text,
"from" text,
"to" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was the title for the ruler of the chines... | SELECT "title" FROM table_204_125 WHERE "state" = 'lu' |
### Instruction:
CREATE TABLE table_58908 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Weight of the Player with a Date of Birth of 1979-09-26?
... | SELECT "Weight" FROM table_58908 WHERE "Date of Birth" = '1979-09-26' |
### Instruction:
CREATE TABLE table_9143 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real,
"Scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the average Attendance rhat has the Opponent of dun... | SELECT AVG("Attendance") FROM table_9143 WHERE "Opponent" = 'dunfermline athletic' |
### Instruction:
CREATE TABLE table_4901 (
"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.
-- Who played a home team that scor... | SELECT "Away team" FROM table_4901 WHERE "Home team score" = '9.16 (70)' |
### Instruction:
CREATE TABLE table_1574 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT "Replaced by" FROM table_1574 WHERE "Outgoing manager" = 'Kent Nielsen' |
### Instruction:
CREATE TABLE table_25946 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many opponents were there... | SELECT COUNT("Opponent") FROM table_25946 WHERE "Record" = '3-2-2' |
### Instruction:
CREATE TABLE table_24060 (
"Episode No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Viewers (millions)" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes were written by K... | SELECT COUNT("Episode No.") FROM table_24060 WHERE "Written by" = 'Kirstie Falkous & John Regier' |
### Instruction:
CREATE TABLE table_11568 (
"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.
-- Which home team has a crowd lar... | SELECT "Home team" FROM table_11568 WHERE "Crowd" > '25,000' |
### Instruction:
CREATE TABLE table_46836 (
"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 ... | SELECT "Score" FROM table_46836 WHERE "Date" = 'january 26' |
### Instruction:
CREATE TABLE table_10301 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the result when extra is 4 x 100 m relay and the year is later than 1971?
### R... | SELECT "Result" FROM table_10301 WHERE "Extra" = '4 x 100 m relay' AND "Year" > '1971' |
### Instruction:
CREATE TABLE table_29734 (
"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 ... | SELECT COUNT("Game") FROM table_29734 WHERE "Date" = 'January 5' |
### Instruction:
CREATE TABLE table_35854 (
"Season" real,
"Overall" text,
"Slalom" text,
"Giant Slalom" text,
"Super G" text,
"Combined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Slalom has an overall of 25 in the 2009 season?
### ... | SELECT "Slalom" FROM table_35854 WHERE "Overall" = '25' AND "Season" = '2009' |
### Instruction:
CREATE TABLE table_51533 (
"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 did the home team at Bruns... | SELECT "Home team score" FROM table_51533 WHERE "Venue" = 'brunswick street oval' |
### Instruction:
CREATE TABLE table_31684 (
"Rank" real,
"Name" text,
"Confederation" text,
"Caps" real,
"Last" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which UEFA confederation member had a rank more than 17 and caps of 114?
### Response:
| SELECT "Name" FROM table_31684 WHERE "Rank" > '17' AND "Confederation" = 'uefa' AND "Caps" = '114' |
### Instruction:
CREATE TABLE table_22920 (
"Self-identification" text,
"Moldovan census" real,
"% Core Moldova" text,
"Transnistrian census" real,
"% Transnistria + Bender" text,
"Total" real,
"%" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... | SELECT "%" FROM table_22920 WHERE "% Core Moldova" = '4.36%' |
### Instruction:
CREATE TABLE table_21441 (
"1st throw" real,
"2nd throw" real,
"3rd throw" real,
"Equation" text,
"Result" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the equation is 8 9 + 8 9 + 8, what is the 2nd throw?
### Response:
| SELECT MIN("2nd throw") FROM table_21441 WHERE "Equation" = '8 × 9² + 8 × 9 + 8' |
### Instruction:
CREATE TABLE table_13409 (
"Overall points" text,
"100 m" text,
"400 m" text,
"110 m H" text,
"1500 m" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 110m H number when the overall points are 7835 (sb)?
### Response:
| SELECT "110 m H" FROM table_13409 WHERE "Overall points" = '7835 (sb)' |
### Instruction:
CREATE TABLE table_59246 (
"County" text,
"Precincts" text,
"E. Greenberg" text,
"G. Hager" text,
"T. Wyka" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Precincts has a G. Hager of 2,260 (15%)?
### Response:
| SELECT "Precincts" FROM table_59246 WHERE "G. Hager" = '2,260 (15%)' |
### Instruction:
CREATE TABLE table_204_147 (
id number,
"#" number,
"date" text,
"opponent" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" number,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- w... | SELECT "save" FROM table_204_147 GROUP BY "save" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_73982 (
"Episode" real,
"Title" text,
"Original Danish air date" text,
"Danish ratings (DR1)" real,
"Original UK air date" text,
"UK ratings (BBC Four)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is t... | SELECT "Original Danish air date" FROM table_73982 WHERE "Title" = 'Episode 17' |
### Instruction:
CREATE TABLE table_71220 (
"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 highest round for College of Nebraska if the Overall is u... | SELECT MAX("Round") FROM table_71220 WHERE "College" = 'nebraska' AND "Overall" < '190' |
### Instruction:
CREATE TABLE table_11701 (
"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 biggest crowd when... | SELECT MAX("Crowd") FROM table_11701 WHERE "Away team" = 'south melbourne' |
### Instruction:
CREATE TABLE table_204_197 (
id number,
"date" text,
"time" text,
"opponent#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in how many football games in 1993 ... | SELECT COUNT(*) FROM table_204_197 WHERE "result" >= 30 |
### Instruction:
CREATE TABLE table_39977 (
"Species" text,
"Indole" text,
"Methyl Red" text,
"Voges-Proskauer" text,
"Citrate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which species has a Voges-Proskauer reading of negative and an indole read... | SELECT "Species" FROM table_39977 WHERE "Voges-Proskauer" = 'negative' AND "Indole" = 'negative' |
### Instruction:
CREATE TABLE table_64681 (
"Outcome" text,
"Year" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had a score of 4 6, 7 6, 7 5?
### Respon... | SELECT "Year" FROM table_64681 WHERE "Score" = '4–6, 7–6, 7–5' |
### Instruction:
CREATE TABLE table_14702 (
"Name" text,
"Country" text,
"Loan Club" text,
"Started" text,
"Ended" text,
"Start Source" text,
"End Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Loan Club from Eng that end... | SELECT "Loan Club" FROM table_14702 WHERE "Country" = 'eng' AND "Ended" = '22 february' |
### Instruction:
CREATE TABLE table_68386 (
"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.
-- What was the average attendance on 18 October 2... | SELECT AVG("Attendance") FROM table_68386 WHERE "Date" = '18 october 2000' |
### Instruction:
CREATE TABLE table_204_420 (
id number,
"month" text,
"song" text,
"artist" text,
"aggregate points" number,
"total downloads" number,
"year-end chart" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was there more download... | SELECT "month" FROM table_204_420 WHERE "month" IN (5, 10) ORDER BY "total downloads" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_name_45 (
percentage_democrats VARCHAR,
democratic_seat_plurality VARCHAR,
democratic__republican VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage democrats with democratic plurality of -3, and 2/5... | SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5" |
### Instruction:
CREATE TABLE table_43900 (
"Week" real,
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Opponent is At Saskatchewan Rou... | SELECT "Date" FROM table_43900 WHERE "Opponent" = 'at saskatchewan roughriders' |
### Instruction:
CREATE TABLE table_44285 (
"Date" text,
"Round" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- hat is the Result F A when they played against Leeds Uni... | SELECT "Result F \u2013 A" FROM table_44285 WHERE "Opponents" = 'leeds united' |
### Instruction:
CREATE TABLE table_78409 (
"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 away team scored 9.18 (72)... | SELECT "Away team" FROM table_78409 WHERE "Away team score" = '9.18 (72)' |
### Instruction:
CREATE TABLE table_7943 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Place, when Score is '75-71-72-70=288'?
### Response:
| SELECT "Place" FROM table_7943 WHERE "Score" = '75-71-72-70=288' |
### Instruction:
CREATE TABLE table_6415 (
"Rank" real,
"Airport" text,
"Code (IATA/ICAO)" text,
"Total Cargo (Metric Tonnes)" real,
"% Change" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank for the airport with a code of HK... | SELECT MAX("Rank") FROM table_6415 WHERE "Code (IATA/ICAO)" = 'hkg/vhhh' |
### Instruction:
CREATE TABLE table_31885 (
"Tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the 2011 tournament of monte carlo masters
### Response:
| SELECT "2011" FROM table_31885 WHERE "Tournament" = 'monte carlo masters' |
### Instruction:
CREATE TABLE table_204_20 (
id number,
"represent" text,
"contestant" text,
"age" number,
"height" text,
"hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which delegate is older : the delegate for izabal or the one from... | SELECT "hometown" FROM table_204_20 WHERE "hometown" IN ('izabal', 'jalapa') ORDER BY "age" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_71753 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 1st Member has an election in 1859 and a conservative 2nd Party?
... | SELECT "1st Member" FROM table_71753 WHERE "2nd Party" = 'conservative' AND "Election" = '1859' |
### Instruction:
CREATE TABLE table_32920 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result when he went 1 round against jer... | SELECT "Res." FROM table_32920 WHERE "Round" = '1' AND "Opponent" = 'jeremy beck' |
### Instruction:
CREATE TABLE table_58337 (
"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 home team at the game when the Thrash... | SELECT "Home" FROM table_58337 WHERE "Record" = '18–18–1' |
### Instruction:
CREATE TABLE table_66408 (
"Title" text,
"Series" text,
"Director" text,
"Production Number" real,
"Release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title was directed by chuck jones and released on 1958-04-12?
#... | SELECT "Title" FROM table_66408 WHERE "Director" = 'chuck jones' AND "Release date" = '1958-04-12' |
### Instruction:
CREATE TABLE table_44920 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue for the dates 1,2,3,4,6,7 jan 1908?
### Response:
| SELECT "Venue" FROM table_44920 WHERE "Date" = '1,2,3,4,6,7 jan 1908' |
### Instruction:
CREATE TABLE table_name_98 (
attendance INTEGER,
points_for VARCHAR,
first_downs VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, an... | SELECT SUM(attendance) FROM table_name_98 WHERE first_downs < 26 AND opponent = "los angeles rams" AND points_for > 28 |
### Instruction:
CREATE TABLE table_54729 (
"Club" text,
"Wins" real,
"Runners-up" real,
"Years won" text,
"Years runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years runner-up is Birmingham city, with over 1 runners-up?
### Respon... | SELECT "Years runner-up" FROM table_54729 WHERE "Runners-up" > '1' AND "Club" = 'birmingham city' |
### Instruction:
CREATE TABLE table_28473 (
"Character" text,
"Played by" text,
"Season 1" real,
"Season 2" real,
"Season 3" real,
"Season 4" real,
"First Appearance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many season 3 appearanc... | SELECT MAX("Season 3") FROM table_28473 WHERE "Played by" = 'Morgan the Dog' |
### Instruction:
CREATE TABLE table_name_84 (
year INTEGER,
entrant VARCHAR,
points VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year with less than 2 points, a Mclaren m28 chassis and an Entrant of l wenbr u tea... | SELECT MAX(year) FROM table_name_84 WHERE points < 2 AND chassis = "mclaren m28" AND entrant = "löwenbräu team mclaren" |
### Instruction:
CREATE TABLE table_58486 (
"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.
-- Who was the leading scorer on November 2, 2... | SELECT "Leading scorer" FROM table_58486 WHERE "Date" = 'november 2, 2007' |
### Instruction:
CREATE TABLE table_63054 (
"Rank" real,
"Lane" real,
"Athlete" text,
"Country" text,
"Time" real,
"React" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average react of athlete muna lee, who is ranked greater than 3... | SELECT AVG("React") FROM table_63054 WHERE "Athlete" = 'muna lee' AND "Rank" > '3' |
### Instruction:
CREATE TABLE table_48373 (
"Season" real,
"Team 1" text,
"Score" text,
"Team 2" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue of the match where the score was 1:3 and team 2 was binh duong?
### Re... | SELECT "Venue" FROM table_48373 WHERE "Score" = '1:3' AND "Team 2" = 'binh duong' |
### Instruction:
CREATE TABLE table_24881 (
"No. in series" real,
"No. in 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.
-- Which ser... | SELECT COUNT("No. in series") FROM table_24881 WHERE "Production code" = '7.07' |
### Instruction:
CREATE TABLE table_66205 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what time did the opponent Taka... | SELECT "Time" FROM table_66205 WHERE "Opponent" = 'takaichi hirayama' |
### Instruction:
CREATE TABLE table_203_562 (
id number,
"state" text,
"no. of candidates" number,
"no. of elected" number,
"total no. of seats in assembly" number,
"year of election" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what state c... | SELECT "state" FROM table_203_562 WHERE id = (SELECT id FROM table_203_562 WHERE "state" = 'kerala') + 1 |
### Instruction:
CREATE TABLE table_16346 (
"League" text,
"Sport" text,
"Country" text,
"Season" text,
"Games" real,
"Average attendance" real,
"Total attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total attendance of... | SELECT COUNT("Total attendance") FROM table_16346 WHERE "Season" = '2010' |
### Instruction:
CREATE TABLE table_25881 (
"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 ... | SELECT "High rebounds" FROM table_25881 WHERE "Game" = '29' |
### Instruction:
CREATE TABLE table_15530244_2 (
race INTEGER,
pole_position VARCHAR,
circuit VARCHAR,
winning_driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest race number in the Phillip Island circuit with James Winslow as t... | SELECT MAX(race) FROM table_15530244_2 WHERE circuit = "Phillip Island" AND winning_driver = "James Winslow" AND pole_position = "James Winslow" |
### Instruction:
CREATE TABLE table_32597 (
"Rank" real,
"Player" text,
"Nation" text,
"Assist" real,
"Games" real,
"Years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year or years did a team win 174 games and had an assist number less... | SELECT "Years" FROM table_32597 WHERE "Assist" < '17' AND "Games" = '174' |
### Instruction:
CREATE TABLE table_45366 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in a week below 14 on October 10, 1993?
### Response:
| SELECT "Opponent" FROM table_45366 WHERE "Week" < '14' AND "Date" = 'october 10, 1993' |
### Instruction:
CREATE TABLE table_35646 (
"Date" text,
"Site" text,
"Sport" text,
"Winning team" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Site has a Date of march 17, 2006 and an iowa state Winning team?
### Response:
| SELECT "Site" FROM table_35646 WHERE "Date" = 'march 17, 2006' AND "Winning team" = 'iowa state' |
### Instruction:
CREATE TABLE table_50420 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TITLE THAT HAS A RANK BIGGER THAN 10, FOR DIRECTOR WALTER HILL?
### Response:... | SELECT "Title" FROM table_50420 WHERE "Rank" > '10' AND "Director" = 'walter hill' |
### Instruction:
CREATE TABLE table_31050 (
"No. in series" real,
"No. in 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 ... | SELECT COUNT("Title") FROM table_31050 WHERE "Production code" = 'IP04004' |
### Instruction:
CREATE TABLE table_72158 (
"No." real,
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date were the runner up... | SELECT "Date" FROM table_72158 WHERE "Runner(s)-up" = 'Pat Hurst Juli Inkster' |
### Instruction:
CREATE TABLE table_28795 (
"Episode" real,
"Title" text,
"Writer" text,
"Director" text,
"Original airdate" text,
"Ratings (Kanto)" text,
"Ratings (Kansai)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the writer wi... | SELECT "Writer" FROM table_28795 WHERE "Ratings (Kanto)" = '14.8' |
### Instruction:
CREATE TABLE table_70707 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which co-driver was part of team Martini Lancia earlier than 1986?
... | SELECT "Co-Drivers" FROM table_70707 WHERE "Year" < '1986' AND "Team" = 'martini lancia' |
### Instruction:
CREATE TABLE table_6250 (
"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 "Team" FROM table_6250 WHERE "Date" = 'february 1' |
### Instruction:
CREATE TABLE table_28012 (
"Episode #" real,
"The W\u00f8rd" text,
"Guest" text,
"Introductory phrase" text,
"Original airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode ori... | SELECT "Original airdate" FROM table_28012 WHERE "Guest" = 'Salvatore Giunta' |
### Instruction:
CREATE TABLE table_32052 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the surfac... | SELECT "Surface" FROM table_32052 WHERE "Date" = '16 april 2007' |
### Instruction:
CREATE TABLE table_203_676 (
id number,
"pick #" number,
"cfl team" text,
"player" text,
"position" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- andrew carter was picked after who ?
### Response:
| SELECT "player" FROM table_203_676 WHERE "pick #" = (SELECT "pick #" FROM table_203_676 WHERE "player" = 'andrew carter') - 1 |
### Instruction:
CREATE TABLE table_36 (
"Calls" text,
"Frequency" text,
"Branding" text,
"Format" text,
"Market/Rank" text,
"Timeslot" text,
"Group owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Branding for Group Owner Q... | SELECT "Branding" FROM table_36 WHERE "Group owner" = 'Qantam of Cape Cod, LLC' |
### Instruction:
CREATE TABLE table_29265 (
"No. in series" text,
"No. in season" text,
"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 was ... | SELECT "Title" FROM table_29265 WHERE "Production code" = '404a' |
### Instruction:
CREATE TABLE table_8296 (
"Player" text,
"Wkts" real,
"Runs" real,
"Econ" real,
"Ovrs" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Wkts, when Player is Beau Casson, and when Ovrs is greater than 32?
### Resp... | SELECT AVG("Wkts") FROM table_8296 WHERE "Player" = 'beau casson' AND "Ovrs" > '32' |
### Instruction:
CREATE TABLE table_10114 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game site has a Week bigger than 13, and a Result of l 20 0... | SELECT "Game site" FROM table_10114 WHERE "Week" > '13' AND "Result" = 'l 20–0' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.