instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_530 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much power was used when the callsign was DZYT?
### Response:
| SELECT "Power (kW)" FROM table_530 WHERE "Callsign" = 'DZYT' |
### Instruction:
CREATE TABLE table_37078 (
"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.
-- On what date was Nick Price the runner-up?
### Response:
| SELECT "Date" FROM table_37078 WHERE "Runner(s) up" = 'nick price' |
### Instruction:
CREATE TABLE table_38309 (
"Nation" text,
"Height" text,
"Athlete" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date that Elvir Krehmic made a high jump record?
### Response:
| SELECT "Date" FROM table_38309 WHERE "Athlete" = 'elvir krehmic' |
### Instruction:
CREATE TABLE table_12421 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many gold medals for the nation ranked 6?
### Response:
| SELECT "Gold" FROM table_12421 WHERE "Rank" = '6' |
### Instruction:
CREATE TABLE table_name_15 (
date VARCHAR,
motogp_winner VARCHAR,
grand_prix VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for motogp winner of casey stoner and grand prix of valencian grand prix
### Response:
| SELECT date FROM table_name_15 WHERE motogp_winner = "casey stoner" AND grand_prix = "valencian grand prix" |
### Instruction:
CREATE TABLE table_56321 (
"Episode" text,
"Title" text,
"Date of emission" text,
"Audience" text,
"Share" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the audience for Mi Amigo el Monstruo?
### Response:
| SELECT "Audience" FROM table_56321 WHERE "Title" = 'mi amigo el monstruo' |
### Instruction:
CREATE TABLE table_name_65 (
year VARCHAR,
outcome VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was Xavier Malisse the runner-up with scores of 4 6, 6 4, [8 10]?
### Response:
| SELECT year FROM table_name_65 WHERE outcome = "runner-up" AND score = "4–6, 6–4, [8–10]" |
### Instruction:
CREATE TABLE table_14692 (
"Location" text,
"Year" text,
"Champions" text,
"Runners-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the runners-up in 1996?
### Response:
| SELECT "Runners-up" FROM table_14692 WHERE "Year" = '1996' |
### Instruction:
CREATE TABLE table_28081876_6 (
original_air_date VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was originally aired the episode with an audience of 1.57 million us viewers?
### Response:
| SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ = "1.57" |
### Instruction:
CREATE TABLE table_75658 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the loss for August 19?
### Response:
| SELECT "Loss" FROM table_75658 WHERE "Date" = 'august 19' |
### Instruction:
CREATE TABLE table_204_198 (
id number,
"club" text,
"nickname" text,
"no. of premierships" number,
"premiership years" text,
"moved to" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which two clubs have no nickname listed ?
... | SELECT "club" FROM table_204_198 WHERE "nickname" IS NULL |
### Instruction:
CREATE TABLE table_name_70 (
date VARCHAR,
site VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date when the site is memorial stadium minneapolis, mn, and the Attendance is 53,192?
### Response:
| SELECT date FROM table_name_70 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "53,192" |
### Instruction:
CREATE TABLE table_name_34 (
points INTEGER,
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs?
### Response:
| SELECT MAX(points) FROM table_name_34 WHERE grid < 13 AND time_retired = "+7.538 secs" |
### Instruction:
CREATE TABLE Ref_Document_Status (
Id VARCHAR
)
CREATE TABLE Documents (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the document status description of the document with id 1?
### Response:
| SELECT Ref_Document_Status.document_status_description FROM Ref_Document_Status JOIN Documents ON Documents.document_status_code = Ref_Document_Status.document_status_code WHERE Documents.document_id = 1 |
### Instruction:
CREATE TABLE election (
election_id number,
representative_id number,
date text,
votes number,
vote_percent number,
seats number,
place number
)
CREATE TABLE representative (
representative_id number,
name text,
state text,
party text,
lifespan text
)
... | SELECT COUNT(*) FROM election |
### Instruction:
CREATE TABLE table_53012 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the ... | SELECT "Winner" FROM table_53012 WHERE "Stage" = '3' |
### Instruction:
CREATE TABLE table_2461720_1 (
language_of_films VARCHAR,
theatre_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of language of films for m ga-plex taschereau imax
### Response:
| SELECT COUNT(language_of_films) FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX" |
### Instruction:
CREATE TABLE table_31577 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the competition of 20 august 2008
### Response:
| SELECT "Competition" FROM table_31577 WHERE "Date" = '20 august 2008' |
### Instruction:
CREATE TABLE table_66044 (
"Rank" real,
"Stadium" text,
"Capacity" text,
"Location" text,
"Home Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest rank that has university park, pa as the location?
### Respons... | SELECT MIN("Rank") FROM table_66044 WHERE "Location" = 'university park, pa' |
### Instruction:
CREATE TABLE table_16445 (
"Series #" real,
"Episode #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote Series 38?
### Response:
| SELECT "Written by" FROM table_16445 WHERE "Series #" = '38' |
### Instruction:
CREATE TABLE table_14958 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the attendance for july 16
### Response:
| SELECT "Attendance" FROM table_14958 WHERE "Date" = 'july 16' |
### Instruction:
CREATE TABLE table_name_41 (
total_apps INTEGER,
total_goals VARCHAR,
fa_cup_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- It has fa cup goals larger than 0 and total goals of 0, what is the average total apps?
### Response:
| SELECT AVG(total_apps) FROM table_name_41 WHERE total_goals = 0 AND fa_cup_goals > 0 |
### Instruction:
CREATE TABLE table_49428 (
"Date" text,
"Time" text,
"Home" text,
"Geust" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home of fc st. gallen (asl) geust?
### Response:
| SELECT "Home" FROM table_49428 WHERE "Geust" = 'fc st. gallen (asl)' |
### Instruction:
CREATE TABLE table_21436373_8 (
type_of_record VARCHAR,
result_games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record was set when the result/game was montreal 20 @ ottawa 10?
### Response:
| SELECT type_of_record FROM table_21436373_8 WHERE result_games = "Montreal 20 @ Ottawa 10" |
### Instruction:
CREATE TABLE table_223 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different constructors had Paul Thiel as a winni... | SELECT COUNT("Constructor") FROM table_223 WHERE "Winning driver" = 'Paul Thiel' |
### Instruction:
CREATE TABLE table_206361_2 (
length__in_m_ INTEGER,
average_climb___percentage_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum length of the locations where the average climb percentage is exactly 59%?
### Response:
| SELECT MIN(length__in_m_) FROM table_206361_2 WHERE average_climb___percentage_ = 59 |
### Instruction:
CREATE TABLE table_77419 (
"Rank" text,
"Nation" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is the nation with 2 silver medals?
### Response:
| SELECT "Rank" FROM table_77419 WHERE "Silver" = '2' |
### Instruction:
CREATE TABLE table_name_40 (
attendance INTEGER,
date VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average number of attendance for the game on November 29, 1981 played after week 13?
### Response:
| SELECT AVG(attendance) FROM table_name_40 WHERE date = "november 29, 1981" AND week > 13 |
### Instruction:
CREATE TABLE table_12331 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Away Team is 'Thame United'?
### Response:
| SELECT "Score" FROM table_12331 WHERE "Away team" = 'thame united' |
### Instruction:
CREATE TABLE table_204_508 (
id number,
"no." number,
"race title" text,
"track" text,
"date" text,
"tv" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the total number of races that took place in fort worth ?
### Res... | SELECT COUNT("race title") FROM table_204_508 WHERE "track" = 'fort worth' |
### Instruction:
CREATE TABLE table_15413 (
"Name" text,
"Entered Office" text,
"Left Office" text,
"Party" text,
"First Minister" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What left office does the First Minister of henry mcleish belong to?
... | SELECT "Left Office" FROM table_15413 WHERE "First Minister" = 'henry mcleish' |
### Instruction:
CREATE TABLE table_204_798 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many world championships did imamura participate in ?
### Res... | SELECT COUNT(*) FROM table_204_798 WHERE "competition" = 'world championships' |
### Instruction:
CREATE TABLE table_10008 (
"Team" text,
"Driver" text,
"Class" text,
"Chassis" text,
"Engine" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the team when the driver is viktor jensen?
### Response:
| SELECT "Team" FROM table_10008 WHERE "Driver" = 'viktor jensen' |
### Instruction:
CREATE TABLE table_59827 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Label has a Catalog of 486 136-2?
### Response:
| SELECT "Label" FROM table_59827 WHERE "Catalog" = '486 136-2' |
### Instruction:
CREATE TABLE table_12253 (
"Round" real,
"Date" text,
"Event" text,
"Circuit" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Winning Driver has a Round of 9?
### Response:
| SELECT "Winning Driver" FROM table_12253 WHERE "Round" = '9' |
### Instruction:
CREATE TABLE table_33944 (
"Latitude" text,
"Longitude" text,
"City" text,
"State" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the latitude is 76 25 n, what is the longitude?
### Response:
| SELECT "Longitude" FROM table_33944 WHERE "Latitude" = '76°25′n' |
### Instruction:
CREATE TABLE table_10878 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" real,
"Club/province" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the player born who has 1 caps?
### Response:
| SELECT "Date of Birth (Age)" FROM table_10878 WHERE "Caps" = '1' |
### Instruction:
CREATE TABLE table_67397 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the region for february 14, 2002
### Response:
| SELECT "Region" FROM table_67397 WHERE "Date" = 'february 14, 2002' |
### Instruction:
CREATE TABLE table_45209 (
"English" text,
"Pali" text,
"Sanskrit" text,
"Chinese" text,
"Tibetan" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pali has an English of mindfulness of breathing?
### Response:
| SELECT "Pali" FROM table_45209 WHERE "English" = 'mindfulness of breathing' |
### Instruction:
CREATE TABLE table_16768 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the race name in the Monza circuit?
### Respo... | SELECT "Race Name" FROM table_16768 WHERE "Circuit" = 'Monza' |
### Instruction:
CREATE TABLE table_76461 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Location of richfield coliseum?
### Response:
| SELECT "Score" FROM table_76461 WHERE "Location" = 'richfield coliseum' |
### Instruction:
CREATE TABLE table_9364 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Series is Amscar Round 3?
### Response:
| SELECT "Date" FROM table_9364 WHERE "Series" = 'amscar round 3' |
### Instruction:
CREATE TABLE table_name_12 (
player VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player's had a To par of +1 and a Score of 73-71-73=217?
### Response:
| SELECT player FROM table_name_12 WHERE to_par = "+1" AND score = 73 - 71 - 73 = 217 |
### Instruction:
CREATE TABLE table_204_68 (
id number,
"name" text,
"profession" text,
"hometown" text,
"term expires" number,
"office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which state regent 's term will last the longest ?
### Resp... | SELECT "name" FROM table_204_68 ORDER BY "term expires" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_22831 (
"DMA" real,
"Market" text,
"Station" text,
"Frequency" text,
"Branding" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which branding has the format of southern country?
### Response:
| SELECT "Branding" FROM table_22831 WHERE "Format" = 'Southern Country' |
### Instruction:
CREATE TABLE table_52639 (
"Date" text,
"Competition" text,
"Venue" text,
"Result" text,
"Score" text,
"Goals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition was at wilderspool?
### Response:
| SELECT "Competition" FROM table_52639 WHERE "Venue" = 'wilderspool' |
### Instruction:
CREATE TABLE table_202_82 (
id number,
"weapon name" text,
"caliber (mm)" text,
"range (max)" text,
"warhead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which katyusha launcher has the best range ?
### Response:
| SELECT "weapon name" FROM table_202_82 ORDER BY "range (max)" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_103084_4 (
year INTEGER,
bbc_two_total_viewing VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the BBC two total viewing 7,530,000?
### Response:
| SELECT MIN(year) FROM table_103084_4 WHERE bbc_two_total_viewing = "7,530,000" |
### Instruction:
CREATE TABLE table_203_543 (
id number,
"year" text,
"show" text,
"role" text,
"channel" text,
"extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- list at least one show that she was on in 2012 .
### Response:
| SELECT "show" FROM table_203_543 WHERE "year" = 2012 |
### Instruction:
CREATE TABLE table_7101 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Theme when Fontella Bass was the original art... | SELECT "Theme" FROM table_7101 WHERE "Original artist" = 'fontella bass' |
### Instruction:
CREATE TABLE table_22364 (
"Voting order" real,
"Country" text,
"Spokespersons" text,
"Commentator" text,
"Broadcaster" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many people commentated where broadcaster is orf
### Respon... | SELECT COUNT("Commentator") FROM table_22364 WHERE "Broadcaster" = 'ORF' |
### Instruction:
CREATE TABLE table_7194 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the location for Arras Paul Arras?
### Response:
| SELECT "Location" FROM table_7194 WHERE "Opponent" = 'arras paul arras' |
### Instruction:
CREATE TABLE table_60209 (
"Season" text,
"League" text,
"Teams" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the league for season 1955-56?
### Response:
| SELECT "League" FROM table_60209 WHERE "Season" = '1955-56' |
### Instruction:
CREATE TABLE table_63805 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank when the time is 6:50.48?
### Response:
| SELECT "Rank" FROM table_63805 WHERE "Time" = '6:50.48' |
### Instruction:
CREATE TABLE table_41199 (
"Year" real,
"Competition" text,
"Club" text,
"Nation" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Result for the club universidad de guadalajara?
### Response:
| SELECT "Result" FROM table_41199 WHERE "Club" = 'club universidad de guadalajara' |
### Instruction:
CREATE TABLE table_44447 (
"Designation" text,
"Name" text,
"Launch date" text,
"ISS docking date" text,
"Deorbit date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the atv-002 launch?
### Response:
| SELECT "Launch date" FROM table_44447 WHERE "Designation" = 'atv-002' |
### Instruction:
CREATE TABLE song (
artist_name VARCHAR,
f_id VARCHAR
)
CREATE TABLE files (
f_id VARCHAR,
duration VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the artist who produced the shortest song?
### Response:
| SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id = T2.f_id ORDER BY T2.duration LIMIT 1 |
### Instruction:
CREATE TABLE table_61865 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"Hometown/School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT TEAM HAS A PICK LARGER THAN 29?
### Response:
| SELECT "Team" FROM table_61865 WHERE "Pick" > '29' |
### Instruction:
CREATE TABLE table_name_13 (
team_classification VARCHAR,
points_classification VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team classification with a winner of Beat Zberg, and a points classification of Jo... | SELECT team_classification FROM table_name_13 WHERE points_classification = "josé maría jiménez" AND winner = "beat zberg" |
### Instruction:
CREATE TABLE table_203_375 (
id number,
"name" text,
"year built" text,
"country" text,
"town" text,
"height" text,
"remarks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which pylon is the least tall ?
### Response:
| SELECT "name" FROM table_203_375 ORDER BY "height" LIMIT 1 |
### Instruction:
CREATE TABLE table_40517 (
"Year" text,
"Team" text,
"GP/GS" text,
"Goals" text,
"Assists" text,
"Total Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the goals of the assists of 5?
### Response:
| SELECT "Goals" FROM table_40517 WHERE "Assists" = '5' |
### Instruction:
CREATE TABLE table_79509 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Week was the Attendance 49,097?
### Response:
| SELECT AVG("Week") FROM table_79509 WHERE "Attendance" = '49,097' |
### Instruction:
CREATE TABLE table_184334_2 (
population__2010_census_ VARCHAR,
s_barangay VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population (2010 census) if s barangay is 51?
### Response:
| SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51 |
### Instruction:
CREATE TABLE table_name_86 (
week_10_nov_2 VARCHAR,
week_9_oct_26 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week 10 Nov 2 has a Week 9 Oct 26 of lsu (5-2)?
### Response:
| SELECT week_10_nov_2 FROM table_name_86 WHERE week_9_oct_26 = "lsu (5-2)" |
### Instruction:
CREATE TABLE table_24115349_6 (
brown_votes INTEGER,
coakley__percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many votes for brown in the place that had 84.1% for coakley?
### Response:
| SELECT MAX(brown_votes) FROM table_24115349_6 WHERE coakley__percentage = "84.1%" |
### Instruction:
CREATE TABLE table_203_192 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the number of competitions that had a position of first ?... | SELECT COUNT("competition") FROM table_203_192 WHERE "position" = 1 |
### Instruction:
CREATE TABLE table_3900 (
"Position" real,
"Driver" text,
"Points" real,
"Winnings" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the driver that had winnings of $225,000?
### Response:
| SELECT "Driver" FROM table_3900 WHERE "Winnings" = '$225,000' |
### Instruction:
CREATE TABLE table_name_42 (
laps INTEGER,
constructor VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high lap total for tyrrell - yamaha, and a Time/Retired of + 1 lap?
### Response:
| SELECT MAX(laps) FROM table_name_42 WHERE constructor = "tyrrell - yamaha" AND time_retired = "+ 1 lap" |
### Instruction:
CREATE TABLE table_23406 (
"Season" text,
"Player" text,
"Junior college" text,
"State" text,
"Position" text,
"Class" text,
"University" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which class is the position forward
... | SELECT "Class" FROM table_23406 WHERE "Position" = 'Forward' |
### Instruction:
CREATE TABLE table_71158 (
"Margin" real,
"Score" text,
"Opponent" text,
"Venue" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of year for penrith panthers opponent
### Response:
| SELECT SUM("Year") FROM table_71158 WHERE "Opponent" = 'penrith panthers' |
### Instruction:
CREATE TABLE table_16233 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum pick # where player is anthony blaylock
### Response:
| SELECT MAX("Pick #") FROM table_16233 WHERE "Player" = 'Anthony Blaylock' |
### Instruction:
CREATE TABLE table_203_650 (
id number,
"ceremony" text,
"award" text,
"category" text,
"name" text,
"outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which outcome is listed the most ?
### Response:
| SELECT "outcome" FROM table_203_650 GROUP BY "outcome" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_74898 (
"Round" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a Date of 22 July, what is the Winning team?
### Response:
| SELECT "Winning team" FROM table_74898 WHERE "Date" = '22 july' |
### Instruction:
CREATE TABLE table_23062 (
"Team" text,
"Division Titles" real,
"Playoff Berths" real,
"AFL Titles" real,
"AFC Championships" real,
"Super Bowl Championships" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum nu... | SELECT MAX("AFC Championships") FROM table_23062 |
### Instruction:
CREATE TABLE table_10073 (
"City" text,
"Province" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the IATA with a City of budapest?
### Response:
| SELECT "IATA" FROM table_10073 WHERE "City" = 'budapest' |
### Instruction:
CREATE TABLE table_26367 (
"Week #" text,
"Theme" text,
"Song Choice" text,
"Original Artist" text,
"Order #" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List all themes from the top 9.
### Response:
| SELECT "Theme" FROM table_26367 WHERE "Week #" = 'Top 9' |
### Instruction:
CREATE TABLE table_78038 (
"Full Name" text,
"Nickname" text,
"Gender" text,
"Weight at birth" text,
"Meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nickname has the meaning of God knows my journey?
### Response:
| SELECT "Nickname" FROM table_78038 WHERE "Meaning" = 'god knows my journey' |
### Instruction:
CREATE TABLE table_57892 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score with a Home with hornets?
### Response:
| SELECT "Score" FROM table_57892 WHERE "Home" = 'hornets' |
### Instruction:
CREATE TABLE table_203_650 (
id number,
"ceremony" text,
"award" text,
"category" text,
"name" text,
"outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the total times ` won ' was listed as the outcome ?
### Res... | SELECT COUNT(*) FROM table_203_650 WHERE "outcome" = 'won' |
### Instruction:
CREATE TABLE table_37435 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does Mikhail Kravets play?
### Response:
| SELECT "Position" FROM table_37435 WHERE "Player" = 'mikhail kravets' |
### Instruction:
CREATE TABLE table_57137 (
"Year" text,
"Security Forces" text,
"Insurgents" text,
"Civilians" text,
"Total:" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the insurgents for civilians being 49
### Response:
| SELECT "Insurgents" FROM table_57137 WHERE "Civilians" = '49' |
### Instruction:
CREATE TABLE table_203_697 (
id number,
"player" text,
"career" text,
"nickname" text,
"team inducted as" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- hank aaron played at least what number of years
### Response:
| SELECT "career" - "career" FROM table_203_697 WHERE "player" = 'hank aaron' |
### Instruction:
CREATE TABLE table_76965 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE RESULT WITH A SCORE OF 70-73?
### Response:
| SELECT "Result" FROM table_76965 WHERE "Score" = '70-73' |
### Instruction:
CREATE TABLE table_507 (
"Institution" text,
"Main Campus Location" text,
"Founded" real,
"Mascot" text,
"School Colors" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many school colors is there for the main campus location of ... | SELECT COUNT("School Colors") FROM table_507 WHERE "Main Campus Location" = 'Highland' |
### Instruction:
CREATE TABLE table_69050 (
"Stage" text,
"Time (EEST)" text,
"Name" text,
"Length" text,
"Winner" text,
"Rally leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winner for schimatari 1
### Response:
| SELECT "Winner" FROM table_69050 WHERE "Name" = 'schimatari 1' |
### Instruction:
CREATE TABLE table_name_76 (
top_5 INTEGER,
events VARCHAR,
top_25 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the tournament that has 15 events, and less than 6 top-25's, how many top-5's did he have?
### Response:
| SELECT SUM(top_5) FROM table_name_76 WHERE events = 15 AND top_25 < 6 |
### Instruction:
CREATE TABLE table_27713030_16 (
team VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many teams were there when chris bosh , lebron james (8) had the high rebounds?
### Response:
| SELECT COUNT(team) FROM table_27713030_16 WHERE high_rebounds = "Chris Bosh , LeBron James (8)" |
### Instruction:
CREATE TABLE table_12454 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result week 1?
### Response:
| SELECT "Result" FROM table_12454 WHERE "Week" = '1' |
### Instruction:
CREATE TABLE table_12804 (
"Year" real,
"Pick" text,
"Player" text,
"Position" text,
"Country" text,
"Previous team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position in 1981?
### Response:
| SELECT "Position" FROM table_12804 WHERE "Year" = '1981' |
### Instruction:
CREATE TABLE table_11793 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team picked 80?
### Response:
| SELECT "Team" FROM table_11793 WHERE "Pick" = '80' |
### Instruction:
CREATE TABLE table_75132 (
"Rank" text,
"Runs" text,
"Opponent" text,
"Venue" text,
"Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Run has an Opponent of Canterbury?
### Response:
| SELECT "Runs" FROM table_75132 WHERE "Opponent" = 'canterbury' |
### Instruction:
CREATE TABLE table_204_193 (
id number,
"year" number,
"artist" text,
"album" text,
"chart position" text,
"role" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many albums made the charts in 1998 ?
### Response:
| SELECT COUNT("album") FROM table_204_193 WHERE "year" = 1998 |
### Instruction:
CREATE TABLE table_80149 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Language(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the language of the film Rosie?
##... | SELECT "Language(s)" FROM table_80149 WHERE "Original title" = 'rosie' |
### Instruction:
CREATE TABLE table_22962745_35 (
scorecard VARCHAR,
batsmen VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen?
### Response:
| SELECT scorecard FROM table_22962745_35 WHERE batsmen = "Robin Uthappa Mark Boucher Jacques Kallis" |
### Instruction:
CREATE TABLE table_56422 (
"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 team's record on August 4?
### Response:
| SELECT "Record" FROM table_56422 WHERE "Date" = 'august 4' |
### Instruction:
CREATE TABLE table_name_89 (
bronze INTEGER,
total VARCHAR,
rank VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than ... | SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1 |
### Instruction:
CREATE TABLE table_68779 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed as the Tie no for Home team of Gillingham?
### Response:
| SELECT "Tie no" FROM table_68779 WHERE "Home team" = 'gillingham' |
### Instruction:
CREATE TABLE table_45594 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home team on February 2, 1947?
### Response:
| SELECT "Home" FROM table_45594 WHERE "Date" = 'february 2, 1947' |
### Instruction:
CREATE TABLE table_64042 (
"Name" text,
"Pre-Season" real,
"A-League" real,
"Finals" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Finals have a Pre-Season larger than 0?
### Response:
| SELECT MIN("Finals") FROM table_64042 WHERE "Pre-Season" > '0' |
### Instruction:
CREATE TABLE table_27910411_1 (
original_air_date VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode with 8.28 million u.s. viewers originally air?
### Response:
| SELECT original_air_date FROM table_27910411_1 WHERE us_viewers__millions_ = "8.28" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.