instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_203_702 (
id number,
"name" text,
"type" text,
"technologies" text,
"author" text,
"presented /\nlast updated" text,
"licence" text,
"homepage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many are listed as all technologies ?
### Response:
|
SELECT COUNT(*) FROM table_203_702 WHERE "technologies" = 'all'
|
### Instruction:
CREATE TABLE table_name_26 (
winning_party_2003 VARCHAR,
swing_to_gain VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold?
### Response:
|
SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold"
|
### Instruction:
CREATE TABLE table_11956 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the resulting loss when a save is ||12,838||48 35?
### Response:
|
SELECT "Loss" FROM table_11956 WHERE "Save" = '||12,838||48–35'
|
### Instruction:
CREATE TABLE table_34715 (
"Year" text,
"National Champion" text,
"Runner-Up" text,
"Location" text,
"Host" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Runner-up with Ohio as the National Champion in Tucson, AZ?
### Response:
|
SELECT "Runner-Up" FROM table_34715 WHERE "National Champion" = 'ohio' AND "Location" = 'tucson, az'
|
### Instruction:
CREATE TABLE table_204_524 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the only two teir 4 years were 2008/09 and what other year ?
### Response:
|
SELECT "season" FROM table_204_524 WHERE "tier" = 4 AND "season" <> '2008/09'
|
### Instruction:
CREATE TABLE table_77885 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score of the Friendly Competition in Manama, Bahrain?
### Response:
|
SELECT "Score" FROM table_77885 WHERE "Venue" = 'manama, bahrain' AND "Competition" = 'friendly'
|
### Instruction:
CREATE TABLE table_203_749 (
id number,
"call sign" text,
"frequency" text,
"city of license" text,
"licensee" text,
"format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- kbmk and kbyz call signs both have a city of license listed as what city ?
### Response:
|
SELECT "city of license" FROM table_203_749 WHERE "call sign" = 'kbmk'
|
### Instruction:
CREATE TABLE table_8768 (
"Callsign" text,
"Frequency" text,
"Band" text,
"On-air ID" text,
"Purpose" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the On-air ID of FM broadcaster 4nsa?
### Response:
|
SELECT "On-air ID" FROM table_8768 WHERE "Band" = 'fm' AND "Callsign" = '4nsa'
|
### Instruction:
CREATE TABLE table_53047 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date were the opponents the Bayhawks at a home game?
### Response:
|
SELECT "Date" FROM table_53047 WHERE "Home/Away" = 'home' AND "Opponent" = 'bayhawks'
|
### Instruction:
CREATE TABLE table_55051 (
"Season" text,
"Team Name" text,
"Games" real,
"Losses" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number of games that had more than 34 points and exactly 3 losses?
### Response:
|
SELECT COUNT("Games") FROM table_55051 WHERE "Points" = '34' AND "Losses" = '3'
|
### 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
### Response:
|
SELECT "opponent" FROM table_204_441 WHERE "result" > "result" ORDER BY "date" LIMIT 1
|
### Instruction:
CREATE TABLE table_26745820_5 (
vivek_express__15905_15906 VARCHAR,
kanyakumari VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the only route that runs to bhavnagar?
### Response:
|
SELECT vivek_express__15905_15906 FROM table_26745820_5 WHERE kanyakumari = "Bhavnagar"
|
### Instruction:
CREATE TABLE table_75350 (
"Station" text,
"City of license" text,
"Channels" text,
"First air date" text,
"Call letters meaning" text,
"HAAT" text,
"Facility ID" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the HAAT of devils lake
### Response:
|
SELECT "HAAT" FROM table_75350 WHERE "City of license" = 'devils lake'
|
### 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 side?
### Response:
|
SELECT "Date" FROM table_33510 WHERE "Away team" = 'geelong'
|
### Instruction:
CREATE TABLE table_62194 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when Fred Couples played in the United States and placed t9?
### Response:
|
SELECT "Score" FROM table_62194 WHERE "Country" = 'united states' AND "Place" = 't9' AND "Player" = 'fred couples'
|
### Instruction:
CREATE TABLE table_33548 (
"Player" text,
"Span" text,
"Start" text,
"Tries" text,
"Conv" text,
"Pens" text,
"Drop" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Start has 8 Tries and 0 Convs?
### Response:
|
SELECT "Start" FROM table_33548 WHERE "Tries" = '8' AND "Conv" = '0'
|
### Instruction:
CREATE TABLE table_50392 (
"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 surface of the palermo, italy championship?
### Response:
|
SELECT "Surface" FROM table_50392 WHERE "Championship" = 'palermo, italy'
|
### Instruction:
CREATE TABLE table_52533 (
"Round" real,
"Overall" real,
"Player" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest overall for a round larger than 8 for pavol demitra?
### Response:
|
SELECT MAX("Overall") FROM table_52533 WHERE "Round" > '8' AND "Player" = 'pavol demitra'
|
### Instruction:
CREATE TABLE table_77079 (
"Player" text,
"Nationality" text,
"Jersey Number(s)" real,
"Position" text,
"Years" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest jersey number for the player from oklahoma baptist?
### Response:
|
SELECT MAX("Jersey Number(s)") FROM table_77079 WHERE "From" = 'oklahoma baptist'
|
### Instruction:
CREATE TABLE table_45580 (
"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 Position of ot, and a Round larger than 5?
### Response:
|
SELECT COUNT("Overall") FROM table_45580 WHERE "Position" = 'ot' AND "Round" > '5'
|
### Instruction:
CREATE TABLE table_204_517 (
id number,
"name" text,
"date of birth" text,
"club" text,
"division" text,
"appointed" text,
"time as manager" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many people were appointed after 2011 ?
### Response:
|
SELECT COUNT("name") FROM table_204_517 WHERE "appointed" > 2011
|
### Instruction:
CREATE TABLE table_18768 (
"Saddle cloth" real,
"Horse" text,
"Trainer" text,
"Jockey" text,
"Weight (kg)" text,
"Barrier" real,
"Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How old is Darryll Holland's horse
### Response:
|
SELECT "Barrier" FROM table_18768 WHERE "Jockey" = 'Darryll Holland'
|
### Instruction:
CREATE TABLE table_1880 (
"Sl no" real,
"Name of the prabandham" text,
"Starting from" real,
"Ending with" real,
"Number of pasurams" real,
"Sung by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most ending with for peyalvar
### Response:
|
SELECT MAX("Ending with") FROM table_1880 WHERE "Sung by" = 'Peyalvar'
|
### Instruction:
CREATE TABLE table_name_42 (
wins INTEGER,
tournaments_played VARCHAR,
year VARCHAR,
best_finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the highest wins for year less than 2000 and best finish of 4 and tournaments played less than 3
### Response:
|
SELECT MAX(wins) FROM table_name_42 WHERE year < 2000 AND best_finish = "4" AND tournaments_played < 3
|
### Instruction:
CREATE TABLE table_5811 (
"Player" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the lowest field goals if they had 12 touchdowns and more than 72 points?
### Response:
|
SELECT MIN("Field goals") FROM table_5811 WHERE "Touchdowns" = '12' AND "Points" > '72'
|
### Instruction:
CREATE TABLE table_59020 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"Hometown/School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Posititon, when Hometown/School is 'Westlake, California'?
### Response:
|
SELECT "Position" FROM table_59020 WHERE "Hometown/School" = 'westlake, california'
|
### Instruction:
CREATE TABLE table_20230 (
"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.
-- How many centerfolds were in the 9-98 issue?
### Response:
|
SELECT COUNT("Centerfold model") FROM table_20230 WHERE "Date" = '9-98'
|
### Instruction:
CREATE TABLE table_21824 (
"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 did 'secrets' air?
### Response:
|
SELECT "Original air date" FROM table_21824 WHERE "Title" = 'Secrets'
|
### Instruction:
CREATE TABLE table_70078 (
"Goal" text,
"Location" text,
"Lineup" text,
"Assist/pass" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which lineup has a Location of usa virginia beach?
### Response:
|
SELECT "Lineup" FROM table_70078 WHERE "Location" = 'usa virginia beach'
|
### Instruction:
CREATE TABLE table_62387 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Outgoing Manager replaced by Sandy Clark?
### Response:
|
SELECT "Outgoing manager" FROM table_62387 WHERE "Replaced by" = 'sandy clark'
|
### Instruction:
CREATE TABLE table_22351 (
"No." real,
"Album" text,
"Artist" text,
"Record label" text,
"Released" text,
"Chart peak" real,
"Number of times certified platinum" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 35 is the number what is the album?
### Response:
|
SELECT "Album" FROM table_22351 WHERE "No." = '35'
|
### Instruction:
CREATE TABLE table_name_14 (
result VARCHAR,
h___a VARCHAR,
kick_off VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the match with a H/A of A and a kick off at 1992-10-31 16:00?
### Response:
|
SELECT result FROM table_name_14 WHERE h___a = "a" AND kick_off = "1992-10-31 16:00"
|
### Instruction:
CREATE TABLE table_57529 (
"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.
-- Which round has a car with a chassis of sf01?
### Response:
|
SELECT "Rounds" FROM table_57529 WHERE "Chassis" = 'sf01'
|
### Instruction:
CREATE TABLE table_203_176 (
id number,
"name" text,
"full name" text,
"caps" number,
"goals" number,
"first cap" text,
"opponent" text,
"club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players scored at least ten goals ?
### Response:
|
SELECT COUNT("name") FROM table_203_176 WHERE "goals" >= 10
|
### Instruction:
CREATE TABLE table_9007 (
"Reserve" text,
"District" text,
"IUCN" text,
"Est." real,
"Description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IUCN for the gales point reserve when the Est. is 1998?
### Response:
|
SELECT "IUCN" FROM table_9007 WHERE "Est." = '1998' AND "Reserve" = 'gales point'
|
### Instruction:
CREATE TABLE table_68175 (
"Party" text,
"Party List votes" real,
"Vote percentage" text,
"Total Seats" text,
"Seat percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of seats of the Christian Democratic Union (CDU) party?
### Response:
|
SELECT "Total Seats" FROM table_68175 WHERE "Party" = 'christian democratic union (cdu)'
|
### Instruction:
CREATE TABLE table_6956 (
"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.
-- Who won men's doubles in 1994?
### Response:
|
SELECT "Men's doubles" FROM table_6956 WHERE "Year" = '1994'
|
### Instruction:
CREATE TABLE table_80222 (
"Year" real,
"Alabama" text,
"Arkansas" text,
"Auburn" text,
"Ole Miss" text,
"Mississippi St." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Mississippi State player associated with Cornelius Bennett?
### Response:
|
SELECT "Mississippi St." FROM table_80222 WHERE "Alabama" = 'cornelius bennett'
|
### 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_62259 (
"Season" text,
"Date" text,
"Winner" text,
"Loser" text,
"Score" text,
"Venue" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season did Wolverhampton Wanderers win?
### Response:
|
SELECT "Season" FROM table_62259 WHERE "Winner" = 'wolverhampton wanderers'
|
### Instruction:
CREATE TABLE table_9176 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Away has a Tie no of replay, and a Score of 2 0?
### Response:
|
SELECT "Away team" FROM table_9176 WHERE "Tie no" = 'replay' AND "Score" = '2–0'
|
### Instruction:
CREATE TABLE table_48944 (
"Rank" real,
"Name" text,
"Nation" text,
"Points" real,
"Placings" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Points for the couple ranking 17 with Placings larger than 100?
### Response:
|
SELECT "Points" FROM table_48944 WHERE "Placings" > '100' AND "Rank" = '17'
|
### Instruction:
CREATE TABLE table_9017 (
"Verb" text,
"2 (VF)" text,
"2 (F)" text,
"3 (F)" text,
"2/3 (P)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHICH 3 (F) has a 2 (VF) of khetish?
### Response:
|
SELECT "3 (F)" FROM table_9017 WHERE "2 (VF)" = 'তুই khetish'
|
### Instruction:
CREATE TABLE table_47959 (
"Cycle" real,
"Premiere date" text,
"Winner" text,
"Runner-up" text,
"Number of contestants" text,
"International Destinations" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Number of Contestants, when Cycle is 4?
### Response:
|
SELECT "Number of contestants" FROM table_47959 WHERE "Cycle" = '4'
|
### Instruction:
CREATE TABLE table_57044 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the loss of the Red Sox game when they had a record of 77 67?
### Response:
|
SELECT "Loss" FROM table_57044 WHERE "Record" = '77–67'
|
### Instruction:
CREATE TABLE table_34524 (
"Club" text,
"Wins" text,
"Last win" text,
"Runners-up" text,
"Last final lost" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many runners-up did the club with the last final lost in 1985 have?
### Response:
|
SELECT "Runners-up" FROM table_34524 WHERE "Last final lost" = '1985'
|
### Instruction:
CREATE TABLE table_14334 (
"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 silver that has mexico as a nation and a gold less than 0?
### Response:
|
SELECT MIN("Silver") FROM table_14334 WHERE "Nation" = 'mexico' AND "Gold" < '0'
|
### Instruction:
CREATE TABLE table_70141 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"First elected" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year First Elected, when the Party is Alp, and when the State is qld?
### Response:
|
SELECT "First elected" FROM table_70141 WHERE "Party" = 'alp' AND "State" = 'qld'
|
### Instruction:
CREATE TABLE table_45164 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the earliest game date in March where the match ended with a record of 25-29-10?
### Response:
|
SELECT MIN("March") FROM table_45164 WHERE "Record" = '25-29-10'
|
### Instruction:
CREATE TABLE table_78290 (
"Disaster" text,
"Year" text,
"Countries Affected" text,
"Scale of Disaster" text,
"People Assisted" text,
"Nature of Help" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were assisted in 1997?
### Response:
|
SELECT "People Assisted" FROM table_78290 WHERE "Year" = '1997'
|
### Instruction:
CREATE TABLE table_59873 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of Birth of the Player from the CSK VMF Moscow Club?
### Response:
|
SELECT "Date of Birth" FROM table_59873 WHERE "Club" = 'csk vmf moscow'
|
### Instruction:
CREATE TABLE table_46932 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has +3 to par and score of 75-72=147?
### Response:
|
SELECT "Player" FROM table_46932 WHERE "To par" = '+3' AND "Score" = '75-72=147'
|
### Instruction:
CREATE TABLE table_72366 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did incumbent ruben hinojosa get elected?
### Response:
|
SELECT COUNT("Results") FROM table_72366 WHERE "Incumbent" = 'Ruben Hinojosa'
|
### Instruction:
CREATE TABLE table_7912 (
"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 is team 1 when team 2 is gaz lec ajaccio (d3)?
### Response:
|
SELECT "Team 1" FROM table_7912 WHERE "Team 2" = 'gazélec ajaccio (d3)'
|
### Instruction:
CREATE TABLE table_48872 (
"Model" text,
"Length Over All" text,
"Beam" text,
"Sail Area" text,
"Crew" text,
"Comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Crew has Comments of daggerboards. design: roy seaman?
### Response:
|
SELECT "Crew" FROM table_48872 WHERE "Comments" = 'daggerboards. design: roy seaman'
|
### Instruction:
CREATE TABLE table_26097 (
"Province" text,
"Contestant" text,
"Age" real,
"Height (in)" text,
"Height (mt)" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many contestants of whatever age are there whose hometown of Andujar?
### Response:
|
SELECT COUNT("Age") FROM table_26097 WHERE "Hometown" = 'Andujar'
|
### Instruction:
CREATE TABLE table_377 (
"Member" text,
"Electorate" text,
"Province" text,
"MPs term" text,
"Election date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the province where member is frederick merriman category:articles with hcards
### Response:
|
SELECT "Province" FROM table_377 WHERE "Member" = 'Frederick Merriman Category:Articles with hCards'
|
### 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 the top result on the chart
### Response:
|
SELECT "result" FROM table_204_994 WHERE id = 1
|
### Instruction:
CREATE TABLE table_57579 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many attended the game that was a Loss of k. gross (1-1)?
### Response:
|
SELECT MAX("Attendance") FROM table_57579 WHERE "Loss" = 'k. gross (1-1)'
|
### Instruction:
CREATE TABLE table_13892 (
"Time" text,
"Show Name" text,
"DJ's" text,
"Local/Networked" text,
"Ad Freq" text,
"News Freq" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the show that has 60 minutes as the news freq?
### Response:
|
SELECT "Show Name" FROM table_13892 WHERE "News Freq" = '60 minutes'
|
### Instruction:
CREATE TABLE table_76494 (
"Game" real,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest game number on 20 July 2008?
### Response:
|
SELECT MIN("Game") FROM table_76494 WHERE "Date" = '20 july 2008'
|
### Instruction:
CREATE TABLE table_204_923 (
id number,
"club" text,
"entered\nadministration" text,
"exited\nadministration" text,
"league(s)" text,
"deduction(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams have received deductions thus far ?
### Response:
|
SELECT COUNT("club") FROM table_204_923 WHERE NOT "deduction(s)" IS NULL
|
### Instruction:
CREATE TABLE table_62317 (
"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 average Draws, when Losses is less than 2?
### Response:
|
SELECT AVG("Draws") FROM table_62317 WHERE "Losses" < '2'
|
### Instruction:
CREATE TABLE table_56846 (
"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 team was the home team when the record was 11 8 2?
### Response:
|
SELECT "Home" FROM table_56846 WHERE "Record" = '11–8–2'
|
### Instruction:
CREATE TABLE table_39206 (
"Year" real,
"Award Ceremony" text,
"Category" text,
"Nominee" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which category was william ivey long a nominee and nominated in?
### Response:
|
SELECT "Category" FROM table_39206 WHERE "Result" = 'nominated' AND "Nominee" = 'william ivey long'
|
### 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_56708 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school/club team did the center Rafael Ara jo play for?
### Response:
|
SELECT "School/Club Team" FROM table_56708 WHERE "Position" = 'center' AND "Player" = 'rafael araújo'
|
### Instruction:
CREATE TABLE table_56611 (
"Goal" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue of the game on 27 April 1964?
### Response:
|
SELECT "Venue" FROM table_56611 WHERE "Date" = '27 april 1964'
|
### Instruction:
CREATE TABLE table_56208 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In grid 15, how many laps were there before ending with a time of exhaust?
### Response:
|
SELECT SUM("Laps") FROM table_56208 WHERE "Time/Retired" = 'exhaust' AND "Grid" < '15'
|
### Instruction:
CREATE TABLE table_23388 (
"Team & Boat name" text,
"Sail no." text,
"Flag" text,
"Design Firm" text,
"Builder" text,
"Skipper" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Farr Yacht Design designed boats for how many country/flags?
### Response:
|
SELECT COUNT("Flag") FROM table_23388 WHERE "Design Firm" = 'Farr Yacht Design'
|
### Instruction:
CREATE TABLE table_46282 (
"Rank" real,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total medals for nation with more than 0 silvers and more than 0 golds?
### Response:
|
SELECT AVG("Total") FROM table_46282 WHERE "Silver" > '0' AND "Gold" > '0'
|
### Instruction:
CREATE TABLE table_36596 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college or club team did Steve Jones play for?
### Response:
|
SELECT "College/Junior/Club Team (League)" FROM table_36596 WHERE "Player" = 'steve jones'
|
### Instruction:
CREATE TABLE table_name_46 (
test_career VARCHAR,
total_dismissals VARCHAR,
tests VARCHAR,
catches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147?
### Response:
|
SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147
|
### Instruction:
CREATE TABLE table_33816 (
"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.
-- Who is the visitor with a record of 14 17 5?
### Response:
|
SELECT "Visitor" FROM table_33816 WHERE "Record" = '14–17–5'
|
### Instruction:
CREATE TABLE table_73873 (
"Episode #" real,
"Airdate" text,
"Movie Title and Year" text,
"Main Cast" text,
"Network TV Run Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the cast on the 3/23/1963 episode?
### Response:
|
SELECT "Main Cast" FROM table_73873 WHERE "Airdate" = '3/23/1963'
|
### Instruction:
CREATE TABLE table_4954 (
"Name" text,
"GP-GS" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Loss has an Avg/G larger than 129.2?
### Response:
|
SELECT COUNT("Loss") FROM table_4954 WHERE "Avg/G" > '129.2'
|
### Instruction:
CREATE TABLE table_203_538 (
id number,
"flight" text,
"date" text,
"payload nickname" text,
"payload" text,
"orbit" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the only flight on november 27th
### Response:
|
SELECT "flight" FROM table_203_538 WHERE "date" = 'november 27, 1997'
|
### Instruction:
CREATE TABLE table_1234 (
"Element" text,
"Nuclide" text,
"Z ( p )" real,
"N ( n )" real,
"isotopic mass ( u )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of N for the element with nuclide of 141 pr?
### Response:
|
SELECT COUNT("N ( n )") FROM table_1234 WHERE "Nuclide" = '141 Pr'
|
### Instruction:
CREATE TABLE table_55214 (
"Number & Name" text,
"Description" text,
"Livery" text,
"Owner(s)" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description?
### Response:
|
SELECT "Date" FROM table_55214 WHERE "Description" = 'undergoing overhaul, restoration or repairs'
|
### Instruction:
CREATE TABLE table_204_871 (
id number,
"ano" text,
"title" text,
"role" text,
"channel" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the name of the show that natalia oriero hosted in 2008 ?
### Response:
|
SELECT "title" FROM table_204_871 WHERE "ano" = 2008 AND "notes" = 'host'
|
### Instruction:
CREATE TABLE table_10953 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the hypo-meeting before 2010?
### Response:
|
SELECT "Result" FROM table_10953 WHERE "Year" < '2010' AND "Tournament" = 'hypo-meeting'
|
### Instruction:
CREATE TABLE table_33706 (
"Incident No." text,
"Date" text,
"Place" text,
"Killed" real,
"Injured" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the incident number of the incident that occurred in Dantewada, Chattisgarh?
### Response:
|
SELECT "Incident No." FROM table_33706 WHERE "Place" = 'dantewada, chattisgarh'
|
### Instruction:
CREATE TABLE table_76677 (
"Club" text,
"Location" text,
"Manager" text,
"Venue" text,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest capacity for the venue, ticha stadium, located in varna?
### Response:
|
SELECT MAX("Capacity") FROM table_76677 WHERE "Location" = 'varna' AND "Venue" = 'ticha stadium'
|
### Instruction:
CREATE TABLE table_60133 (
"Name" text,
"Position" text,
"Height" text,
"Weight" real,
"Year" text,
"Home Town" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Weight of the Senior Player with a Height of 6 10?
### Response:
|
SELECT SUM("Weight") FROM table_60133 WHERE "Year" = 'senior' AND "Height" = '6–10'
|
### Instruction:
CREATE TABLE table_name_6 (
debut_year INTEGER,
goals VARCHAR,
games VARCHAR,
years_at_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the debut year for the player with fewer than 54 games, fewer than 8 goals and 1989 at club?
### Response:
|
SELECT AVG(debut_year) FROM table_name_6 WHERE games < 54 AND years_at_club = "1989" AND goals < 8
|
### Instruction:
CREATE TABLE table_77301 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round in Finland with a draw for method?
### Response:
|
SELECT "Round" FROM table_77301 WHERE "Location" = 'finland' AND "Method" = 'draw'
|
### Instruction:
CREATE TABLE table_name_87 (
cultural_and_educational_panel INTEGER,
administrative_panel VARCHAR,
agricultural_panel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the cultural and educational panel value with an administrative panel of 0 and an agricultural panel value less than 0?
### Response:
|
SELECT SUM(cultural_and_educational_panel) FROM table_name_87 WHERE administrative_panel = 0 AND agricultural_panel < 0
|
### Instruction:
CREATE TABLE table_33560 (
"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.
-- The Western Oval venue has what date?
### Response:
|
SELECT "Date" FROM table_33560 WHERE "Venue" = 'western oval'
|
### Instruction:
CREATE TABLE table_35112 (
"Callsign" text,
"Area served" text,
"Frequency" text,
"Band" text,
"Freq currently" text,
"Purpose" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which band serves darwin for commercial purpose?
### Response:
|
SELECT "Band" FROM table_35112 WHERE "Area served" = 'darwin' AND "Purpose" = 'commercial'
|
### Instruction:
CREATE TABLE table_78652 (
"Place" real,
"Name" text,
"All Around" real,
"Ribbon" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place had a ribbon below 9.8 and a 19.2 total?
### Response:
|
SELECT MAX("Place") FROM table_78652 WHERE "Ribbon" < '9.8' AND "Total" = '19.2'
|
### Instruction:
CREATE TABLE table_42987 (
"Outcome" text,
"Date" real,
"Tournament" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome for Jan Pisecky and his partner?
### Response:
|
SELECT "Outcome" FROM table_42987 WHERE "Partner" = 'jan pisecky'
|
### Instruction:
CREATE TABLE table_54465 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"TD's" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average that has more than 0 touchdowns and more than 135 yards?
### Response:
|
SELECT "Avg." FROM table_54465 WHERE "TD's" > '0' AND "Yards" > '135'
|
### Instruction:
CREATE TABLE table_31839 (
"Week" text,
"Date" text,
"Opponent" text,
"Time" text,
"Game Site" text,
"Result/Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the week for pittsburgh steelers opponent
### Response:
|
SELECT "Week" FROM table_31839 WHERE "Opponent" = 'pittsburgh steelers'
|
### Instruction:
CREATE TABLE table_40423 (
"Season" text,
"Conference" text,
"Division" text,
"Finish" text,
"Wins" text,
"Losses" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Finish for the 1950 51? season?
### Response:
|
SELECT "Finish" FROM table_40423 WHERE "Season" = '1950–51'
|
### Instruction:
CREATE TABLE table_65767 (
"Rank" real,
"Athlete" text,
"Country" text,
"Day 1" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the athlete jin di and the total less than 118?
### Response:
|
SELECT COUNT("Rank") FROM table_65767 WHERE "Athlete" = 'jin di' AND "Total" < '118'
|
### Instruction:
CREATE TABLE table_1011 (
"Player" text,
"Touchdowns (5 points)" real,
"Extra points 1 point" real,
"Field goals (5 points)" real,
"Total Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many field goals were made by the person with 100 points in total?
### Response:
|
SELECT MAX("Field goals (5 points)") FROM table_1011 WHERE "Total Points" = '100'
|
### Instruction:
CREATE TABLE table_203_223 (
id number,
"name" text,
"gauge" text,
"builder" text,
"type" text,
"date" number,
"works number" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which locomotive was built after 1915 ?
### Response:
|
SELECT "name" FROM table_203_223 WHERE "date" > 1915
|
### Instruction:
CREATE TABLE table_72308 (
"Strongs #" real,
"Hebrew word" text,
"Strongs Transliteration" text,
"Strongs Words Compounded" text,
"English Spelling" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the strongs # of the english spelling word jehojakin?
### Response:
|
SELECT "Strongs #" FROM table_72308 WHERE "English Spelling" = 'Jehojakin'
|
### Instruction:
CREATE TABLE table_60084 (
"Year" real,
"Round" real,
"Pick" real,
"Overall" real,
"Player name" text,
"Position" text,
"AFL team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest Pick with Overall of 244?
### Response:
|
SELECT MIN("Pick") FROM table_60084 WHERE "Overall" = '244'
|
### Instruction:
CREATE TABLE table_50868 (
"Round" text,
"Location" text,
"Circuit" text,
"Date" text,
"Winning Driver" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round had a winning driver of Uwe Alzen, at the Sepang International circuit?
### Response:
|
SELECT "Round" FROM table_50868 WHERE "Winning Driver" = 'uwe alzen' AND "Circuit" = 'sepang international circuit'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.