instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_12792 (
"Location" text,
"Year" real,
"Champion" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 1979 when Jimmy Connors was the runner-up what was the score?
### Response:
| SELECT "Score" FROM table_12792 WHERE "Runner-up" = 'jimmy connors' AND "Year" < '1979' |
### Instruction:
CREATE TABLE table_68286 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has t6 as a place and 75-70=145 as the score?
### Response:
| SELECT "Country" FROM table_68286 WHERE "Place" = 't6' AND "Score" = '75-70=145' |
### Instruction:
CREATE TABLE table_name_5 (
games_played INTEGER,
minutes VARCHAR,
loses VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Games Played for Bo Oshoniyi, who had more than 1170 minutes and 10 loses?
... | SELECT AVG(games_played) FROM table_name_5 WHERE loses = 10 AND player = "bo oshoniyi" AND minutes > 1170 |
### Instruction:
CREATE TABLE table_38563 (
"Season" text,
"Winner" text,
"Result" text,
"Runner-up" text,
"Final venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Result in Green Lane with Kirkburton as the Runner-up?
### Respons... | SELECT "Result" FROM table_38563 WHERE "Runner-up" = 'kirkburton' AND "Final venue" = 'green lane' |
### Instruction:
CREATE TABLE table_name_79 (
opponents INTEGER,
raiders_points VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Opponents, when Raiders Poinsts is greater than 38, and when Attendance is greater than ... | SELECT MIN(opponents) FROM table_name_79 WHERE raiders_points > 38 AND attendance > 51 OFFSET 267 |
### Instruction:
CREATE TABLE table_47315 (
"Title" text,
"Parent magazine" text,
"Magazine type" text,
"Frequency" text,
"First published" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency that the magazine issues that was first ... | SELECT "Frequency" FROM table_47315 WHERE "First published" = 'april 27, 2010' |
### Instruction:
CREATE TABLE table_67222 (
"Goal" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was a friendly competition and a result of 3 0?
### Resp... | SELECT "Date" FROM table_67222 WHERE "Competition" = 'friendly' AND "Result" = '3–0' |
### Instruction:
CREATE TABLE table_203_577 (
id number,
"tenure" text,
"coach" text,
"years" number,
"record" text,
"pct." number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what 's the total combined years for thomas stouch and schwartz ?
### ... | SELECT SUM("years") FROM table_203_577 WHERE "coach" IN ('thomas stouch', 'schwartz') |
### Instruction:
CREATE TABLE table_11749 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentz... | SELECT "Constructor" FROM table_11749 WHERE "Grid" > '4' AND "Driver" = 'heinz-harald frentzen' |
### Instruction:
CREATE TABLE table_32013 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the result for week less than 4 and september 7, 1986
### Response:
| SELECT "Result" FROM table_32013 WHERE "Week" < '4' AND "Date" = 'september 7, 1986' |
### Instruction:
CREATE TABLE table_28881 (
"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.
-- What party did candidate george mcduffie (j) represent?... | SELECT "Party" FROM table_28881 WHERE "Candidates" = 'George McDuffie (J)' |
### Instruction:
CREATE TABLE table_17529 (
"Number" real,
"Name" text,
"Titles" text,
"Date" text,
"Opponent" text,
"Result" text,
"Defenses" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was pernell whitaker an opponent?
... | SELECT COUNT("Date") FROM table_17529 WHERE "Opponent" = 'Pernell Whitaker' |
### Instruction:
CREATE TABLE table_26335424_86 (
semifinals VARCHAR,
round_of_16 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?
### Response:
| SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-6" |
### Instruction:
CREATE TABLE table_70703 (
"Model" text,
"Floating point" text,
"Decimal" text,
"Byte string" text,
"Memory map" text,
"Max memory (kwords)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What model has both a standard byte stri... | SELECT "Model" FROM table_70703 WHERE "Byte string" = 'standard' AND "Floating point" = 'standard' |
### Instruction:
CREATE TABLE table_name_50 (
april INTEGER,
game VARCHAR,
points VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which April has Points of 95, and a Record of 41 25 10 3, and a Game smaller than 79?
### Response:
| SELECT SUM(april) FROM table_name_50 WHERE points = 95 AND record = "41–25–10–3" AND game < 79 |
### Instruction:
CREATE TABLE table_204_301 (
id number,
"nationality" text,
"name" text,
"term as a deputy judge" text,
"reason for termination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many deputy judges served on the permanent court of ... | SELECT COUNT("name") FROM table_204_301 WHERE "term as a deputy judge" > 1930 |
### Instruction:
CREATE TABLE table_13699 (
"Year" real,
"Labour" real,
"Lib Dem" real,
"Green" real,
"IWCA" real,
"Independent" real,
"Conservative" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the the average Lib Dem with Conservati... | SELECT AVG("Lib Dem") FROM table_13699 WHERE "Conservative" < '0' |
### Instruction:
CREATE TABLE table_name_62 (
wins INTEGER,
earnings___$__ VARCHAR,
events VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins for billy casper over 8 events and uner $71,979 in earnings?
### Response:
| SELECT MIN(wins) FROM table_name_62 WHERE events = 8 AND player = "billy casper" AND earnings___$__ < 71 OFFSET 979 |
### Instruction:
CREATE TABLE table_5531 (
"Date" text,
"Time" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Time is listed for the Loss of Okajima (1-2)?
... | SELECT "Time" FROM table_5531 WHERE "Loss" = 'okajima (1-2)' |
### Instruction:
CREATE TABLE table_52257 (
"Location" text,
"Abb." text,
"Enzyme" text,
"Disorder" text,
"Measurements" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What lab measurements can help diagnosie ornithine transcarbamylase deficiency?
... | SELECT "Measurements" FROM table_52257 WHERE "Disorder" = 'ornithine transcarbamylase deficiency' |
### Instruction:
CREATE TABLE table_1197 (
"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.
-- Name the number of episodes for s ... | SELECT COUNT("Episode") FROM table_1197 WHERE "Segment B" = 's Hacksaw' |
### Instruction:
CREATE TABLE table_10710 (
"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 score for the... | SELECT "Home team score" FROM table_10710 WHERE "Home team" = 'melbourne' |
### Instruction:
CREATE TABLE table_204_495 (
id number,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" number,
"scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name one date with the only attendance over 32,... | SELECT "date" FROM table_204_495 WHERE "attendance" > 32000 |
### Instruction:
CREATE TABLE table_6702 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Date had a Partner of urszula radwa ska?
... | SELECT "Date" FROM table_6702 WHERE "Partner" = 'urszula radwańska' |
### Instruction:
CREATE TABLE table_204_93 (
id number,
"round" number,
"pick" number,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the name of the col... | SELECT "college" FROM table_204_93 WHERE "pick" = 4 |
### Instruction:
CREATE TABLE table_15338 (
"Client" text,
"Years of Operation" text,
"Area of Operation" text,
"Country" text,
"Services" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the area of operation that had drilling during the yea... | SELECT "Area of Operation" FROM table_15338 WHERE "Services" = 'drilling' AND "Years of Operation" = '1999' |
### Instruction:
CREATE TABLE table_58793 (
"Name" text,
"Tournaments" real,
"Pro Debut" text,
"Top division debut" text,
"Highest rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Tournaments, when Pro Debut is 'July 2002'?
... | SELECT MAX("Tournaments") FROM table_58793 WHERE "Pro Debut" = 'july 2002' |
### Instruction:
CREATE TABLE table_name_3 (
party VARCHAR,
incumbent VARCHAR,
result VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before ... | SELECT party FROM table_name_3 WHERE result = "re-elected" AND first_elected < 1894 AND incumbent = "charles h. grosvenor" |
### Instruction:
CREATE TABLE table_2724704_5 (
color_analyst_s_ VARCHAR,
studio_analyst_s_ VARCHAR,
tv_rating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the color analyst for terry bowden and 17.2
### Response:
| SELECT color_analyst_s_ FROM table_2724704_5 WHERE studio_analyst_s_ = "Terry Bowden" AND tv_rating = "17.2" |
### Instruction:
CREATE TABLE table_70695 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Decile number for St Mary's Catholic School... | SELECT "Decile" FROM table_70695 WHERE "Name" = 'st mary''s catholic school' |
### Instruction:
CREATE TABLE table_60760 (
"Date" text,
"Unit" real,
"Aircraft" text,
"Opponent" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Unit for the Aircraft F.e.2b, located in Logeast?
### Response:
| SELECT SUM("Unit") FROM table_60760 WHERE "Aircraft" = 'f.e.2b' AND "Location" = 'logeast' |
### Instruction:
CREATE TABLE table_39650 (
"Pick" real,
"Player" text,
"Nationality" text,
"WNBA Team" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school or club team did the player chosen for the Sacramento Monarch... | SELECT "School/Club Team" FROM table_39650 WHERE "WNBA Team" = 'sacramento monarchs' |
### Instruction:
CREATE TABLE table_14052 (
"Event" text,
"Record" text,
"Nationality" text,
"Date" text,
"Games" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the date of the discus throw in 2010 Georgetown?
### Response:
| SELECT "Date" FROM table_14052 WHERE "Games" = '2010 georgetown' AND "Event" = 'discus throw' |
### Instruction:
CREATE TABLE table_8185 (
"Club" text,
"Sport" text,
"Founded" real,
"League" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Sport has a Founded larger than 1874 and a Club of birmingham city?
### Response:
| SELECT "Sport" FROM table_8185 WHERE "Founded" > '1874' AND "Club" = 'birmingham city' |
### Instruction:
CREATE TABLE table_53936 (
"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.
-- On what date was Hawthorn the h... | SELECT "Date" FROM table_53936 WHERE "Home team" = 'hawthorn' |
### Instruction:
CREATE TABLE table_24328 (
"Season" real,
"Episode" real,
"Episode Summary" text,
"Premier date" text,
"External Link" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the summary for the episode with a coach... | SELECT "Episode Summary" FROM table_24328 WHERE "Coach" = 'Rebecca Star' |
### Instruction:
CREATE TABLE table_29148 (
"No. in total" text,
"No. in series" text,
"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 is the number in series for the e... | SELECT "No. in series" FROM table_29148 WHERE "Title" = 'Crossroads' |
### Instruction:
CREATE TABLE table_20304 (
"#" real,
"Advocate # 1" text,
"Advocate # 2" text,
"Root of All Evil" text,
"Poll winner" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did drinking games win... | SELECT COUNT("#") FROM table_20304 WHERE "Poll winner" = 'Drinking Games' |
### Instruction:
CREATE TABLE table_30520 (
"Letters" text,
"Organization" text,
"Nickname" text,
"Founding Date" text,
"Founding University" text,
"Type" text,
"Canadian Chapters" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When are the ... | SELECT "Nickname" FROM table_30520 WHERE "Letters" = 'ΚΑΘ' |
### Instruction:
CREATE TABLE table_48636 (
"Title" text,
"Writer" text,
"Format" text,
"Company" text,
"release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the release date of the album written by Goss, James James Goss under Audio... | SELECT "release date" FROM table_48636 WHERE "Writer" = 'goss, james james goss' AND "Company" = 'audiogo' |
### Instruction:
CREATE TABLE table_200_7 (
id number,
"afrikaans" text,
"ipa" text,
"dutch" text,
"english" text,
"german" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how do you say do you speak afrikaans ? in afrikaans ?
### Response:
| SELECT "afrikaans" FROM table_200_7 WHERE "english" = 'do you speak afrikaans?' |
### Instruction:
CREATE TABLE table_72613 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 74804 is the attendance what week is it?
... | SELECT "Week" FROM table_72613 WHERE "Attendance" = '74804' |
### Instruction:
CREATE TABLE table_33510 (
"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 day was geelong the away s... | SELECT "Date" FROM table_33510 WHERE "Away team" = 'geelong' |
### Instruction:
CREATE TABLE table_21214 (
"Graphics mode" real,
"Char cells" text,
"Pixels" text,
"Hardware colours" real,
"used (KB)" real,
"map" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If hardware colours is 8 what wo... | SELECT "Char cells" FROM table_21214 WHERE "Hardware colours" = '8' |
### Instruction:
CREATE TABLE table_name_93 (
avg_g INTEGER,
yards VARCHAR,
long VARCHAR,
gp_gs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest average for a long less than 24, a GP-GS of 2-0, and less than 7 yards?
### Response:... | SELECT MAX(avg_g) FROM table_name_93 WHERE long < 24 AND gp_gs = "2-0" AND yards < 7 |
### Instruction:
CREATE TABLE table_66971 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the margin of victory for Isao Aoki when he was a runn... | SELECT "Margin of victory" FROM table_66971 WHERE "Runner(s)-up" = 'isao aoki' |
### Instruction:
CREATE TABLE table_65175 (
"Eliminated" text,
"Tag Team" text,
"Entered" real,
"Eliminated by" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest Entered of Eliminated by of rosey and the hurricane?
### R... | SELECT MAX("Entered") FROM table_65175 WHERE "Eliminated by" = 'rosey and the hurricane' |
### Instruction:
CREATE TABLE table_26076 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location of buffalo ... | SELECT "Location" FROM table_26076 WHERE "Opponent" = 'Buffalo Sabres' |
### Instruction:
CREATE TABLE table_57181 (
"Round" real,
"Pick" real,
"Player" text,
"Pos." text,
"Nationality" text,
"Team" text,
"School/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position has a School/club team of ja... | SELECT "Pos." FROM table_57181 WHERE "School/club team" = 'jacksonville' |
### Instruction:
CREATE TABLE table_71833 (
"Park" text,
"Tower height" text,
"Drop height*" text,
"Speed" text,
"Model" text,
"Opened" text,
"Height requirement" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opened with a drop height ... | SELECT "Opened" FROM table_71833 WHERE "Drop height*" = '272feet' |
### Instruction:
CREATE TABLE table_39293 (
"Season" text,
"Club" text,
"Country" text,
"Competition" text,
"Caps" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of goals for the 2004/05 Season?
### Response:
| SELECT SUM("Goals") FROM table_39293 WHERE "Season" = '2004/05' |
### Instruction:
CREATE TABLE table_5159 (
"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.
-- How many Points have a Team of rusport, and Laps of 45?
### Response:... | SELECT COUNT("Points") FROM table_5159 WHERE "Team" = 'rusport' AND "Laps" = '45' |
### Instruction:
CREATE TABLE table_27529608_21 (
qtr_final__week_ INTEGER,
genre VARCHAR,
age_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest quarterfinal week when the genre is dancing and the act is 32?
### Response:
| SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE genre = "Dancing" AND age_s_ = "32" |
### Instruction:
CREATE TABLE table_204_473 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who sco... | SELECT "driver" FROM table_204_473 ORDER BY "points" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_32647 (
"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 is the event at lake oval?... | SELECT "Date" FROM table_32647 WHERE "Venue" = 'lake oval' |
### Instruction:
CREATE TABLE table_9948 (
"Year" text,
"Kansas" text,
"Nebraska" text,
"North Dakota" text,
"Oklahoma" text,
"South Dakota" text,
"Texas" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Texas has Johnson from Nort Dakota... | SELECT "Texas" FROM table_9948 WHERE "North Dakota" = 'johnson' |
### Instruction:
CREATE TABLE table_204_441 (
id number,
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" number,
"scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the first to have the best result
###... | SELECT "opponent" FROM table_204_441 WHERE "result" > "result" ORDER BY "date" LIMIT 1 |
### Instruction:
CREATE TABLE table_26824 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did Dax Shepard play 20 qu... | SELECT "Date" FROM table_26824 WHERE "20 Questions" = 'Dax Shepard' |
### Instruction:
CREATE TABLE table_16415 (
"Romaji title" text,
"Japanese title" text,
"Release date" text,
"Reference" text,
"Oricon" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many songs have mi-chemin as their Japanese name and romanji n... | SELECT COUNT("Romaji title") FROM table_16415 WHERE "Japanese title" = 'Mi-Chemin' |
### Instruction:
CREATE TABLE table_30060 (
"Dates" text,
"Race Name" text,
"Location" text,
"UCI Rating" text,
"Winner" text,
"Team" text,
"Series Leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what location has team trek-livestrong... | SELECT "Location" FROM table_30060 WHERE "Team" = 'Trek-Livestrong' |
### Instruction:
CREATE TABLE table_13618 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IHSAA class for Muncie Burris?
### Respon... | SELECT "IHSAA Class" FROM table_13618 WHERE "School" = 'muncie burris' |
### Instruction:
CREATE TABLE table_71680 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the tournament where Kyoko Nagatsuka was the opponen... | SELECT "Date" FROM table_71680 WHERE "Opponent in the final" = 'kyoko nagatsuka' |
### Instruction:
CREATE TABLE table_25008 (
"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 european tier for rick spri... | SELECT "European tier" FROM table_25008 WHERE "Artist" = 'Rick Springfield' |
### Instruction:
CREATE TABLE table_203_548 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the total number of medals received by ... | SELECT SUM("total") FROM table_203_548 WHERE "rank" = 11 |
### Instruction:
CREATE TABLE table_60065 (
"Team 1" text,
"Score" text,
"Team 2" text,
"1st round" text,
"2nd round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score of the match with USL Dunkerque (d2) as Team 2?
### Response:
| SELECT "Score" FROM table_60065 WHERE "Team 2" = 'usl dunkerque (d2)' |
### Instruction:
CREATE TABLE table_21576644_2 (
mens_3rd_xi VARCHAR,
ladies_1st_xi VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 3rd, sedgemoor division 1 is the ladies 1st xi what is the mens 3rd xi?
### Response:
| SELECT mens_3rd_xi FROM table_21576644_2 WHERE ladies_1st_xi = "3rd, Sedgemoor Division 1" |
### Instruction:
CREATE TABLE table_78997 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the ERP W for 96.7 MHz?
### Response:
| SELECT "ERP W" FROM table_78997 WHERE "Frequency MHz" = '96.7' |
### Instruction:
CREATE TABLE table_name_8 (
tonnage__grt_ VARCHAR,
nationality VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941?
### Response:
| SELECT COUNT(tonnage__grt_) FROM table_name_8 WHERE nationality = "united kingdom" AND date = "27 june 1941" |
### Instruction:
CREATE TABLE table_23384 (
"Ballpark" text,
"Location" text,
"Team" text,
"Opened" real,
"Closed" real,
"Demod" real,
"Current Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many locations have been used for ball... | SELECT COUNT("Location") FROM table_23384 WHERE "Ballpark" = 'Memorial Stadium' |
### Instruction:
CREATE TABLE table_68547 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" text,
"Finish" text,
"Entrant" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the start of Offy engine and in 1972?
### Response:
| SELECT "Start" FROM table_68547 WHERE "Engine" = 'offy' AND "Year" = '1972' |
### Instruction:
CREATE TABLE table_20972 (
"Runs" text,
"Wicket" text,
"Batting partners" text,
"Batting team" text,
"Fielding team" text,
"Venue" text,
"Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What batting partners played in... | SELECT "Batting partners" FROM table_20972 WHERE "Venue" = 'Sydney' |
### Instruction:
CREATE TABLE table_203_545 (
id number,
"single/ep" text,
"release date" text,
"label" text,
"format(s)" text,
"uk singles chart position" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the number of... | SELECT COUNT(*) FROM table_203_545 WHERE "label" = 'jive records' |
### Instruction:
CREATE TABLE table_60024 (
"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 nation has more than 1 bronze and less than 3 silver?
### Response:
| SELECT "Nation" FROM table_60024 WHERE "Bronze" > '1' AND "Silver" < '3' |
### Instruction:
CREATE TABLE table_22514845_4 (
race_caller VARCHAR,
s_host VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the race caller when jim mckay and al michaels were s hosts in the year 1987?
### Response:
| SELECT race_caller FROM table_22514845_4 WHERE s_host = "Jim McKay and Al Michaels" AND year = 1987 |
### Instruction:
CREATE TABLE table_17457 (
"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.
-- What is the position listed for the team th... | SELECT "Position" FROM table_17457 WHERE "NHL team" = 'Philadelphia Flyers' |
### Instruction:
CREATE TABLE table_36841 (
"Rank" text,
"Film" text,
"Director(s)" text,
"Producer(s)" text,
"Writer(s)" text,
"Production Company" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For which production company did Sam Mccarthy pro... | SELECT "Production Company" FROM table_36841 WHERE "Producer(s)" = 'sam mccarthy' |
### Instruction:
CREATE TABLE table_42944 (
"Year" text,
"Venue" text,
"Champion" text,
"Country" text,
"Score" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the champion in the match where C.A. Palmer was the runner-u... | SELECT "Champion" FROM table_42944 WHERE "Runner-up" = 'c.a. palmer' |
### Instruction:
CREATE TABLE table_name_64 (
city_of_license VARCHAR,
frequency_mhz VARCHAR,
erp_w VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25?
### R... | SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25 |
### Instruction:
CREATE TABLE table_38914 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has chicago black hawks as the visitor and march 23 as the date?
### Response:
| SELECT "Record" FROM table_38914 WHERE "Visitor" = 'chicago black hawks' AND "Date" = 'march 23' |
### Instruction:
CREATE TABLE table_25926120_3 (
cash_prize VARCHAR,
language VARCHAR,
name_of_film VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many cash prizes were given for the hindi language film jodhaa akbar?
### Response:
| SELECT COUNT(cash_prize) FROM table_25926120_3 WHERE language = "Hindi" AND name_of_film = "Jodhaa Akbar" |
### Instruction:
CREATE TABLE table_204_426 (
id number,
"year" text,
"division" number,
"league" text,
"regular season" text,
"playoffs" text,
"open cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last year they came in 3rd... | SELECT MAX("year") FROM table_204_426 WHERE "regular season" = '3rd, atlantic' |
### Instruction:
CREATE TABLE table_47934 (
"Hangul" text,
"\u2019Phagspa" text,
"Tibetan" text,
"Phoenician" text,
"Greek" text,
"Latin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Latin letter for the Tibetan of ?
### Response... | SELECT "Latin" FROM table_47934 WHERE "Tibetan" = 'ས' |
### Instruction:
CREATE TABLE table_204_659 (
id number,
"seat" text,
"state" text,
"majority" number,
"member" text,
"party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is listed before don randall ?
### Response:
| SELECT "member" FROM table_204_659 WHERE id = (SELECT id FROM table_204_659 WHERE "member" = 'don randall') - 1 |
### Instruction:
CREATE TABLE table_46101 (
"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 lowest Silver, when Bronze is 1, and when Total is less than 3?
### Response:
| SELECT MIN("Silver") FROM table_46101 WHERE "Bronze" = '1' AND "Total" < '3' |
### Instruction:
CREATE TABLE table_46040 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the lowest gold with a total over 15 and less than 16 silver?
### Response:
| SELECT MIN("Gold") FROM table_46040 WHERE "Total" > '15' AND "Silver" < '16' |
### Instruction:
CREATE TABLE table_80413 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Kabwe Warriors (team 1) played, what was the result of the 1st leg?
### Response:
| SELECT "1st leg" FROM table_80413 WHERE "Team 1" = 'kabwe warriors' |
### Instruction:
CREATE TABLE table_34275 (
"Year" text,
"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.
-- What year was there no competitio... | SELECT "Year" FROM table_34275 WHERE "Women's singles" = 'no competition' |
### Instruction:
CREATE TABLE table_31998 (
"Stem Meaning" text,
"2nd person sg" text,
"2nd person sg honorific" text,
"3rd person sg" text,
"3rd person sg honorific" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the Stem Meaning of ical
... | SELECT "Stem Meaning" FROM table_31998 WHERE "3rd person sg" = 'ical' |
### Instruction:
CREATE TABLE table_55981 (
"Name" text,
"Current version" text,
"System" text,
"Platform" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the System when the Licence is gpl and the Current Version is 1.72?
#... | SELECT "System" FROM table_55981 WHERE "License" = 'gpl' AND "Current version" = '1.72' |
### Instruction:
CREATE TABLE table_203_28 (
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 long , in km , was the event in helsinki , fin... | SELECT "event" FROM table_203_28 WHERE "venue" = 'helsinki, finland' |
### Instruction:
CREATE TABLE table_63944 (
"Lane" real,
"Name" text,
"Nationality" text,
"Reaction" real,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many lanes does Australia have with a reaction smaller than 0.138?
### Response:
| SELECT COUNT("Lane") FROM table_63944 WHERE "Nationality" = 'australia' AND "Reaction" < '0.138' |
### Instruction:
CREATE TABLE table_33376 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has a rand of 2 and a silver less than 6?
### Response:
| SELECT MAX("Total") FROM table_33376 WHERE "Rank" = '2' AND "Silver" < '6' |
### Instruction:
CREATE TABLE table_43051 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Assists" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a Rank of less than 4, what is Pablo Prigioni's total number of Games?
### Response:
| SELECT COUNT("Games") FROM table_43051 WHERE "Name" = 'pablo prigioni' AND "Rank" < '4' |
### Instruction:
CREATE TABLE table_57411 (
"Year" real,
"Result" text,
"Award" text,
"Category" text,
"Film or series" text,
"Character" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which film or series was nominated in the category of best f... | SELECT "Film or series" FROM table_57411 WHERE "Result" = 'nominated' AND "Category" = 'best fansite' |
### Instruction:
CREATE TABLE table_69685 (
"Year" real,
"Award" text,
"Work" text,
"Cole" text,
"Dylan" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the work for years before 2007 that won blockbuster entertainment awards
### Response:
| SELECT "Work" FROM table_69685 WHERE "Year" < '2007' AND "Award" = 'blockbuster entertainment awards' |
### Instruction:
CREATE TABLE table_24969173_1 (
drying_shrinkage___percentage_ VARCHAR,
dry_density__kg_m3_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the dry density is 800, what is the drying shrinkage %?
### Response:
| SELECT drying_shrinkage___percentage_ FROM table_24969173_1 WHERE dry_density__kg_m3_ = 800 |
### Instruction:
CREATE TABLE table_21306 (
"Match Number" real,
"Date" text,
"Venue" text,
"Team 1" text,
"Team 2" text,
"Result" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is man of the match for match numb... | SELECT "Man of the Match" FROM table_21306 WHERE "Match Number" = '5' |
### Instruction:
CREATE TABLE table_203_837 (
id number,
"rank" number,
"name" text,
"height\nft / m" text,
"floors" number,
"year" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tallest building in columbus ?
#... | SELECT "name" FROM table_203_837 ORDER BY "height\nft / m" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_45006 (
"Year" real,
"Award" text,
"Name" text,
"Institution" text,
"Chief Judge" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What institution won in 2010 with student Cheng Herng Yi?
### Response:
| SELECT "Institution" FROM table_45006 WHERE "Year" > '2010' AND "Name" = 'cheng herng yi' |
### Instruction:
CREATE TABLE table_58821 (
"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 result has a Record of 16-6?... | SELECT "Res." FROM table_58821 WHERE "Record" = '16-6' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.