instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_203_438 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is executive producer listed as the role in this chart ?
### Response:
|
SELECT COUNT(*) FROM table_203_438 WHERE "role" = 'executive producer'
|
### Instruction:
CREATE TABLE table_name_97 (
score_in_final VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the final in $10,000 tarakan , indonesia f2?
### Response:
|
SELECT score_in_final FROM table_name_97 WHERE tournament = "$10,000 – tarakan , indonesia f2"
|
### Instruction:
CREATE TABLE table_204_699 (
id number,
"district" text,
"name" text,
"party" text,
"residence" text,
"first served" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last term year represented in the chart ?
### Response:
|
SELECT MAX("first served") FROM table_204_699
|
### Instruction:
CREATE TABLE table_name_16 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of To Par, when Score is '70-75-76=221'?
### Response:
|
SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221
|
### Instruction:
CREATE TABLE table_name_26 (
venue VARCHAR,
score VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue has a score of 4-0 with the 2002 Tiger Cup listed as the competition?
### Response:
|
SELECT venue FROM table_name_26 WHERE score = "4-0" AND competition = "2002 tiger cup"
|
### Instruction:
CREATE TABLE table_11950720_4 (
no VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number when birthday is 15 november 1973?
### Response:
|
SELECT no FROM table_11950720_4 WHERE date_of_birth = "15 November 1973"
|
### Instruction:
CREATE TABLE table_18481791_3 (
no_in_season INTEGER,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons were directed by Bryan Spicer?
### Response:
|
SELECT MIN(no_in_season) FROM table_18481791_3 WHERE directed_by = "Bryan Spicer"
|
### Instruction:
CREATE TABLE table_name_58 (
year INTEGER,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year has a Category of best original song ( )?
### Response:
|
SELECT MAX(year) FROM table_name_58 WHERE category = "best original song (รอเธอหันมา – โฟกัส จิระกุล)"
|
### Instruction:
CREATE TABLE table_name_12 (
median_family_income VARCHAR,
median_household_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Median family income has a Median household income of $43,125?
### Response:
|
SELECT median_family_income FROM table_name_12 WHERE median_household_income = "$43,125"
|
### Instruction:
CREATE TABLE table_name_1 (
wins INTEGER,
class VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Count the average Wins which has a Class of 250cc, and a Year of 1972?
### Response:
|
SELECT AVG(wins) FROM table_name_1 WHERE class = "250cc" AND year = 1972
|
### Instruction:
CREATE TABLE table_14418 (
"Year" real,
"Award" text,
"Category" text,
"Nominated Work" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years had ozone awards?
### Response:
|
SELECT SUM("Year") FROM table_14418 WHERE "Award" = 'ozone awards'
|
### Instruction:
CREATE TABLE table_1342013_20 (
first_elected INTEGER,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- John W. Heselton was first elected in what year?
### Response:
|
SELECT MAX(first_elected) FROM table_1342013_20 WHERE incumbent = "John W. Heselton"
|
### Instruction:
CREATE TABLE table_61410 (
"Letter" text,
"American" text,
"British" text,
"Australian" text,
"Examples" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which letter has the British a ?
### Response:
|
SELECT "Letter" FROM table_61410 WHERE "British" = 'aɪ'
|
### Instruction:
CREATE TABLE table_name_13 (
authors VARCHAR,
novelty VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus?
### Response:
|
SELECT authors FROM table_name_13 WHERE novelty = "gen et sp nov" AND name = "lanthanocephalus"
|
### Instruction:
CREATE TABLE table_name_62 (
award VARCHAR,
nominated_work VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?
### Response:
|
SELECT award FROM table_name_62 WHERE nominated_work = "flare path" AND category = "best featured actress in a play"
|
### Instruction:
CREATE TABLE table_name_42 (
best_film VARCHAR,
best_supporting_actress VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Best Film has a Best Supporting Actress of shamaine buencamino for ni o?
### Response:
|
SELECT best_film FROM table_name_42 WHERE best_supporting_actress = "shamaine buencamino for niño"
|
### Instruction:
CREATE TABLE table_name_8 (
median_family_income VARCHAR,
median_household_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Median family income when the Median household income is $38,137?
### Response:
|
SELECT median_family_income FROM table_name_8 WHERE median_household_income = "$38,137"
|
### Instruction:
CREATE TABLE table_1277350_7 (
friday_day_six VARCHAR,
monday_day_two VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is friday day six when monday day two is isnin?
### Response:
|
SELECT friday_day_six FROM table_1277350_7 WHERE monday_day_two = "Isnin"
|
### Instruction:
CREATE TABLE table_11562149_1 (
no_in_series VARCHAR,
featured_character_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the episode numbers where the episode features Jack & Locke?
### Response:
|
SELECT no_in_series FROM table_11562149_1 WHERE featured_character_s_ = "Jack & Locke"
|
### Instruction:
CREATE TABLE table_1940144_1 (
change_since_2006 VARCHAR,
urban_area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many places has the rank changed since 2006, for Clane?
### Response:
|
SELECT change_since_2006 FROM table_1940144_1 WHERE urban_area = "Clane"
|
### Instruction:
CREATE TABLE ALBUM (
ArtistId VARCHAR
)
CREATE TABLE ARTIST (
Name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the names of artists that do not have any albums.
### Response:
|
SELECT Name FROM ARTIST EXCEPT SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId
|
### Instruction:
CREATE TABLE table_40858 (
"Season" text,
"Round" text,
"Country" text,
"Opponent" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the second round?
### Response:
|
SELECT "Result" FROM table_40858 WHERE "Round" = 'second round'
|
### Instruction:
CREATE TABLE table_22834834_12 (
year VARCHAR,
earnings__$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years had a total earnings amount of 2254598?
### Response:
|
SELECT COUNT(year) FROM table_22834834_12 WHERE earnings__$_ = 2254598
|
### Instruction:
CREATE TABLE table_name_76 (
team VARCHAR,
game VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Team with a game of more than 56, and the score is l 85 90 (ot)?
### Response:
|
SELECT team FROM table_name_76 WHERE game > 56 AND score = "l 85–90 (ot)"
|
### Instruction:
CREATE TABLE table_name_82 (
oberliga_südwest VARCHAR,
oberliga_bayern VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Oberliga S dwest has an Oberliga Bayern of fc schweinfurt 05?
### Response:
|
SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = "fc schweinfurt 05"
|
### Instruction:
CREATE TABLE table_203_701 (
id number,
"#" number,
"title" text,
"featured guest(s)" text,
"producer(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many titles are on the album ?
### Response:
|
SELECT COUNT("title") FROM table_203_701
|
### Instruction:
CREATE TABLE table_name_37 (
result VARCHAR,
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the result when the venue is singapore on september 8, 1996?
### Response:
|
SELECT result FROM table_name_37 WHERE venue = "singapore" AND date = "september 8, 1996"
|
### Instruction:
CREATE TABLE table_12947 (
"Player" text,
"Position" text,
"League" text,
"Team" text,
"Years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team does Oliver Dobbins play for?
### Response:
|
SELECT "Team" FROM table_12947 WHERE "Player" = 'oliver dobbins'
|
### Instruction:
CREATE TABLE table_2144389_9 (
japanese_translation VARCHAR,
japanese_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the japanese title what is the japanese translation?
### Response:
|
SELECT japanese_translation FROM table_2144389_9 WHERE japanese_title = "七色アーチ"
|
### Instruction:
CREATE TABLE table_26160007_1 (
total_trade VARCHAR,
exports VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where the number of exports are 6,099.06, what is the total trade?
### Response:
|
SELECT total_trade FROM table_26160007_1 WHERE exports = "6,099.06"
|
### Instruction:
CREATE TABLE table_48819 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game was played on May 29?
### Response:
|
SELECT "Game" FROM table_48819 WHERE "Date" = 'may 29'
|
### Instruction:
CREATE TABLE table_name_25 (
dob VARCHAR,
first VARCHAR,
throws VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which DOB has Throws of r, and a Position of c, and a First of torey?
### Response:
|
SELECT dob FROM table_name_25 WHERE throws = "r" AND position = "c" AND first = "torey"
|
### Instruction:
CREATE TABLE table_name_97 (
played INTEGER,
points VARCHAR,
goals_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is the lowest played with 28-10 points and goals higher than 29?
### Response:
|
SELECT MIN(played) FROM table_name_97 WHERE points = "28-10" AND goals_for > 29
|
### Instruction:
CREATE TABLE table_12221 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Record is '1-1'?
### Response:
|
SELECT "Date" FROM table_12221 WHERE "Record" = '1-1'
|
### Instruction:
CREATE TABLE table_name_92 (
drawn INTEGER,
percentage VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of draws that correlates with a percentage of 0.00% and less than 1 loss?
### Response:
|
SELECT MAX(drawn) FROM table_name_92 WHERE percentage = "0.00%" AND lost < 1
|
### Instruction:
CREATE TABLE table_name_26 (
matches INTEGER,
high_score VARCHAR,
innings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the match total for a score over 299 and under 412 innings?
### Response:
|
SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412
|
### Instruction:
CREATE TABLE table_name_29 (
acres VARCHAR,
landfill VARCHAR,
opened VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of acres at Sai Tso Wan, opening before 1978?
### Response:
|
SELECT COUNT(acres) FROM table_name_29 WHERE landfill = "sai tso wan" AND opened < 1978
|
### Instruction:
CREATE TABLE table_name_33 (
location VARCHAR,
year VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location's year was 2001 when the record was 3:52.983s?
### Response:
|
SELECT location FROM table_name_33 WHERE year = 2001 AND record = "3:52.983s"
|
### Instruction:
CREATE TABLE table_28278 (
"Rank" real,
"Dismissals" real,
"Catches" real,
"Stumps" real,
"Player" text,
"Period" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the catches maximum number?
### Response:
|
SELECT MAX("Catches") FROM table_28278
|
### Instruction:
CREATE TABLE table_name_29 (
match_report VARCHAR,
opponents VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the match report for the game played at forthbank stadium against stirling albion?
### Response:
|
SELECT match_report FROM table_name_29 WHERE opponents = "stirling albion" AND venue = "forthbank stadium"
|
### Instruction:
CREATE TABLE table_11858 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps for grid 12?
### Response:
|
SELECT "Laps" FROM table_11858 WHERE "Grid" = '12'
|
### Instruction:
CREATE TABLE table_name_99 (
record VARCHAR,
result VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record of the game that resulted in a loss with more than 56,648 people in attendance?
### Response:
|
SELECT record FROM table_name_99 WHERE result = "loss" AND attendance > 56 OFFSET 648
|
### Instruction:
CREATE TABLE table_name_51 (
Chinese VARCHAR,
index VARCHAR,
status VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Chinese name of the Eliminated player from Singapore in Index f9?
### Response:
|
SELECT Chinese AS name FROM table_name_51 WHERE status = "eliminated" AND country = "singapore" AND index = "f9"
|
### Instruction:
CREATE TABLE table_20704243_5 (
series__number VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the series number for m. scott veach & rebecca kirsch
### Response:
|
SELECT series__number FROM table_20704243_5 WHERE written_by = "M. Scott Veach & Rebecca Kirsch"
|
### Instruction:
CREATE TABLE table_54795 (
"Track" real,
"Title" text,
"Translation" text,
"Composer" text,
"Recorded" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title has the Translation of vesoul?
### Response:
|
SELECT "Title" FROM table_54795 WHERE "Translation" = 'vesoul'
|
### Instruction:
CREATE TABLE table_27987768_1 (
no_in_series INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number in series was the episode written by Eric Gilliland?
### Response:
|
SELECT MAX(no_in_series) FROM table_27987768_1 WHERE written_by = "Eric Gilliland"
|
### Instruction:
CREATE TABLE table_1816947_2 (
season INTEGER,
average_attendance_league VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which season was the average league attendance 2.572?
### Response:
|
SELECT MAX(season) FROM table_1816947_2 WHERE average_attendance_league = "2.572"
|
### Instruction:
CREATE TABLE table_name_49 (
opponents VARCHAR,
team VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponents have a Team of arsenal, and a Year of 1963 64?
### Response:
|
SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963–64"
|
### Instruction:
CREATE TABLE table_name_47 (
extra_points INTEGER,
touchdowns VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of extra points for players with less than 2 touchdowns and less than 1 point?
### Response:
|
SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns < 2 AND points < 1
|
### Instruction:
CREATE TABLE table_38791 (
"Season" text,
"Team" text,
"Wins" text,
"Losses" text,
"Draws" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team had 15 draws?
### Response:
|
SELECT "Team" FROM table_38791 WHERE "Draws" = '15'
|
### Instruction:
CREATE TABLE table_12784134_1 (
participle VARCHAR,
verbal_noun VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the participle when the verbal noun is i-bil-tze?
### Response:
|
SELECT participle FROM table_12784134_1 WHERE verbal_noun = "i-bil-tze"
|
### Instruction:
CREATE TABLE table_name_38 (
per_capita_income VARCHAR,
median_family_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Per capita income has a Median family income of $50,755?
### Response:
|
SELECT per_capita_income FROM table_name_38 WHERE median_family_income = "$50,755"
|
### Instruction:
CREATE TABLE table_2490289_1 (
pc_intro VARCHAR,
amiga_intro VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What won est pc intro when 4k0 (polka brothers) won best amiga intro?
### Response:
|
SELECT pc_intro FROM table_2490289_1 WHERE amiga_intro = "4k0 (Polka Brothers)"
|
### Instruction:
CREATE TABLE table_name_40 (
english_meaning VARCHAR,
case_suffix__case_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is English Meaning, when Case Suffix (Case) is '-sa (dative)'?
### Response:
|
SELECT english_meaning FROM table_name_40 WHERE case_suffix__case_ = "-sa (dative)"
|
### Instruction:
CREATE TABLE table_name_13 (
penalty VARCHAR,
average VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the penalty for the gymnast with average above 9.662 and total is more than 9.706?
### Response:
|
SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706
|
### Instruction:
CREATE TABLE table_42514 (
"Year" text,
"Title" text,
"Genre" text,
"Label" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which label's year was 1990?
### Response:
|
SELECT "Label" FROM table_42514 WHERE "Year" = '1990'
|
### Instruction:
CREATE TABLE table_1245350_1 (
power VARCHAR,
quattroporte_iv VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the power of the 3.2i v8 32v?
### Response:
|
SELECT power FROM table_1245350_1 WHERE quattroporte_iv = "3.2i V8 32v"
|
### Instruction:
CREATE TABLE table_36985 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year associated with under 0 wins?
### Response:
|
SELECT MIN("Year") FROM table_36985 WHERE "Wins" < '0'
|
### Instruction:
CREATE TABLE table_28019988_5 (
series__number INTEGER,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number in the series had a production code of bdf405?
### Response:
|
SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF405"
|
### Instruction:
CREATE TABLE table_43536 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date is aston villa away?
### Response:
|
SELECT "Date" FROM table_43536 WHERE "Away team" = 'aston villa'
|
### Instruction:
CREATE TABLE table_name_58 (
college_junior_club_team__league_ VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which College/junior/club team (league) was the player from Switzerland from?
### Response:
|
SELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = "switzerland"
|
### Instruction:
CREATE TABLE table_23492454_1 (
no_in_series VARCHAR,
no_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes in the series are also episode 18 in the season?
### Response:
|
SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 18
|
### Instruction:
CREATE TABLE table_name_7 (
Music VARCHAR,
year VARCHAR,
movie__in_kannada__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the music director in 1971 for the movie Kalyani?
### Response:
|
SELECT Music AS director FROM table_name_7 WHERE year = 1971 AND movie__in_kannada__ = "kalyani"
|
### Instruction:
CREATE TABLE table_47955 (
"Date" text,
"Region" text,
"Label" text,
"Catalogue" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Label is Jugoton?
### Response:
|
SELECT "Date" FROM table_47955 WHERE "Label" = 'jugoton'
|
### Instruction:
CREATE TABLE table_38326 (
"Event" text,
"Round" text,
"Result" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Round of first had what opponent?
### Response:
|
SELECT "Opponent" FROM table_38326 WHERE "Round" = 'first'
|
### Instruction:
CREATE TABLE table_name_62 (
total VARCHAR,
set_5 VARCHAR,
set_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Total, when Set 5 is NA, and when Set 2 is 25-13?
### Response:
|
SELECT total FROM table_name_62 WHERE set_5 = "na" AND set_2 = "25-13"
|
### Instruction:
CREATE TABLE table_35557 (
"Date" text,
"Placing" text,
"Beat by" text,
"Location" text,
"Distance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who beat Chic by 8fm?
### Response:
|
SELECT "Beat by" FROM table_35557 WHERE "Distance" = '8fm'
|
### Instruction:
CREATE TABLE table_33212 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Dan Selznick best time?
### Response:
|
SELECT "Best" FROM table_33212 WHERE "Name" = 'dan selznick'
|
### Instruction:
CREATE TABLE table_name_39 (
score VARCHAR,
surface VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score has a Surface of hardcourt, and a Date of september 30, 1984?
### Response:
|
SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984"
|
### Instruction:
CREATE TABLE table_name_85 (
władysławowo_ VARCHAR,
_poland VARCHAR,
world_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for W adys awowo, Poland when the world record was clean & jerk?
### Response:
|
SELECT władysławowo_, _poland FROM table_name_85 WHERE world_record = "clean & jerk"
|
### Instruction:
CREATE TABLE table_64185 (
"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 average rank for Denmark?
### Response:
|
SELECT AVG("Rank") FROM table_64185 WHERE "Country" = 'denmark'
|
### Instruction:
CREATE TABLE table_29012710_1 (
number_of_dairy_cows INTEGER,
province VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the least amount of milk cattle in ontario
### Response:
|
SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario"
|
### Instruction:
CREATE TABLE table_42596 (
"Title" text,
"Length" text,
"Writer" text,
"Composer" text,
"Arranger" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the arranger for Ana Rouh?
### Response:
|
SELECT "Arranger" FROM table_42596 WHERE "Title" = 'ana rouh'
|
### Instruction:
CREATE TABLE table_70530 (
"Name" text,
"Country" text,
"Status" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the transfer fee of Diogo?
### Response:
|
SELECT "Transfer fee" FROM table_70530 WHERE "Name" = 'diogo'
|
### Instruction:
CREATE TABLE table_11887 (
"Year" real,
"Pick" real,
"Player name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick number resulted in a defensive end?
### Response:
|
SELECT "Pick" FROM table_11887 WHERE "Position" = 'defensive end'
|
### Instruction:
CREATE TABLE table_4356 (
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the player for pick of 145
### Response:
|
SELECT "Player" FROM table_4356 WHERE "Pick" = '145'
|
### Instruction:
CREATE TABLE table_35616 (
"Version" text,
"Length" text,
"Album" text,
"Remixed by" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the length of the UK remix version?
### Response:
|
SELECT "Length" FROM table_35616 WHERE "Version" = 'uk remix'
|
### Instruction:
CREATE TABLE table_name_34 (
average VARCHAR,
balls_faced VARCHAR,
innings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of averages having a balls faced over 297 and more than 7 innings?
### Response:
|
SELECT COUNT(average) FROM table_name_34 WHERE balls_faced > 297 AND innings > 7
|
### Instruction:
CREATE TABLE table_24192031_2 (
geographical_regions VARCHAR,
contestant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What geographical region is contestant laura jim nez ynoa from?
### Response:
|
SELECT geographical_regions FROM table_24192031_2 WHERE contestant = "Laura Jiménez Ynoa"
|
### Instruction:
CREATE TABLE table_1912276_2 (
name VARCHAR,
__750m VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If -750m is 46.436, what is the name of the cyclist?
### Response:
|
SELECT name FROM table_1912276_2 WHERE __750m = "46.436"
|
### Instruction:
CREATE TABLE table_204_299 (
id number,
"name of place" text,
"number of counties" number,
"principal county" text,
"lower zip code" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the first city listed alphabetically ?
### Response:
|
SELECT MIN("name of place") FROM table_204_299
|
### Instruction:
CREATE TABLE table_name_83 (
team VARCHAR,
kit_manufacturer VARCHAR,
captain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team is the kit manufacturer Umbro, and the captain Gary Mabbutt?
### Response:
|
SELECT team FROM table_name_83 WHERE kit_manufacturer = "umbro" AND captain = "gary mabbutt"
|
### Instruction:
CREATE TABLE table_35029 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college's pick was 14?
### Response:
|
SELECT "College" FROM table_35029 WHERE "Pick" = '14'
|
### Instruction:
CREATE TABLE table_name_8 (
surface VARCHAR,
opponent_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has an Opponent(s) of anna-lena gr nefeld tatjana malek?
### Response:
|
SELECT surface FROM table_name_8 WHERE opponent_s_ = "anna-lena grönefeld tatjana malek"
|
### Instruction:
CREATE TABLE table_67304 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the constructor for Grid 1?
### Response:
|
SELECT "Constructor" FROM table_67304 WHERE "Grid" = '1'
|
### Instruction:
CREATE TABLE table_10399701_2 (
class_aAAAA VARCHAR,
school_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Class AAAAA during the school year of 1995-96?
### Response:
|
SELECT class_aAAAA FROM table_10399701_2 WHERE school_year = "1995-96"
|
### Instruction:
CREATE TABLE table_57906 (
"Year" real,
"Title" text,
"Original channel" text,
"Role" text,
"Note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the year when the title is jotei?
### Response:
|
SELECT SUM("Year") FROM table_57906 WHERE "Title" = 'jotei'
|
### Instruction:
CREATE TABLE table_name_52 (
against INTEGER,
status VARCHAR,
opposing_teams VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the against for the opposing team of Wales with the status of Five Nations?
### Response:
|
SELECT AVG(against) FROM table_name_52 WHERE status = "five nations" AND opposing_teams = "wales"
|
### Instruction:
CREATE TABLE table_2508633_4 (
pick__number VARCHAR,
college VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number draft pick was Oklahoma State's Greg Hill in 1983?
### Response:
|
SELECT pick__number FROM table_2508633_4 WHERE college = "Oklahoma State" AND player = "Greg Hill"
|
### Instruction:
CREATE TABLE table_51537 (
"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 score on August 8?
### Response:
|
SELECT "Score" FROM table_51537 WHERE "Date" = 'august 8'
|
### Instruction:
CREATE TABLE table_name_81 (
played VARCHAR,
points VARCHAR,
drawn VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games played for the army team with over 51 points and under 5 games drawn?
### Response:
|
SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = "army" AND points > 51
|
### Instruction:
CREATE TABLE table_74864 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was their record on February 24?
### Response:
|
SELECT "Record" FROM table_74864 WHERE "Date" = 'february 24'
|
### Instruction:
CREATE TABLE table_10088101_1 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The episode with production code 9abx02 was originally aired on what date?
### Response:
|
SELECT original_air_date FROM table_10088101_1 WHERE production_code = "9ABX02"
|
### Instruction:
CREATE TABLE table_28286776_12 (
goal_s_ INTEGER,
club_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals did the player from Ipswich town score?
### Response:
|
SELECT MIN(goal_s_) FROM table_28286776_12 WHERE club_s_ = "Ipswich Town"
|
### Instruction:
CREATE TABLE table_66092 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Gemma Spofforth has what time?
### Response:
|
SELECT "Time" FROM table_66092 WHERE "Name" = 'gemma spofforth'
|
### Instruction:
CREATE TABLE table_14141 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the position of the player from florida?
### Response:
|
SELECT "Position" FROM table_14141 WHERE "College" = 'florida'
|
### Instruction:
CREATE TABLE table_47048 (
"Rank" real,
"Title" text,
"Studio" text,
"Director(s)" text,
"Worldwide Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title placed in rank 7?
### Response:
|
SELECT "Title" FROM table_47048 WHERE "Rank" = '7'
|
### Instruction:
CREATE TABLE table_name_48 (
goals_conceded INTEGER,
draw VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Goals Conceded which has a Draw of 0 and a Played larger than 0?
### Response:
|
SELECT AVG(goals_conceded) FROM table_name_48 WHERE draw = 0 AND played > 0
|
### Instruction:
CREATE TABLE table_39463 (
"Name" text,
"Status" text,
"Population" real,
"District" text,
"Former local authority" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district is the parish Milburn in?
### Response:
|
SELECT "District" FROM table_39463 WHERE "Name" = 'milburn'
|
### Instruction:
CREATE TABLE table_name_8 (
arranger_s_ VARCHAR,
lyricist_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the arranger for the song that had a lyricist of Sirapatara Kalayapanid?
### Response:
|
SELECT arranger_s_ FROM table_name_8 WHERE lyricist_s_ = "sirapatara kalayapanid"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.