instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_13904 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2008 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Weight of the Player from Iskra Odintsovo 2008 Club?
### Response:
|
SELECT "Weight" FROM table_13904 WHERE "2008 club" = 'iskra odintsovo'
|
### Instruction:
CREATE TABLE table_48708 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result has a Road Team of san francisco, and a Game of game 2?
### Response:
|
SELECT "Result" FROM table_48708 WHERE "Road Team" = 'san francisco' AND "Game" = 'game 2'
|
### Instruction:
CREATE TABLE table_75998 (
"Season" text,
"Coach" text,
"Overall" text,
"Conference" text,
"Big Ten" text,
"National" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Coach with a Big Ten that is 1st (148)?
### Response:
|
SELECT "Coach" FROM table_75998 WHERE "Big Ten" = '1st (148)'
|
### Instruction:
CREATE TABLE table_30926 (
"GE-DL works no." real,
"Year built" text,
"Built for" text,
"Original no." text,
"New owner" text,
"New no." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed in built for when the original number is 24d?
### Response:
|
SELECT "Built for" FROM table_30926 WHERE "Original no." = '24D'
|
### Instruction:
CREATE TABLE table_name_95 (
year INTEGER,
competition VARCHAR,
waterford_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?
### Response:
|
SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (24)"
|
### Instruction:
CREATE TABLE table_name_71 (
lost INTEGER,
against VARCHAR,
played VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50?
### Response:
|
SELECT MIN(lost) FROM table_name_71 WHERE played > 10 AND team = "ypiranga-sp" AND against > 50
|
### Instruction:
CREATE TABLE table_41774 (
"Built" real,
"Number" real,
"Type" text,
"SLM Number" real,
"Wheel arrangement" text,
"Location" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which type of locomotive was built in 1923?
### Response:
|
SELECT "Type" FROM table_41774 WHERE "Built" = '1923'
|
### Instruction:
CREATE TABLE table_3779 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Decision" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the score is 5-3, who made the decision?
### Response:
|
SELECT "Decision" FROM table_3779 WHERE "Score" = '5-3'
|
### Instruction:
CREATE TABLE table_11696 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Leyton Orient an away team?
### Response:
|
SELECT "Date" FROM table_11696 WHERE "Opponent" = 'leyton orient' AND "Venue" = 'away'
|
### Instruction:
CREATE TABLE table_22043 (
"Home (1st leg)" text,
"Home (2nd leg)" text,
"1st Leg" text,
"2nd leg" text,
"Aggregate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the second leg is 1-1, what is the first leg?
### Response:
|
SELECT "Home (1st leg)" FROM table_22043 WHERE "2nd leg" = '1-1'
|
### Instruction:
CREATE TABLE table_48784 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the H/A on 5 August 1990?
### Response:
|
SELECT "H / A" FROM table_48784 WHERE "Date" = '5 august 1990'
|
### Instruction:
CREATE TABLE table_30432 (
"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.
-- How man teams have a writer named harry angus?
### Response:
|
SELECT COUNT("Name of team song") FROM table_30432 WHERE "Writer/composer" = 'Harry Angus'
|
### Instruction:
CREATE TABLE table_name_68 (
games INTEGER,
date_of_birth VARCHAR,
debut_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average games a player born on 17 March 1915 and debut before 1935 had?
### Response:
|
SELECT AVG(games) FROM table_name_68 WHERE date_of_birth = "17 march 1915" AND debut_year < 1935
|
### Instruction:
CREATE TABLE table_42981 (
"Name" text,
"Location" text,
"Field" text,
"Capacity (MW)" real,
"Annual Generation (average GWh)" text,
"Commissioned" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the power station in the Field of Mokai?
### Response:
|
SELECT "Name" FROM table_42981 WHERE "Field" = 'mokai'
|
### Instruction:
CREATE TABLE table_24865 (
"No. in series" 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 directed the title 'peggy sue got work'?
### Response:
|
SELECT "Directed by" FROM table_24865 WHERE "Title" = 'Peggy Sue Got Work'
|
### Instruction:
CREATE TABLE table_name_56 (
date VARCHAR,
competition VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue?
### Response:
|
SELECT date FROM table_name_56 WHERE competition = "2012 afc challenge cup" AND venue = "dasarath rangasala stadium, kathmandu"
|
### Instruction:
CREATE TABLE table_24925 (
"Name" text,
"Position" text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Home Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the name is Timo Higgins, what is the total date of birth amount?
### Response:
|
SELECT COUNT("Date of Birth") FROM table_24925 WHERE "Name" = 'Timo Higgins'
|
### Instruction:
CREATE TABLE table_77616 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the FCC info for call sign of w279at
### Response:
|
SELECT "FCC info" FROM table_77616 WHERE "Call sign" = 'w279at'
|
### Instruction:
CREATE TABLE table_17068 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"MLB Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pick was the player from Apopka, FL in the 2002 MLB draft
### Response:
|
SELECT "MLB Draft" FROM table_17068 WHERE "Hometown" = 'Apopka, FL'
|
### Instruction:
CREATE TABLE table_name_58 (
manufacturer VARCHAR,
engine_make_capacity VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963?
### Response:
|
SELECT manufacturer FROM table_name_58 WHERE engine_make_capacity = "jawa 249cc" AND year = "1956-1963"
|
### Instruction:
CREATE TABLE table_204_994 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is he largest points scored in one game ?
### Response:
|
SELECT MAX("result") FROM table_204_994
|
### Instruction:
CREATE TABLE table_name_99 (
balls_faced INTEGER,
average VARCHAR,
sr VARCHAR,
innings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of balls faced associated with a strike rate over 48.28, 3 innings, and an average under 5?
### Response:
|
SELECT SUM(balls_faced) FROM table_name_99 WHERE sr > 48.28 AND innings = 3 AND average < 5
|
### Instruction:
CREATE TABLE table_78266 (
"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.
-- On January 15, what was the most in attendance?
### Response:
|
SELECT MAX("Attendance") FROM table_78266 WHERE "Date" = 'january 15'
|
### Instruction:
CREATE TABLE table_26371 (
"Lines" text,
"Opening" real,
"Traction" text,
"Length" text,
"Stations" real,
"Route" text,
"Stops" real,
"Travel time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the stops for stations 36
### Response:
|
SELECT "Stops" FROM table_26371 WHERE "Stations" = '36'
|
### Instruction:
CREATE TABLE table_25970 (
"Rank" real,
"Runs" real,
"Player" text,
"Matches" real,
"Innings" real,
"Not Out" real,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the player if the innings is 82?
### Response:
|
SELECT "Player" FROM table_25970 WHERE "Innings" = '82'
|
### Instruction:
CREATE TABLE table_932 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Stadium" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the result with opponent being at oakland raiders
### Response:
|
SELECT "Result" FROM table_932 WHERE "Opponent" = 'at Oakland Raiders'
|
### Instruction:
CREATE TABLE table_4770 (
"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 day is geelong the home team?
### Response:
|
SELECT "Date" FROM table_4770 WHERE "Home team" = 'geelong'
|
### Instruction:
CREATE TABLE table_28164986_4 (
date_of_appointment VARCHAR,
manner_of_departure VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the next coach appointed after niger tornadoes fired their coach?
### Response:
|
SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure = "fired" AND team = "Niger Tornadoes"
|
### Instruction:
CREATE TABLE table_18666 (
"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.
-- how many district with incumbent being david delano glover
### Response:
|
SELECT COUNT("District") FROM table_18666 WHERE "Incumbent" = 'David Delano Glover'
|
### Instruction:
CREATE TABLE table_65177 (
"Japanese Title" text,
"Romaji Title" text,
"TV Station" text,
"Episodes" real,
"Average Ratings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which TV Station has Average Ratings of 16.89%?
### Response:
|
SELECT "TV Station" FROM table_65177 WHERE "Average Ratings" = '16.89%'
|
### Instruction:
CREATE TABLE table_67229 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for zi yan jie zheng opponent
### Response:
|
SELECT "Date" FROM table_67229 WHERE "Opponents" = 'zi yan jie zheng'
|
### Instruction:
CREATE TABLE table_18662 (
"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 incumbent being william j. driver
### Response:
|
SELECT "District" FROM table_18662 WHERE "Incumbent" = 'William J. Driver'
|
### Instruction:
CREATE TABLE table_64013 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- After pick number 158, what is the next round a USC player was picked?
### Response:
|
SELECT MIN("Round") FROM table_64013 WHERE "School" = 'usc' AND "Pick" > '158'
|
### Instruction:
CREATE TABLE table_69105 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a Loss of corcoran (4-4)?
### Response:
|
SELECT "Opponent" FROM table_69105 WHERE "Loss" = 'corcoran (4-4)'
|
### Instruction:
CREATE TABLE table_203_757 (
id number,
"year" number,
"award ceremony" text,
"category" text,
"film/show" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which film/show only had two award ceremonies ?
### Response:
|
SELECT "film/show" FROM table_203_757 GROUP BY "film/show" HAVING COUNT("award ceremony") = 2
|
### Instruction:
CREATE TABLE table_20338 (
"School" text,
"Location" text,
"Control" text,
"Type" text,
"Enrollment" real,
"Founded" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location when control is private and founded is 1870
### Response:
|
SELECT "Location" FROM table_20338 WHERE "Control" = 'Private' AND "Founded" = '1870'
|
### Instruction:
CREATE TABLE table_204_883 (
id number,
"pos." text,
"name" text,
"place of birth" text,
"date of birth" text,
"previous club" text,
"date joined" text,
"fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which player is the oldest ?
### Response:
|
SELECT "name" FROM table_204_883 ORDER BY "date of birth" LIMIT 1
|
### Instruction:
CREATE TABLE table_19029 (
"Year" real,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the the mixed doubles with year being 1972
### Response:
|
SELECT "Mixed doubles" FROM table_19029 WHERE "Year" = '1972'
|
### Instruction:
CREATE TABLE table_57158 (
"Rank" real,
"Name" text,
"Nation" text,
"Points" real,
"Placings" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the lowest placings for United Kingdom and rank less than 13
### Response:
|
SELECT MIN("Placings") FROM table_57158 WHERE "Nation" = 'united kingdom' AND "Rank" < '13'
|
### Instruction:
CREATE TABLE table_201_38 (
id number,
"season" text,
"winner" text,
"team" text,
"position" text,
"age" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the first calder memorial trophy winner from the boston bruins ?
### Response:
|
SELECT "winner" FROM table_201_38 WHERE "team" = 'boston bruins' ORDER BY "season" LIMIT 1
|
### Instruction:
CREATE TABLE table_25203 (
"Year" real,
"Network" text,
"Race caller" text,
"s Host" text,
"s Analyst" text,
"Reporters" text,
"Trophy presentation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the network for 2007 total
### Response:
|
SELECT COUNT("Network") FROM table_25203 WHERE "Year" = '2007'
|
### Instruction:
CREATE TABLE table_65666 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses have jake sharp as the name, with a long less than 30?
### Response:
|
SELECT COUNT("Loss") FROM table_65666 WHERE "Name" = 'jake sharp' AND "Long" < '30'
|
### Instruction:
CREATE TABLE table_45325 (
"Ceremony" text,
"Date" text,
"Host(s)" text,
"Venue" text,
"Film of the Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which award ceremony took place on May 15, 1965?
### Response:
|
SELECT "Ceremony" FROM table_45325 WHERE "Date" = 'may 15, 1965'
|
### Instruction:
CREATE TABLE table_76396 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses did leon patton have with the longest gain higher than 45?
### Response:
|
SELECT COUNT("Loss") FROM table_76396 WHERE "Name" = 'leon patton' AND "Long" > '45'
|
### Instruction:
CREATE TABLE table_name_21 (
raiders_first_downs VARCHAR,
date VARCHAR,
raiders_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Raiders First Downs, when Date is 'Nov. 2', and when Raiders Points is greater than 42?
### Response:
|
SELECT COUNT(raiders_first_downs) FROM table_name_21 WHERE date = "nov. 2" AND raiders_points > 42
|
### Instruction:
CREATE TABLE table_36802 (
"Player" text,
"Attempts" real,
"Yards" real,
"Average" real,
"Long" real,
"Touchdowns" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of touchdowns with the average is less than 2.6?
### Response:
|
SELECT COUNT("Touchdowns") FROM table_36802 WHERE "Average" < '2.6'
|
### Instruction:
CREATE TABLE table_203_808 (
id number,
"rank" number,
"peak name" text,
"elevation" text,
"location" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of the mountains have an elevation above 3,300 ft ?
### Response:
|
SELECT COUNT("peak name") FROM table_203_808 WHERE "elevation" > 3300
|
### Instruction:
CREATE TABLE table_204_362 (
id number,
"episode" number,
"airdate" text,
"game 1" text,
"game 2" text,
"game 3" text,
"viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the air date of the first episode ?
### Response:
|
SELECT "airdate" FROM table_204_362 WHERE "episode" = 1
|
### Instruction:
CREATE TABLE table_55627 (
"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 home team played Fitzroy?
### Response:
|
SELECT "Home team" FROM table_55627 WHERE "Away team" = 'fitzroy'
|
### Instruction:
CREATE TABLE table_203_527 (
id number,
"tournament" text,
"games played" number,
"points per game" number,
"rebounds per game" number,
"assists per game" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- during which tournament did florent average the least points per game ?
### Response:
|
SELECT "tournament" FROM table_203_527 ORDER BY "points per game" LIMIT 1
|
### Instruction:
CREATE TABLE table_72806 (
"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.
-- What was the diameter of the feature found in 1997?
### Response:
|
SELECT "Diameter (km)" FROM table_72806 WHERE "Year named" = '1997'
|
### Instruction:
CREATE TABLE table_name_5 (
matches VARCHAR,
win__percentage VARCHAR,
drawn VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches?
### Response:
|
SELECT COUNT(matches) FROM table_name_5 WHERE drawn < 24 AND lost < 17 AND win__percentage < 31.25
|
### Instruction:
CREATE TABLE table_74901 (
"Round" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Round was the Winning Team Engstler Motorsport Maurer Motorsport?
### Response:
|
SELECT "Round" FROM table_74901 WHERE "Winning team" = 'engstler motorsport maurer motorsport'
|
### Instruction:
CREATE TABLE table_64975 (
"Governor" text,
"Took office" text,
"Left office" text,
"Party" text,
"Lieutenant Governor" text,
"Terms" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which governor had William Henry Ashley as lieutenant governor?
### Response:
|
SELECT "Governor" FROM table_64975 WHERE "Lieutenant Governor" = 'william henry ashley'
|
### Instruction:
CREATE TABLE table_41421 (
"Player" text,
"Club" text,
"League" real,
"Play-offs" real,
"FA Cup" real,
"FA Trophy" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many totals have a play-off less than 0?
### Response:
|
SELECT COUNT("Total") FROM table_41421 WHERE "Play-offs" < '0'
|
### Instruction:
CREATE TABLE table_name_14 (
pick__number INTEGER,
round VARCHAR,
overall VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pick # is the highest one that has an Overall larger than 21, and a College of north carolina, and a Round smaller than 3?
### Response:
|
SELECT MAX(pick__number) FROM table_name_14 WHERE overall > 21 AND college = "north carolina" AND round < 3
|
### Instruction:
CREATE TABLE table_32124 (
"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.
-- Name the location of ufc 98
### Response:
|
SELECT "Location" FROM table_32124 WHERE "Event" = 'ufc 98'
|
### Instruction:
CREATE TABLE table_39026 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has Hydra Head Records on February 2005?
### Response:
|
SELECT "Country" FROM table_39026 WHERE "Label" = 'hydra head records' AND "Date" = 'february 2005'
|
### Instruction:
CREATE TABLE table_47872 (
"Season" text,
"Coach" text,
"Captain" text,
"Alternate (1)" text,
"Alternate (2)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which captain has Gintare Karpaviciute as an alternate?
### Response:
|
SELECT "Captain" FROM table_47872 WHERE "Alternate (1)" = 'gintare karpaviciute'
|
### Instruction:
CREATE TABLE table_25664518_3 (
itv1_weekly_ranking INTEGER,
viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum ITV1 ranking for the episode having viewership of 5.42 million?
### Response:
|
SELECT MIN(itv1_weekly_ranking) FROM table_25664518_3 WHERE viewers__millions_ = "5.42"
|
### Instruction:
CREATE TABLE table_62499 (
"Club" text,
"Sport" text,
"Founded" real,
"League" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue was fouded before 2000 for basketball?
### Response:
|
SELECT "Venue" FROM table_62499 WHERE "Founded" < '2000' AND "Sport" = 'basketball'
|
### Instruction:
CREATE TABLE table_33769 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were at the game with a record of 6-1?
### Response:
|
SELECT "Attendance" FROM table_33769 WHERE "Record" = '6-1'
|
### Instruction:
CREATE TABLE table_54896 (
"Block A" text,
"Kaz Hayashi" text,
"NOSAWA Rongai" text,
"Super Crazy" text,
"Toshizo" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the NOSAWA Rongai for petey williams
### Response:
|
SELECT "NOSAWA Rongai" FROM table_54896 WHERE "Block A" = 'petey williams'
|
### Instruction:
CREATE TABLE table_20195 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the school/club team for kevin ollie
### Response:
|
SELECT "School/Club Team" FROM table_20195 WHERE "Player" = 'Kevin Ollie'
|
### Instruction:
CREATE TABLE table_56187 (
"Book title" text,
"Author" text,
"Edition/Publisher" text,
"Page count" text,
"Page size" text,
"Language" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What language is the book Miss Macintosh, My Darling in?
### Response:
|
SELECT "Language" FROM table_56187 WHERE "Book title" = 'miss macintosh, my darling'
|
### Instruction:
CREATE TABLE table_4863 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position is the round higher than 15 and has an overall of 411.
### Response:
|
SELECT "Position" FROM table_4863 WHERE "Round" > '15' AND "Overall" = '411'
|
### Instruction:
CREATE TABLE table_24706337_1 (
victor VARCHAR,
name_of_the_war VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many victors where there in the War of 1730 1736 , first stage?
### Response:
|
SELECT COUNT(victor) FROM table_24706337_1 WHERE name_of_the_war = "War of 1730–1736 , first stage"
|
### Instruction:
CREATE TABLE table_6832 (
"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.
-- Which show runs on Friday at 05:00 AM?
### Response:
|
SELECT "05:00 AM" FROM table_6832 WHERE "Time" = 'friday'
|
### Instruction:
CREATE TABLE table_30347 (
"Character" text,
"Game" text,
"Platform" text,
"Status" text,
"Mystic Arte" text,
"Character Voice" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of the character keel (keele) zeibel?
### Response:
|
SELECT "Status" FROM table_30347 WHERE "Character" = 'Keel (Keele) Zeibel'
|
### Instruction:
CREATE TABLE table_66433 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average rank of Elise Matthysen in lanes under 8?
### Response:
|
SELECT AVG("Rank") FROM table_66433 WHERE "Name" = 'elise matthysen' AND "Lane" < '8'
|
### Instruction:
CREATE TABLE table_46724 (
"Year" real,
"Manufacturer" text,
"Start" real,
"Finish" real,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which manufacturer was used after 1969 with a finish position of 34?
### Response:
|
SELECT "Manufacturer" FROM table_46724 WHERE "Year" > '1969' AND "Finish" = '34'
|
### Instruction:
CREATE TABLE table_25042332_16 (
region VARCHAR,
below_50_percentage_of_median_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what region does 17.4% of the population make below 50% of the median income?
### Response:
|
SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = "17.4%"
|
### Instruction:
CREATE TABLE table_203_125 (
id number,
"club" text,
"winners" number,
"runner-ups" number,
"winning years" text,
"runner-up years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many clubs were runner ups after the year 2000 ?
### Response:
|
SELECT COUNT("club") FROM table_203_125 WHERE "runner-up years" > 2000
|
### Instruction:
CREATE TABLE table_203_797 (
id number,
"genre" text,
"year" number,
"title" text,
"role" text,
"episodes" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in 2013 , how many films did domingo appear in ?
### Response:
|
SELECT COUNT("title") FROM table_203_797 WHERE "year" = 2013
|
### Instruction:
CREATE TABLE table_12446 (
"Mininera DFL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What draws are the lowest when wins are larger than 18?
### Response:
|
SELECT MIN("Draws") FROM table_12446 WHERE "Wins" > '18'
|
### Instruction:
CREATE TABLE table_37814 (
"Player" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points have Touchdowns larger than 0, and an Extra points smaller than 0?
### Response:
|
SELECT SUM("Points") FROM table_37814 WHERE "Touchdowns" > '0' AND "Extra points" < '0'
|
### Instruction:
CREATE TABLE table_14203 (
"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.
-- who is team 1 when team 2 is usl dunkerque (d2)?
### Response:
|
SELECT "Team 1" FROM table_14203 WHERE "Team 2" = 'usl dunkerque (d2)'
|
### Instruction:
CREATE TABLE table_44798 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Comp" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Comp is on 2004-10-17?
### Response:
|
SELECT "Comp" FROM table_44798 WHERE "Date" = '2004-10-17'
|
### Instruction:
CREATE TABLE table_64915 (
"Actor" text,
"Character" text,
"Soap Opera" text,
"Years" text,
"Duration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's the actor for the Archers having a character of Martha Woodford?
### Response:
|
SELECT "Actor" FROM table_64915 WHERE "Soap Opera" = 'the archers' AND "Character" = 'martha woodford'
|
### Instruction:
CREATE TABLE table_28864 (
"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.
-- how many 'Party' are in district south carolina 2?
### Response:
|
SELECT COUNT("Party") FROM table_28864 WHERE "District" = 'South Carolina 2'
|
### Instruction:
CREATE TABLE table_34150 (
"Ship" text,
"Original Pennant Number" text,
"Builder" text,
"Laid Down" text,
"Launched" text,
"Commissioned" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what builder launched 20 jun 1953?
### Response:
|
SELECT "Builder" FROM table_34150 WHERE "Launched" = '20 jun 1953'
|
### Instruction:
CREATE TABLE table_21952 (
"Country / Region" text,
"Name" text,
"Host(s)" text,
"Channel" text,
"Premiere / Aired" text,
"Seasons" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which channel has the host Art Rooijakkers?
### Response:
|
SELECT "Channel" FROM table_21952 WHERE "Host(s)" = 'Art Rooijakkers'
|
### Instruction:
CREATE TABLE table_64574 (
"County" text,
"Location" text,
"Distance" real,
"Total" real,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Distance has a County of faulkner, and a Total smaller than 1.5?
### Response:
|
SELECT SUM("Distance") FROM table_64574 WHERE "County" = 'faulkner' AND "Total" < '1.5'
|
### Instruction:
CREATE TABLE table_name_15 (
time VARCHAR,
rank VARCHAR,
react VARCHAR,
athlete VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Time has a Reaction of 0.155, and an Athlete of kristof beyens, and a Rank smaller than 3?
### Response:
|
SELECT COUNT(time) FROM table_name_15 WHERE react = 0.155 AND athlete = "kristof beyens" AND rank < 3
|
### Instruction:
CREATE TABLE table_52798 (
"Superlative" text,
"Actress" text,
"Record Set" text,
"Year" real,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which award was won by Gloria Stuart after 1984?
### Response:
|
SELECT "Superlative" FROM table_52798 WHERE "Year" > '1984' AND "Actress" = 'gloria stuart'
|
### Instruction:
CREATE TABLE table_63769 (
"Coaster Name" text,
"Park" text,
"Location" text,
"Track" text,
"Builder" text,
"Year Opened" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year opened is located in west mifflin, pennsylvania?
### Response:
|
SELECT "Year Opened" FROM table_63769 WHERE "Location" = 'west mifflin, pennsylvania'
|
### Instruction:
CREATE TABLE table_60688 (
"Golden Rivers" 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 total number of draws when there are fewer than 3 wins?
### Response:
|
SELECT COUNT("Draws") FROM table_60688 WHERE "Wins" < '3'
|
### Instruction:
CREATE TABLE table_77635 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Jean Alesi had laps less than 24, what was his highest grid?
### Response:
|
SELECT MAX("Grid") FROM table_77635 WHERE "Driver" = 'jean alesi' AND "Laps" < '24'
|
### Instruction:
CREATE TABLE table_57853 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tyre with a 56 chassis?
### Response:
|
SELECT "Tyre" FROM table_57853 WHERE "Chassis" = '56'
|
### Instruction:
CREATE TABLE table_9615 (
"Week" real,
"Date" text,
"Opponent" text,
"Stadium" text,
"Result" text,
"Record" text,
"Streak" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in week 14?
### Response:
|
SELECT "Result" FROM table_9615 WHERE "Week" = '14'
|
### Instruction:
CREATE TABLE table_30296 (
"Vessel" text,
"Built" real,
"Max Speed" text,
"Length" text,
"Breadth" text,
"Flag" text,
"Propulsion" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many breadth entries are there when propulsion is jet?
### Response:
|
SELECT COUNT("Breadth") FROM table_30296 WHERE "Propulsion" = 'Jet'
|
### Instruction:
CREATE TABLE table_27228 (
"Season" text,
"Date" text,
"Home team" text,
"Result" text,
"Away team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who as the home team for game on 5 october 2011?
### Response:
|
SELECT "Home team" FROM table_27228 WHERE "Date" = '5 October 2011'
|
### Instruction:
CREATE TABLE table_72413 (
"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 party did the incumbent from the Arkansas 5 district belong to?
### Response:
|
SELECT "Party" FROM table_72413 WHERE "District" = 'Arkansas 5'
|
### Instruction:
CREATE TABLE table_23270 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the type of the school in New London, Connecticut?
### Response:
|
SELECT "Type" FROM table_23270 WHERE "Location" = 'New London, Connecticut'
|
### Instruction:
CREATE TABLE table_40656 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were in attendance against the Oakland Raiders after week 7?
### Response:
|
SELECT SUM("Attendance") FROM table_40656 WHERE "Opponent" = 'oakland raiders' AND "Week" > '7'
|
### Instruction:
CREATE TABLE table_54808 (
"Frequency" text,
"Call sign" text,
"Name" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which owner has a Contemporary Christian music station on 97.9 FM?
### Response:
|
SELECT "Name" FROM table_54808 WHERE "Format" = 'contemporary christian music' AND "Frequency" = '97.9 fm'
|
### Instruction:
CREATE TABLE table_46172 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Result of win, and a Date of march 17?
### Response:
|
SELECT "Opponent" FROM table_46172 WHERE "Result" = 'win' AND "Date" = 'march 17'
|
### Instruction:
CREATE TABLE table_6979 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponents in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game that was played against Laura Golarsa?
### Response:
|
SELECT "Date" FROM table_6979 WHERE "Partnering" = 'laura golarsa'
|
### Instruction:
CREATE TABLE table_52287 (
"NGC number" real,
"Object type" text,
"Constellation" text,
"Right ascension ( J2000 )" text,
"Declination ( J2000 )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Object type has a Constellation of cancer?
### Response:
|
SELECT "Object type" FROM table_52287 WHERE "Constellation" = 'cancer'
|
### Instruction:
CREATE TABLE table_52570 (
"Player" text,
"No.(s)" text,
"Height in Ft." text,
"Position" text,
"Years for Rockets" text,
"School/Club Team/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the player with the no. 14?
### Response:
|
SELECT "Player" FROM table_52570 WHERE "No.(s)" = '14'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.