instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_51301 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average laps driven by david coulthard?
### Response:
| SELECT AVG("Laps") FROM table_51301 WHERE "Driver" = 'david coulthard' |
### Instruction:
CREATE TABLE table_203_437 (
id number,
"year" number,
"laureate" text,
"relation" text,
"category" text,
"rationale" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name of the first nobel laureates from penn. .
### Response:
| SELECT "laureate" FROM table_203_437 ORDER BY "year" LIMIT 1 |
### Instruction:
CREATE TABLE table_1977630_2 (
yo VARCHAR,
vosotros___vosotras VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the conjugated forms of the verb moler where the vosotros / vosotras is mol is for the yo tense?
### Response:
| SELECT yo FROM table_1977630_2 WHERE vosotros___vosotras = "moláis" |
### Instruction:
CREATE TABLE table_204_782 (
id number,
"state" text,
"title" text,
"name" text,
"entered office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- sir stanley robinson and sir theodore brancker both served for which state ?
### Resp... | SELECT "state" FROM table_204_782 WHERE "name" = 'sir stanley robinson' |
### Instruction:
CREATE TABLE table_14219514_2 (
home__2nd_leg_ VARCHAR,
home__1st_leg_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When belgrano is the home (1st leg) what is the home (2nd leg)?
### Response:
| SELECT home__2nd_leg_ FROM table_14219514_2 WHERE home__1st_leg_ = "Belgrano" |
### Instruction:
CREATE TABLE table_name_4 (
balls_faced INTEGER,
average VARCHAR,
runs_scored VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Balls Faced has a Average of 39.13 and Runs Scored larger than 313?
### Response:
| SELECT SUM(balls_faced) FROM table_name_4 WHERE average = 39.13 AND runs_scored > 313 |
### Instruction:
CREATE TABLE table_66402 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the game number for series 4-2?
### Response:
| SELECT COUNT("Game") FROM table_66402 WHERE "Series" = '4-2' |
### Instruction:
CREATE TABLE table_36251 (
"Rank" real,
"Name" text,
"Club" text,
"Nation" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nation are carolina hermann / daniel hermann from?
### Response:
| SELECT "Nation" FROM table_36251 WHERE "Name" = 'carolina hermann / daniel hermann' |
### Instruction:
CREATE TABLE table_name_7 (
years INTEGER,
lost VARCHAR,
tied VARCHAR,
total_games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year total for teams with under 37 games tied, over 33 games, and 15 losses?
### Response... | SELECT SUM(years) FROM table_name_7 WHERE tied < 37 AND total_games > 33 AND lost = 15 |
### Instruction:
CREATE TABLE table_49819 (
"Name" text,
"Built" text,
"Listed" text,
"Location" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which bridge is located in Nectar, in Blount County?
### Response:
| SELECT "Name" FROM table_49819 WHERE "County" = 'blount' AND "Location" = 'nectar' |
### Instruction:
CREATE TABLE table_20185 (
"Class" text,
"Wheel Arrangement" text,
"Railway" text,
"Number at Doncaster" real,
"Number at Pyewipe" real,
"Number at March" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number of py... | SELECT MAX("Number at Pyewipe") FROM table_20185 |
### Instruction:
CREATE TABLE table_67557 (
"School" text,
"Team" text,
"Division Record" text,
"Overall Record" text,
"Season Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Season Outcome for the Sussex Central School?
### Re... | SELECT "Season Outcome" FROM table_67557 WHERE "School" = 'sussex central' |
### Instruction:
CREATE TABLE table_76510 (
"Finished" text,
"Horse" text,
"Jockey" text,
"Trainer" text,
"Odds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the Odds for Trainer Barclay Tagg?
### Response:
| SELECT "Odds" FROM table_76510 WHERE "Trainer" = 'barclay tagg' |
### Instruction:
CREATE TABLE table_14839 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original name" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Language Director of nagisa oshima use in his fi... | SELECT "Language" FROM table_14839 WHERE "Director" = 'nagisa oshima' |
### Instruction:
CREATE TABLE table_203_126 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the score of the top game ?
### Respon... | SELECT "result" FROM table_203_126 ORDER BY id LIMIT 1 |
### Instruction:
CREATE TABLE table_204_293 (
id number,
"district" number,
"name" text,
"party" text,
"district office" text,
"first elected" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many senators are from baton rouge ?
### Respon... | SELECT COUNT(*) FROM table_204_293 WHERE "district office" = 'baton rouge' |
### Instruction:
CREATE TABLE table_237036_2 (
_extended_and_main_profiles VARCHAR,
baseline INTEGER,
level VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the baseline extended and main profiles when level is 1.3?
### Response:
| SELECT MIN(baseline), _extended_and_main_profiles FROM table_237036_2 WHERE level = "1.3" |
### Instruction:
CREATE TABLE table_55798 (
"Pick #" text,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2006 cfl draft pick played college ball at Idaho state?
### Response:
| SELECT "Pick #" FROM table_55798 WHERE "College" = 'idaho state' |
### Instruction:
CREATE TABLE table_61549 (
"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.
-- Which Country has a Year(s) won of 1963?
### Response:
| SELECT "Country" FROM table_61549 WHERE "Year(s) won" = '1963' |
### Instruction:
CREATE TABLE table_48232 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TEAM WITH astc round 1?
### Response:
| SELECT "Team" FROM table_48232 WHERE "Series" = 'astc round 1' |
### Instruction:
CREATE TABLE table_24538587_11 (
codename__main_article_ VARCHAR,
brand_name__list_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the codename for the Core i3-32xxt?
### Response:
| SELECT codename__main_article_ FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-32xxT" |
### Instruction:
CREATE TABLE table_76362 (
"Official Name" text,
"Status" text,
"Area km 2" real,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area in square kilometers of Studholm?
### Response:
| SELECT COUNT("Area km 2") FROM table_76362 WHERE "Official Name" = 'studholm' |
### Instruction:
CREATE TABLE table_71985 (
"Church name" text,
"Location" text,
"Rebuilt" text,
"Date of demolition" real,
"Subsuming parish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many dates of demolition are located on Wood Street?
... | SELECT COUNT("Date of demolition") FROM table_71985 WHERE "Location" = 'wood street' |
### Instruction:
CREATE TABLE table_79698 (
"Rank" real,
"Name" text,
"1st run" text,
"2nd run" text,
"3rd run" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 3rd run has rank of 1?
### Response:
| SELECT "3rd run" FROM table_79698 WHERE "Rank" = '1' |
### Instruction:
CREATE TABLE table_204_307 (
id number,
"year" number,
"english title" text,
"chinese title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- has this actor been in above or below 15 films ?
### Respon... | SELECT (SELECT COUNT("english title") FROM table_204_307) > 15 |
### Instruction:
CREATE TABLE table_66187 (
"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 Date of the Kroger Classic Tournament?
### Respon... | SELECT "Date" FROM table_66187 WHERE "Tournament" = 'kroger classic' |
### Instruction:
CREATE TABLE table_41958 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the Visitor when the Nets were the Home team?
### Respo... | SELECT "Visitor" FROM table_41958 WHERE "Home" = 'nets' |
### Instruction:
CREATE TABLE table_1825751_4 (
second_runner_up VARCHAR,
binibining_pilipinas_world VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?
### Response:
| SELECT second_runner_up FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel" |
### Instruction:
CREATE TABLE table_name_20 (
city_of_license VARCHAR,
erp_w VARCHAR,
frequency_mhz VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has ERP W under 14 and a frequency over 93.7MHz?
### Response:
| SELECT city_of_license FROM table_name_20 WHERE erp_w < 14 AND frequency_mhz > 93.7 |
### Instruction:
CREATE TABLE table_name_84 (
horse_name VARCHAR,
jockey VARCHAR,
post_time_odds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What horse does todd pletcher ride with odds of 14.20-1?
### Response:
| SELECT horse_name FROM table_name_84 WHERE jockey = "todd pletcher" AND post_time_odds = "14.20-1" |
### Instruction:
CREATE TABLE table_58792 (
"Name" text,
"Tournaments" real,
"Pro Debut" text,
"Top division debut" text,
"Highest rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Tournaments, when Name is 'Baruto'?
### Resp... | SELECT MIN("Tournaments") FROM table_58792 WHERE "Name" = 'baruto' |
### Instruction:
CREATE TABLE table_40676 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Television Service offering Cartoman... | SELECT "Television service" FROM table_40676 WHERE "Content" = 'cartomanzia' |
### Instruction:
CREATE TABLE table_24689168_5 (
rating__18_49_ VARCHAR,
viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 18 to 49 rating when 9.50 million watched?
### Response:
| SELECT rating__18_49_ FROM table_24689168_5 WHERE viewers__millions_ = "9.50" |
### Instruction:
CREATE TABLE table_47321 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT POSITION HAS A 23 PICK?
### Response:
| SELECT "Position" FROM table_47321 WHERE "Pick" = '23' |
### Instruction:
CREATE TABLE table_31586 (
"Camp" text,
"Place" text,
"Province" text,
"Location" text,
"Period" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the province of 1941-1946
### Response:
| SELECT "Province" FROM table_31586 WHERE "Period" = '1941-1946' |
### Instruction:
CREATE TABLE table_204_344 (
id number,
"player" text,
"games played" number,
"field goals" number,
"free throws" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the total amount of points earned by ra... | SELECT "points" FROM table_204_344 WHERE "player" = 'ralf woods' |
### Instruction:
CREATE TABLE table_59210 (
"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 years did the player with a total larger than 157 have wins?
### Response:
| SELECT "Year(s) won" FROM table_59210 WHERE "Total" > '157' |
### Instruction:
CREATE TABLE table_203_257 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games did the 1981 atlanta falcons win ?
### Response:
| SELECT COUNT(*) FROM table_203_257 WHERE "result" = 'w' |
### Instruction:
CREATE TABLE table_49908 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Place with a Score of 72-68=140?
### Response:
| SELECT "Place" FROM table_49908 WHERE "Score" = '72-68=140' |
### Instruction:
CREATE TABLE table_name_77 (
outcome VARCHAR,
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On 27 July 2003 what was the outcome of the game that resulted in a score of 7 5, 6 3?
### Response:
| SELECT outcome FROM table_name_77 WHERE score = "7–5, 6–3" AND date = "27 july 2003" |
### Instruction:
CREATE TABLE table_75477 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What numbered pick was the player from texas?
### Response:
| SELECT COUNT("Pick #") FROM table_75477 WHERE "College" = 'texas' |
### Instruction:
CREATE TABLE table_70471 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the Nike Colorado Classic held?
### Response... | SELECT "Date" FROM table_70471 WHERE "Tournament" = 'nike colorado classic' |
### Instruction:
CREATE TABLE table_38718 (
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date when streak was won 8?
### Response:
| SELECT "Date" FROM table_38718 WHERE "Streak" = 'won 8' |
### Instruction:
CREATE TABLE table_5121 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent has april 23 as the date?
### Response:
| SELECT "Opponent" FROM table_5121 WHERE "Date" = 'april 23' |
### Instruction:
CREATE TABLE table_16494599_1 (
no VARCHAR,
years_for_grizzlies VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How may players played for the Grizzlies from 2000-2002?
### Response:
| SELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = "2000-2002" |
### Instruction:
CREATE TABLE table_204_395 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which year had the most competitions ?
### Response:
| SELECT "year" FROM table_204_395 GROUP BY "year" ORDER BY COUNT("competition") DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_56368 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Competition name of the competition that ended with a score of 2-1?
### Re... | SELECT "Competition" FROM table_56368 WHERE "Score" = '2-1' |
### Instruction:
CREATE TABLE table_40997 (
"Date" text,
"Opponent" text,
"Location" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent when the result was L 0-14?
### Response:
| SELECT "Opponent" FROM table_40997 WHERE "Result" = 'l 0-14' |
### Instruction:
CREATE TABLE table_50238 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state had a title of duke for the royal house of ji?
### Response:
| SELECT "State" FROM table_50238 WHERE "Title" = 'duke' AND "Royal house" = 'ji' |
### Instruction:
CREATE TABLE table_204_185 (
id number,
"location" text,
"town" text,
"output (mw ac)" number,
"modules" number,
"number of arrays" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which project location has the lowest outupt ?
... | SELECT "location" FROM table_204_185 ORDER BY "output (mw ac)" LIMIT 1 |
### Instruction:
CREATE TABLE table_80179 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the start of the race with 676 laps?
### Response:
| SELECT "Start" FROM table_80179 WHERE "Laps" = '676' |
### Instruction:
CREATE TABLE table_name_77 (
to_par VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par of the T6 Place Player with a Score of 68-69-70=207?
### Response:
| SELECT to_par FROM table_name_77 WHERE place = "t6" AND score = 68 - 69 - 70 = 207 |
### Instruction:
CREATE TABLE table_16268026_3 (
preliminary_average VARCHAR,
semifinal_average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the preliminary average when the semifinal average is 8.834 (3) ?
### Response:
| SELECT preliminary_average FROM table_16268026_3 WHERE semifinal_average = "8.834 (3)" |
### Instruction:
CREATE TABLE table_77146 (
"Rank" real,
"Mountain Peak" text,
"Region" text,
"Mountain Range" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Region with a Mountain Peak of dillingham high point?
### Respo... | SELECT "Region" FROM table_77146 WHERE "Mountain Peak" = 'dillingham high point' |
### Instruction:
CREATE TABLE table_204_780 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in how many games did this competitor place 5th or better ?
### R... | SELECT COUNT("competition") FROM table_204_780 WHERE "position" <= 5 |
### Instruction:
CREATE TABLE table_56813 (
"Player" text,
"Pos." text,
"From" real,
"School/Country" text,
"Rebs" real,
"Asts" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players from bethel?
### Response:
| SELECT COUNT("From") FROM table_56813 WHERE "School/Country" = 'bethel' |
### Instruction:
CREATE TABLE table_10416547_1 (
music_genre_style VARCHAR,
lyrics_theme_style VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of music genre/style in which the lyrics are a detective story?
### Response:
| SELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = "Detective story" |
### Instruction:
CREATE TABLE table_59377 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total when the finish was t44?
### Response:
| SELECT "Total" FROM table_59377 WHERE "Finish" = 't44' |
### Instruction:
CREATE TABLE table_name_11 (
result_f___a VARCHAR,
h___a VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result F-A with an H/A of h and more than 31,727 attending?
### Response:
| SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727 |
### Instruction:
CREATE TABLE table_41087 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Notes with a Venue that is venice, italy?
### Response:
| SELECT "Notes" FROM table_41087 WHERE "Venue" = 'venice, italy' |
### Instruction:
CREATE TABLE table_name_67 (
crowd INTEGER,
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood?
### Response:
| SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood" |
### Instruction:
CREATE TABLE table_71659 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the Test match of Australia in England at The Oval Venue?
... | SELECT "Date" FROM table_71659 WHERE "Venue" = 'the oval' |
### Instruction:
CREATE TABLE table_203_620 (
id number,
"tie no" number,
"home team" text,
"score" text,
"away team" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team was the first team to score six goals ?
### Re... | SELECT "home team" FROM table_203_620 WHERE "score" = 6 LIMIT 1 |
### Instruction:
CREATE TABLE table_35054 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round was Robert Deciantis taken in?
### Response:
| SELECT "Round" FROM table_35054 WHERE "Player" = 'robert deciantis' |
### Instruction:
CREATE TABLE table_8440 (
"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.
-- Fulham as Team 1 has the 2nd leg score of what?
### Response:
| SELECT "2nd leg" FROM table_8440 WHERE "Team 1" = 'fulham' |
### Instruction:
CREATE TABLE table_name_1 (
week_14_nov_30 VARCHAR,
week_6_oct_5 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week 14 Nov 30 has a Week 6 Oct 5 of michigan state (5-1)?
### Response:
| SELECT week_14_nov_30 FROM table_name_1 WHERE week_6_oct_5 = "michigan state (5-1)" |
### Instruction:
CREATE TABLE table_71839 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which of the countries showed a score of 71-72=143?
### Response:
| SELECT "Country" FROM table_71839 WHERE "Score" = '71-72=143' |
### Instruction:
CREATE TABLE table_28712 (
"Rank" real,
"Athlete" text,
"Country" text,
"Distance (metres)" text,
"Points" text,
"Adjusted Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the athlete for 7 rank
### Response:
| SELECT "Athlete" FROM table_28712 WHERE "Rank" = '7' |
### Instruction:
CREATE TABLE table_204_503 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did she participate in the heptathalon ?
### Respo... | SELECT COUNT(*) FROM table_204_503 WHERE "notes" = 'heptathlon' |
### Instruction:
CREATE TABLE table_name_82 (
outcome VARCHAR,
surface VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Outcome has a Surface of hard, and a Score in the final of 6 2, 6 4?
### Response:
| SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4" |
### Instruction:
CREATE TABLE table_66568 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2008 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name for the club Liaoning in 2008?
### Response:
| SELECT "Name" FROM table_66568 WHERE "2008 club" = 'liaoning' |
### Instruction:
CREATE TABLE table_4279 (
"Season" real,
"Date" text,
"Location" text,
"Discipline" text,
"Position" real,
"FIS points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the discipline for 1561 fis points
### Response:
| SELECT "Discipline" FROM table_4279 WHERE "FIS points" = '1561' |
### Instruction:
CREATE TABLE table_203_691 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who would the next opponent be after week 4 ?
### Response:
| SELECT "opponent" FROM table_203_691 WHERE "week" = 4 + 1 |
### Instruction:
CREATE TABLE table_42965 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record when the Nuggets are the home team?
### Respo... | SELECT "Record" FROM table_42965 WHERE "Home" = 'nuggets' |
### Instruction:
CREATE TABLE table_5952 (
"Title" text,
"Year" real,
"Director" text,
"Budget" text,
"Gross (worldwide)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most recent year featuring the director Christopher Kulikowski?
##... | SELECT MAX("Year") FROM table_5952 WHERE "Director" = 'christopher kulikowski' |
### Instruction:
CREATE TABLE table_30120664_1 (
area__acres__ VARCHAR,
civil_parish VARCHAR,
townland VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the area for civil parish ballynoe and killasseragh
### Response:
| SELECT area__acres__ FROM table_30120664_1 WHERE civil_parish = "Ballynoe" AND townland = "Killasseragh" |
### Instruction:
CREATE TABLE table_39456 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Nationality of daniel goneau?
### Response:
| SELECT "Nationality" FROM table_39456 WHERE "Player" = 'daniel goneau' |
### Instruction:
CREATE TABLE table_9061 (
"Event" text,
"Time" text,
"Club" text,
"Date" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Location has a Time of 4:13.48?
### Response:
| SELECT "Location" FROM table_9061 WHERE "Time" = '4:13.48' |
### Instruction:
CREATE TABLE table_20618 (
"#" real,
"Series Sorted" text,
"Title" text,
"Author" text,
"Doctor" text,
"Featuring" text,
"Released" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the released for pat mills
### Respons... | SELECT "Released" FROM table_20618 WHERE "Author" = 'Pat Mills' |
### Instruction:
CREATE TABLE table_70896 (
"Year" text,
"Category" text,
"Genre" text,
"Recording" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year with the best female pop vocal album and result of won
### Response:
| SELECT "Year" FROM table_70896 WHERE "Category" = 'best female pop vocal album' AND "Result" = 'won' |
### Instruction:
CREATE TABLE table_54933 (
"Year" text,
"Team" text,
"Comp" text,
"Rate" text,
"RAtt" text,
"RYds" text,
"RAvg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the comp 33?
### Response:
| SELECT "Year" FROM table_54933 WHERE "Comp" = '33' |
### Instruction:
CREATE TABLE table_2544694_3 (
indonesia_super_series_2008 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which series occurred when the 7800 was 5040.00?
### Response:
| SELECT indonesia_super_series_2008 FROM table_2544694_3 WHERE 780000 = "5040.00" |
### Instruction:
CREATE TABLE table_70550 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the smallest number of laps imre toth has?
### Response:
| SELECT MIN("Laps") FROM table_70550 WHERE "Rider" = 'imre toth' |
### Instruction:
CREATE TABLE table_203_781 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which year had the most competitions ?
### Response:
| SELECT "year" FROM table_203_781 GROUP BY "year" ORDER BY COUNT("competition") DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_23813 (
"Country" text,
"Contestant" text,
"Age" real,
"Height (cm)" real,
"Height (ft)" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is the contestant from Ecuador?
### Response:... | SELECT "Height (ft)" FROM table_23813 WHERE "Country" = 'Ecuador' |
### Instruction:
CREATE TABLE table_381 (
"Member" text,
"Electorate" text,
"Province" text,
"MPs term" text,
"Election date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the election date where electorate is christchurch country
### Resp... | SELECT "Election date" FROM table_381 WHERE "Electorate" = 'Christchurch Country' |
### Instruction:
CREATE TABLE table_26914076_3 (
us_viewers__millions_ VARCHAR,
story_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers watched the episode with a story by david simon & mari kornhauser?
### Response:
| SELECT us_viewers__millions_ FROM table_26914076_3 WHERE story_by = "David Simon & Mari Kornhauser" |
### Instruction:
CREATE TABLE table_1256 (
"Elected" real,
"Assembled" text,
"Dissolved" text,
"First member" text,
"Second member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was parliament assembled when John rudhale was first member?... | SELECT "Assembled" FROM table_1256 WHERE "First member" = 'John Rudhale' |
### Instruction:
CREATE TABLE table_25709 (
"Date" text,
"Location" text,
"Opponent" text,
"Cardinal Points" real,
"Opp. Points" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location for 2-1 record
### Response:
| SELECT "Location" FROM table_25709 WHERE "Record" = '2-1' |
### Instruction:
CREATE TABLE table_15002177_1 (
mixed_doubles VARCHAR,
womens_singles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many mixed doubles were there in the year that Olga Koseli won the women's singles?
### Response:
| SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli" |
### Instruction:
CREATE TABLE table_name_3 (
call_sign VARCHAR,
erp_w VARCHAR,
frequency_mhz VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which call sign has ERP Wlarger than 250, and Frequency MHZ smaller than 99.3?
### Response:
| SELECT call_sign FROM table_name_3 WHERE erp_w > 250 AND frequency_mhz < 99.3 |
### Instruction:
CREATE TABLE table_204_697 (
id number,
"song" text,
"artist(s)" text,
"concert" number,
"film" number,
"1978 album" number,
"2002 album" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many songs total are listed ?
#... | SELECT COUNT("song") FROM table_204_697 |
### Instruction:
CREATE TABLE table_202_45 (
id number,
"rank" number,
"wrestler" text,
"no. of reigns" number,
"combined days" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long did orville brown remain nwa world heavyweight champion ?
###... | SELECT "combined days" FROM table_202_45 WHERE "wrestler" = 'orville brown' |
### Instruction:
CREATE TABLE table_8309 (
"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 is the name of the player that has a To par of 1?
### Respon... | SELECT "Player" FROM table_8309 WHERE "To par" = '–1' |
### Instruction:
CREATE TABLE table_name_35 (
year INTEGER,
player_name VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the greatest Year with a Player name of dave adams category:articles with hcards, and a Round smaller than 23?
... | SELECT MAX(year) FROM table_name_35 WHERE player_name = "dave adams category:articles with hcards" AND round < 23 |
### Instruction:
CREATE TABLE table_48606 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score did Ed Furgol get to come in at T6?
### Response:
| SELECT "Score" FROM table_48606 WHERE "Place" = 't6' AND "Player" = 'ed furgol' |
### Instruction:
CREATE TABLE table_47537 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest laps that Vittorio Iannuzzo completed?
### Response:
| SELECT MIN("Laps") FROM table_47537 WHERE "Rider" = 'vittorio iannuzzo' |
### Instruction:
CREATE TABLE table_53976 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the College of Player Perry Ellis?
### Response:
| SELECT "College" FROM table_53976 WHERE "Player" = 'perry ellis' |
### Instruction:
CREATE TABLE table_52097 (
"Year" text,
"Player" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is featured for 2001-2002?
### Response:
| SELECT "Player" FROM table_52097 WHERE "Year" = '2001-2002' |
### Instruction:
CREATE TABLE table_25527255_2 (
shirt_sponsor VARCHAR,
average_squad_age VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the shirt sponsor of the team with an average squad age of 25.46?
### Response:
| SELECT shirt_sponsor FROM table_25527255_2 WHERE average_squad_age = "25.46" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.