instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_13454 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the medal total when there is 2 gold medals, and Brazil (BRA) is th... | SELECT "Total" FROM table_13454 WHERE "Gold" = '2' AND "Nation" = 'brazil (bra)' |
### Instruction:
CREATE TABLE table_49931 (
"Date" text,
"Venue" text,
"Score" text,
"Comp" text,
"Paraguay scorers" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the Paraguay scorers on June 15, 2008?
### Response:
| SELECT "Paraguay scorers" FROM table_49931 WHERE "Date" = 'june 15, 2008' |
### Instruction:
CREATE TABLE table_65002 (
"World record" text,
"Snatch" text,
"Yang Lian ( CHN )" text,
"98kg" text,
"Santo Domingo , Dominican" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the figure for Santo Domingo, Dominican for the... | SELECT "Santo Domingo , Dominican" FROM table_65002 WHERE "World record" = 'clean & jerk' |
### Instruction:
CREATE TABLE table_69644 (
"Tournament" text,
"Date" text,
"Surface" text,
"Round" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tournament for semifinal hard surface for opponent of pam casale
### Respo... | SELECT "Tournament" FROM table_69644 WHERE "Round" = 'semifinal' AND "Surface" = 'hard' AND "Opponent" = 'pam casale' |
### Instruction:
CREATE TABLE table_14406743_5 (
date_of_vacancy VARCHAR,
manner_of_departure VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of date of vacancy for manner of departure being resigned and out... | SELECT COUNT(date_of_vacancy) FROM table_14406743_5 WHERE manner_of_departure = "Resigned" AND outgoing_manager = "Geninho" |
### Instruction:
CREATE TABLE table_train_46 (
"id" int,
"bleeding" int,
"active_infection" bool,
"hypotension" bool,
"burn_injury" int,
"hypertension" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- bleeding /... | SELECT * FROM table_train_46 WHERE bleeding = 1 AND hypotension = 1 |
### Instruction:
CREATE TABLE table_204_959 (
id number,
"club" text,
"founded" number,
"nickname" text,
"location" text,
"home ground" text,
"entered competition" number,
"most recent promotion" number
)
-- Using valid SQLite, answer the following questions for the tables provided abo... | SELECT COUNT("club") FROM table_204_959 WHERE "founded" > 1950 |
### Instruction:
CREATE TABLE table_3158 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wh... | SELECT "Original air date" FROM table_3158 WHERE "No. in season" = '18' |
### Instruction:
CREATE TABLE table_75618 (
"Source" text,
"Date" text,
"Goldberg" text,
"Murray" text,
"Silbert" text,
"Undecided" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the poll where Murray had 11% from the Suffolk... | SELECT "Date" FROM table_75618 WHERE "Source" = 'suffolk university' AND "Murray" = '11%' |
### Instruction:
CREATE TABLE table_23913 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Accreditation" text,
"Founded" real,
"Enrollment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of schools... | SELECT COUNT("Founded") FROM table_23913 WHERE "Enrollment" = '5634' |
### Instruction:
CREATE TABLE table_74278 (
"Year" real,
"FBS Opponent" text,
"Result" text,
"Opponents Conference" text,
"Opponents Head Coach" text,
"Coastal Carolina Head Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the resu... | SELECT "Result" FROM table_74278 WHERE "Opponents Conference" = 'MAC (East)' |
### Instruction:
CREATE TABLE table_27244 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ep... | SELECT COUNT("Season #") FROM table_27244 WHERE "Title" = 'Rise and Fall' |
### Instruction:
CREATE TABLE table_25086 (
"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 number of reporters... | SELECT COUNT("Reporters") FROM table_25086 WHERE "s Analyst" = 'Heywood Hale Broun' |
### Instruction:
CREATE TABLE table_15262 (
"Rank" real,
"Team" text,
"Country" text,
"Value ($M)" real,
"Revenue ($M)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least revenue for chelsea of england with rank less than 7
### Response... | SELECT MIN("Revenue ($M)") FROM table_15262 WHERE "Country" = 'england' AND "Team" = 'chelsea' AND "Rank" < '7' |
### Instruction:
CREATE TABLE table_name_42 (
city_of_license VARCHAR,
fcc_info VARCHAR,
erp_w VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich City of license has a FCC info of fcc, and 10,000 horizontal 3,000 vertical ERP W
### Response:
| SELECT city_of_license FROM table_name_42 WHERE fcc_info = "fcc" AND erp_w = "10,000 horizontal 3,000 vertical" |
### Instruction:
CREATE TABLE table_name_90 (
erp_w INTEGER,
city_of_license VARCHAR,
frequency_mhz VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average ERP W when it has a city of license of pound, virginia and frequency mhz more than 91.3
... | SELECT AVG(erp_w) FROM table_name_90 WHERE city_of_license = "pound, virginia" AND frequency_mhz > 91.3 |
### Instruction:
CREATE TABLE table_47304 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result when they played the Miami Dolphins with a crowd of 21,881?
### R... | SELECT "Result" FROM table_47304 WHERE "Attendance" > '21,881' AND "Opponent" = 'miami dolphins' |
### Instruction:
CREATE TABLE table_10686 (
"Code" real,
"Type" text,
"Name" text,
"Area (km 2 )" real,
"Population" real,
"Regional County Municipality" text,
"Region" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people have a vl... | SELECT SUM("Population") FROM table_10686 WHERE "Type" = 'vl' AND "Region" > '3' |
### Instruction:
CREATE TABLE table_3277 (
"Edition" real,
"Zone" text,
"Round" text,
"Against" text,
"Surface" text,
"Opponent" text,
"Outcome" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of round was played ... | SELECT "Round" FROM table_3277 WHERE "Against" = 'Austria' |
### Instruction:
CREATE TABLE table_name_29 (
draws INTEGER,
losses VARCHAR,
club VARCHAR,
against VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the smallest draw of Warrnambool when the against was less than 1299, more than... | SELECT MIN(draws) FROM table_name_29 WHERE against < 1299 AND wins > 7 AND club = "warrnambool" AND losses < 2 |
### Instruction:
CREATE TABLE table_2860 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the l... | SELECT MIN("No. in series") FROM table_2860 WHERE "Production code" = '3ABC21' |
### Instruction:
CREATE TABLE table_52477 (
"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 did the home team score wh... | SELECT "Home team score" FROM table_52477 WHERE "Away team" = 'geelong' |
### Instruction:
CREATE TABLE table_836 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"2007 Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2007 result in the district where the incumbent w... | SELECT "2007 Result" FROM table_836 WHERE "Elected" = '1996' |
### Instruction:
CREATE TABLE table_73137 (
"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.
-- Name the first elected for re-elected and brian higgins... | SELECT "First elected" FROM table_73137 WHERE "Result" = 'Re-elected' AND "Incumbent" = 'Brian Higgins' |
### Instruction:
CREATE TABLE table_13522 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text,
"Year Joined" real,
"Previous Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... | SELECT MAX("Enrollment") FROM table_13522 WHERE "Location" = 'hamilton' |
### Instruction:
CREATE TABLE table_28264 (
"AB - Angry boar" text,
"B - Bishop" text,
"BA - Running Bear" text,
"BB - Blind Bear" text,
"BC - Beast Cadet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is b - bishop where bc - beast cadet is g... | SELECT "B - Bishop" FROM table_28264 WHERE "BC - Beast Cadet" = 'GR - Great Dove' |
### Instruction:
CREATE TABLE table_10026 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when H/A/N is 'A', and when Date is 'February 1'?
### Response:
| SELECT "Record" FROM table_10026 WHERE "H/A/N" = 'a' AND "Date" = 'february 1' |
### Instruction:
CREATE TABLE table_204_941 (
id number,
"#" number,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- if a relative attended his/her first san antonio spurs game ... | SELECT "date" FROM table_204_941 ORDER BY "date" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_52100 (
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Diff" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the difference with a loss smaller than 5 and poi... | SELECT COUNT("Diff") FROM table_52100 WHERE "Lost" < '5' AND "Points" < '32' |
### Instruction:
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
-- Using valid SQLite, answer the following q... | SELECT Name, Age FROM editor ORDER BY Name |
### Instruction:
CREATE TABLE book (
Book_ID int,
Title text,
Issues real,
Writer text
)
CREATE TABLE publication (
Publication_ID int,
Book_ID int,
Publisher text,
Publication_Date text,
Price real
)
-- Using valid SQLite, answer the following questions for the tables provided ab... | SELECT Publication_Date, COUNT(Publication_Date) FROM publication GROUP BY Publication_Date ORDER BY Price DESC |
### Instruction:
CREATE TABLE table_16504 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... | SELECT "Date of vacancy" FROM table_16504 WHERE "Outgoing manager" = 'Damien Fox' |
### Instruction:
CREATE TABLE table_22174 (
"Episodes" text,
"Monday" text,
"Tuesday" text,
"Wednesday" text,
"Thursday" text,
"Friday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Tuesday episode if theThursday episode was 196 Bu... | SELECT "Tuesday" FROM table_22174 WHERE "Thursday" = '196 Buried' |
### Instruction:
CREATE TABLE table_75841 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which label released the catalog Magik Muzik CD 07 on 28 March 2007?
### Response:
| SELECT "Label" FROM table_75841 WHERE "Date" = '28 march 2007' AND "Catalog" = 'magik muzik cd 07' |
### Instruction:
CREATE TABLE table_36941 (
"Province" text,
"Prefecture" text,
"County" text,
"Tujia Population" real,
"% of China's Tujia Population" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which prefecture is in Hubei province and Enshi co... | SELECT "Prefecture" FROM table_36941 WHERE "Province" = 'hubei' AND "County" = 'enshi' |
### Instruction:
CREATE TABLE table_204_538 (
id number,
"pos." number,
"driver" text,
"co-driver" text,
"car" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which racer finished after jose camacho ?
### Response:
| SELECT "driver" FROM table_204_538 WHERE "pos." = (SELECT "pos." FROM table_204_538 WHERE "driver" = 'jose camacho') + 1 |
### Instruction:
CREATE TABLE table_11515 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the game with the venue of m... | SELECT "Crowd" FROM table_11515 WHERE "Venue" = 'mcg' |
### Instruction:
CREATE TABLE table_44986 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" real,
"Year named" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Latitude has a Year named smaller than 1997, and a Name of aino plani... | SELECT "Latitude" FROM table_44986 WHERE "Year named" < '1997' AND "Name" = 'aino planitia' |
### Instruction:
CREATE TABLE table_57007 (
"Park name" text,
"County or counties" text,
"Area in acres (ha)" text,
"Date founded" real,
"Stream(s) and / or lake(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area in acres (ha) for t... | SELECT "Area in acres (ha)" FROM table_57007 WHERE "Park name" = 'bald eagle state park' |
### Instruction:
CREATE TABLE table_name_33 (
density__inh_km²_ INTEGER,
land_area__hectares_ VARCHAR,
code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average density with a land area of 123.02, and a Code larger than 2356?
### Response... | SELECT AVG(density__inh_km²_) FROM table_name_33 WHERE land_area__hectares_ = 123.02 AND code > 2356 |
### Instruction:
CREATE TABLE table_name_1 (
number_of_households INTEGER,
median_household_income VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Number of households has a Median household income of $32,806, and a Population la... | SELECT MAX(number_of_households) FROM table_name_1 WHERE median_household_income = "$32,806" AND population > 11 OFFSET 291 |
### Instruction:
CREATE TABLE table_2801442_1 (
density_in_2011___km²_ VARCHAR,
population__2011_census_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the density in the district with 2320529 citizens in 2011?
### Response:
| SELECT density_in_2011___km²_ FROM table_2801442_1 WHERE population__2011_census_ = 2320529 |
### Instruction:
CREATE TABLE table_22716 (
"Rank" real,
"Peak" text,
"Country" text,
"Island" text,
"Elevation (m)" real,
"Prominence (m)" real,
"Col (m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many values of prominence(m) occur... | SELECT COUNT("Prominence (m)") FROM table_22716 WHERE "Rank" = '5' |
### Instruction:
CREATE TABLE table_27792 (
"Stage" real,
"Winner" text,
"General Classification" text,
"Mountains Classification" text,
"Sprint Classification" text,
"Young Rider Classification" text,
"Team Classification" text,
"Aggressive Rider" text
)
-- Using valid SQLite, answer ... | SELECT COUNT("Winner") FROM table_27792 WHERE "Stage" = '5' |
### Instruction:
CREATE TABLE table_51492 (
"Games" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Total" text,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many golds were there in a game that has 17 bronze and a total of 31?
... | SELECT "Gold" FROM table_51492 WHERE "Bronze" = '17' AND "Total" = '31' |
### Instruction:
CREATE TABLE table_1993 (
"Rank" real,
"London Borough" text,
"Black African Population" real,
"Black Caribbean Population" real,
"Other Black Population" real,
"Total Black Population" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.... | SELECT MIN("Other Black Population") FROM table_1993 WHERE "Black African Population" = '37811' |
### Instruction:
CREATE TABLE table_203_751 (
id number,
"year" number,
"title" text,
"peak chart positions\nus\nair" number,
"peak chart positions\nus\nmain" number,
"peak chart positions\nus\nmod" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables... | SELECT MAX("year") - MIN("year") FROM table_203_751 |
### Instruction:
CREATE TABLE table_204_834 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- favero finished in 1:57.08 . what was the next time ?
### Response:
| SELECT "time" FROM table_204_834 WHERE id = (SELECT id FROM table_204_834 WHERE "time" = '1:57.08') + 1 |
### Instruction:
CREATE TABLE table_15926 (
"Regional County Municipality (RCM)" text,
"Population Canada 2011 Census" real,
"Land Area" text,
"Density (pop. per km2)" text,
"Seat of RCM" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the lan... | SELECT "Land Area" FROM table_15926 WHERE "Seat of RCM" = 'Granby' |
### Instruction:
CREATE TABLE table_45965 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score did Leonard Thompson have when he won $9,000?
### Res... | SELECT "Score" FROM table_45965 WHERE "Money ( $ )" = '9,000' AND "Player" = 'leonard thompson' |
### Instruction:
CREATE TABLE table_48686 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Opponent in a game with a Score of 6 2, 6 2?
### Re... | SELECT "Opponent" FROM table_48686 WHERE "Score" = '6–2, 6–2' |
### Instruction:
CREATE TABLE table_26729 (
"Season" text,
"Champions" text,
"Runner-up" text,
"Third Place" text,
"Top Goalscorer" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the top goalscorer for the season 2010-11?
#... | SELECT "Top Goalscorer" FROM table_26729 WHERE "Season" = '2010-11' |
### Instruction:
CREATE TABLE table_15032 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of points for the Entrant of escuderia bandeirantes earlier than 1952?... | SELECT SUM("Points") FROM table_15032 WHERE "Entrant" = 'escuderia bandeirantes' AND "Year" < '1952' |
### Instruction:
CREATE TABLE table_53177 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue hosted a match with a 3-0 score on December 7, 2002?
### Response:
| SELECT "Venue" FROM table_53177 WHERE "Score" = '3-0' AND "Date" = 'december 7, 2002' |
### Instruction:
CREATE TABLE table_20715 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Joined TSCHL" real,
"Home Arena" text,
"Capacity" real,
"Team Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the u... | SELECT "Joined TSCHL" FROM table_20715 WHERE "Institution" = 'University of Pittsburgh' |
### Instruction:
CREATE TABLE table_74186 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT "Team" FROM table_74186 WHERE "Date" = 'January 17' |
### Instruction:
CREATE TABLE musical (
musical_id number,
name text,
year number,
award text,
category text,
nominee text,
result text
)
CREATE TABLE actor (
actor_id number,
name text,
musical_id number,
character text,
duration text,
age number
)
-- Using valid ... | SELECT name FROM musical WHERE NOT musical_id IN (SELECT musical_id FROM actor) |
### Instruction:
CREATE TABLE table_40874 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were played aga... | SELECT SUM("Against") FROM table_40874 WHERE "Played" > '22' |
### Instruction:
CREATE TABLE table_69937 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round has pain and glory 200... | SELECT "Round" FROM table_69937 WHERE "Event" = 'pain and glory 2006' |
### Instruction:
CREATE TABLE table_17396 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Hakka" text,
"Area" real,
"Population" real,
"Density" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the are... | SELECT "Area" FROM table_17396 WHERE "English Name" = 'Shanghang County' |
### Instruction:
CREATE TABLE table_name_44 (
reg_gp VARCHAR,
pick__number VARCHAR,
rd__number VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total reg gp of Ilya Krikunov, who has a round of 7 and a pick number larger tha... | SELECT COUNT(reg_gp) FROM table_name_44 WHERE rd__number = 7 AND player = "ilya krikunov" AND pick__number > 223 |
### Instruction:
CREATE TABLE table_203_208 (
id number,
"team" text,
"location" text,
"venue" text,
"capacity" number,
"position in 1993-94" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the capacity of central vitebsk and neman comb... | SELECT SUM(DISTINCT "capacity") FROM table_203_208 WHERE "venue" IN ('central, vitebsk', 'neman') |
### Instruction:
CREATE TABLE table_203_187 (
id number,
"conference" text,
"bids" number,
"record" text,
"win %" number,
"quarterfinals" number,
"semifinals" number,
"final" number,
"champions" number
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT COUNT("conference") FROM table_203_187 WHERE "win %" = 0 |
### Instruction:
CREATE TABLE table_67010 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average payout of toney penna with a +2 par?
### Resp... | SELECT AVG("Money ( $ )") FROM table_67010 WHERE "To par" = '+2' AND "Player" = 'toney penna' |
### Instruction:
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
-- Using valid SQLite, answer the following questions for t... | SELECT Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank |
### Instruction:
CREATE TABLE table_19870 (
"Eviction No." real,
"Nominee" text,
"Vote to Save" text,
"Vote to Evict" text,
"Net vote" text,
"Eviction result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nominees had a net vote of 34.46%?... | SELECT "Nominee" FROM table_19870 WHERE "Net vote" = '34.46%' |
### Instruction:
CREATE TABLE table_73122 (
"Group 7" text,
"Group 8" text,
"Group 9" text,
"Group 10" text,
"Group 11" text,
"Group 12" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who played in group 12 when Group 9 played psid jombang?
##... | SELECT "Group 12" FROM table_73122 WHERE "Group 9" = 'PSID Jombang' |
### Instruction:
CREATE TABLE table_76272 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT "High points" FROM table_76272 WHERE "Game" = '5' |
### Instruction:
CREATE TABLE table_56164 (
"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 venue has a Result of w, and a Goal of deacon 5/5?
### Respons... | SELECT "Venue" FROM table_56164 WHERE "Result" = 'w' AND "Goals" = 'deacon 5/5' |
### Instruction:
CREATE TABLE table_12428 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Score has a Tournament of tanjung selor... | SELECT "Score" FROM table_12428 WHERE "Tournament" = 'tanjung selor, indonesia' |
### Instruction:
CREATE TABLE table_42978 (
"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 Field was Commissioned in 19... | SELECT "Field" FROM table_42978 WHERE "Commissioned" = '1958, 2005' |
### Instruction:
CREATE TABLE event (
event_id number,
date text,
venue text,
name text,
event_attendance number
)
CREATE TABLE news_report (
journalist_id number,
event_id number,
work_type text
)
CREATE TABLE journalist (
journalist_id number,
name text,
nationality text,... | SELECT COUNT(*) FROM journalist |
### Instruction:
CREATE TABLE table_52364 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the match where geelong was ... | SELECT "Home team" FROM table_52364 WHERE "Away team" = 'geelong' |
### Instruction:
CREATE TABLE table_name_93 (
opened_in INTEGER,
ride_name VARCHAR,
manufacture VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year a ride opened that was manufactured by Zamperla, was a convoy ride, a... | SELECT MAX(opened_in) FROM table_name_93 WHERE manufacture = "zamperla" AND type = "convoy ride" AND ride_name = "tiny truckers" |
### Instruction:
CREATE TABLE table_67216 (
"Year" real,
"Award" text,
"Category" text,
"Title" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint?
### ... | SELECT "Category" FROM table_67216 WHERE "Result" = 'nominated' AND "Year" = '2006' AND "Title" = 'pierrepoint' |
### Instruction:
CREATE TABLE table_203_270 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many consecutive years did pavel loskutov run... | SELECT COUNT("year") FROM table_203_270 WHERE "competition" = 'joongang seoul marathon' |
### Instruction:
CREATE TABLE table_25411 (
"Outcome" text,
"Year" real,
"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.
-- How many years have a final score of ... | SELECT COUNT("Year") FROM table_25411 WHERE "Score in the final" = '6–3, 6–2' |
### Instruction:
CREATE TABLE table_2810 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... | SELECT "Score" FROM table_2810 WHERE "Date" = 'November 10' |
### Instruction:
CREATE TABLE table_25651 (
"Country" text,
"KEI" text,
"KI" text,
"Economic Incentive Regime" text,
"Innovation" text,
"Education" text,
"ICT" text,
"2008 Rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ... | SELECT "Education" FROM table_25651 WHERE "Country" = 'Nepal' |
### Instruction:
CREATE TABLE table_name_57 (
national_university_of_ireland INTEGER,
total VARCHAR,
administrative_panel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the greatest number of members for the National University of Ireland, when ... | SELECT MAX(national_university_of_ireland) FROM table_name_57 WHERE total = 60 AND administrative_panel > 7 |
### Instruction:
CREATE TABLE table_23039 (
"No." real,
"Country" text,
"Local title" text,
"Format" text,
"Start Date" text,
"End Date" text,
"Episodes" real,
"Premiere/Air Dates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What seri... | SELECT MIN("No.") FROM table_23039 WHERE "Start Date" = 'June 6' |
### Instruction:
CREATE TABLE table_65640 (
"Peak" text,
"Country" text,
"Elevation (m)" real,
"Prominence (m)" real,
"Col (m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Elevation (m) has a Prominence (m) larger than 2,876?
### Respo... | SELECT COUNT("Elevation (m)") FROM table_65640 WHERE "Prominence (m)" > '2,876' |
### Instruction:
CREATE TABLE table_16423070_4 (
volleyball VARCHAR,
school_year VARCHAR,
basketball VARCHAR,
swimming VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won volleyball when west holmes won basketball and wooster won swimming in 2011-... | SELECT volleyball FROM table_16423070_4 WHERE basketball = "West Holmes" AND swimming = "Wooster" AND school_year = "2011-12" |
### Instruction:
CREATE TABLE table_55476 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high earnings for players with 34 events and over 2 w... | SELECT MAX("Earnings ( $ )") FROM table_55476 WHERE "Events" = '34' AND "Wins" > '2' |
### Instruction:
CREATE TABLE table_21641 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many attended on mathches... | SELECT COUNT("Attendance") FROM table_21641 WHERE "Opponent" = 'Atlanta Thrashers' |
### Instruction:
CREATE TABLE table_39395 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average value for ERP W when frequency ... | SELECT AVG("ERP W") FROM table_39395 WHERE "Frequency MHz" > '100.1' |
### Instruction:
CREATE TABLE table_23991 (
"Round" real,
"Pick #" real,
"Player" text,
"Position" text,
"Height" text,
"Weight" text,
"College" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- howe many positions did wallac... | SELECT COUNT("Position") FROM table_23991 WHERE "Player" = 'Wallace, Mike Mike Wallace' |
### Instruction:
CREATE TABLE table_76205 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Format has the Region of Europe and a Catalog of 74321 45851 2?
### Response:
| SELECT "Format" FROM table_76205 WHERE "Region" = 'europe' AND "Catalog" = '74321 45851 2' |
### Instruction:
CREATE TABLE table_name_37 (
opponents_in_the_final VARCHAR,
date VARCHAR,
partnering VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did Bruno Soares and a partner face in the finals on a clay surface on August 1... | SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010" |
### Instruction:
CREATE TABLE table_56780 (
"County" text,
"Name" text,
"Length (miles)" real,
"West or south terminus" text,
"East or north terminus" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name when the west or south terminus is... | SELECT "Name" FROM table_56780 WHERE "West or south terminus" = 'ne 112 west of blue springs' |
### Instruction:
CREATE TABLE table_77270 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What sum of game has an atten... | SELECT SUM("Game") FROM table_77270 WHERE "Attendance" = '18,690' |
### Instruction:
CREATE TABLE table_17526 (
"Season" text,
"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.
-- Name the number of mens doubles for... | SELECT COUNT("Mens doubles") FROM table_17526 WHERE "Season" = '2004/2005' |
### Instruction:
CREATE TABLE table_48999 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the result when the week is earlier than 9 and attendance is... | SELECT "Result" FROM table_48999 WHERE "Week" < '9' AND "Attendance" = '25,188' |
### Instruction:
CREATE TABLE table_39869 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date's attendance was more than 39,058 with an opponent of Motherwell?
### Res... | SELECT "Date" FROM table_39869 WHERE "Attendance" > '39,058' AND "Opponent" = 'motherwell' |
### Instruction:
CREATE TABLE table_78717 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is 'Win'?
### Respo... | SELECT "Score" FROM table_78717 WHERE "Venue" = 'riyadh, saudi arabia' AND "Result" = 'win' |
### Instruction:
CREATE TABLE table_name_74 (
auckland VARCHAR,
gold_coast VARCHAR,
melbourne VARCHAR,
sydney VARCHAR,
perth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- yes or no for the auckland with a yes for sydney, no for perth, yes for me... | SELECT auckland FROM table_name_74 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND gold_coast = "yes" |
### Instruction:
CREATE TABLE table_13090 (
"Municipality" text,
"Inhabitants" real,
"Mayor" text,
"Party" text,
"Election" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which inhabitants have lega lombarda as the party, with an election greater th... | SELECT "Inhabitants" FROM table_13090 WHERE "Party" = 'lega lombarda' AND "Election" > '2010' |
### Instruction:
CREATE TABLE table_61987 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151?
### Response:
| SELECT "Year(s) won" FROM table_61987 WHERE "To par" < '16' AND "Total" = '151' |
### Instruction:
CREATE TABLE table_27391 (
"Language" text,
"Padilla Municipality" real,
"Tomina Municipality" real,
"Sopachuy Municipality" real,
"Villa Alcal\u00e1 Municipality" real,
"El Villar Municipality" real
)
-- Using valid SQLite, answer the following questions for the tables provid... | SELECT MAX("Padilla Municipality") FROM table_27391 WHERE "Language" = 'Quechua' |
### Instruction:
CREATE TABLE table_200_12 (
id number,
"year" text,
"award" text,
"category" text,
"nominated work" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what play was wanamaker nominated for best featured in a play in 1... | SELECT "nominated work" FROM table_200_12 WHERE "category" = 'best featured in a play' AND "year" = 1981 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.