instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_68933 (
"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.
-- Name the record with opponent of c... | SELECT "Record" FROM table_68933 WHERE "Opponent" = 'christian nielson' |
### Instruction:
CREATE TABLE table_23799653_1 (
title VARCHAR,
directed_by VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura In... | SELECT title FROM table_23799653_1 WHERE directed_by = "Laura Innes" AND us_viewers__millions_ = "9.63" |
### Instruction:
CREATE TABLE table_70097 (
"Value" text,
"Khmer" real,
"Word Form" text,
"UNGEGN" text,
"ALA-LC" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total amount of Khmer, when the Notes are literally 'one h... | SELECT COUNT("Khmer") FROM table_70097 WHERE "Notes" = 'literally "one hundred thousand' |
### Instruction:
CREATE TABLE table_29868 (
"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 "Date" FROM table_29868 WHERE "Game" = '5' |
### Instruction:
CREATE TABLE table_4732 (
"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 team was the home team at t... | SELECT "Home team" FROM table_4732 WHERE "Venue" = 'junction oval' |
### Instruction:
CREATE TABLE table_18852984_2 (
bills_originally_cosponsored VARCHAR,
all_amendments_cosponsored VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many bills where originally cosponsored in those years where the total of all amendments cosp... | SELECT bills_originally_cosponsored FROM table_18852984_2 WHERE all_amendments_cosponsored = 0 |
### Instruction:
CREATE TABLE table_51235 (
"Driver" text,
"Car #" real,
"Make" text,
"Points" real,
"Laps" real,
"Winnings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Scott Riggs points when he had more than 400 laps?
### Respons... | SELECT SUM("Points") FROM table_51235 WHERE "Driver" = 'scott riggs' AND "Laps" > '400' |
### Instruction:
CREATE TABLE table_204_974 (
id number,
"season" number,
"level" text,
"division" text,
"section" text,
"administration" text,
"position" text,
"movements" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the last... | SELECT "season" FROM table_204_974 WHERE "position" = 2 ORDER BY "season" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_21091 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" text,
"Year named" real,
"Name origin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of year named for athena , gr... | SELECT COUNT("Year named") FROM table_21091 WHERE "Name origin" = 'Athena , Greek goddess of wisdom .' |
### Instruction:
CREATE TABLE table_3043 (
"Seed" real,
"Rank" real,
"Player" text,
"Points" real,
"Points defending" real,
"Points won" real,
"New points" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status ... | SELECT "Status" FROM table_3043 WHERE "Player" = 'Philipp Kohlschreiber' |
### Instruction:
CREATE TABLE table_25844 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Jeremy Kag... | SELECT "Original air date" FROM table_25844 WHERE "Directed by" = 'Jeremy Kagan' |
### Instruction:
CREATE TABLE table_17664 (
"Strongs #" text,
"Hebrew word" text,
"Strongs Transliteration" text,
"Strongs Words Compounded" text,
"English Spelling" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the strongs # for the englis... | SELECT "Strongs #" FROM table_17664 WHERE "English Spelling" = 'Jirmejah' |
### Instruction:
CREATE TABLE table_47625 (
"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 location had the opponent Hir... | SELECT "Location" FROM table_47625 WHERE "Opponent" = 'hiroyuki abe' |
### Instruction:
CREATE TABLE table_35230 (
"Game" real,
"Date" real,
"Opponent" text,
"Score" text,
"Location/attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest date at Los Angeles with a game less than... | SELECT MAX("Date") FROM table_35230 WHERE "Location/attendance" = 'los angeles' AND "Game" < '62' |
### Instruction:
CREATE TABLE table_64940 (
"Player" text,
"Int'l Debut" text,
"Year" text,
"Cross Code Debut" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Year is Keith Smith's Cross Code Debut RL Test v Wales?
### Response... | SELECT "Year" FROM table_64940 WHERE "Cross Code Debut" = 'rl test v wales' AND "Player" = 'keith smith' |
### Instruction:
CREATE TABLE table_63995 (
"Round" text,
"Date" text,
"Matches" real,
"Clubs" text,
"New entries this round" text,
"Prize money" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of matches that has a Club... | SELECT MIN("Matches") FROM table_63995 WHERE "Clubs" = '46 → 32' |
### Instruction:
CREATE TABLE table_54217 (
"Character" text,
"Position" text,
"Actor" text,
"First Episode" text,
"Final Episode" text,
"Duration" text,
"Final Episode Count" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the averag... | SELECT AVG("Final Episode Count") FROM table_54217 WHERE "Character" = 'maxine valera' |
### Instruction:
CREATE TABLE table_203_253 (
id number,
"model" text,
"frame" text,
"years mfg'd" text,
"caliber(s)" text,
"production" text,
"barrel" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what model revolver had ... | SELECT "model" FROM table_203_253 ORDER BY "production" LIMIT 1 |
### Instruction:
CREATE TABLE table_49504 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT WAS THE RESULT FOR NOVEMBER 29, 2001?
### Response:
| SELECT "Result" FROM table_49504 WHERE "Date" = 'november 29, 2001' |
### Instruction:
CREATE TABLE table_11474 (
"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 Richmond is the Away team,... | SELECT "Away team score" FROM table_11474 WHERE "Away team" = 'richmond' |
### Instruction:
CREATE TABLE table_23456 (
"Number" real,
"Registration" text,
"First flew" text,
"Last flew" text,
"Flying hours" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the registration located on 31 january 19... | SELECT "Registration" FROM table_23456 WHERE "First flew" = '31 January 1975' |
### Instruction:
CREATE TABLE table_50585 (
"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.
-- Which county had a Bush number of votes of 566?
#... | SELECT "County" FROM table_50585 WHERE "Bush#" = '566' |
### Instruction:
CREATE TABLE table_50214 (
"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.
-- On what date was Stuart Potts the... | SELECT "Date" FROM table_50214 WHERE "Man of the Match" = 'stuart potts' |
### Instruction:
CREATE TABLE table_46950 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the opponent when the score is 3 6, 6 1, 7 5?
### Response:
| SELECT "Opponent" FROM table_46950 WHERE "Score" = '3–6, 6–1, 7–5' |
### Instruction:
CREATE TABLE table_13977 (
"Country" text,
"Airport" text,
"City" text,
"2008" real,
"Change (08/07)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2008 has an Airport of julius nyerere international airport?
### Response:
| SELECT AVG("2008") FROM table_13977 WHERE "Airport" = 'julius nyerere international airport' |
### Instruction:
CREATE TABLE table_33422 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Stadium" text,
"Record" text,
"Box scores" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which of the opponents ha... | SELECT "Opponent" FROM table_33422 WHERE "Box scores" = 'bye' |
### Instruction:
CREATE TABLE table_7253 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Result when the order is # 4, and the week # ... | SELECT "Result" FROM table_7253 WHERE "Order #" = '4' AND "Week #" = 'top 12' |
### Instruction:
CREATE TABLE table_63248 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue had an opponent of Sunderland and a result of a 1-1 draw?
### Response:
| SELECT "Venue" FROM table_63248 WHERE "Opponent" = 'sunderland' AND "Result" = '1-1' |
### Instruction:
CREATE TABLE table_203_554 (
id number,
"year" number,
"place" text,
"gold" text,
"silver" text,
"bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many world championships had the soviet union won first place in in the... | SELECT COUNT(*) FROM table_203_554 WHERE "gold" = 'soviet union' |
### Instruction:
CREATE TABLE table_32281 (
"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 when Foot... | SELECT "Home team" FROM table_32281 WHERE "Away team" = 'footscray' |
### Instruction:
CREATE TABLE table_19526 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Young rider classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wh... | SELECT "Young rider classification" FROM table_19526 WHERE "Winner" = 'Marzio Bruseghin' |
### Instruction:
CREATE TABLE table_32725 (
"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 teams score a... | SELECT "Away team score" FROM table_32725 WHERE "Venue" = 'princes park' |
### Instruction:
CREATE TABLE table_8946 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the aw... | SELECT "Away team" FROM table_8946 WHERE "Ground" = 'football park' |
### Instruction:
CREATE TABLE table_name_80 (
score VARCHAR,
tournament VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ?
### Res... | SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo" |
### Instruction:
CREATE TABLE table_name_22 (
extra_points_1_point INTEGER,
total_points VARCHAR,
touchdowns__5_points_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Extra points 1 point has a Total Points smaller than 30, and Touchdowns (5 points... | SELECT AVG(extra_points_1_point) FROM table_name_22 WHERE total_points < 30 AND touchdowns__5_points_ = 5 |
### Instruction:
CREATE TABLE table_7102 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Week # when the Beatles were the original art... | SELECT "Week #" FROM table_7102 WHERE "Original artist" = 'the beatles' AND "Theme" = 'the beatles' |
### Instruction:
CREATE TABLE table_68869 (
"Rank" text,
"Score" text,
"Player" text,
"Club" text,
"Opponent" text,
"Year" text,
"Round" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What club had a score of 18.1?
### Re... | SELECT "Club" FROM table_68869 WHERE "Score" = '18.1' |
### Instruction:
CREATE TABLE table_29538735_1 (
tonnes_of_co2_saved VARCHAR,
_percentage_electricity_reduction VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 8.9% is the electricity reduction percentage how many sets of tonnes of co2 saved is there?
... | SELECT COUNT(tonnes_of_co2_saved) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.9%" |
### Instruction:
CREATE TABLE table_49444 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Jeb Barlow was picked in round smaller than 7, how many player in totals... | SELECT COUNT("Pick") FROM table_49444 WHERE "Player" = 'jeb barlow' AND "Round" < '7' |
### Instruction:
CREATE TABLE table_72734 (
"N\u00b0" real,
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"DAR" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many dar... | SELECT "DAR" FROM table_72734 WHERE "Country" = 'Germany' |
### Instruction:
CREATE TABLE table_33633 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Stadium" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which stadium held the game that 65,677 people a... | SELECT "Stadium" FROM table_33633 WHERE "Attendance" = '65,677' |
### Instruction:
CREATE TABLE table_15909409_2 (
country VARCHAR,
total_freshwater_withdrawal__km_3__yr_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In how many countries was the total freshwater withdrawal (km 3 /yr) 169.39?
### Response:
| SELECT COUNT(country) FROM table_15909409_2 WHERE total_freshwater_withdrawal__km_3__yr_ = "169.39" |
### Instruction:
CREATE TABLE table_15319 (
"Rank" real,
"Island" text,
"Area (km\u00b2)" real,
"Area (sq mi)" real,
"Country/Countries/Region" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest area (sq mi) that has 160 as it rank?... | SELECT MIN("Area (sq mi)") FROM table_15319 WHERE "Rank" = '160' |
### Instruction:
CREATE TABLE table_204_753 (
id number,
"no." number,
"name" text,
"position" text,
"date of birth (age)" text,
"signed from" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the oldest player on the squa... | SELECT "name" FROM table_204_753 ORDER BY "date of birth (age)" LIMIT 1 |
### Instruction:
CREATE TABLE table_204_49 (
id number,
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text,
"commenced" number,
"ended" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year was the last time tigerai... | SELECT "ended" FROM table_204_49 WHERE "city" = 'xiamen' |
### Instruction:
CREATE TABLE table_55113 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest rank for a player earning $71,979?
### Respo... | SELECT MIN("Rank") FROM table_55113 WHERE "Earnings ( $ )" < '71,979' |
### Instruction:
CREATE TABLE table_9254 (
"Season" real,
"Conference" text,
"Champion" text,
"Format" text,
"Series" text,
"Runner-Up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What conference has 2009 as the season, with super leg final a... | SELECT "Conference" FROM table_9254 WHERE "Season" = '2009' AND "Format" = 'super leg final' |
### Instruction:
CREATE TABLE table_74343 (
"LGA Name" text,
"Area (km 2 )" real,
"Census 2006 population" real,
"Administrative capital" text,
"Postal Code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area when the Iga name is Ahoada... | SELECT MAX("Area (km 2 )") FROM table_74343 WHERE "LGA Name" = 'Ahoada East' |
### Instruction:
CREATE TABLE table_38803 (
"Season" text,
"Races" real,
"Podiums" real,
"Pole" real,
"FLap" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of FLap that has the Pole larger than 0, and the Podiums of 6?
### ... | SELECT SUM("FLap") FROM table_38803 WHERE "Pole" > '0' AND "Podiums" = '6' |
### Instruction:
CREATE TABLE table_name_94 (
goals_scored INTEGER,
goals_conceded VARCHAR,
draw VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of goals scored for the entry with goals conceded larger than 30, ... | SELECT MIN(goals_scored) FROM table_name_94 WHERE draw < 6 AND lost > 3 AND goals_conceded > 30 |
### Instruction:
CREATE TABLE table_47469 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds did the match last with Sam Sotello... | SELECT AVG("Round") FROM table_47469 WHERE "Opponent" = 'sam sotello' |
### Instruction:
CREATE TABLE table_59006 (
"Engine" text,
"Power" text,
"Torque" text,
"0\u2013100km/h (62mph)" text,
"Top speed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the torque of the 5.8l v12 engine?
### Response:
| SELECT "Torque" FROM table_59006 WHERE "Engine" = '5.8l v12' |
### Instruction:
CREATE TABLE table_608 (
"Word number" text,
"The Basque of the glossary" text,
"Modern Basque" text,
"The Icelandic of the glossary" text,
"English translation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the incelandic of ... | SELECT "The Icelandic of the glossary" FROM table_608 WHERE "Word number" = '218' |
### Instruction:
CREATE TABLE table_12802 (
"Draft" real,
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average pick of player paul maclean, who had a draft before 1978?
### Resp... | SELECT AVG("Pick") FROM table_12802 WHERE "Player" = 'paul maclean' AND "Draft" < '1978' |
### Instruction:
CREATE TABLE table_8684 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player played for the Grizzlies from 1997-1998?
### ... | SELECT "Player" FROM table_8684 WHERE "Years for Grizzlies" = '1997-1998' |
### Instruction:
CREATE TABLE table_204_630 (
id number,
"no" number,
"date" text,
"race" text,
"track" text,
"winner" text,
"reports" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many races did ricky stenhouse , jr. when during this s... | SELECT COUNT("race") FROM table_204_630 WHERE "winner" = 'ricky stenhouse, jr' |
### Instruction:
CREATE TABLE table_71938 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Rank of Karen Pickering when she had a time of less than 55.71?
### Re... | SELECT MAX("Rank") FROM table_71938 WHERE "Name" = 'karen pickering' AND "Time" < '55.71' |
### Instruction:
CREATE TABLE table_name_75 (
competition VARCHAR,
venue VARCHAR,
notes VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and... | SELECT competition FROM table_name_75 WHERE notes = "400 m hurdles" AND year < 2004 AND venue = "johannesburg, south africa" |
### Instruction:
CREATE TABLE table_32722 (
"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 Fitzroy's score when t... | SELECT "Home team score" FROM table_32722 WHERE "Home team" = 'fitzroy' |
### Instruction:
CREATE TABLE table_7352 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On September 30, 1979, in a week before week 8, what was the result?
### Response:
| SELECT "Result" FROM table_7352 WHERE "Week" < '8' AND "Date" = 'september 30, 1979' |
### Instruction:
CREATE TABLE table_16972 (
"Series #" real,
"Season #" 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 was the title ... | SELECT "Title" FROM table_16972 WHERE "Production code" = '311' |
### Instruction:
CREATE TABLE table_38936 (
"Season" real,
"Bowl game" text,
"Result" text,
"Opponent" text,
"Stadium" text,
"Location" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what Location was the Attendance 70,... | SELECT "Location" FROM table_38936 WHERE "Attendance" = '70,283' |
### Instruction:
CREATE TABLE table_76973 (
"Result" text,
"Race" text,
"Distance" text,
"Weight" real,
"Winner or 2nd" text,
"Pos'n" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest weight wth a Result of , and a Distance of 7... | SELECT MAX("Weight") FROM table_76973 WHERE "Result" = '–' AND "Distance" = '7f' |
### Instruction:
CREATE TABLE table_77137 (
"PMSC No." text,
"Year" real,
"1st Prize" text,
"2nd Prize" text,
"3rd Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year in which the 1st price went to Che-Yen (Brian) Chen?
... | SELECT MIN("Year") FROM table_77137 WHERE "1st Prize" = 'che-yen (brian) chen' |
### Instruction:
CREATE TABLE table_28125 (
"Stage" real,
"Winner" text,
"General Classification" text,
"Points Classification" text,
"Mountains Classification" text,
"Young Riders Classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for ... | SELECT MAX("Stage") FROM table_28125 WHERE "Winner" = 'Mikhail Ignatiev' |
### Instruction:
CREATE TABLE table_168274_1 (
index_weighting___percentage__at_17_january_2013 VARCHAR,
ticker_symbol VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the index weighting % for 17 januaary 2013 for rno
### Response:
| SELECT index_weighting___percentage__at_17_january_2013 FROM table_168274_1 WHERE ticker_symbol = "RNO" |
### Instruction:
CREATE TABLE table_6829 (
"Time" text,
"00:00 AM" text,
"01:00 AM" text,
"02:00 AM" text,
"05:00 AM" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the show on Tuesday when the time is 01:00 AM?
### Response:
| SELECT "01:00 AM" FROM table_6829 WHERE "Time" = 'tuesday' |
### Instruction:
CREATE TABLE table_30430 (
"Club name" text,
"Name of team song" text,
"Basis for team song" text,
"First used as team song" text,
"Writer/composer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has a song based on 'wee ... | SELECT "Club name" FROM table_30430 WHERE "Basis for team song" = 'Wee Deoch an Doris' |
### Instruction:
CREATE TABLE table_17234 (
"Disc" real,
"Track" real,
"English title" text,
"Japanese title" text,
"R\u014dmaji title" text,
"Artist" text,
"Track time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Japanese tit... | SELECT "Japanese title" FROM table_17234 WHERE "English title" = 'Fantasy' |
### Instruction:
CREATE TABLE table_51586 (
"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.
-- What was the attendance of the Florida vs. Montre... | SELECT AVG("Attendance") FROM table_51586 WHERE "Home" = 'florida' AND "Visitor" = 'montreal' |
### Instruction:
CREATE TABLE table_51865 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the visitor team of the game with Rudy Gay (23) as the lea... | SELECT "Visitor" FROM table_51865 WHERE "Leading scorer" = 'rudy gay (23)' |
### Instruction:
CREATE TABLE table_76375 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average total medals of the nation ranked 1 with less than 1 si... | SELECT AVG("Total") FROM table_76375 WHERE "Rank" = '1' AND "Silver" < '1' |
### Instruction:
CREATE TABLE table_65760 (
"Name" text,
"Nationality" text,
"4.30" text,
"4.45" text,
"4.55" text,
"Result" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 4.45 for Yelena Isinbayeva?
### Response:
| SELECT "4.45" FROM table_65760 WHERE "Name" = 'yelena isinbayeva' |
### Instruction:
CREATE TABLE table_20496 (
"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.
-- Who was the runner-up in the... | SELECT "Runner(s)-up" FROM table_20496 WHERE "Tournament" = 'Memorial Tournament' |
### Instruction:
CREATE TABLE table_55558 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has an Opponent of newcastle united, and a Result of 2 1?
### Response:
| SELECT "Date" FROM table_55558 WHERE "Opponent" = 'newcastle united' AND "Result" = '2–1' |
### Instruction:
CREATE TABLE table_70055 (
"Year" real,
"Class" text,
"Team" text,
"Machine" text,
"Points" real,
"Rank" text,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Question doesn't make sense since there is no team of prama... | SELECT MIN("Year") FROM table_70055 WHERE "Team" = 'pramac d''antin ducati' |
### Instruction:
CREATE TABLE table_557 (
"Basic stem (root)" text,
"Present stem" text,
"Non-present stem" text,
"Participle" text,
"Verbal noun" text,
"Short stem" text,
"Meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What does th... | SELECT "Meaning" FROM table_557 WHERE "Basic stem (root)" = '-rama-' |
### Instruction:
CREATE TABLE table_41822 (
"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 Gold medals did Japan receive who had a Total of more than 1 medal... | SELECT SUM("Gold") FROM table_41822 WHERE "Nation" = 'japan' AND "Total" > '1' |
### Instruction:
CREATE TABLE table_33192 (
"Team" text,
"Game" real,
"Draw" real,
"Loss" real,
"Goal Gain" real,
"Goal Loss" real,
"Goal Diff" real,
"Point" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest loss before ... | SELECT MAX("Loss") FROM table_33192 WHERE "Game" < '14' |
### Instruction:
CREATE TABLE table_33555 (
"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 crowd size when Es... | SELECT "Crowd" FROM table_33555 WHERE "Home team" = 'essendon' |
### Instruction:
CREATE TABLE table_35695 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest grid of Ronnie Bremer, who had more than 18 points?... | SELECT MAX("Grid") FROM table_35695 WHERE "Driver" = 'ronnie bremer' AND "Points" > '18' |
### Instruction:
CREATE TABLE table_name_37 (
bronze INTEGER,
total VARCHAR,
nation VARCHAR,
silver VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest bronze with a Silver smaller than 2, and a Gold of 1, and a Nati... | SELECT MIN(bronze) FROM table_name_37 WHERE silver < 2 AND gold = 1 AND nation = "western isles" AND total > 6 |
### Instruction:
CREATE TABLE table_23153 (
"LGA Name" text,
"Area (km 2 )" real,
"Census 2006 population" real,
"Administrative capital" text,
"Postal Code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the administrative capital of LGA na... | SELECT "Administrative capital" FROM table_23153 WHERE "LGA Name" = 'Akuku-Toru' |
### Instruction:
CREATE TABLE table_24247 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Survivor count" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did s... | SELECT "Original air date" FROM table_24247 WHERE "No. in series" = '65' |
### Instruction:
CREATE TABLE table_204_988 (
id number,
"responsible minister(s)" text,
"crown entities" text,
"monitoring department(s)" text,
"category / type" text,
"empowering legislation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how ... | SELECT COUNT("crown entities") FROM table_204_988 WHERE "responsible minister(s)" = 'finance' |
### Instruction:
CREATE TABLE table_27755784_10 (
team VARCHAR,
high_assists VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team when the high assists was stephen curry (7) and the high points was monta ellis (27)?
### ... | SELECT team FROM table_27755784_10 WHERE high_assists = "Stephen Curry (7)" AND high_points = "Monta Ellis (27)" |
### Instruction:
CREATE TABLE table_204_187 (
id number,
"type" text,
"power\n[w]" text,
"relative cost" number,
"input range\n[v]" text,
"energy storage" text,
"features" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the half bridge 's ene... | SELECT "energy storage" FROM table_204_187 WHERE "type" = 'half-bridge' |
### Instruction:
CREATE TABLE table_47711 (
"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.
-- The match against Oleg Taktarov ha... | SELECT "Res." FROM table_47711 WHERE "Opponent" = 'oleg taktarov' |
### Instruction:
CREATE TABLE table_9454 (
"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 event did Soa Palelei fight ag... | SELECT "Event" FROM table_9454 WHERE "Opponent" = 'son hai suk' |
### Instruction:
CREATE TABLE table_203_610 (
id number,
"institution" text,
"location" text,
"nickname" text,
"founded" number,
"historical affiliation" text,
"enrollment" number,
"primary conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided... | SELECT "institution" FROM table_203_610 ORDER BY "enrollment" DESC LIMIT 1 |
### Instruction:
CREATE TABLE band (
id VARCHAR
)
CREATE TABLE performance (
bandmate VARCHAR,
songid VARCHAR
)
CREATE TABLE songs (
songid VARCHAR,
Title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Hom many musicians performed in the song '... | SELECT COUNT(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate = T2.id JOIN songs AS T3 ON T3.songid = T1.songid WHERE T3.Title = "Flash" |
### Instruction:
CREATE TABLE table_27205 (
"Player" text,
"Games Played" real,
"Rebounds" real,
"Assists" real,
"Steals" real,
"Blocks" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum number of rebounds for... | SELECT MAX("Rebounds") FROM table_27205 WHERE "Steals" = '35' |
### Instruction:
CREATE TABLE table_22795 (
"Year" real,
"Host" text,
"1st Place" text,
"2nd Place" text,
"3rd Place" text,
"4th Place" text,
"5th Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was in 4th place when Missouri finis... | SELECT "4th Place" FROM table_22795 WHERE "3rd Place" = 'Missouri' |
### Instruction:
CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
)
CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
-- Using valid SQLite, answer ... | SELECT Duration, COUNT(Duration) FROM actor GROUP BY Duration |
### Instruction:
CREATE TABLE table_22439 (
"Round" text,
"Clubs remaining" real,
"Clubs involved" real,
"Winners from previous round" text,
"New entries this round" text,
"Leagues entering at this round" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT COUNT("Round") FROM table_22439 WHERE "New entries this round" = '65' |
### Instruction:
CREATE TABLE table_16729930_18 (
sspec_number VARCHAR,
tdp VARCHAR,
model_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?
### Response:
| SELECT sspec_number FROM table_16729930_18 WHERE tdp = "3.6 W" AND model_number = "Atom E665C" |
### Instruction:
CREATE TABLE table_39779 (
"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 led to a record of ... | SELECT "Opponent" FROM table_39779 WHERE "Record" = '10-6' |
### Instruction:
CREATE TABLE table_43249 (
"Year" real,
"Coach" text,
"Captain" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the year is later than 1939 and the Runner-up is Tanunda, who is the Captain?
### ... | SELECT "Captain" FROM table_43249 WHERE "Runner-up" = 'tanunda' AND "Year" > '1939' |
### Instruction:
CREATE TABLE table_79073 (
"Number" real,
"Year Start" real,
"Year End" real,
"Name" text,
"Home Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Number has a Home Club of broomstones, and a Year End smaller than 1999?
#... | SELECT MIN("Number") FROM table_79073 WHERE "Home Club" = 'broomstones' AND "Year End" < '1999' |
### Instruction:
CREATE TABLE table_36076 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which segment A item that has a S... | SELECT "Segment A" FROM table_36076 WHERE "Segment D" = 'wigs' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.