instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_15843 (
"State/territory" text,
"Text/background colour" text,
"Format" text,
"Current slogan" text,
"Current series" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the format for South A... | SELECT "Format" FROM table_15843 WHERE "State/territory" = 'South Australia' |
### Instruction:
CREATE TABLE table_28177800_5 (
late_middle_english VARCHAR,
late_old_english__anglian_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Late Middle English equivalent of the Anglian g, g?
### Response:
| SELECT late_middle_english FROM table_28177800_5 WHERE late_old_english__anglian_ = "æg, ǣg" |
### Instruction:
CREATE TABLE table_203_77 (
id number,
"album title" text,
"format" text,
"year" number,
"original label" text,
"chart positions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of albus from this chart t... | SELECT COUNT("album title") FROM table_203_77 WHERE NOT "chart positions" IS NULL |
### Instruction:
CREATE TABLE table_30555 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team drafted Ron Annear?
### Respon... | SELECT "NHL team" FROM table_30555 WHERE "Player" = 'Ron Annear' |
### Instruction:
CREATE TABLE table_18733 (
"School" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Mascot" text,
"Division" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many teams have the titans as a mascot?
### Response:
| SELECT COUNT("Affiliation") FROM table_18733 WHERE "Mascot" = 'Titans' |
### Instruction:
CREATE TABLE table_2850912_10 (
nhl_team VARCHAR,
college_junior_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team drafted a player from HC Slavia Praha (Czechoslovakia)?
### Response:
| SELECT nhl_team FROM table_2850912_10 WHERE college_junior_club_team = "HC Slavia Praha (Czechoslovakia)" |
### Instruction:
CREATE TABLE table_17927 (
"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 was the date of the game in week 14?
##... | SELECT "Date" FROM table_17927 WHERE "Week" = '14' |
### Instruction:
CREATE TABLE table_27361 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the all the players whose position is guard in college Clemson?
### Respon... | SELECT "Player" FROM table_27361 WHERE "College" = 'Clemson' AND "Position" = 'Guard' |
### Instruction:
CREATE TABLE table_204_383 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- number of nations that earned no bronze medals
... | SELECT COUNT("nation") FROM table_204_383 WHERE "bronze" = 0 |
### Instruction:
CREATE TABLE table_75278 (
"Surname" text,
"First" text,
"D.O.B." text,
"Uni#" real,
"Bats" text,
"Throws" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which batter has the last name Graham?
### Response... | SELECT "Bats" FROM table_75278 WHERE "Surname" = 'graham' |
### Instruction:
CREATE TABLE table_39439 (
"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 gold medal count that has a silver medal count less than 0?
#... | SELECT MAX("Gold") FROM table_39439 WHERE "Silver" < '0' |
### Instruction:
CREATE TABLE table_19813 (
"Software" text,
"Version" text,
"Operating systems" text,
"Developer" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is hte license for beeone smod/hms software?
### Response:
| SELECT "License" FROM table_19813 WHERE "Software" = 'BeeOne SMOD/HMS' |
### Instruction:
CREATE TABLE table_61325 (
"Episode" text,
"18-49" text,
"Viewers (m)" real,
"Rating" text,
"Share" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Rating has Viewers (m) of 2.73?
### Response:
| SELECT "Rating" FROM table_61325 WHERE "Viewers (m)" = '2.73' |
### Instruction:
CREATE TABLE table_28562 (
"Film Festival" text,
"Date of ceremony" text,
"Category" text,
"Participants/Recipients" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category was the the participant/recipient ot to... | SELECT "Category" FROM table_28562 WHERE "Participants/Recipients" = 'Otōto' |
### Instruction:
CREATE TABLE table_27654 (
"Rank by average" real,
"Place" real,
"Couple" text,
"Total points" real,
"Number of dances" real,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What couple averaged 15.5?
### Response:
| SELECT "Couple" FROM table_27654 WHERE "Average" = '15.5' |
### Instruction:
CREATE TABLE table_72581 (
"Cardinal direction" text,
"Burmese" text,
"Sanskrit" text,
"English" text,
"Planet" text,
"Sign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Burmese term associated with a cardinal dire... | SELECT "Burmese" FROM table_72581 WHERE "Cardinal direction" = 'West' |
### Instruction:
CREATE TABLE table_68536 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the opponent at the game that had a loss of Travers (0 2)?
### Response:
| SELECT "Opponent" FROM table_68536 WHERE "Loss" = 'travers (0–2)' |
### Instruction:
CREATE TABLE table_name_96 (
l2_cache VARCHAR,
gpu_model VARCHAR,
frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz?
### Response:
| SELECT l2_cache FROM table_name_96 WHERE gpu_model = "iris pro graphics 5200" AND frequency = "2.6 ghz" |
### Instruction:
CREATE TABLE table_61063 (
"Season" text,
"Date" text,
"Winners" text,
"Finalists" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which season did the Rangers win with a score of 2 1?
### Response:
| SELECT "Season" FROM table_61063 WHERE "Score" = '2–1' AND "Winners" = 'rangers' |
### Instruction:
CREATE TABLE table_48258 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was the match with partner Kira Nagy?
... | SELECT "Date" FROM table_48258 WHERE "Partner" = 'kira nagy' |
### Instruction:
CREATE TABLE table_68440 (
"Rank" real,
"Player" text,
"County" text,
"Tally" text,
"Total" real,
"Matches" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the typical match smaller than 2?
### Respo... | SELECT AVG("Average") FROM table_68440 WHERE "Matches" < '2' |
### Instruction:
CREATE TABLE table_203_607 (
id number,
"catalogue number" text,
"artist" text,
"release title" text,
"format" text,
"release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which artists had more then 6 release titles
##... | SELECT "artist" FROM table_203_607 GROUP BY "artist" HAVING COUNT("release title") > 6 |
### Instruction:
CREATE TABLE table_3629 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the district with the candidates edwin gray (dr)... | SELECT "District" FROM table_3629 WHERE "Candidates" = 'Edwin Gray (DR)' |
### Instruction:
CREATE TABLE table_71567 (
"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 opponent with a record of 60-61
### Response:
| SELECT "Opponent" FROM table_71567 WHERE "Record" = '60-61' |
### Instruction:
CREATE TABLE table_65210 (
"Date" 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.
-- What is the score with the Lineup match re... | SELECT "Score" FROM table_65210 WHERE "Lineup" = 'match reports' |
### Instruction:
CREATE TABLE table_64927 (
"Event" text,
"Date" text,
"Location" text,
"Winning skip" text,
"Runner-up skip" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the location of the National event with Kevin Martin winning?
### R... | SELECT "Location" FROM table_64927 WHERE "Winning skip" = 'kevin martin' AND "Event" = 'the national' |
### Instruction:
CREATE TABLE table_58608 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average of all years tournaments were hosted in Doha, Qatar?
### Response:
| SELECT AVG("Year") FROM table_58608 WHERE "Venue" = 'doha, qatar' |
### Instruction:
CREATE TABLE table_name_55 (
decile VARCHAR,
roll VARCHAR,
area VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the decile of Samuel Marsden Collegiate School in Whitby, when it had a roll higher than 163?
###... | SELECT COUNT(decile) FROM table_name_55 WHERE area = "whitby" AND name = "samuel marsden collegiate school" AND roll > 163 |
### Instruction:
CREATE TABLE table_30514 (
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team drafted Travis Brigley?
### Resp... | SELECT "NHL team" FROM table_30514 WHERE "Player" = 'Travis Brigley' |
### Instruction:
CREATE TABLE table_74965 (
"Date" text,
"Opponent#" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent at the game attended by 45,000?
### Response:
| SELECT "Opponent#" FROM table_74965 WHERE "Attendance" = '45,000' |
### Instruction:
CREATE TABLE table_203_173 (
id number,
"year(s)" text,
"serial name" text,
"role" text,
"co-star" text,
"note(s)" text,
"channel" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was kelkar 's last role ?
### Response:... | SELECT "serial name" FROM table_203_173 ORDER BY id DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_204_115 (
id number,
"year" number,
"track" text,
"number" number,
"team" text,
"car" text,
"round result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the first car that murphy used in the new zealand v... | SELECT "car" FROM table_204_115 ORDER BY "year" LIMIT 1 |
### Instruction:
CREATE TABLE table_12464 (
"College or Campus Name" text,
"Location" text,
"District" text,
"Affiliation" text,
"Estd" real,
"Weblink" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which district was established in 1942?
### ... | SELECT "District" FROM table_12464 WHERE "Estd" = '1942' |
### Instruction:
CREATE TABLE table_18344 (
"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.
-- In which district is the incumbent John Breaux?
### R... | SELECT "District" FROM table_18344 WHERE "Incumbent" = 'John Breaux' |
### Instruction:
CREATE TABLE table_67752 (
"Name" text,
"Tour" real,
"Giro" real,
"Vuelta" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many podiums associated with 1 vuelta and over 7 tours?
### Response:
| SELECT COUNT("Total") FROM table_67752 WHERE "Vuelta" = '1' AND "Tour" > '7' |
### Instruction:
CREATE TABLE table_203_630 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which nation earned the most gold medals ?
###... | SELECT "nation" FROM table_203_630 ORDER BY "gold" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_12080 (
"Round" text,
"Pick" text,
"Position" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick for round 2 with the team Indianapolis Olympians?
### Response:
| SELECT "Pick" FROM table_12080 WHERE "Round" = '2' AND "Team" = 'indianapolis olympians' |
### Instruction:
CREATE TABLE table_203_213 (
id number,
"name" text,
"builder" text,
"type" text,
"date" text,
"works number" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many locomotives were built after 1900 ?
### ... | SELECT COUNT("builder") FROM table_203_213 WHERE "date" > 1900 |
### Instruction:
CREATE TABLE table_62354 (
"Event" text,
"Time" text,
"Nationality" text,
"Date" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the 1500m freestyle event?
### Response:
| SELECT "Date" FROM table_62354 WHERE "Event" = '1500m freestyle' |
### Instruction:
CREATE TABLE table_75792 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winning score for the runner-up Ernie Els?
### Re... | SELECT "Winning score" FROM table_75792 WHERE "Runner(s)-up" = 'ernie els' |
### Instruction:
CREATE TABLE table_18278508_4 (
status VARCHAR,
main_contestant VARCHAR,
date_performed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the status for karanvir bohra and date performed being july 30
### Response:
| SELECT status FROM table_18278508_4 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "July 30" |
### Instruction:
CREATE TABLE submission (
submission_id number,
scores number,
author text,
college text
)
CREATE TABLE acceptance (
submission_id number,
workshop_id number,
result text
)
CREATE TABLE workshop (
workshop_id number,
date text,
venue text,
name text
)
-- ... | SELECT COUNT(*) FROM submission |
### Instruction:
CREATE TABLE table_23235767_1 (
year VARCHAR,
opponent_in_the_final VARCHAR,
championship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every year where opponent in the final is John Mcenroe at Wimbledon?
### Response:
| SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon" |
### Instruction:
CREATE TABLE table_80269 (
"Episode title" text,
"Villain(s)" text,
"Identity(ies)" text,
"Original airdate" text,
"DVD volume" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the original airdate for mr. buckston
### Response... | SELECT "Original airdate" FROM table_80269 WHERE "Identity(ies)" = 'mr. buckston' |
### Instruction:
CREATE TABLE table_36356 (
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- with team #1 as lukoil academic what is team #2?
### Response:
| SELECT "Team #2" FROM table_36356 WHERE "Team #1" = 'lukoil academic' |
### Instruction:
CREATE TABLE table_18145 (
"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.
-- What party was the winner in the district Maryland 6?
... | SELECT "Party" FROM table_18145 WHERE "District" = 'Maryland 6' |
### Instruction:
CREATE TABLE table_2416 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Midshipmen points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for 9-1 record
### Res... | SELECT "Result" FROM table_2416 WHERE "Record" = '9-1' |
### Instruction:
CREATE TABLE table_40918 (
"Title" text,
"Director" text,
"Producer" text,
"Production Cost" text,
"Singapore Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the directed by 1991, what was the gross in Singapore?
### Res... | SELECT "Singapore Gross" FROM table_40918 WHERE "Director" = '1991' |
### Instruction:
CREATE TABLE table_204_753 (
id number,
"no." number,
"name" text,
"position" text,
"date of birth (age)" text,
"signed from" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players are reserve team pla... | SELECT COUNT("name") FROM table_204_753 WHERE "notes" = 'reserve team player' |
### Instruction:
CREATE TABLE table_203_517 (
id number,
"#" number,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"pts" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games did the senators play in ja... | SELECT COUNT(*) FROM table_203_517 WHERE "date" = 1 |
### Instruction:
CREATE TABLE table_name_34 (
played INTEGER,
goals_against VARCHAR,
position VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of played for position less than 9 and draws more than 19 with goals against more... | SELECT SUM(played) FROM table_name_34 WHERE position < 9 AND draws > 19 AND goals_against > 27 |
### Instruction:
CREATE TABLE table_66634 (
"Town" text,
"Population (2001)" real,
"Population rank" real,
"County" text,
"Municipality" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What county is the town with a rank of 205 located in?
### Resp... | SELECT "County" FROM table_66634 WHERE "Population rank" = '205' |
### Instruction:
CREATE TABLE table_70568 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- September 23, 1973 landed on which week of the season?
### Response:
| SELECT "Week" FROM table_70568 WHERE "Date" = 'september 23, 1973' |
### Instruction:
CREATE TABLE table_203_707 (
id number,
"rank" number,
"npc" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country won the most gold medals ?
### Resp... | SELECT "npc" FROM table_203_707 ORDER BY "gold" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_19495707_1 (
license VARCHAR,
latest_release_date_and_version VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the license for 2009-05-25 v 7.61
### Response:
| SELECT license FROM table_19495707_1 WHERE latest_release_date_and_version = "2009-05-25 v 7.61" |
### Instruction:
CREATE TABLE table_56489 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who constructed the car that has a Time/Retired of +2:06.0?
### Response:
| SELECT "Constructor" FROM table_56489 WHERE "Time/Retired" = '+2:06.0' |
### Instruction:
CREATE TABLE table_name_85 (
played INTEGER,
goals_against VARCHAR,
lost VARCHAR,
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many played when lost is more than 17, drawn is 15 and goals against is less than 75?
### Re... | SELECT AVG(played) FROM table_name_85 WHERE lost > 17 AND drawn = 15 AND goals_against < 75 |
### Instruction:
CREATE TABLE user_profiles (
uid number,
name text,
email text,
partitionid number,
followers number
)
CREATE TABLE tweets (
id number,
uid number,
text text,
createdate time
)
CREATE TABLE follows (
f1 number,
f2 number
)
-- Using valid SQLite, answer th... | SELECT COUNT(*) FROM follows |
### Instruction:
CREATE TABLE table_47978 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record for the w 100-99 score?
### Response:
| SELECT "Record" FROM table_47978 WHERE "Score" = 'w 100-99' |
### Instruction:
CREATE TABLE table_71929 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event was Donald Ouimet involved?
### Respon... | SELECT "Event" FROM table_71929 WHERE "Opponent" = 'donald ouimet' |
### Instruction:
CREATE TABLE table_26232 (
"No" real,
"Player" text,
"Height (m)" text,
"Height (f)" text,
"Position" text,
"Year born" real,
"Current Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Display the serial numbers for the p... | SELECT "No" FROM table_26232 WHERE "Position" = 'Center' |
### Instruction:
CREATE TABLE table_203_109 (
id number,
"treaty" text,
"organization" text,
"introduced" number,
"signed" number,
"ratified" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many treaties had been introduced by 1986 ?
### ... | SELECT COUNT("treaty") FROM table_203_109 WHERE "ratified" >= 1986 |
### Instruction:
CREATE TABLE table_60110 (
"School" text,
"Sport" text,
"Titles" text,
"Years" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For a total of 1 and the sport of softball what were the years?
### Response:
| SELECT "Years" FROM table_60110 WHERE "Total" = '1' AND "Sport" = 'softball' |
### Instruction:
CREATE TABLE table_24919 (
"School" text,
"Location" text,
"Team Name" text,
"Colors" text,
"Varsity Teams" real,
"NJCAA Championships" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the varsity team is 6, what is the locatio... | SELECT "Location" FROM table_24919 WHERE "Varsity Teams" = '6' |
### Instruction:
CREATE TABLE table_65119 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what week was the December 21, 1969 game?
### Response:
| SELECT AVG("Week") FROM table_65119 WHERE "Date" = 'december 21, 1969' |
### Instruction:
CREATE TABLE table_50561 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week has a Tournament of monte carlo?
##... | SELECT "Week" FROM table_50561 WHERE "Tournament" = 'monte carlo' |
### Instruction:
CREATE TABLE table_72393 (
"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 number of first elected for phil crane
### R... | SELECT COUNT("First elected") FROM table_72393 WHERE "Incumbent" = 'Phil Crane' |
### Instruction:
CREATE TABLE table_204_195 (
id number,
"team" text,
"home city" text,
"stadium" text,
"capacity" number,
"last season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name a home city that has at least two teams .
### Response... | SELECT "home city" FROM table_204_195 GROUP BY "home city" HAVING COUNT("team") >= 2 |
### Instruction:
CREATE TABLE table_18522 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election in the Texas 4 dist... | SELECT "Result" FROM table_18522 WHERE "District" = 'Texas 4' |
### Instruction:
CREATE TABLE table_2025 (
"Discipline" text,
"Degree/Diploma" text,
"Total Seats" real,
"Recognised Seats" real,
"Permitted Seats" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of seats for general surgery
#... | SELECT COUNT("Permitted Seats") FROM table_2025 WHERE "Discipline" = 'General Surgery' |
### Instruction:
CREATE TABLE table_63286 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week was the opponent the San Diego Chargers?
### Response:
| SELECT COUNT("Week") FROM table_63286 WHERE "Opponent" = 'san diego chargers' |
### Instruction:
CREATE TABLE table_18106 (
"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.
-- What year was Luis Gutierrez election
### Response:
| SELECT MIN("First elected") FROM table_18106 WHERE "Incumbent" = 'Luis Gutierrez' |
### Instruction:
CREATE TABLE table_204_4 (
id number,
"date" text,
"race" text,
"competition" text,
"rider" text,
"country" text,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many uci europe tour competitions are recorded i... | SELECT COUNT(*) FROM table_204_4 WHERE "competition" = 'uci europe tour' |
### Instruction:
CREATE TABLE table_65354 (
"Draw" real,
"Language" text,
"Artist" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest draw when points is less than 11 and language is norwegian?
### Resp... | SELECT MAX("Draw") FROM table_65354 WHERE "Points" < '11' AND "Language" = 'norwegian' |
### Instruction:
CREATE TABLE table_name_15 (
set_5 VARCHAR,
set_3 VARCHAR,
set_4 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Set 5 with a Set 3 that is 25-23 and a Set 4 that is 23-25?
### Response:
| SELECT set_5 FROM table_name_15 WHERE set_3 = "25-23" AND set_4 = "23-25" |
### Instruction:
CREATE TABLE table_56564 (
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the team 2 for handelsministerium vienna
### Response:
| SELECT "Team #2" FROM table_56564 WHERE "Team #1" = 'handelsministerium vienna' |
### Instruction:
CREATE TABLE table_71601 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" text,
"Finish" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was there a team of Simon and the start was 3?
### Response:
| SELECT "Year" FROM table_71601 WHERE "Team" = 'simon' AND "Start" = '3' |
### Instruction:
CREATE TABLE table_50925 (
"Institution" text,
"Location" text,
"Nickname" text,
"Enrollment" real,
"Established" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the enrollment of the university established in or after 2011?
... | SELECT "Enrollment" FROM table_50925 WHERE "Established" > '2011' |
### Instruction:
CREATE TABLE table_65974 (
"Week" real,
"Partner" text,
"Dance" text,
"Music" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Week resulting in the bottom 3 was Endre Jansen Partner?
### Response:
| SELECT MAX("Week") FROM table_65974 WHERE "Result" = 'bottom 3' AND "Partner" = 'endre jansen' |
### Instruction:
CREATE TABLE table_25965003_3 (
access_using_a_croatian_identity_card VARCHAR,
countries_and_territories VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can one access the Jersey territory using a Croatian identity card?
### Response:
| SELECT access_using_a_croatian_identity_card FROM table_25965003_3 WHERE countries_and_territories = "Jersey" |
### Instruction:
CREATE TABLE table_32104 (
"Title" text,
"Japan" text,
"North America" text,
"Europe" text,
"Australia" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the north america for september 18, 2009
### Response:
| SELECT "North America" FROM table_32104 WHERE "Europe" = 'september 18, 2009' |
### Instruction:
CREATE TABLE table_name_54 (
run_2 INTEGER,
athlete VARCHAR,
run_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?
### Response:
| SELECT MAX(run_2) FROM table_name_54 WHERE athlete = "eric neilson" AND run_3 > 55.97 |
### Instruction:
CREATE TABLE table_name_63 (
years_at_club VARCHAR,
goals VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the years at the club of the player with 2 goals and was born on 23 July 1910?
### Response:
| SELECT years_at_club FROM table_name_63 WHERE goals = 2 AND date_of_birth = "23 july 1910" |
### Instruction:
CREATE TABLE table_65566 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest week that has espn 8:30pm as the TV time?
### Response:
| SELECT MAX("Week") FROM table_65566 WHERE "TV Time" = 'espn 8:30pm' |
### Instruction:
CREATE TABLE table_204_492 (
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 year did it only take place in sherbrooke , canada ?
### Res... | SELECT "year" FROM table_204_492 WHERE "venue" = 'sherbrooke, canada' |
### Instruction:
CREATE TABLE table_17735 (
"Year" real,
"Song title" text,
"Artist" text,
"Master recording ?" text,
"Release date" text,
"Single / Pack" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the release dates for songs in 200... | SELECT "Release date" FROM table_17735 WHERE "Year" = '2003' |
### Instruction:
CREATE TABLE table_80044 (
"Units" text,
"Type" text,
"Period used" text,
"Formed from" text,
"Trailers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the typed for formed from 6-pul trailer third in res unit
### Response:
| SELECT "Type" FROM table_80044 WHERE "Formed from" = '6-pul trailer third in res unit' |
### Instruction:
CREATE TABLE table_26241 (
"Episode Title" text,
"Song(s) Title" text,
"Writer" text,
"Singer(s)" text,
"Album(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who sand He's Bigfoot?
### Response:
| SELECT "Singer(s)" FROM table_26241 WHERE "Song(s) Title" = 'He''s Bigfoot' |
### Instruction:
CREATE TABLE table_32768 (
"Lane" real,
"Name" text,
"Nationality" text,
"100m" real,
"150m" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Park Tae-Hwan's final time?
### Response:
| SELECT "Time" FROM table_32768 WHERE "Name" = 'park tae-hwan' |
### Instruction:
CREATE TABLE table_203_125 (
id number,
"club" text,
"winners" number,
"runner-ups" number,
"winning years" text,
"runner-up years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many years was sk sturm graz winner ?
### R... | SELECT "winners" FROM table_203_125 WHERE "club" = 'sk sturm graz' |
### Instruction:
CREATE TABLE table_2092 (
"Season" text,
"Final Venue" text,
"Champion" text,
"Result" text,
"Finalist" text,
"MVP" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the MVP the season Scaligera Verona were Champions?
###... | SELECT "MVP" FROM table_2092 WHERE "Champion" = 'Scaligera Verona' |
### Instruction:
CREATE TABLE table_5435 (
"Church name" text,
"Organized by" text,
"Date" text,
"Split off / Continuation of" text,
"Current status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Independent Church's Split off/ Continu... | SELECT "Split off / Continuation of" FROM table_5435 WHERE "Church name" = 'independent church' |
### Instruction:
CREATE TABLE table_70464 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name has an Area of kennedy bay?
### Response:
| SELECT "Name" FROM table_70464 WHERE "Area" = 'kennedy bay' |
### Instruction:
CREATE TABLE table_53405 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first year to have a Chassis of Jordan 193?
### Response:
| SELECT MIN("Year") FROM table_53405 WHERE "Chassis" = 'jordan 193' |
### Instruction:
CREATE TABLE table_69302 (
"Year" real,
"Artist" text,
"Album / Song" text,
"Award" text,
"Result / Category" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the Album/Song Speaking louder than before?
### Response:
| SELECT SUM("Year") FROM table_69302 WHERE "Album / Song" = 'speaking louder than before' |
### Instruction:
CREATE TABLE table_171236_2 (
area_km_2 VARCHAR,
census_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Area KM 2 of the place that has a Census ranking of 1,608 of 5,008?
### Response:
| SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,608 of 5,008" |
### Instruction:
CREATE TABLE table_74352 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did the #94 pick play?
### ... | SELECT "Position" FROM table_74352 WHERE "Pick #" = '94' |
### Instruction:
CREATE TABLE table_name_11 (
fac___lc_apps INTEGER,
pl_apps VARCHAR,
UEfa_yc VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the FAC/LC apps with less than 25 PC apps and a UEFA YC less than 0?
### Response:
| SELECT SUM(fac___lc_apps) FROM table_name_11 WHERE pl_apps < 25 AND UEfa_yc < 0 |
### Instruction:
CREATE TABLE mill (
id VARCHAR,
architect_id VARCHAR,
built_year INTEGER
)
CREATE TABLE architect (
id VARCHAR,
architect_id VARCHAR,
built_year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many architects haven't buil... | SELECT COUNT(*) FROM architect WHERE NOT id IN (SELECT architect_id FROM mill WHERE built_year < 1850) |
### Instruction:
CREATE TABLE table_2528382_2 (
co_stars VARCHAR,
music_director VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which co-stars did Kalyanji-anandji direct in 1963?
### Response:
| SELECT co_stars FROM table_2528382_2 WHERE music_director = "Kalyanji-Anandji" AND year = "1963" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.