instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_22361 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... | SELECT "Original air date" FROM table_22361 WHERE "Title" = 'Training Video' |
### Instruction:
CREATE TABLE table_72866 (
"Fin. Pos" real,
"Car No." real,
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Laps Led" real,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the... | SELECT "Team" FROM table_72866 WHERE "Driver" = 'Darren Manning' |
### Instruction:
CREATE TABLE table_34060 (
"Pos." real,
"Matches" real,
"Wins" real,
"Loses" real,
"Results" text,
"Points" real,
"Diff." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wins of 3, and a Pos. larger than 3 is what average los... | SELECT AVG("Loses") FROM table_34060 WHERE "Wins" = '3' AND "Pos." > '3' |
### Instruction:
CREATE TABLE table_1776 (
"Parish ( Prestegjeld )" text,
"Sub-Parish (Sokn)" text,
"Church Name" text,
"Year Built" real,
"Location of the Church" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number for sub parish s... | SELECT COUNT("Sub-Parish (Sokn)") FROM table_1776 WHERE "Year Built" = '1865' |
### Instruction:
CREATE TABLE table_train_31 (
"id" int,
"allergy_to_insulin" bool,
"active_infection" bool,
"periodic_paralysis" bool,
"receiving_continuous_intravenous_inotropic_support" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tabl... | SELECT * FROM table_train_31 WHERE age >= 18 |
### Instruction:
CREATE TABLE table_32495 (
"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 was the home team of the ga... | SELECT "Home team score" FROM table_32495 WHERE "Away team" = 'footscray' |
### Instruction:
CREATE TABLE table_52066 (
"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 is the Away Team Score of ... | SELECT "Away team score" FROM table_52066 WHERE "Away team" = 'collingwood' |
### Instruction:
CREATE TABLE table_56805 (
"Team" text,
"Games Played" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Goals For" real,
"Goals Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest Goals For by a team t... | SELECT MAX("Goals For") FROM table_56805 WHERE "Ties" > '0' |
### Instruction:
CREATE TABLE table_58906 (
"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 Height of the Player with a Date of Birth of 1979-06-12?
... | SELECT "Height" FROM table_58906 WHERE "Date of Birth" = '1979-06-12' |
### Instruction:
CREATE TABLE table_1127 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number... | SELECT COUNT("Played") FROM table_1127 WHERE "Scored" = '16' |
### Instruction:
CREATE TABLE table_74932 (
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text,
"Winning manufacturer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ... | SELECT "Fastest Lap" FROM table_74932 WHERE "Circuit" = 'le mans bugatti' |
### Instruction:
CREATE TABLE table_76007 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Rebounds" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of Games for the Maccabi Tel Aviv Team with less than 208 Rebounds?
### R... | SELECT AVG("Games") FROM table_76007 WHERE "Team" = 'maccabi tel aviv' AND "Rebounds" < '208' |
### Instruction:
CREATE TABLE table_37143 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Events have Earnings ($) of 2,054,334?
### Response:
| SELECT COUNT("Events") FROM table_37143 WHERE "Earnings ( $ )" = '2,054,334' |
### Instruction:
CREATE TABLE table_26670 (
"Institution" text,
"Nickname" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real,
"Left" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the number of loc... | SELECT COUNT("Location") FROM table_26670 WHERE "Nickname" = 'Billikens' |
### Instruction:
CREATE TABLE table_78115 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Rams points" real,
"Opponents" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendanc... | SELECT MIN("Attendance") FROM table_78115 WHERE "Record" = '8-4' |
### Instruction:
CREATE TABLE table_35742 (
"Name" text,
"Location" text,
"State" text,
"Opened (closing date if defunct)" text,
"Surface" text,
"Length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What State has an Opened (closing date if de... | SELECT "State" FROM table_35742 WHERE "Opened (closing date if defunct)" = '1960' |
### Instruction:
CREATE TABLE table_65851 (
"Year" text,
"Location" text,
"Number of teams" text,
"Player of the tournament" text,
"Top goalscorer(s)" text,
"Best goalkeeper" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of... | SELECT "Location" FROM table_65851 WHERE "Best goalkeeper" = '164 (8.2)' |
### Instruction:
CREATE TABLE table_11774 (
"Team" text,
"Games Played" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Goals For" real,
"Goals Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of Goals For for Games... | SELECT SUM("Goals For") FROM table_11774 WHERE "Games Played" > '8' |
### Instruction:
CREATE TABLE table_75103 (
"Cap Number" real,
"Date" text,
"Position" text,
"Shirt Number" real,
"Home or Away" text,
"Venue" text,
"Result" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the largest... | SELECT MAX("Shirt Number") FROM table_75103 WHERE "Cap Number" = '5' |
### Instruction:
CREATE TABLE table_49008 (
"Rank" text,
"Team" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Run 4" text,
"Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Final, when Run 3 is 1:57.41?
### Response:
| SELECT "Final" FROM table_49008 WHERE "Run 3" = '1:57.41' |
### Instruction:
CREATE TABLE table_20711 (
"Number in series" real,
"Broadcast Order" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text,
"Production Code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who d... | SELECT "Directed by" FROM table_20711 WHERE "Broadcast Order" = 'S02 E08' |
### Instruction:
CREATE TABLE table_48572 (
"Position" real,
"Driver / Passenger" text,
"Equipment" text,
"Bike No" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Position, when Bike No is greater than 8, and when ... | SELECT AVG("Position") FROM table_48572 WHERE "Bike No" > '8' AND "Points" < '240' |
### Instruction:
CREATE TABLE table_59727 (
"Name (year commissioned)" text,
"Owner/operator" text,
"Length" text,
"Maximum diameter" text,
"From/to" text,
"Licence number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the owner/operator... | SELECT "Owner/operator" FROM table_59727 WHERE "From/to" = 'kambalda to esperance' |
### Instruction:
CREATE TABLE table_75772 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Against whe... | SELECT MIN("Against") FROM table_75772 WHERE "Played" > '10' |
### Instruction:
CREATE TABLE table_29584 (
"Represent" real,
"Contestant" text,
"Age" real,
"Sizes" text,
"Height" text,
"Hometown" text,
"Agency" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who are the participants that wear clothing in... | SELECT "Contestant" FROM table_29584 WHERE "Sizes" = '33-23-36' |
### Instruction:
CREATE TABLE table_30031 (
"Series #" real,
"Season #" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the... | SELECT "Title" FROM table_30031 WHERE "Season #" = '11' |
### Instruction:
CREATE TABLE table_10372 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner of the game in 1999 with Kansas City Chiefs as the los... | SELECT "Winner" FROM table_10372 WHERE "Year" = '1999' AND "Loser" = 'kansas city chiefs' |
### Instruction:
CREATE TABLE table_name_28 (
current_club VARCHAR,
player VARCHAR,
first_team_appearances VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the club that has ongoing first-team appearances, a midfie... | SELECT current_club FROM table_name_28 WHERE first_team_appearances = "ongoing" AND position = "midfielder" AND player = "samir carruthers" |
### Instruction:
CREATE TABLE table_21516 (
"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 "Location Attendance" FROM table_21516 WHERE "Date" = 'April 5' |
### Instruction:
CREATE TABLE table_66022 (
"Peak" text,
"Country" text,
"Elevation (m)" real,
"Prominence (m)" real,
"Col (m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Elevation (m) has a Prominence (m) larger than 1,754?
### Respo... | SELECT SUM("Elevation (m)") FROM table_66022 WHERE "Prominence (m)" > '1,754' |
### Instruction:
CREATE TABLE table_31977 (
"Candidate" text,
"Party" text,
"Constituency" text,
"Year" text,
"Days" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the number of days in 1945 where the constituent was heywood and radcliffe?
... | SELECT "Days" FROM table_31977 WHERE "Year" = '1945' AND "Constituency" = 'heywood and radcliffe' |
### Instruction:
CREATE TABLE table_37894 (
"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.
-- Which ERP W is the lowest one that has a Frequency ... | SELECT MIN("ERP W") FROM table_37894 WHERE "Frequency MHz" = '91.3' |
### Instruction:
CREATE TABLE table_36831 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Venue" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance for weeks prior to 5 when ... | SELECT "Attendance" FROM table_36831 WHERE "Week" < '5' AND "Date" = 'no game scheduled' |
### Instruction:
CREATE TABLE table_3142 (
"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.
-- How many final sc... | SELECT COUNT("Final score") FROM table_3142 WHERE "Game site" = 'Amsterdam ArenA' |
### Instruction:
CREATE TABLE table_73855 (
"Season" real,
"Series" text,
"Team" text,
"Car No." real,
"Races" real,
"Poles" real,
"Wins" real,
"FLaps" real,
"Points" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... | SELECT "Series" FROM table_73855 WHERE "Points" = '68' |
### Instruction:
CREATE TABLE table_72248 (
"#" real,
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the... | SELECT "Score" FROM table_72248 WHERE "Record" = '0–2' |
### Instruction:
CREATE TABLE table_70681 (
"Application" text,
"Expected Speed Up\u2020" text,
"GPU\u2021" text,
"Multi-GPU Support" text,
"Release Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the expected speed up of the gpu-hmme... | SELECT "Expected Speed Up\u2020" FROM table_70681 WHERE "Application" = 'gpu-hmmer' |
### Instruction:
CREATE TABLE table_2871 (
"Year" real,
"Title of Drama" text,
"Name of Role" text,
"Nature of Role" text,
"Co-Artists" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is every co-artist with name of role as A... | SELECT "Co-Artists" FROM table_2871 WHERE "Name of Role" = 'Ah-Zhong 阿忠' |
### Instruction:
CREATE TABLE table_31513 (
"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.
-- What is the acreage of the Maghereen in the civil parish of Macroo... | SELECT COUNT("Area( acres )") FROM table_31513 WHERE "Civil parish" = 'Macroom' AND "Townland" = 'Maghereen' |
### Instruction:
CREATE TABLE table_name_82 (
athlete VARCHAR,
nationality VARCHAR,
group VARCHAR,
rank VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which athlete's rank is more than 15 when the result is less than 7.68, the gro... | SELECT athlete FROM table_name_82 WHERE rank > 15 AND result < 7.68 AND group = "b" AND nationality = "great britain" |
### Instruction:
CREATE TABLE table_1342013_41 (
incumbent VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the incumbent candidate in the election of percy priest (d) 90.8% robert m. donihi (r) 9.2%?
### Response:
| SELECT incumbent FROM table_1342013_41 WHERE candidates = "Percy Priest (D) 90.8% Robert M. Donihi (R) 9.2%" |
### Instruction:
CREATE TABLE table_3992 (
"No. in series" text,
"No. in season" text,
"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 episo... | SELECT "No. in series" FROM table_3992 WHERE "No. in season" = '17' |
### Instruction:
CREATE TABLE table_4962 (
"Date" real,
"Opponent" text,
"Result" text,
"Odds" text,
"Location" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for a game with the odds of p + 2 after 1847?
### R... | SELECT "Score" FROM table_4962 WHERE "Odds" = 'p + 2' AND "Date" > '1847' |
### Instruction:
CREATE TABLE table_59189 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has t6 as the place, with seve ballesteros as th... | SELECT "Country" FROM table_59189 WHERE "Place" = 't6' AND "Player" = 'seve ballesteros' |
### Instruction:
CREATE TABLE table_77152 (
"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 average round of the player from the college of baylor with... | SELECT AVG("Round") FROM table_77152 WHERE "College" = 'baylor' AND "Pick" < '28' |
### Instruction:
CREATE TABLE table_45183 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition has stuart pott... | SELECT "Competition" FROM table_45183 WHERE "Man of the Match" = 'stuart potts' |
### Instruction:
CREATE TABLE table_6555 (
"Task No." real,
"Day announced" text,
"Options" text,
"Viewers' selection" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was it announced that the viewers selected robi out of alex, ej... | SELECT "Day announced" FROM table_6555 WHERE "Viewers' selection" = 'robi' AND "Options" = 'alex, ejay, nan, robi' |
### Instruction:
CREATE TABLE table_204_698 (
id number,
"name" text,
"lifetime" text,
"nationality" text,
"notable as" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the previous name from lupe valdez
### Response:
| SELECT "name" FROM table_204_698 WHERE id = (SELECT id FROM table_204_698 WHERE "name" = 'lupe valdez') - 1 |
### Instruction:
CREATE TABLE table_203_757 (
id number,
"year" number,
"award ceremony" text,
"category" text,
"film/show" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last award ceremony on the film/show sarabhai ... | SELECT "award ceremony" FROM table_203_757 WHERE "film/show" = 'sarabhai vs sarabhai' ORDER BY id DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_39408 (
"Eviction No." real,
"Nominee" text,
"Vote to Save" text,
"Vote to Evict" text,
"Net vote" text,
"Eviction result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Eviction result has a Net vote of... | SELECT "Eviction result" FROM table_39408 WHERE "Net vote" = '31.86%' |
### Instruction:
CREATE TABLE table_name_95 (
semifinalists VARCHAR,
surface VARCHAR,
winner_and_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Semifinalists have a Surface of hard, and a Winner and score of pete sampras 6 3, 3 6, 6 3?
### ... | SELECT semifinalists FROM table_name_95 WHERE surface = "hard" AND winner_and_score = "pete sampras 6–3, 3–6, 6–3" |
### Instruction:
CREATE TABLE table_name_45 (
snatch INTEGER,
total__kg_ VARCHAR,
clean_ VARCHAR,
_jerk VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE SNATCH WITH TOTAL KG SMALLER THAN 318, AND CLEAN JERK LARGER THAN 175?
### Response:
| SELECT MIN(snatch) FROM table_name_45 WHERE total__kg_ < 318 AND clean_ & _jerk > 175 |
### Instruction:
CREATE TABLE table_62046 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the venue is away and the opponents are the bracknell bees, what is the competit... | SELECT "Competition" FROM table_62046 WHERE "Venue" = 'away' AND "Opponent" = 'bracknell bees' |
### Instruction:
CREATE TABLE table_52280 (
"Years" text,
"Winners" text,
"Runners-Up" text,
"Score" text,
"Third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner in the competition in which Lyn took third place and Lillestr m was ... | SELECT "Winners" FROM table_52280 WHERE "Runners-Up" = 'lillestrøm' AND "Third" = 'lyn' |
### Instruction:
CREATE TABLE table_52786 (
"Tournament" text,
"Winner" text,
"Runner-up" text,
"Score" text,
"Third Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the runner up when the score was 3 6, 6 3, [10 4]?
### Response:
| SELECT "Runner-up" FROM table_52786 WHERE "Score" = '3–6, 6–3, [10–4]' |
### Instruction:
CREATE TABLE table_42914 (
"m\u00e5cha" text,
"indicative" text,
"imperative" text,
"subjunctive" text,
"inverse subjunctive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What subjunctive also has an inverse subjunctive of m chadn... | SELECT "subjunctive" FROM table_42914 WHERE "inverse subjunctive" = 'måchadns' |
### Instruction:
CREATE TABLE table_69101 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which loss has an Opponent of @ angels, and a Date of august 1?
###... | SELECT "Loss" FROM table_69101 WHERE "Opponent" = '@ angels' AND "Date" = 'august 1' |
### Instruction:
CREATE TABLE table_50648 (
"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 AVG("Game") FROM table_50648 WHERE "Date" = 'december 8' |
### Instruction:
CREATE TABLE table_59054 (
"Parish (Prestegjeld)" text,
"Sub-Parish (Sokn)" text,
"Church Name" text,
"Year Built" text,
"Location of the Church" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which parish has a church named Vangsne... | SELECT "Parish (Prestegjeld)" FROM table_59054 WHERE "Church Name" = 'vangsnes kyrkje' |
### Instruction:
CREATE TABLE table_19157 (
"High School" text,
"Type" text,
"Established" real,
"Enrollment" real,
"Mascot" text,
"WIAA Classification" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the note about the s... | SELECT "Notes" FROM table_19157 WHERE "Established" = '1973' |
### Instruction:
CREATE TABLE table_16134 (
"Sepal length" text,
"Sepal width" text,
"Petal length" text,
"Petal width" text,
"Species" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the species when petal width is 2.0 and petal length is 4.9
... | SELECT "Species" FROM table_16134 WHERE "Petal width" = '2.0' AND "Petal length" = '4.9' |
### Instruction:
CREATE TABLE table_72563 (
"Rank" text,
"Common of" text,
"Population" real,
"Area (km 2 )" text,
"Density (inhabitants/km 2 )" text,
"Altitude (mslm)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How may population figures ar... | SELECT COUNT("Population") FROM table_72563 WHERE "Common of" = 'Settimo Torinese' |
### Instruction:
CREATE TABLE table_31207 (
"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("High points") FROM table_31207 WHERE "Team" = 'UMass' |
### Instruction:
CREATE TABLE table_67337 (
"Call sign" text,
"Frequency MHz" text,
"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 name of call sign that uses a Frequency... | SELECT "Call sign" FROM table_67337 WHERE "Frequency MHz" = '91.1 fm' |
### Instruction:
CREATE TABLE race (
race_id number,
name text,
class text,
date text,
track_id text
)
CREATE TABLE track (
track_id number,
name text,
location text,
seating number,
year_opened number
)
-- Using valid SQLite, answer the following questions for the tables prov... | SELECT name, seating FROM track WHERE year_opened > 2000 ORDER BY seating |
### Instruction:
CREATE TABLE table_dev_35 (
"id" int,
"white_blood_cell_count_wbc" int,
"platelets" int,
"neutrophil_count" int,
"serum_creatinine" float,
"albumin" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- neutrophil c... | SELECT * FROM table_dev_35 WHERE neutrophil_count >= 1500 |
### Instruction:
CREATE TABLE table_204_88 (
id number,
"year" number,
"english title" text,
"japanese" text,
"romanization" text,
"type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which title is listed next after the way to fight ?
### Re... | SELECT "english title" FROM table_204_88 WHERE id = (SELECT id FROM table_204_88 WHERE "english title" = 'the way to fight') + 1 |
### Instruction:
CREATE TABLE table_24008 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Hurricanes points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record after the game in w... | SELECT "Record" FROM table_24008 WHERE "Hurricanes points" = '24' |
### Instruction:
CREATE TABLE table_58907 (
"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 Height of the Player with a Date of Birth of 1982-07-05?
... | SELECT "Height" FROM table_58907 WHERE "Date of Birth" = '1982-07-05' |
### Instruction:
CREATE TABLE table_10700 (
"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.
-- How many people were in attendance for the ... | SELECT SUM("Attendance") FROM table_10700 WHERE "Score" = '98–111' |
### Instruction:
CREATE TABLE table_72195 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the title where original air d... | SELECT "Title" FROM table_72195 WHERE "Original air date" = 'January18,2009' |
### Instruction:
CREATE TABLE table_55945 (
"Year" real,
"Title" text,
"Role" text,
"Studio" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director for To Have and Have Not, earlier than 1945 with WB studio?
### Respo... | SELECT "Director" FROM table_55945 WHERE "Studio" = 'wb' AND "Year" < '1945' AND "Title" = 'to have and have not' |
### Instruction:
CREATE TABLE table_56963 (
"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 is the name of the venue t... | SELECT "Venue" FROM table_56963 WHERE "Away team" = 'footscray' |
### Instruction:
CREATE TABLE table_51936 (
"Club" text,
"Sport" text,
"League" text,
"Venue" text,
"Established" real,
"Championships" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which WNBA team that won at least 2 championships was establis... | SELECT MAX("Established") FROM table_51936 WHERE "League" = 'wnba' AND "Championships" > '2' |
### Instruction:
CREATE TABLE table_name_13 (
close_of_reactor VARCHAR,
rated_power VARCHAR,
finish_construction VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the reactor that has a rated power of 945 MW and ended construction on May 10, 1978 c... | SELECT close_of_reactor FROM table_name_13 WHERE rated_power = "945 mw" AND finish_construction = "may 10, 1978" |
### Instruction:
CREATE TABLE table_48093 (
"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.
-- Which Opponent has an Event of jun... | SELECT "Opponent" FROM table_48093 WHERE "Event" = 'jungle fight 5' |
### Instruction:
CREATE TABLE table_70024 (
"Season" real,
"Host" text,
"Winners" text,
"Score" text,
"Runners-up" text,
"Third place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the third place of the performance in 2006 with the ho... | SELECT "Third place" FROM table_70024 WHERE "Host" = 'japan' AND "Season" < '2006' |
### Instruction:
CREATE TABLE table_6977 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponents in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of surface was used for the game played... | SELECT "Surface" FROM table_6977 WHERE "Date" = 'september 20, 1993' |
### Instruction:
CREATE TABLE table_name_92 (
congress VARCHAR,
_number_of_cosponsors VARCHAR,
date_introduced VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Congress had less than 23 cosponsors and had June 30, 2005 as the date of introduction of t... | SELECT congress FROM table_name_92 WHERE _number_of_cosponsors < 23 AND date_introduced = "june 30, 2005" |
### Instruction:
CREATE TABLE table_17481 (
"Season" text,
"Winner" text,
"Runner-up" text,
"Third" text,
"Winner Men" text,
"Winner Women" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winner women and third is italy and runner-up ... | SELECT "Winner Women" FROM table_17481 WHERE "Third" = 'Italy' AND "Runner-up" = 'Finland' |
### Instruction:
CREATE TABLE team (
name VARCHAR,
team_id VARCHAR
)
CREATE TABLE salary (
team_id VARCHAR,
salary INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the name and id of the team offering the lowest average salary?
### Response... | SELECT T1.name, T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY AVG(T2.salary) LIMIT 1 |
### Instruction:
CREATE TABLE table_49966 (
"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 round did the match go to when the event was B... | SELECT "Round" FROM table_49966 WHERE "Event" = 'bars - moscow vs st. petersburg' |
### Instruction:
CREATE TABLE table_71871 (
"Year" text,
"xDSL" text,
"Cable" text,
"FTTx" text,
"Other" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the xDSL for the other of 0.6% and FTTx of 35.4%?
### Response:
| SELECT "xDSL" FROM table_71871 WHERE "Other" = '0.6%' AND "FTTx" = '35.4%' |
### Instruction:
CREATE TABLE table_28934 (
"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.
-- When was the incumbent first elected in the district wh... | SELECT "First elected" FROM table_28934 WHERE "Result" = 'Democratic-Republican gain' |
### Instruction:
CREATE TABLE table_10161 (
"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 home team's score ... | SELECT "Home team score" FROM table_10161 WHERE "Away team" = 'north melbourne' |
### Instruction:
CREATE TABLE table_61028 (
"Round" text,
"Date" text,
"Fixtures" real,
"Clubs" text,
"New entries this round" text,
"Prize money" text,
"Player of the Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the prize m... | SELECT "Prize money" FROM table_61028 WHERE "Round" = 'second round qualifying' |
### Instruction:
CREATE TABLE table_20320 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by:" text,
"Written by:" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which titles were directed by George Blair an... | SELECT "Title" FROM table_20320 WHERE "Directed by:" = 'George Blair' AND "Written by:" = 'Jackson Gillis' |
### Instruction:
CREATE TABLE table_34286 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the 1936 summer Olympics what was the date of a match that ended with a score of 6-1?... | SELECT "Date" FROM table_34286 WHERE "Competition" = '1936 summer olympics' AND "Score" = '6-1' |
### Instruction:
CREATE TABLE table_204_513 (
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.
-- was duke at 2:00 pm or 1:00 pm ?
... | SELECT "time" FROM table_204_513 WHERE "opponent#" = 'duke' |
### Instruction:
CREATE TABLE table_16223 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Stadium" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the minimum attendance on December 7, 1... | SELECT MIN("Attendance") FROM table_16223 WHERE "Date" = 'December 7, 1969' |
### Instruction:
CREATE TABLE table_50624 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in Final" text,
"Score in Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Final Score on February 24, 2002?
... | SELECT "Score in Final" FROM table_50624 WHERE "Date" = 'february 24, 2002' |
### Instruction:
CREATE TABLE table_43149 (
"Date" text,
"Tournament" text,
"Location" text,
"Home team" text,
"Score" text,
"Away team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of 11 April 2013 and Mexico Home team?
... | SELECT "Location" FROM table_43149 WHERE "Home team" = 'mexico' AND "Date" = '11 april 2013' |
### Instruction:
CREATE TABLE table_54701 (
"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 did a home team score 4.12... | SELECT "Date" FROM table_54701 WHERE "Home team score" = '4.12 (36)' |
### Instruction:
CREATE TABLE table_17013 (
"Institution" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Nickname" text,
"Joined" real,
"Left" real,
"Current Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... | SELECT COUNT("Left") FROM table_17013 WHERE "Institution" = 'Anderson University' |
### Instruction:
CREATE TABLE table_17658 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Total viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How man... | SELECT COUNT("Total viewers (in millions)") FROM table_17658 WHERE "Series #" = '57' |
### Instruction:
CREATE TABLE table_25037 (
"Year" text,
"Network" text,
"Play-by-play" text,
"Color commentator(s)" text,
"Ice level reporters" text,
"Studio host" text,
"Studio analysts" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who i... | SELECT "Studio host" FROM table_25037 WHERE "Year" = '2010' |
### 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.
-- which teams faced off at miller park ?
### Response:
| SELECT "team" FROM table_203_549 WHERE "venue" = 'miller park' UNION SELECT "opponent" FROM table_203_549 WHERE "venue" = 'miller park' |
### Instruction:
CREATE TABLE table_16065 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Vikings points" real,
"Opponents" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The record of 9-4 w... | SELECT "Opponent" FROM table_16065 WHERE "Record" = '9-4' |
### Instruction:
CREATE TABLE table_64268 (
"Period" text,
"Internet Explorer" text,
"Chrome" text,
"Firefox" text,
"Safari" text,
"Opera" text,
"Other Mozilla" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the other mozilla that ha... | SELECT "Other Mozilla" FROM table_64268 WHERE "Safari" = '9.41%' |
### Instruction:
CREATE TABLE table_33417 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player was drafted higher than 374 and went to the school Stephen F. Au... | SELECT "Player" FROM table_33417 WHERE "Overall" < '374' AND "School/Club Team" = 'stephen f. austin' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.