instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_1825751_4 (
miss_universe_philippines VARCHAR,
binibining_pilipinas_international VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Univ... | SELECT COUNT(miss_universe_philippines) FROM table_1825751_4 WHERE binibining_pilipinas_international = "Margaret Ann Bayot" |
### Instruction:
CREATE TABLE table_33290 (
"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.
-- How big was the largest crowd r... | SELECT MAX("Crowd") FROM table_33290 WHERE "Venue" = 'arden street oval' |
### Instruction:
CREATE TABLE table_33423 (
"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.
-- How many people attended ... | SELECT "Attendance" FROM table_33423 WHERE "Opponent" = 'pittsburgh steelers' |
### Instruction:
CREATE TABLE table_30098 (
"Series #" real,
"Season #" real,
"Title" 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.
-- the episode 'a change in heart/pant... | SELECT MAX("Series #") FROM table_30098 WHERE "Title" = 'A Change in Heart/Pants' |
### Instruction:
CREATE TABLE table_204_601 (
id number,
"area served" text,
"city of license" text,
"vc" number,
"rf" number,
"callsign" text,
"network" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many areas have at... | SELECT COUNT(*) FROM (SELECT "area served" FROM table_204_601 GROUP BY "area served" HAVING COUNT(*) >= 5) |
### Instruction:
CREATE TABLE table_76091 (
"Season" real,
"Episodes" real,
"Season Premiere" text,
"Season Finale" text,
"DVD Release Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the DVD released for the season with fewer t... | SELECT "DVD Release Date" FROM table_76091 WHERE "Season" < '8' AND "Episodes" < '13' |
### Instruction:
CREATE TABLE table_72199 (
"Chart" text,
"Date of Entry" text,
"Entry Position" real,
"Peak Position" real,
"Weeks on Peak" real,
"Weeks on Chart" real,
"Date of Exit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is t... | SELECT "Date of Entry" FROM table_72199 WHERE "Chart" = 'UK Albums Top 75' |
### Instruction:
CREATE TABLE table_23772 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" real,
"Jockey" text,
"Winner/2nd" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the... | SELECT "Date" FROM table_23772 WHERE "Venue" = 'Moonee Valley' |
### Instruction:
CREATE TABLE table_4686 (
"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 home team that score... | SELECT "Home team" FROM table_4686 WHERE "Home team score" = '12.17 (89)' |
### Instruction:
CREATE TABLE table_name_10 (
lead_envoy VARCHAR,
year VARCHAR,
ryūkyūan_king VARCHAR,
mission_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the lead envoy of the congratulation mission in 1718 with the Ry ky an King sh ... | SELECT lead_envoy FROM table_name_10 WHERE ryūkyūan_king = "shō kei" AND mission_type = "congratulation" AND year = 1718 |
### Instruction:
CREATE TABLE table_719 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the district where the result is re-elected and t... | SELECT "District" FROM table_719 WHERE "Result" = 'Re-elected' AND "Incumbent" = 'Richard Kelly' |
### Instruction:
CREATE TABLE table_28623 (
"Year" real,
"Under-11" text,
"Under-13" text,
"Under-15" text,
"Under-17" text,
"Under-19" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is every Under-15 if Under-11 is Reeham Sedky?
### Respo... | SELECT "Under-15" FROM table_28623 WHERE "Under-11" = 'Reeham Sedky' |
### Instruction:
CREATE TABLE table_29267 (
"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.
-- Who was t... | SELECT "Directed by" FROM table_29267 WHERE "No. in season" = '10a' |
### Instruction:
CREATE TABLE table_name_87 (
surface VARCHAR,
outcome VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has an Outcome of runner-up, and a Score in the final of 4 6, 6 7, 6 2, 2 6?
### Response:
| SELECT surface FROM table_name_87 WHERE outcome = "runner-up" AND score_in_the_final = "4–6, 6–7, 6–2, 2–6" |
### Instruction:
CREATE TABLE table_66948 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score of the game on November 24 with the visiting team ... | SELECT "Final Score" FROM table_66948 WHERE "Visiting Team" = 'indianapolis colts' AND "Date" = 'november 24' |
### Instruction:
CREATE TABLE table_1796 (
"State (class)" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date of successors formal installation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state had November 30, 1962 as ... | SELECT "State (class)" FROM table_1796 WHERE "Date of successors formal installation" = 'November 30, 1962' |
### Instruction:
CREATE TABLE table_25067 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the successor who got his seat because of 'until... | SELECT "Date successor seated" FROM table_25067 WHERE "Reason for change" = 'Until August 2, 1813' |
### Instruction:
CREATE TABLE table_77151 (
"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 pick of the player from texas a&i with an overall l... | SELECT MAX("Pick") FROM table_77151 WHERE "College" = 'texas a&i' AND "Overall" < '28' |
### Instruction:
CREATE TABLE table_67382 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"10:00" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 7:00 has 8:00 risk takers?
### Response:
| SELECT "7:00" FROM table_67382 WHERE "8:00" = 'risk takers' |
### Instruction:
CREATE TABLE table_204_914 (
id number,
"year" number,
"team" text,
"games" number,
"attempts" number,
"yards" number,
"ypc" number,
"long" number,
"tds" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which year di... | SELECT "year" FROM table_204_914 ORDER BY "yards" LIMIT 1 |
### Instruction:
CREATE TABLE table_3482 (
"Episode #" real,
"Series #" real,
"Title" text,
"Director" text,
"Writer" text,
"Original airdate" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original ... | SELECT "Original airdate" FROM table_3482 WHERE "Viewers (in millions)" = '8.23' |
### Instruction:
CREATE TABLE table_10533 (
"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 team with the small... | SELECT MIN("Crowd") FROM table_10533 WHERE "Venue" = 'princes park' |
### Instruction:
CREATE TABLE table_54952 (
"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.
-- In games where st kilda was the... | SELECT MIN("Crowd") FROM table_54952 WHERE "Away team" = 'st kilda' |
### Instruction:
CREATE TABLE table_44387 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Visitor of pittsburgh, and a Sco... | SELECT "Record" FROM table_44387 WHERE "Visitor" = 'pittsburgh' AND "Score" = '4–0' |
### Instruction:
CREATE TABLE table_42235 (
"AIRLINE" text,
"AIRLINE (in Arabic)" text,
"ICAO" text,
"CALLSIGN" text,
"COMMENCED OPERATIONS" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ICAO with commenced operations before 1989?
###... | SELECT "ICAO" FROM table_42235 WHERE "COMMENCED OPERATIONS" < '1989' |
### Instruction:
CREATE TABLE table_69272 (
"Player" text,
"AFL debut" text,
"Games" text,
"Goals" text,
"Kicks" text,
"Handballs" text,
"Disposals" text,
"Marks" text,
"Tackles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name th... | SELECT "Kicks" FROM table_69272 WHERE "Goals" = '1' |
### Instruction:
CREATE TABLE table_174151_5 (
power_provided VARCHAR,
transfer_speed__mb_s_ VARCHAR,
max_cable_length__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the power provided where transfer speed mb/s is 300 and max cable length of 10
... | SELECT power_provided FROM table_174151_5 WHERE transfer_speed__mb_s_ = "300" AND max_cable_length__m_ = "10" |
### Instruction:
CREATE TABLE table_41854 (
"Rank" real,
"Location" text,
"Total Passengers" real,
"Annual change" text,
"Capacity in use" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which yearly change was there a capacity of 78.4% and a rank... | SELECT "Annual change" FROM table_41854 WHERE "Rank" < '3' AND "Capacity in use" = '78.4%' |
### Instruction:
CREATE TABLE table_26878 (
"Rank" real,
"Name" text,
"Nationality" text,
"1st (m)" text,
"2nd (m)" text,
"Points" text,
"Overall FHT Points" text,
"Overall WC points (Rank)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... | SELECT COUNT("Rank") FROM table_26878 WHERE "Nationality" = 'Switzerland' |
### Instruction:
CREATE TABLE table_21182 (
"Show" text,
"Last Aired" real,
"Previous Network" text,
"Retitled as/Same" text,
"New/Returning/Same Network" text,
"Returning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the new/returning... | SELECT "New/Returning/Same Network" FROM table_21182 WHERE "Show" = 'This Week in Baseball' |
### Instruction:
CREATE TABLE table_76044 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total amount of gold medals when there were more than 20 silvers and there were 13... | SELECT COUNT("Gold") FROM table_76044 WHERE "Silver" > '20' AND "Bronze" = '135' |
### Instruction:
CREATE TABLE table_33017 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest attendance for a game before 10 weeks on November 12, 1967
### Res... | SELECT MIN("Attendance") FROM table_33017 WHERE "Week" < '10' AND "Date" = 'november 12, 1967' |
### Instruction:
CREATE TABLE table_5344 (
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold?
### Res... | SELECT MIN("Gold") FROM table_5344 WHERE "Bronze" = '0' AND "Total" = '1' AND "Silver" < '1' |
### Instruction:
CREATE TABLE table_67525 (
"Name" text,
"Street address" text,
"Years as tallest" text,
"Height feet / m" text,
"Floors" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Years as tallest with a Street address of 324 E. 11th... | SELECT "Years as tallest" FROM table_67525 WHERE "Street address" = '324 e. 11th street' |
### Instruction:
CREATE TABLE table_7839 (
"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 GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON?
### Respo... | SELECT "Gross" FROM table_7839 WHERE "Rank" > '7' AND "Director" = 'barry levinson' |
### Instruction:
CREATE TABLE table_12569 (
"Central Murray" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of against with 11 wins and less than 0... | SELECT AVG("Against") FROM table_12569 WHERE "Wins" = '11' AND "Draws" < '0' |
### Instruction:
CREATE TABLE table_204_809 (
id number,
"draw" number,
"country" text,
"language" text,
"artist" text,
"song" text,
"english translation" text,
"national final" text,
"place" number,
"points" number
)
-- Using valid SQLite, answer the following questions for th... | SELECT COUNT(*) FROM table_204_809 WHERE "language" = 'english' |
### Instruction:
CREATE TABLE table_50760 (
"Class" text,
"Wheel arrangement" text,
"Fleet number(s)" text,
"Manufacturer" text,
"Year made" text,
"Quantity made" text,
"Quantity preserved" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What... | SELECT "Class" FROM table_50760 WHERE "Quantity preserved" = '0' AND "Quantity made" = '2' |
### Instruction:
CREATE TABLE table_name_74 (
cultural_and_educational_panel INTEGER,
nominated_by_the_taoiseach VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest cultural and educational panel with a nominated by the Tao... | SELECT MIN(cultural_and_educational_panel) FROM table_name_74 WHERE nominated_by_the_taoiseach < 5 AND total > 19 |
### Instruction:
CREATE TABLE table_204_622 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did piotr place 1st in the 4x400m ... | SELECT COUNT(*) FROM table_204_622 WHERE "position" = 1 AND "event" = '4x400 m relay' |
### Instruction:
CREATE TABLE table_203_193 (
id number,
"ship name" text,
"in service" number,
"project number" text,
"type" text,
"class" text,
"comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the previous ship to sibir ?... | SELECT "ship name" FROM table_203_193 WHERE id = (SELECT id FROM table_203_193 WHERE "ship name" = 'sibir') - 1 |
### Instruction:
CREATE TABLE table_3168 (
"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.
-- Who are the oppon... | SELECT "Opponent" FROM table_3168 WHERE "Date" = 'Sunday, June 9' |
### Instruction:
CREATE TABLE table_59685 (
"Date" text,
"Race" text,
"Track" text,
"Location" text,
"Distance" text,
"Surface" text,
"Purse" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Race has a Purse of $300,000... | SELECT "Race" FROM table_59685 WHERE "Purse" = '$300,000' |
### Instruction:
CREATE TABLE table_25739 (
"Season" text,
"Oberbayern A" text,
"Oberbayern B" text,
"Niederbayern" text,
"Schwaben" text,
"Oberpfalz" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When wacker burghausen is the oberbayern a what... | SELECT "Schwaben" FROM table_25739 WHERE "Oberbayern A" = 'Wacker Burghausen' |
### Instruction:
CREATE TABLE table_56029 (
"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 visiting team at the Cavaliers ... | SELECT "Visitor" FROM table_56029 WHERE "Score" = '121–85' |
### Instruction:
CREATE TABLE table_29857 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT "High rebounds" FROM table_29857 WHERE "Date" = 'June 9' |
### Instruction:
CREATE TABLE table_57234 (
"Place" real,
"Name" text,
"From" real,
"Until" real,
"Titles" real,
"Seconds" text,
"Thirds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is place number of Frank Kleber who started in 2001... | SELECT COUNT("Place") FROM table_57234 WHERE "Name" = 'frank kleber' AND "From" < '2001' |
### Instruction:
CREATE TABLE table_25870 (
"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_25870 WHERE "Team" = 'Clippers' |
### Instruction:
CREATE TABLE table_27062 (
"No. in series" real,
"No. in 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.
-- When 137 ... | SELECT "Production code" FROM table_27062 WHERE "No. in series" = '137' |
### Instruction:
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
-- Using valid SQLite, answer the following questions for t... | SELECT AVG(age), MIN(age) FROM captain GROUP BY Class |
### Instruction:
CREATE TABLE table_204_465 (
id number,
"#" number,
"temple name" text,
"hangul" text,
"hanja" text,
"period of reign" text,
"personal name" text,
"relationship" text,
"note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... | SELECT "temple name" FROM table_204_465 WHERE "#" = 1 |
### Instruction:
CREATE TABLE table_55811 (
"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 home team score for... | SELECT "Home team score" FROM table_55811 WHERE "Away team" = 'north melbourne' |
### Instruction:
CREATE TABLE table_31039 (
"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.
-- Who direc... | SELECT "Directed by" FROM table_31039 WHERE "Production code" = 'IP03010' |
### Instruction:
CREATE TABLE table_79916 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which women's doubles did Wang... | SELECT "Women's doubles" FROM table_79916 WHERE "Men's singles" = 'wang junjie' |
### Instruction:
CREATE TABLE table_79638 (
"Round" real,
"Date" text,
"Home Team" text,
"Away Team" text,
"Attendance" real,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the away team when Queensland Roar was the home team i... | SELECT "Away Team" FROM table_79638 WHERE "Round" < '3' AND "Home Team" = 'queensland roar' |
### 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 People_ID, Snatch FROM body_builder |
### Instruction:
CREATE TABLE table_28277 (
"Rank" real,
"Runs" real,
"Average" text,
"Strike rate" text,
"Player" text,
"Matches" real,
"Innings" real,
"Period" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average when th... | SELECT "Average" FROM table_28277 WHERE "Strike rate" = '75.78' |
### Instruction:
CREATE TABLE table_54620 (
"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 date of the game where Ottawa was th... | SELECT "Date" FROM table_54620 WHERE "Visitor" = 'atlanta' AND "Home" = 'ottawa' |
### Instruction:
CREATE TABLE table_6089 (
"Season" real,
"Div." text,
"Tms." real,
"Pos." real,
"Attendance/G" real,
"Emperor's Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance for seasons before 1999 with pos ... | SELECT AVG("Attendance/G") FROM table_6089 WHERE "Pos." = '8' AND "Season" < '1999' |
### Instruction:
CREATE TABLE table_204_612 (
id number,
"draft order\nround" number,
"draft order\nchoice" number,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ho... | SELECT COUNT("player") FROM table_204_612 WHERE "weight" < 200 |
### Instruction:
CREATE TABLE table_45476 (
"Outcome" text,
"Date" text,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the match with Op... | SELECT "Date" FROM table_45476 WHERE "Opponent in the final" = 'kenneth carlsen' |
### Instruction:
CREATE TABLE table_25010 (
"Year" real,
"Song title" text,
"Artist" text,
"Master recording" text,
"NA/UK/AUS/JPN/NL tier" text,
"European tier" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of master recording ... | SELECT COUNT("Master recording") FROM table_25010 WHERE "Artist" = 'Doobie Brothers The Doobie Brothers' |
### Instruction:
CREATE TABLE table_3864 (
"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 "High points" FROM table_3864 WHERE "Record" = '9–3' |
### Instruction:
CREATE TABLE table_18029 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During what weak of the season was the game pl... | SELECT MAX("Week") FROM table_18029 WHERE "Date" = 'October 4, 1987' |
### Instruction:
CREATE TABLE table_79339 (
"Draw" real,
"Singer" text,
"Song" text,
"Televoting (votes)" text,
"Jury" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What song was 2nd (25,517) in televoting (votes)?
### Response:... | SELECT "Song" FROM table_79339 WHERE "Televoting (votes)" = '2nd (25,517)' |
### Instruction:
CREATE TABLE table_18706 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the district with candidates being william madis... | SELECT "District" FROM table_18706 WHERE "Candidates" = 'William Madison Whittington (D) Unopposed' |
### Instruction:
CREATE TABLE table_1341522_38 (
first_elected VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the first elected with opponent being ralph regula (r) 75.0% j. michael finn (d) 25.0%
### Response:
| SELECT first_elected FROM table_1341522_38 WHERE opponent = "Ralph Regula (R) 75.0% J. Michael Finn (D) 25.0%" |
### Instruction:
CREATE TABLE table_30858 (
"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.
-- Which college/junior/club team has jim math... | SELECT "College/junior/club team" FROM table_30858 WHERE "Player" = 'Jim Mathieson' |
### Instruction:
CREATE TABLE table_name_50 (
riaa_sales_certification VARCHAR,
billboard_200_peak VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Before the Year 1972, what RIAA Sales Certification was awarded to the song that had a Billboa... | SELECT riaa_sales_certification FROM table_name_50 WHERE billboard_200_peak < 18 AND year < 1972 |
### Instruction:
CREATE TABLE table_68338 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the opponents in the match that was played on a hard court... | SELECT "Opponents" FROM table_68338 WHERE "Surface" = 'hard' AND "Outcome" = 'runner-up' |
### Instruction:
CREATE TABLE table_13574 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par for the player that won in 2003, with a total larger than 145?
... | SELECT COUNT("To par") FROM table_13574 WHERE "Year(s) won" = '2003' AND "Total" > '145' |
### Instruction:
CREATE TABLE table_1195 (
"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.
-- When marshmallow cookies is segmen... | SELECT "Netflix" FROM table_1195 WHERE "Segment B" = 'Marshmallow Cookies' |
### Instruction:
CREATE TABLE table_33373 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Color commentator(s)" text,
"Sideline reporter(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which sideline reporters worked alongside Frank Gifford ... | SELECT "Sideline reporter(s)" FROM table_33373 WHERE "Color commentator(s)" = 'frank gifford and dan dierdorf' |
### Instruction:
CREATE TABLE table_33634 (
"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.
-- What was the attendance of the game on October 1... | SELECT "Attendance" FROM table_33634 WHERE "Date" = 'october 17, 2004' |
### Instruction:
CREATE TABLE table_39724 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Overall has a Pick # larger than 2, and a Name of claude hum... | SELECT COUNT("Overall") FROM table_39724 WHERE "Pick #" > '2' AND "Name" = 'claude humphrey' |
### Instruction:
CREATE TABLE table_4085 (
"School" text,
"Titles" real,
"Shared Titles" real,
"Runners-Up" real,
"Total Finals" real,
"Last Title" text,
"Last Final" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year of the la... | SELECT "Last Final" FROM table_4085 WHERE "Last Title" = '1990' |
### Instruction:
CREATE TABLE table_2582 (
"Position" text,
"Horse" text,
"Jockey" text,
"Age" real,
"Handicap (st-lb)" text,
"SP" text,
"Distance" text,
"Prize money" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How old was the horse ... | SELECT COUNT("Age") FROM table_2582 WHERE "SP" = '200/1' |
### Instruction:
CREATE TABLE table_3837 (
"Season" text,
"Overall Record" text,
"SEC Record" text,
"Overall Attendance" real,
"Average Attendance" real,
"Rank Nationally" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the overall attend... | SELECT "Overall Attendance" FROM table_3837 WHERE "Average Attendance" = '17148' |
### Instruction:
CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
)
CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
-- Using valid SQLite, answer the follo... | SELECT Type, COUNT(Type) FROM ship GROUP BY Type |
### Instruction:
CREATE TABLE table_72570 (
"Rank" real,
"Country" text,
"Overall" text,
"Justice" text,
"Health" text,
"Education" text,
"Economics" text,
"Politics" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the economics sc... | SELECT "Economics" FROM table_72570 WHERE "Justice" = '90.8' |
### Instruction:
CREATE TABLE table_66921 (
"!accented mora" text,
"one mora" text,
"two-mora word" text,
"three-mora word" text,
"gloss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the one mora for the three-mora word /kaze/ [k z ]?
##... | SELECT "one mora" FROM table_66921 WHERE "three-mora word" = '/kaze/ [kázé]' |
### Instruction:
CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
-- Using valid SQLite, answer the following question... | SELECT pname FROM player WHERE ycard = 'yes' ORDER BY hs DESC |
### Instruction:
CREATE TABLE table_29260 (
"Overall rank" real,
"Country" text,
"Overall life expectancy" real,
"Male life expectancy" real,
"Male rank" real,
"Female life expectancy" real,
"Female rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT MAX("Male life expectancy") FROM table_29260 WHERE "Country" = 'Pakistan' |
### Instruction:
CREATE TABLE table_8609 (
"Model Number" text,
"Frequency" text,
"L2-Cache" text,
"Front Side Bus" text,
"Multiplier" text,
"Voltage" text,
"Socket" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the L2 cache for the... | SELECT "L2-Cache" FROM table_8609 WHERE "Frequency" = '750mhz' |
### Instruction:
CREATE TABLE table_50168 (
"Cartridge" text,
"Bullet weight" text,
"Muzzle velocity" text,
"Muzzle energy" text,
"Max pressure" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the max pressure for the 468ft lbf (634 j) muzzle... | SELECT "Max pressure" FROM table_50168 WHERE "Muzzle energy" = '468ft•lbf (634 j)' |
### Instruction:
CREATE TABLE table_29945 (
"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_29945 WHERE "Team" = 'Houston' |
### Instruction:
CREATE TABLE table_49108 (
"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 Opponent, when Result is Win, and when Dat... | SELECT "Opponent" FROM table_49108 WHERE "Result" = 'win' AND "Date" = 'aug 7' |
### Instruction:
CREATE TABLE table_204_51 (
id number,
"week #" text,
"theme" text,
"song choice" text,
"original artist" text,
"order #" number,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which came first , the judge 's choice... | SELECT "theme" FROM table_204_51 WHERE "theme" IN ("judge's choice", 'birth year songs') ORDER BY "order #" LIMIT 1 |
### Instruction:
CREATE TABLE table_56191 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the position that has baltimore bullets and... | SELECT "Position" FROM table_56191 WHERE "Team" = 'baltimore bullets' AND "College" = 'texas tech' |
### Instruction:
CREATE TABLE table_70204 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of engine does a 1951 alfa romeo 159m chasis have?
### Response:
| SELECT "Engine" FROM table_70204 WHERE "Year" = '1951' AND "Chassis" = 'alfa romeo 159m' |
### Instruction:
CREATE TABLE table_51170 (
"Season" text,
"Races" real,
"Podiums" real,
"Pole" real,
"FLaps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143?
### Response:
| SELECT MAX("FLaps") FROM table_51170 WHERE "Podiums" = '24' AND "Races" > '143' |
### Instruction:
CREATE TABLE table_45811 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The golfer from the United states with a score of 72-70-69=211 is in what place?
### Res... | SELECT "Place" FROM table_45811 WHERE "Country" = 'united states' AND "Score" = '72-70-69=211' |
### Instruction:
CREATE TABLE table_44418 (
"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 was strikeforce: barnett vs. ... | SELECT "Record" FROM table_44418 WHERE "Event" = 'strikeforce: barnett vs. cormier' |
### Instruction:
CREATE TABLE table_77881 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT "Date" FROM table_77881 WHERE "Race" = 'argentine grand prix' |
### Instruction:
CREATE TABLE table_26196 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the regular season for usisl d-3 pro league did not q... | SELECT "Regular Season" FROM table_26196 WHERE "League" = 'USISL D-3 Pro League' AND "Playoffs" = 'Did not qualify' |
### Instruction:
CREATE TABLE table_79608 (
"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 least total when the nation is canada (can) and bronze is less ... | SELECT MIN("Total") FROM table_79608 WHERE "Nation" = 'canada (can)' AND "Bronze" < '0' |
### Instruction:
CREATE TABLE table_203_664 (
id number,
"club" text,
"town" text,
"founded" number,
"nickname" text,
"colours" text,
"home ground" text,
"titles" number,
"website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how m... | SELECT "titles" FROM table_203_664 WHERE "club" = 'fortuna 60' |
### Instruction:
CREATE TABLE table_22719 (
"interval name" text,
"size (steps)" real,
"size (cents)" real,
"just ratio" text,
"just (cents)" text,
"error" text,
"audio" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the just cents is 84.... | SELECT "just ratio" FROM table_22719 WHERE "just (cents)" = '84.46' |
### Instruction:
CREATE TABLE table_train_247 (
"id" int,
"mini_mental_state_examination_mmse" int,
"creatinine_consistently" float,
"creatinine_clearance_cl" float,
"seizure_disorder" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables p... | SELECT * FROM table_train_247 WHERE seizure_disorder = 1 |
### Instruction:
CREATE TABLE table_74121 (
"Program" text,
"Exercise" text,
"Week" text,
"Muscles Worked" text,
"Type" text,
"Ab Ripper X" text,
"Length" text,
"Equipment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ab ri... | SELECT "Ab Ripper X" FROM table_74121 WHERE "Exercise" = 'X Stretch' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.