instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_25252080_3 (
august_21_22 VARCHAR,
november_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is shown for august 21-22 when november 3 is november 3, 1994?
### Response:
| SELECT august_21_22 FROM table_25252080_3 WHERE november_3 = "november_3, 1994" |
### Instruction:
CREATE TABLE table_51702 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name th score for may 11, 2003
### Response:
| SELECT "Score" FROM table_51702 WHERE "Date" = 'may 11, 2003' |
### Instruction:
CREATE TABLE table_54863 (
"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 School did Player Alonzo Mourning attend?
### Response:
| SELECT "School" FROM table_54863 WHERE "Player" = 'alonzo mourning' |
### Instruction:
CREATE TABLE table_204_622 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times has this competitor placed 5th or ... | SELECT COUNT(*) FROM table_204_622 WHERE "position" <= 5 |
### Instruction:
CREATE TABLE table_name_25 (
res VARCHAR,
record VARCHAR,
time VARCHAR,
method VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which res has a Time of 5:00, and a Method of decision (unanimous), and a Record of 1 0?
### Response:
| SELECT res FROM table_name_25 WHERE time = "5:00" AND method = "decision (unanimous)" AND record = "1–0" |
### Instruction:
CREATE TABLE table_16110 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of the division for the 1st round?
##... | SELECT COUNT("Division") FROM table_16110 WHERE "Open Cup" = '1st Round' |
### Instruction:
CREATE TABLE table_23383 (
"Ballpark" text,
"Location" text,
"Team" text,
"Opened" real,
"Closed" real,
"Demod" real,
"Current Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the ballpark of the Twins?
### ... | SELECT "Location" FROM table_23383 WHERE "Team" = 'Twins' |
### Instruction:
CREATE TABLE table_60398 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has a score of 66-73-69=208?
### Response:
| SELECT "Country" FROM table_60398 WHERE "Score" = '66-73-69=208' |
### Instruction:
CREATE TABLE table_name_18 (
ifop_5_11_09 VARCHAR,
ifop_1_9_09 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lfop for 5/11/09 with lfop 1/9/09 of 5%
### Response:
| SELECT ifop_5_11_09 FROM table_name_18 WHERE ifop_1_9_09 = "5%" |
### Instruction:
CREATE TABLE table_1137704_2 (
winning_constructor VARCHAR,
fastest_lap VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who are all the winning constructors where fastest lap is riccardo patrese and location is interlago... | SELECT winning_constructor FROM table_1137704_2 WHERE fastest_lap = "Riccardo Patrese" AND location = "Interlagos" |
### Instruction:
CREATE TABLE table_11565 (
"Official Name in Malay" text,
"Acronym" text,
"Foundation" real,
"Type" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the foundation of Politeknik Pagoh?
### Response:
| SELECT AVG("Foundation") FROM table_11565 WHERE "Official Name in Malay" = 'politeknik pagoh' |
### Instruction:
CREATE TABLE table_10818465_1 (
ga_date VARCHAR,
processor_frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have?
### Response:
| SELECT ga_date FROM table_10818465_1 WHERE processor_frequency = "1.0, 1.2, 1.4GHz" |
### Instruction:
CREATE TABLE table_41622 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IATA for Benghazi, Libya?
### Response:
| SELECT "IATA" FROM table_41622 WHERE "Country" = 'libya' AND "City" = 'benghazi' |
### Instruction:
CREATE TABLE table_18184 (
"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.
-- what's the result with district being washington 7
##... | SELECT "Result" FROM table_18184 WHERE "District" = 'Washington 7' |
### Instruction:
CREATE TABLE table_79491 (
"Season" real,
"Network" text,
"Episodes" real,
"Premiered" text,
"Ended" text,
"DVD set release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When dis cbs release the DVD set?
### Response:
| SELECT "DVD set release date" FROM table_79491 WHERE "Network" = 'cbs' |
### Instruction:
CREATE TABLE table_25149 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winning score for pga championship
### R... | SELECT "Winning score" FROM table_25149 WHERE "Championship" = 'PGA Championship' |
### Instruction:
CREATE TABLE table_name_37 (
lost INTEGER,
drawn VARCHAR,
played VARCHAR,
first_game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of losses associated with 2 matches played, a first game after 1997, and m... | SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0 |
### Instruction:
CREATE TABLE table_65115 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition listed is dated November 17, 2003?
### Response:
| SELECT "Competition" FROM table_65115 WHERE "Date" = 'november 17, 2003' |
### Instruction:
CREATE TABLE table_62981 (
"Year" real,
"Category" text,
"Nominee(s)" text,
"Episode" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result when the nominee(s) of janine sherman?
### Response:
| SELECT "Result" FROM table_62981 WHERE "Nominee(s)" = 'janine sherman' |
### Instruction:
CREATE TABLE table_name_31 (
podiums VARCHAR,
poles VARCHAR,
position VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Podiums, when Position is '2nd', when Wins is less than 6, and when Poles ... | SELECT COUNT(podiums) FROM table_name_31 WHERE position = "2nd" AND wins < 6 AND poles > 0 |
### Instruction:
CREATE TABLE table_18671 (
"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.
-- what are all the party with district being kansas 1
#... | SELECT "Party" FROM table_18671 WHERE "District" = 'Kansas 1' |
### Instruction:
CREATE TABLE table_name_44 (
first_season_of_current_spell_in_segunda_división INTEGER,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of the first season in Segunda Divisi n that has a City of ca ete?
### Response:
| SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete" |
### Instruction:
CREATE TABLE table_20018310_1 (
juntas_de_regantes__wub_ VARCHAR,
irrigation_district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the Juntas de Regantes (WUB) within the Azua Valley?
### Response:
| SELECT juntas_de_regantes__wub_ FROM table_20018310_1 WHERE irrigation_district = "Azua Valley" |
### Instruction:
CREATE TABLE table_760 (
"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.
-- What district does incumbent james c. davis represent?
... | SELECT "District" FROM table_760 WHERE "Incumbent" = 'James C. Davis' |
### Instruction:
CREATE TABLE table_71581 (
"Elector" text,
"Order" text,
"Title" text,
"Elevated" text,
"Elevator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's listed for the Elevated category that has an Order of Cardinal-Bishop?
### Re... | SELECT "Elevated" FROM table_71581 WHERE "Order" = 'cardinal-bishop' |
### Instruction:
CREATE TABLE table_name_43 (
pat_robertson VARCHAR,
bob_dole VARCHAR,
pete_du_pont VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Bob Dole had 26%, and Pete du Pont had 0%, what did Pat Robertson have?
### Response:
| SELECT pat_robertson FROM table_name_43 WHERE bob_dole = "26%" AND pete_du_pont = "0%" |
### Instruction:
CREATE TABLE table_10859 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance on October 27, 1968?
### Response:
| SELECT MAX("Week") FROM table_10859 WHERE "Date" = 'october 27, 1968' |
### Instruction:
CREATE TABLE table_name_26 (
final INTEGER,
all_around VARCHAR,
place VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the final for finland, who placed greater than 2 and had an all around larger tha... | SELECT SUM(final) FROM table_name_26 WHERE place > 2 AND nation = "finland" AND all_around > 18.9 |
### Instruction:
CREATE TABLE table_name_9 (
viewers__millions_ INTEGER,
episode_number VARCHAR,
share VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE HIGHEST VIEWERS WITH AN EPISODE LESS THAN 15 AND SHARE LAGER THAN 7?
### Response:
| SELECT MAX(viewers__millions_) FROM table_name_9 WHERE episode_number < 15 AND share > 7 |
### Instruction:
CREATE TABLE table_45883 (
"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.
-- What is the team 2 with cobreloa as team 1?
### Response:
| SELECT "Team 2" FROM table_45883 WHERE "Team 1" = 'cobreloa' |
### Instruction:
CREATE TABLE table_49625 (
"Draw" real,
"Artist" text,
"Song" text,
"Points" real,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest point total that placed 3rd and has a draw larger than 5?
### Response:
| SELECT MAX("Points") FROM table_49625 WHERE "Place" = '3rd' AND "Draw" > '5' |
### Instruction:
CREATE TABLE table_31783 (
"Nomination" text,
"Actor's Name" text,
"Film Name" text,
"Director" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the nomination for goran paskaljevic
### Response:
| SELECT "Nomination" FROM table_31783 WHERE "Director" = 'goran paskaljevic' |
### Instruction:
CREATE TABLE table_11911 (
"Model" text,
"Released" text,
"Form factor" text,
"Chipset" text,
"Memory Type" text,
"Max. Memory" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the release date of the model precision m60?
... | SELECT "Released" FROM table_11911 WHERE "Model" = 'precision m60' |
### Instruction:
CREATE TABLE table_name_68 (
longitude VARCHAR,
township VARCHAR,
geo_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total longitude of Nogosek and a GEO ID larger than 3809357060?
### Response:
| SELECT COUNT(longitude) FROM table_name_68 WHERE township = "nogosek" AND geo_id > 3809357060 |
### Instruction:
CREATE TABLE table_name_96 (
marine_organism_α VARCHAR,
disease_area VARCHAR,
clinical_trials_β VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the organism that has a disease area of cancer and has 4/4 clinical trial b?
### Res... | SELECT marine_organism_α FROM table_name_96 WHERE disease_area = "cancer" AND clinical_trials_β = "4/4" |
### Instruction:
CREATE TABLE table_20174050_23 (
reader VARCHAR,
format VARCHAR,
author VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster?
### Respo... | SELECT reader FROM table_20174050_23 WHERE format = "Download/CD" AND author = "Lidster, Joseph Joseph Lidster" |
### Instruction:
CREATE TABLE table_54216 (
"Character" text,
"Position" text,
"Actor" text,
"First Episode" text,
"Final Episode" text,
"Duration" text,
"Final Episode Count" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What actor plays g... | SELECT "Actor" FROM table_54216 WHERE "Character" = 'glen cole' |
### Instruction:
CREATE TABLE table_45885 (
"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.
-- What is the team 1 with a 2-1 2nd leg?
### Response:
| SELECT "Team 1" FROM table_45885 WHERE "2nd leg" = '2-1' |
### Instruction:
CREATE TABLE table_name_48 (
nation VARCHAR,
result VARCHAR,
year VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0 3?
... | SELECT nation FROM table_name_48 WHERE year = 2012 AND competition = "preseason" AND result = "w 0–3" |
### Instruction:
CREATE TABLE table_41021 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class has a frequency of 91.9 fm?
### Response:
| SELECT "Class" FROM table_41021 WHERE "Frequency" = '91.9 fm' |
### Instruction:
CREATE TABLE table_10007452_3 (
fuel_propulsion VARCHAR,
fleet_series__quantity_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)?
### Response:
| SELECT fuel_propulsion FROM table_10007452_3 WHERE fleet_series__quantity_ = "310-329 (20)" |
### Instruction:
CREATE TABLE table_19274 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most extra points for ri... | SELECT MAX("Extra points") FROM table_19274 WHERE "Position" = 'Right halfback' |
### Instruction:
CREATE TABLE table_61292 (
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is week 1 if week 3 is Natasha Budhi?
### Response:
| SELECT "Week 1" FROM table_61292 WHERE "Week 3" = 'natasha budhi' |
### Instruction:
CREATE TABLE table_45974 (
"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 is the overall pick number for the player who was picked on round ... | SELECT MIN("Overall") FROM table_45974 WHERE "Round" = '8' |
### Instruction:
CREATE TABLE table_74088 (
"Year" real,
"Title" text,
"Format" text,
"Studio" text,
"Release Date" text,
"Copyright Information" text,
"Catalog Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the studio for super... | SELECT "Studio" FROM table_74088 WHERE "Title" = 'Super Callanetics' |
### Instruction:
CREATE TABLE table_21001 (
"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.
-- How many games were played at Cleveland Stadiu... | SELECT COUNT("Date") FROM table_21001 WHERE "Game site" = 'Cleveland Stadium' |
### Instruction:
CREATE TABLE table_47800 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of Stewart Cink with a To par of +4?
### Response:
| SELECT "Score" FROM table_47800 WHERE "To par" = '+4' AND "Player" = 'stewart cink' |
### Instruction:
CREATE TABLE table_name_63 (
guns VARCHAR,
year VARCHAR,
class VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the guns for third-rate ship of the line and rank of vice-admiral with year of 1802
### Response:
| SELECT guns FROM table_name_63 WHERE class = "third-rate ship of the line" AND rank = "vice-admiral" AND year = "1802" |
### Instruction:
CREATE TABLE table_68176 (
"Party" text,
"Party List votes" real,
"Vote percentage" text,
"Total Seats" text,
"Seat percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What seat has a vote percentage of 100.0%
### Response:... | SELECT "Seat percentage" FROM table_68176 WHERE "Vote percentage" = '100.0%' |
### Instruction:
CREATE TABLE table_18569 (
"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.
-- What year was clair engle first elected?
### Response... | SELECT "First elected" FROM table_18569 WHERE "Incumbent" = 'Clair Engle' |
### Instruction:
CREATE TABLE table_204_414 (
id number,
"name" text,
"armenian" text,
"location" text,
"# of prisoners designed for" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the location used the most number of times ... | SELECT "location" FROM table_204_414 GROUP BY "location" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_7727 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the lowest Week that has the Attendance smaller than 34,336?
### Respo... | SELECT MIN("Week") FROM table_7727 WHERE "Attendance" < '34,336' |
### Instruction:
CREATE TABLE table_name_48 (
cpc_blend_kazakhstan INTEGER,
barrow_island_australia INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?
### Response... | SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12 |
### Instruction:
CREATE TABLE table_204_757 (
id number,
"state" text,
"interview" number,
"swimsuit" number,
"evening gown" number,
"average" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which state placed first in the 1989 miss teen usa co... | SELECT "state" FROM table_204_757 ORDER BY id LIMIT 1 |
### Instruction:
CREATE TABLE table_45973 (
"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 did the draft pick number play that was overall pick numb... | SELECT "Position" FROM table_45973 WHERE "Overall" = '133' |
### Instruction:
CREATE TABLE table_36557 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what AA class has a AAA class of commerce?
### R... | SELECT "Class AA" FROM table_36557 WHERE "Class AAA" = 'commerce' |
### Instruction:
CREATE TABLE table_44733 (
"Round" real,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club team was the player from who was selected in a round... | SELECT "Club Team" FROM table_44733 WHERE "Round" < '4' |
### Instruction:
CREATE TABLE table_61293 (
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is week 5 if week 2 is Jenna Jordan?
### Response:
| SELECT "Week 5" FROM table_61293 WHERE "Week 2" = 'jenna jordan' |
### Instruction:
CREATE TABLE table_name_12 (
rank_points VARCHAR,
total VARCHAR,
shooter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Rank Points, when Total is '17', and when Shooter is 'Lalita Yauhleuskaya ( AUS )'?
### Response:
| SELECT rank_points FROM table_name_12 WHERE total = "17" AND shooter = "lalita yauhleuskaya ( aus )" |
### Instruction:
CREATE TABLE table_45221 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on December 2, 1962?
### Response:
| SELECT "Opponent" FROM table_45221 WHERE "Date" = 'december 2, 1962' |
### Instruction:
CREATE TABLE table_203_802 (
id number,
"persian unit" text,
"persian name" text,
"relation to previous unit" text,
"metric value" text,
"imperial value" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what persian unit is at lea... | SELECT "persian unit" FROM table_203_802 WHERE "imperial value" = 5 |
### Instruction:
CREATE TABLE table_48643 (
"Discipline" text,
"Circuit" text,
"Event" text,
"Session" text,
"Cause" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The 1997 Japanese Formula 3 Championship is part of what circuit?
### Response:
| SELECT "Circuit" FROM table_48643 WHERE "Event" = '1997 japanese formula 3 championship' |
### Instruction:
CREATE TABLE table_49046 (
"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 was the highest game number when the opponent was the Miami Heat?
... | SELECT MAX("Game") FROM table_49046 WHERE "Opponent" = 'miami heat' |
### Instruction:
CREATE TABLE table_67697 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Date of december 29 has what visitor?
### Respo... | SELECT "Visitor" FROM table_67697 WHERE "Date" = 'december 29' |
### Instruction:
CREATE TABLE table_name_82 (
model VARCHAR,
number_built VARCHAR,
chassis_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What model has a number built smaller than 6.526, and the Chassis code w109.015?
### Response:
| SELECT model FROM table_name_82 WHERE number_built < 6.526 AND chassis_code = "w109.015" |
### Instruction:
CREATE TABLE table_14683 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has october 16, 2000 as the date?
### Response:
| SELECT "Score" FROM table_14683 WHERE "Date" = 'october 16, 2000' |
### Instruction:
CREATE TABLE table_9917 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player with a score of 69-70-76=215?
### Response:
| SELECT "Player" FROM table_9917 WHERE "Score" = '69-70-76=215' |
### Instruction:
CREATE TABLE table_73748 (
"Character" text,
"English version" text,
"Laserdisc edition" text,
"Buena Vista edition" text,
"Special edition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the special edition for the english ... | SELECT "Special edition" FROM table_73748 WHERE "English version" = 'James Baskett' |
### Instruction:
CREATE TABLE table_68433 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner of the prize of 200,000 as listed?
### Response:
| SELECT "Winner" FROM table_68433 WHERE "Prize" = '£200,000' |
### Instruction:
CREATE TABLE table_name_61 (
name VARCHAR,
route_of_administration VARCHAR,
investigation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metas... | SELECT name FROM table_name_61 WHERE route_of_administration = "oral or iv" AND investigation = "thyroid imaging thyroid metastases imaging" |
### Instruction:
CREATE TABLE table_46984 (
"Position" real,
"Pilot" text,
"Glider" text,
"Speed" text,
"Distance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Distance, when Pilot is 'Stanislaw Wujczak'?
### Response:
| SELECT "Distance" FROM table_46984 WHERE "Pilot" = 'stanislaw wujczak' |
### Instruction:
CREATE TABLE table_577 (
"Franchise or Game" text,
"Console" text,
"Main Developer" text,
"Main Genre" text,
"First Release" real,
"Latest Release" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What consoles was Shenmue release... | SELECT "Console" FROM table_577 WHERE "Franchise or Game" = 'Shenmue' |
### Instruction:
CREATE TABLE table_5884 (
"Season" text,
"Champion" text,
"Runner Up" text,
"1st leg" text,
"2nd leg" text,
"Host City" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team was the 1st leg champion of sakalai
### Response:... | SELECT "1st leg" FROM table_5884 WHERE "Champion" = 'sakalai' |
### Instruction:
CREATE TABLE table_78803 (
"Service name" text,
"Owner" text,
"Catch-up period" text,
"Streamed" text,
"Download" text,
"Technology" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Catch-up period for UTV?
### Respo... | SELECT "Catch-up period" FROM table_78803 WHERE "Owner" = 'utv' |
### Instruction:
CREATE TABLE table_62750 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time has a lane less than 5, with Poland as the nationality?
### Response:
| SELECT "Time" FROM table_62750 WHERE "Lane" < '5' AND "Nationality" = 'poland' |
### Instruction:
CREATE TABLE table_23680576_2 (
nov_2008 VARCHAR,
aug_2008 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?
### Response:
| SELECT nov_2008 FROM table_23680576_2 WHERE aug_2008 = "1.7%" |
### Instruction:
CREATE TABLE table_48345 (
"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 To Par, when Player is 'Tommy Bolt'?
### Response:
| SELECT "To par" FROM table_48345 WHERE "Player" = 'tommy bolt' |
### Instruction:
CREATE TABLE table_17182 (
"Unit" text,
"Commander" text,
"Complement" text,
"Killed" text,
"Wounded" text,
"Missing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which units are commanded by Lieutenant Colonel Francis Hepburn... | SELECT "Unit" FROM table_17182 WHERE "Commander" = 'Lieutenant Colonel Francis Hepburn' |
### Instruction:
CREATE TABLE table_70158 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Crowd" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the score of w 7-6?
### Response:
| SELECT "Crowd" FROM table_70158 WHERE "Score" = 'w 7-6' |
### Instruction:
CREATE TABLE table_name_55 (
nominated_work VARCHAR,
award VARCHAR,
type VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What work was nominated at Rockferendum 2007 and got 1st place and got the award for best album... | SELECT nominated_work FROM table_name_55 WHERE type = "rockferendum 2007" AND position = "1st place" AND award = "best album" |
### Instruction:
CREATE TABLE table_105344_2 (
flying_hours VARCHAR,
aircraft_kilometers INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?
### Response:
| SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0 |
### Instruction:
CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
-- Using valid SQLite, answer the following questions for the tables provided above... | SELECT Class, COUNT(*) FROM race GROUP BY Class |
### Instruction:
CREATE TABLE table_76320 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent with the record of 15-21-6?
### Response:
| SELECT "Opponent" FROM table_76320 WHERE "Record" = '15-21-6' |
### Instruction:
CREATE TABLE table_name_46 (
lane INTEGER,
time VARCHAR,
country VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Lanes have a Country of jamaica, and a Name of kerron stewart, and a Time larger than 22?
### Re... | SELECT SUM(lane) FROM table_name_46 WHERE country = "jamaica" AND name = "kerron stewart" AND time > 22 |
### Instruction:
CREATE TABLE table_22282917_26 (
control_site_condition_owner VARCHAR,
launch_site_condition_owner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every control site condition and owner if launch site condition and owner is Lakefront ... | SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings" |
### Instruction:
CREATE TABLE table_61691 (
"Date From" text,
"Date To" text,
"Position" text,
"Name" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for Liverpool, and player Robbie Threlfall?
### Response:
| SELECT "Date From" FROM table_61691 WHERE "From" = 'liverpool' AND "Name" = 'robbie threlfall' |
### Instruction:
CREATE TABLE table_37122 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what game had an attendance of 21,629
### Response:
| SELECT "Record" FROM table_37122 WHERE "Attendance" = '21,629' |
### Instruction:
CREATE TABLE table_78975 (
"Lexton Plains" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most wins with 0 byes?
### Response:
| SELECT MAX("Wins") FROM table_78975 WHERE "Byes" > '0' |
### Instruction:
CREATE TABLE table_11608735_3 (
state_ VARCHAR,
_federal VARCHAR,
property_taxes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the state and federal when property taxes is 17,199,210
### Response:
| SELECT state_ & _federal FROM table_11608735_3 WHERE property_taxes = "17,199,210" |
### Instruction:
CREATE TABLE table_4477 (
"Number" text,
"Name" text,
"Meaning" text,
"Fleet" text,
"Launched" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the number l6, with a fleet of black sea, launched?
### Response:
| SELECT "Launched" FROM table_4477 WHERE "Fleet" = 'black sea' AND "Number" = 'l6' |
### Instruction:
CREATE TABLE table_64418 (
"Match" real,
"Date" text,
"Competition or tour" text,
"Ground" text,
"Opponent" text,
"Score1" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score for the Thurrock?
### Response:... | SELECT "Score1" FROM table_64418 WHERE "Opponent" = 'thurrock' |
### Instruction:
CREATE TABLE table_72401 (
"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 in the voting district Kentucky 2?
... | SELECT "Result" FROM table_72401 WHERE "District" = 'Kentucky 2' |
### Instruction:
CREATE TABLE table_203_475 (
id number,
"stage" number,
"date" text,
"route" text,
"terrain" text,
"length" text,
"winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many routes have below 100 km total ?
### Respon... | SELECT COUNT("route") FROM table_203_475 WHERE "length" < 100 |
### Instruction:
CREATE TABLE table_15053 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the loss for the record of 42-36?
### Response:
| SELECT "Loss" FROM table_15053 WHERE "Record" = '42-36' |
### Instruction:
CREATE TABLE table_name_62 (
college_junior_club_team__league_ VARCHAR,
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the college/junior/club team (league) of left wing Ondrej Roman?
### Response:
| SELECT college_junior_club_team__league_ FROM table_name_62 WHERE position = "left wing" AND player = "ondrej roman" |
### Instruction:
CREATE TABLE table_70599 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players were drafted from the Boston Cannons in the round?
... | SELECT SUM("Round") FROM table_70599 WHERE "Team" = 'boston cannons' |
### Instruction:
CREATE TABLE Student (
StuID VARCHAR,
age INTEGER
)
CREATE TABLE Sportsinfo (
StuID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show total hours per week and number of games played for students under 20.
### Response:
| SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.age < 20 |
### Instruction:
CREATE TABLE TRACK (
GenreId VARCHAR
)
CREATE TABLE GENRE (
GenreId VARCHAR,
Name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the duration of the longest and shortest pop tracks in milliseconds?
### Response:
| SELECT MAX(Milliseconds), MIN(Milliseconds) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Pop" |
### Instruction:
CREATE TABLE table_28412 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Football?" text,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least... | SELECT MIN("Joined") FROM table_28412 |
### Instruction:
CREATE TABLE table_77088 (
"Couple" text,
"Style" text,
"Music" text,
"Choreographer(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What couple had a safe result and a lyrical jazz style?
### Response:
| SELECT "Couple" FROM table_77088 WHERE "Result" = 'safe' AND "Style" = 'lyrical jazz' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.