instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_1682026_2 (
assets__billion_$_ VARCHAR,
headquarters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the assets for company who's headquarters are located in Brazil?
### Response:
| SELECT assets__billion_$_ FROM table_1682026_2 WHERE headquarters = "Brazil" |
### Instruction:
CREATE TABLE table_name_40 (
wins VARCHAR,
podiums VARCHAR,
series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Wins has Podiums of 0, and a Series of masters of formula 3?
### Response:
| SELECT wins FROM table_name_40 WHERE podiums = "0" AND series = "masters of formula 3" |
### Instruction:
CREATE TABLE table_name_76 (
rank VARCHAR,
height_feet___m VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank associated with a Height feet / m of 427 / 130?
### Response:
| SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130" |
### Instruction:
CREATE TABLE table_1906515_1 (
launch_date VARCHAR,
duration__days_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the launch date for duration days 174.14
### Response:
| SELECT launch_date FROM table_1906515_1 WHERE duration__days_ = "174.14" |
### Instruction:
CREATE TABLE table_name_93 (
pick VARCHAR,
round VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick number for the compensation-a round, for player Frank Catalanotto?
### Response:
| SELECT pick FROM table_name_93 WHERE round = "compensation-a" AND player = "frank catalanotto" |
### Instruction:
CREATE TABLE table_name_5 (
date VARCHAR,
label VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was a record from Village Records with catalog VRCL-2205 released?
### Response:
| SELECT date FROM table_name_5 WHERE label = "village records" AND catalog = "vrcl-2205" |
### Instruction:
CREATE TABLE table_name_50 (
time INTEGER,
lane VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the time of Britta Steffen in a lane less than 4?
### Response:
| SELECT SUM(time) FROM table_name_50 WHERE lane < 4 AND name = "britta steffen" |
### Instruction:
CREATE TABLE table_name_13 (
method VARCHAR,
round VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What method was used in the match that went to round 1, and had a 6-3-1 record?
### Response:
| SELECT method FROM table_name_13 WHERE round = 1 AND record = "6-3-1" |
### Instruction:
CREATE TABLE table_26464364_1 (
us_air_date VARCHAR,
_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date did episode # 18 air in the U.S.?
### Response:
| SELECT us_air_date FROM table_26464364_1 WHERE _number = 18 |
### Instruction:
CREATE TABLE table_14158567_1 (
congress VARCHAR,
member_elect VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What edition of congress for member-elect richard p. giles?
### Response:
| SELECT congress FROM table_14158567_1 WHERE member_elect = "Richard P. Giles" |
### Instruction:
CREATE TABLE table_name_12 (
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the player with score of 73-69-74-71=287
### Response:
| SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287 |
### Instruction:
CREATE TABLE table_2127933_3 (
outcome VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the outcomes of matches with bill tilden florence ballin as opponents?
### Response:
| SELECT outcome FROM table_2127933_3 WHERE opponents = "Bill Tilden Florence Ballin" |
### Instruction:
CREATE TABLE table_1566850_9 (
pictorials VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the pictorial in the 11-98 issue?
### Response:
| SELECT pictorials FROM table_1566850_9 WHERE date = "11-98" |
### Instruction:
CREATE TABLE table_15190346_2 (
stadium VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the stadium where the attendance was 75,406?
### Response:
| SELECT stadium FROM table_15190346_2 WHERE attendance = "75,406" |
### Instruction:
CREATE TABLE table_14598_5 (
s_sikh VARCHAR,
buddhist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of s sikh where 955 is the number of buddhists?
### Response:
| SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955" |
### Instruction:
CREATE TABLE table_name_65 (
irish_name VARCHAR,
province VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Province of leinster, and a County of fingal has which irish name?
### Response:
| SELECT irish_name FROM table_name_65 WHERE province = "leinster" AND county = "fingal" |
### Instruction:
CREATE TABLE table_name_23 (
date INTEGER,
region VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT?
### Response:
| SELECT MIN(date) FROM table_name_23 WHERE region = "korea" AND format = "cd" |
### Instruction:
CREATE TABLE table_name_69 (
event VARCHAR,
horse VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which event did Fabuleux 5 get a result smaller than 70.88?
### Response:
| SELECT event FROM table_name_69 WHERE horse = "fabuleux 5" AND result < 70.88 |
### Instruction:
CREATE TABLE table_name_7 (
works_number VARCHAR,
type VARCHAR,
number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Works Number, when Type is RS-11, and when Number is 61?
### Response:
| SELECT works_number FROM table_name_7 WHERE type = "rs-11" AND number = "61" |
### Instruction:
CREATE TABLE table_1979203_1 (
callsign VARCHAR,
branding VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many callsigns are for the branding telemundo 47
### Response:
| SELECT COUNT(callsign) FROM table_1979203_1 WHERE branding = "Telemundo 47" |
### Instruction:
CREATE TABLE table_name_4 (
loss VARCHAR,
opponent VARCHAR,
save VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the loss of the game against with LA New Bears with a save of Mac Suzuki?
### Response:
| SELECT loss FROM table_name_4 WHERE opponent = "la new bears" AND save = "mac suzuki" |
### Instruction:
CREATE TABLE table_name_13 (
sprint_points VARCHAR,
extra_laps VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many sprint points have 0 extra laps for rank 19?
### Response:
| SELECT sprint_points FROM table_name_13 WHERE extra_laps = "0" AND rank = "19" |
### Instruction:
CREATE TABLE table_name_21 (
tournament VARCHAR,
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the tournament where Japan was the home team and Mexico was the away team?
### Response:
| SELECT tournament FROM table_name_21 WHERE away_team = "mexico" AND home_team = "japan" |
### Instruction:
CREATE TABLE table_26218783_7 (
points INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest points won from player victoria azarenka?
### Response:
| SELECT MIN(points) AS won FROM table_26218783_7 WHERE player = "Victoria Azarenka" |
### Instruction:
CREATE TABLE table_27882867_4 (
location_attendance VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location attendance for l 93-105
### Response:
| SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105" |
### Instruction:
CREATE TABLE table_name_22 (
silver VARCHAR,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of silver medals for nations with 5 total medals and more than 3 gold medals?
### Response:
| SELECT COUNT(silver) FROM table_name_22 WHERE total = 5 AND gold > 3 |
### Instruction:
CREATE TABLE table_name_67 (
constructor VARCHAR,
circuit VARCHAR,
winning_driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the constructor of John Surtees's Oulton Park circuit car?
### Response:
| SELECT constructor FROM table_name_67 WHERE circuit = "oulton park" AND winning_driver = "john surtees" |
### Instruction:
CREATE TABLE table_name_96 (
result VARCHAR,
venue VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result has a Venue of A, and an Opponent of manchester united?
### Response:
| SELECT result FROM table_name_96 WHERE venue = "a" AND opponent = "manchester united" |
### Instruction:
CREATE TABLE table_15887683_3 (
package_option VARCHAR,
television_service VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What packages offer the Cartello Promozionale Sky HD service?
### Response:
| SELECT package_option FROM table_15887683_3 WHERE television_service = "Cartello promozionale Sky HD" |
### Instruction:
CREATE TABLE table_name_91 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2006 when the 2013 is 2r, and a Tournament was the us open?
### Response:
| SELECT 2006 FROM table_name_91 WHERE 2013 = "2r" AND tournament = "us open" |
### Instruction:
CREATE TABLE table_2950964_1 (
published VARCHAR,
audiobook_narrator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the publication date of the book that is narrated by Michael Maloney?
### Response:
| SELECT published FROM table_2950964_1 WHERE audiobook_narrator = "Michael Maloney" |
### Instruction:
CREATE TABLE table_name_93 (
lost INTEGER,
drawn VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lost is the highest one that has a Drawn smaller than 4, and a Played smaller than 9?
### Response:
| SELECT MAX(lost) FROM table_name_93 WHERE drawn < 4 AND played < 9 |
### Instruction:
CREATE TABLE table_name_96 (
english_example VARCHAR,
variant__with_niqqud__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Give me an english example of a variant with niqqud of ?
### Response:
| SELECT english_example FROM table_name_96 WHERE variant__with_niqqud__ = "וֹ" |
### Instruction:
CREATE TABLE table_name_76 (
name VARCHAR,
ref_number VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the mill located on Anawan Street with a reference number larger than 8?
### Response:
| SELECT name FROM table_name_76 WHERE ref_number > 8 AND location = "anawan street" |
### Instruction:
CREATE TABLE table_name_55 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date of the episode with production code 2395120?
### Response:
| SELECT original_air_date FROM table_name_55 WHERE production_code = "2395120" |
### Instruction:
CREATE TABLE table_24938621_2 (
title VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode with production code 3x5402?
### Response:
| SELECT title FROM table_24938621_2 WHERE production_code = "3X5402" |
### Instruction:
CREATE TABLE table_24384861_1 (
dual_voltage VARCHAR,
version VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Does the sounddock series I v2 have dual voltage?
### Response:
| SELECT dual_voltage FROM table_24384861_1 WHERE version = "SoundDock series I v2" |
### Instruction:
CREATE TABLE table_name_99 (
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Country of the Player with a Score of 69-71-66=206?
### Response:
| SELECT country FROM table_name_99 WHERE score = 69 - 71 - 66 = 206 |
### Instruction:
CREATE TABLE table_19061741_3 (
duration VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When joj agpangan* is the name how many duration's are there?
### Response:
| SELECT COUNT(duration) FROM table_19061741_3 WHERE name = "Joj Agpangan*" |
### Instruction:
CREATE TABLE table_name_81 (
outcome VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome of the game that had a score of 3 6, 6 3, 6 0?
### Response:
| SELECT outcome FROM table_name_81 WHERE score = "3–6, 6–3, 6–0" |
### Instruction:
CREATE TABLE table_name_94 (
conference VARCHAR,
division VARCHAR,
home_stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At which Conference was the Division in the East, and the Home Stadium named fedexfield?
### Response:
| SELECT conference FROM table_name_94 WHERE division = "east" AND home_stadium = "fedexfield" |
### Instruction:
CREATE TABLE table_name_97 (
spoofed_title VARCHAR,
artist VARCHAR,
issue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Spoofed title had Mort Drucker as the artist in issue 88?
### Response:
| SELECT spoofed_title FROM table_name_97 WHERE artist = "mort drucker" AND issue = 88 |
### Instruction:
CREATE TABLE table_2512935_8 (
original_language VARCHAR,
book_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every original language for book series Little House on the Prairie?
### Response:
| SELECT original_language FROM table_2512935_8 WHERE book_series = "Little House on the Prairie" |
### Instruction:
CREATE TABLE table_name_67 (
bronze INTEGER,
rank VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of bronzes associated with 0 golds and a rank of 10?
### Response:
| SELECT SUM(bronze) FROM table_name_67 WHERE rank = "10" AND gold < 0 |
### Instruction:
CREATE TABLE table_name_27 (
round INTEGER,
player VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest round of Tommy Allman, who had a pick less than 40?
### Response:
| SELECT MAX(round) FROM table_name_27 WHERE player = "tommy allman" AND pick < 40 |
### Instruction:
CREATE TABLE table_1855342_5 (
leadership_ability INTEGER,
overall_ability VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the ability is 32, what is the leadership ability?
### Response:
| SELECT MAX(leadership_ability) FROM table_1855342_5 WHERE overall_ability = 32 |
### Instruction:
CREATE TABLE table_25363904_2 (
season__number INTEGER,
title_english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least season # for the first time
### Response:
| SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "The first time" |
### Instruction:
CREATE TABLE table_name_80 (
points INTEGER,
entrant VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points after 1960 for fred tuck cars?
### Response:
| SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960 |
### Instruction:
CREATE TABLE table_name_22 (
result VARCHAR,
year VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of events held at Nor Elverum, prior to 2010?
### Response:
| SELECT result FROM table_name_22 WHERE year < 2010 AND venue = "nor elverum" |
### Instruction:
CREATE TABLE table_name_90 (
tournaments INTEGER,
highest_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Tournaments, when Highest Rank is 'Maegashira 1'?
### Response:
| SELECT AVG(tournaments) FROM table_name_90 WHERE highest_rank = "maegashira 1" |
### Instruction:
CREATE TABLE table_name_17 (
competition VARCHAR,
score VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Competition with a Score of 1 0, and a Result with 3 0?
### Response:
| SELECT competition FROM table_name_17 WHERE score = "1–0" AND result = "3–0" |
### Instruction:
CREATE TABLE table_1805191_36 (
candidates VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are all of the candidates in elections where Dennis Kucinich was a candidate?
### Response:
| SELECT candidates FROM table_1805191_36 WHERE incumbent = "Dennis Kucinich" |
### Instruction:
CREATE TABLE table_1147701_5 (
model_name VARCHAR,
engine_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the model of the engine d5244 t7?
### Response:
| SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T7" |
### Instruction:
CREATE TABLE table_name_80 (
round VARCHAR,
winning_driver VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round had a winning driver of Uwe Alzen, at the Sepang International circuit?
### Response:
| SELECT round FROM table_name_80 WHERE winning_driver = "uwe alzen" AND circuit = "sepang international circuit" |
### Instruction:
CREATE TABLE table_80161 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is from Sweden?
### Response:
| SELECT "Player" FROM table_80161 WHERE "Country" = 'sweden' |
### Instruction:
CREATE TABLE table_name_17 (
population INTEGER,
location VARCHAR,
island VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest population of Trondra Island in the Scalloway Islands?
### Response:
| SELECT MAX(population) FROM table_name_17 WHERE location = "scalloway islands" AND island = "trondra" |
### Instruction:
CREATE TABLE table_name_39 (
date VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many days had a score of 4 6, 4 6?
### Response:
| SELECT COUNT(date) FROM table_name_39 WHERE score_in_the_final = "4–6, 4–6" |
### Instruction:
CREATE TABLE table_name_53 (
tournament VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the tournament for opponents of andrei pavel rogier wassen
### Response:
| SELECT tournament FROM table_name_53 WHERE opponents_in_the_final = "andrei pavel rogier wassen" |
### Instruction:
CREATE TABLE table_name_98 (
episodes VARCHAR,
first_airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes were in the season that first aired on September 22, 1989?
### Response:
| SELECT episodes FROM table_name_98 WHERE first_airdate = "september 22, 1989" |
### Instruction:
CREATE TABLE table_name_52 (
place INTEGER,
total VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest place number when the total is 16 and average is less than 16?
### Response:
| SELECT MIN(place) FROM table_name_52 WHERE total = 16 AND average < 16 |
### Instruction:
CREATE TABLE table_name_66 (
result VARCHAR,
year VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the 2001 game held at Network Associates Coliseum?
### Response:
| SELECT result FROM table_name_66 WHERE year = 2001 AND location = "network associates coliseum" |
### Instruction:
CREATE TABLE table_name_43 (
position INTEGER,
lost VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the team with more than 16 losses and an against greater than 74?
### Response:
| SELECT SUM(position) FROM table_name_43 WHERE lost > 16 AND against > 74 |
### Instruction:
CREATE TABLE table_14460085_3 (
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points in 87/88 for racing de c rdoba?
### Response:
| SELECT 1987 AS _88 FROM table_14460085_3 WHERE team = "Racing de Córdoba" |
### Instruction:
CREATE TABLE table_name_46 (
pick INTEGER,
round VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Pick that has a round greater than 6 and an overall greater than 216?
### Response:
| SELECT MAX(pick) FROM table_name_46 WHERE round > 6 AND overall > 216 |
### Instruction:
CREATE TABLE table_1342256_33 (
party VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many partys have a candidate first elected in 1923?
### Response:
| SELECT COUNT(party) FROM table_1342256_33 WHERE first_elected = 1923 |
### Instruction:
CREATE TABLE table_1341568_48 (
status VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election in the district whose incumbent is Tom Foley?
### Response:
| SELECT status FROM table_1341568_48 WHERE incumbent = "Tom Foley" |
### Instruction:
CREATE TABLE table_name_43 (
year INTEGER,
location VARCHAR,
champion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the earliest year in milan that guillermo vilas was champion?
### Response:
| SELECT MIN(year) FROM table_name_43 WHERE location = "milan" AND champion = "guillermo vilas" |
### Instruction:
CREATE TABLE table_name_88 (
total_passengers INTEGER,
capacity_in_use VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of passengers when the capacity is 81.2%?
### Response:
| SELECT SUM(total_passengers) FROM table_name_88 WHERE capacity_in_use = "81.2%" |
### Instruction:
CREATE TABLE table_23122988_1 (
comedians VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the comedians during the episode located in Birmingham Hippodrome?
### Response:
| SELECT comedians FROM table_23122988_1 WHERE location = "Birmingham Hippodrome" |
### Instruction:
CREATE TABLE table_name_41 (
date_of_departure VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the departure date when a manager was replaced by Bojan Pra nikar?
### Response:
| SELECT date_of_departure FROM table_name_41 WHERE replaced_by = "bojan prašnikar" |
### Instruction:
CREATE TABLE table_name_25 (
winner VARCHAR,
finalist VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner of the Miami tournament where Elena Dementieva was a finalist?
### Response:
| SELECT winner FROM table_name_25 WHERE finalist = "elena dementieva" AND tournament = "miami" |
### Instruction:
CREATE TABLE table_19763199_4 (
televotes VARCHAR,
jury_votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many televotes are there where there is 4 jury votes?
### Response:
| SELECT televotes FROM table_19763199_4 WHERE jury_votes = 4 |
### Instruction:
CREATE TABLE table_28211213_2 (
team_nickname VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When sylvania, oh is the location what is the team nickname?
### Response:
| SELECT team_nickname FROM table_28211213_2 WHERE location = "Sylvania, OH" |
### Instruction:
CREATE TABLE table_1132568_3 (
rd VARCHAR,
grand_prix VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many on the list are called the Austrian Grand Prix?
### Response:
| SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian grand_prix" |
### Instruction:
CREATE TABLE table_1342233_5 (
party VARCHAR,
first_elected INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party has a first elected number bigger than 1939.0?
### Response:
| SELECT party FROM table_1342233_5 WHERE first_elected > 1939.0 |
### Instruction:
CREATE TABLE table_14902507_2 (
channel VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many channels were the games shown on in 2001-02?
### Response:
| SELECT COUNT(channel) FROM table_14902507_2 WHERE year = "2001-02" |
### Instruction:
CREATE TABLE table_22824297_1 (
no VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many values for number occur with the hometown of Canton, Illinois?
### Response:
| SELECT COUNT(no) FROM table_22824297_1 WHERE hometown = "Canton, Illinois" |
### Instruction:
CREATE TABLE table_name_91 (
original_title VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original title for the film used in nomination of street days?
### Response:
| SELECT original_title FROM table_name_91 WHERE film_title_used_in_nomination = "street days" |
### Instruction:
CREATE TABLE table_17103729_8 (
high_rebounds VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the high rebounds for score of 64-74
### Response:
| SELECT COUNT(high_rebounds) FROM table_17103729_8 WHERE score = "64-74" |
### Instruction:
CREATE TABLE Payments (
customer_id VARCHAR,
amount_paid INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum total amount paid by a customer? List the customer id and amount.
### Response:
| SELECT customer_id, SUM(amount_paid) FROM Payments GROUP BY customer_id ORDER BY SUM(amount_paid) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_14747043_1 (
class_a VARCHAR,
class_aA VARCHAR,
Marion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is the class A when Marion was the class AA
### Response:
| SELECT class_a FROM table_14747043_1 WHERE class_aA = Marion |
### Instruction:
CREATE TABLE table_name_86 (
run_3 INTEGER,
run_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest run 3 of the athlete with a 55.44 run 2?
### Response:
| SELECT MAX(run_3) FROM table_name_86 WHERE run_2 = 55.44 |
### Instruction:
CREATE TABLE table_2226817_8 (
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 from season 12?
### Response:
| SELECT no_in_series FROM table_2226817_8 WHERE no_in_season = 12 |
### Instruction:
CREATE TABLE table_18198579_6 (
scoring_average VARCHAR,
best_finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the scoring average for best finsih being t35
### Response:
| SELECT scoring_average FROM table_18198579_6 WHERE best_finish = "T35" |
### Instruction:
CREATE TABLE table_name_58 (
oil_pattern VARCHAR,
winner__title__number_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Oil Pattern has a Winner (Title #) of mike wolfe (3)?
### Response:
| SELECT oil_pattern FROM table_name_58 WHERE winner__title__number_ = "mike wolfe (3)" |
### Instruction:
CREATE TABLE table_18600760_13 (
geo_id VARCHAR,
township VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the geo id for malcolm township?
### Response:
| SELECT COUNT(geo_id) FROM table_18600760_13 WHERE township = "Malcolm" |
### Instruction:
CREATE TABLE table_80185 (
"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 player for fiji
### Response:
| SELECT "Player" FROM table_80185 WHERE "Country" = 'fiji' |
### Instruction:
CREATE TABLE table_name_68 (
founded INTEGER,
club VARCHAR,
titles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Founded has a Club of tri-city storm and a Titles larger than 1?
### Response:
| SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1 |
### Instruction:
CREATE TABLE table_2468961_7 (
production_code VARCHAR,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 137 is the number in series what is the production code?
### Response:
| SELECT production_code FROM table_2468961_7 WHERE no_in_series = 137 |
### Instruction:
CREATE TABLE table_15001957_1 (
mixed_doubles VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many mixed doubles were won in 1996?
### Response:
| SELECT COUNT(mixed_doubles) FROM table_15001957_1 WHERE year = 1996 |
### Instruction:
CREATE TABLE table_name_35 (
event VARCHAR,
opponent VARCHAR,
method VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event had an opponent of Yasuhito Namekawa with a decision method?
### Response:
| SELECT event FROM table_name_35 WHERE opponent = "yasuhito namekawa" AND method = "decision" |
### Instruction:
CREATE TABLE table_name_85 (
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Country of the Player with a Score of 71-73-71=215?
### Response:
| SELECT country FROM table_name_85 WHERE score = 71 - 73 - 71 = 215 |
### Instruction:
CREATE TABLE table_name_45 (
player VARCHAR,
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player had the score 71-72=143 in Spain?
### Response:
| SELECT player FROM table_name_45 WHERE score = 71 - 72 = 143 AND country = "spain" |
### Instruction:
CREATE TABLE table_2668347_14 (
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the incumbent is john b. yates?
### Response:
| SELECT COUNT(party) FROM table_2668347_14 WHERE incumbent = "John B. Yates" |
### Instruction:
CREATE TABLE table_23399481_4 (
title VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode/s written by Michael Gans & Richard Register?
### Response:
| SELECT title FROM table_23399481_4 WHERE written_by = "Michael Gans & Richard Register" |
### Instruction:
CREATE TABLE table_name_50 (
elevator VARCHAR,
elevated VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Elevator of the Elected Elevated on September 21, 1179?
### Response:
| SELECT elevator FROM table_name_50 WHERE elevated = "september 21, 1179" |
### Instruction:
CREATE TABLE table_24784769_1 (
round3 VARCHAR,
total_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did the team who had 325 total points have in round 3?
### Response:
| SELECT round3 FROM table_24784769_1 WHERE total_points = 325 |
### Instruction:
CREATE TABLE table_name_94 (
round INTEGER,
college VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the round when the college is syracuse and the pick is less than 3?
### Response:
| SELECT AVG(round) FROM table_name_94 WHERE college = "syracuse" AND pick < 3 |
### Instruction:
CREATE TABLE table_name_56 (
laps INTEGER,
driver VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of Laps for lance reventlow with grid more than 16
### Response:
| SELECT SUM(laps) FROM table_name_56 WHERE driver = "lance reventlow" AND grid > 16 |
### Instruction:
CREATE TABLE table_name_4 (
opponent VARCHAR,
round VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in the 1 round fight in the Ultimate Fighter 2 Finale?
### Response:
| SELECT opponent FROM table_name_4 WHERE round = "1" AND event = "the ultimate fighter 2 finale" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.