instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_203_266 (
id number,
"group" text,
"members" number,
"caucusing" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what group had the greatest amount of members ?
### Response:
|
SELECT "group" FROM table_203_266 ORDER BY "members" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_41571 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Catalog with a Region that is europe?
### Response:
|
SELECT "Catalog" FROM table_41571 WHERE "Region" = 'europe'
|
### Instruction:
CREATE TABLE table_21994729_3 (
series__number INTEGER,
prod_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many maximum series number have 2apx05 prod. code.
### Response:
|
SELECT MAX(series__number) FROM table_21994729_3 WHERE prod_code = "2APX05"
|
### Instruction:
CREATE TABLE table_name_19 (
d_49_√ VARCHAR,
d_41_√ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D 49 number when the D 41 is d 61 ?
### Response:
|
SELECT d_49_√ FROM table_name_19 WHERE d_41_√ = "d 61 √"
|
### Instruction:
CREATE TABLE table_1940012_2 (
winning_score VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the winning score in the tournament, ending with Birdie Kim as a runner-up?
### Response:
|
SELECT winning_score FROM table_1940012_2 WHERE runner_s__up = "Birdie Kim"
|
### Instruction:
CREATE TABLE table_name_23 (
player VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has +3 to par and score of 75-72=147?
### Response:
|
SELECT player FROM table_name_23 WHERE to_par = "+3" AND score = 75 - 72 = 147
|
### Instruction:
CREATE TABLE table_35413 (
"Publication" text,
"Country" text,
"Accolade" text,
"Year" real,
"Rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is ranked 79?
### Response:
|
SELECT "Country" FROM table_35413 WHERE "Rank" = '79'
|
### Instruction:
CREATE TABLE table_20866024_2 (
engine VARCHAR,
model_designation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different engines are there for the model with model designation 97G00?
### Response:
|
SELECT COUNT(engine) FROM table_20866024_2 WHERE model_designation = "97G00"
|
### Instruction:
CREATE TABLE table_name_30 (
place VARCHAR,
score VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE?
### Response:
|
SELECT place FROM table_name_30 WHERE score > 65 AND player = "rocco mediate"
|
### Instruction:
CREATE TABLE table_name_57 (
city VARCHAR,
country VARCHAR,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City has a Country of spain, and a Stadium of palacio de deportes de santander?
### Response:
|
SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander"
|
### Instruction:
CREATE TABLE table_56833 (
"Draw" real,
"Artist" text,
"Song" text,
"Points" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place has a draw smaller than 2?
### Response:
|
SELECT AVG("Place") FROM table_56833 WHERE "Draw" < '2'
|
### Instruction:
CREATE TABLE table_11609814_1 (
permanence_of_the_body VARCHAR,
constancy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the permanence of the body where constancy is interestedness
### Response:
|
SELECT permanence_of_the_body FROM table_11609814_1 WHERE constancy = "interestedness"
|
### Instruction:
CREATE TABLE table_12146068_2 (
gt1_winning_team VARCHAR,
rnd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of gt1 winning team for rnd 5?
### Response:
|
SELECT COUNT(gt1_winning_team) FROM table_12146068_2 WHERE rnd = 5
|
### Instruction:
CREATE TABLE table_name_80 (
name VARCHAR,
model VARCHAR,
opened VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the coaster that opened in 2011 and is a euro-fighter model?
### Response:
|
SELECT name FROM table_name_80 WHERE model = "euro-fighter" AND opened = "2011"
|
### Instruction:
CREATE TABLE table_19908313_2 (
_number INTEGER,
crew_chief VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of the truck that has the crew chief Billy Wilburn?
### Response:
|
SELECT MAX(_number) FROM table_19908313_2 WHERE crew_chief = "Billy Wilburn"
|
### Instruction:
CREATE TABLE table_60005 (
"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 Player of nick faldo?
### Response:
|
SELECT "Country" FROM table_60005 WHERE "Player" = 'nick faldo'
|
### Instruction:
CREATE TABLE table_27715173_10 (
score VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the team score when Tim Duncan (12) got the high rebounds?
### Response:
|
SELECT score FROM table_27715173_10 WHERE high_rebounds = "Tim Duncan (12)"
|
### Instruction:
CREATE TABLE table_38841 (
"Name" text,
"Type" text,
"Entered service" text,
"Water depth" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is located in Nigeria?
### Response:
|
SELECT "Name" FROM table_38841 WHERE "Location" = 'nigeria'
|
### Instruction:
CREATE TABLE table_28547332_4 (
highest_score INTEGER,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest score in those games where the average is 9.88?
### Response:
|
SELECT MIN(highest_score) FROM table_28547332_4 WHERE average = "9.88"
|
### Instruction:
CREATE TABLE table_32170 (
"Rank" text,
"Stadium" text,
"Capacity" real,
"City" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country is Wellington located in?
### Response:
|
SELECT "Country" FROM table_32170 WHERE "City" = 'wellington'
|
### Instruction:
CREATE TABLE table_name_48 (
school_colors VARCHAR,
founded VARCHAR,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which School Colors were Founded of 1969, with an Institution of barton community college?
### Response:
|
SELECT school_colors FROM table_name_48 WHERE founded = 1969 AND institution = "barton community college"
|
### Instruction:
CREATE TABLE table_9198 (
"Timetable" text,
"Company name" text,
"Production place" text,
"State" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state is Wesson in?
### Response:
|
SELECT "State" FROM table_9198 WHERE "Owner" = 'wesson'
|
### Instruction:
CREATE TABLE table_20195922_3 (
divisions VARCHAR,
number_of_winning_tickets VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which divisions have 565 as the number of winning tickets?
### Response:
|
SELECT divisions FROM table_20195922_3 WHERE number_of_winning_tickets = 565
|
### Instruction:
CREATE TABLE table_name_44 (
retitled_as_same VARCHAR,
returning VARCHAR,
previous_network VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which show returns april 3 with a Previous Network of lifetime?
### Response:
|
SELECT retitled_as_same FROM table_name_44 WHERE returning = "april 3" AND previous_network = "lifetime"
|
### Instruction:
CREATE TABLE table_name_86 (
manufacturer_serial_numbers VARCHAR,
year_s__withdrawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the manufacturer serial number of the 1963 withdrawn year?
### Response:
|
SELECT manufacturer_serial_numbers FROM table_name_86 WHERE year_s__withdrawn = "1963"
|
### Instruction:
CREATE TABLE table_2500440_1 (
population_density__per_km_2__ VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population per km2 in Fishing Lake?
### Response:
|
SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Fishing Lake"
|
### Instruction:
CREATE TABLE table_15162479_8 (
nominee VARCHAR,
net_vote VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many nominees had a net voice of 15.17%
### Response:
|
SELECT COUNT(nominee) FROM table_15162479_8 WHERE net_vote = "15.17%"
|
### Instruction:
CREATE TABLE table_name_79 (
goals_scored INTEGER,
points VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Goals scored has Points larger than 26 and Wins larger than 11?
### Response:
|
SELECT SUM(goals_scored) FROM table_name_79 WHERE points > 26 AND wins > 11
|
### Instruction:
CREATE TABLE table_19017269_5 (
africa VARCHAR,
oceania VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what will be the population of Africa when Oceania is 67 (0.6%)
### Response:
|
SELECT africa FROM table_19017269_5 WHERE oceania = "67 (0.6%)"
|
### Instruction:
CREATE TABLE table_1342233_6 (
incumbent VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the the incumbent with candidates being jack z. anderson (r) unopposed
### Response:
|
SELECT incumbent FROM table_1342233_6 WHERE candidates = "Jack Z. Anderson (R) Unopposed"
|
### Instruction:
CREATE TABLE table_name_91 (
outcome VARCHAR,
surface VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total outcome for the clay surface on April 21, 1996?
### Response:
|
SELECT outcome FROM table_name_91 WHERE surface = "clay" AND date = "april 21, 1996"
|
### Instruction:
CREATE TABLE HOST (
Name VARCHAR,
Host_ID VARCHAR
)
CREATE TABLE party_host (
Name VARCHAR,
Host_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the names of hosts who did not serve as a host of any party in our record.
### Response:
|
SELECT Name FROM HOST WHERE NOT Host_ID IN (SELECT Host_ID FROM party_host)
|
### Instruction:
CREATE TABLE table_name_4 (
player VARCHAR,
club_province VARCHAR,
caps VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Ulster player has fewer than 49 caps and plays the wing position?
### Response:
|
SELECT player FROM table_name_4 WHERE caps < 49 AND position = "wing" AND club_province = "ulster"
|
### Instruction:
CREATE TABLE table_name_70 (
name VARCHAR,
lane VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who swam in a lane less than 6 and finished with a time of 2:11.02?
### Response:
|
SELECT name FROM table_name_70 WHERE lane < 6 AND time = "2:11.02"
|
### Instruction:
CREATE TABLE table_14710984_2 (
points_classification VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the points classifications in the stage where Matteo Priamo was the winner?
### Response:
|
SELECT COUNT(points_classification) FROM table_14710984_2 WHERE winner = "Matteo Priamo"
|
### Instruction:
CREATE TABLE table_48380 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Home for away of hispano?
### Response:
|
SELECT "Home" FROM table_48380 WHERE "Away" = 'hispano'
|
### Instruction:
CREATE TABLE table_name_59 (
pick__number INTEGER,
position VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Picks have a Position of kicker, and an Overall smaller than 137?
### Response:
|
SELECT SUM(pick__number) FROM table_name_59 WHERE position = "kicker" AND overall < 137
|
### Instruction:
CREATE TABLE table_name_95 (
psip_short_name VARCHAR,
station VARCHAR,
channel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the short name of channel 5.5, KSTC-TV?
### Response:
|
SELECT psip_short_name FROM table_name_95 WHERE station = "kstc-tv" AND channel = 5.5
|
### Instruction:
CREATE TABLE table_13397394_1 (
storeys INTEGER,
address VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum storeys on 325 5th ave n
### Response:
|
SELECT MIN(storeys) FROM table_13397394_1 WHERE address = "325 5th Ave N"
|
### Instruction:
CREATE TABLE table_78538 (
"Round" real,
"Pick" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which school has a quarterback?
### Response:
|
SELECT "School" FROM table_78538 WHERE "Position" = 'quarterback'
|
### Instruction:
CREATE TABLE table_name_51 (
stage VARCHAR,
winner VARCHAR,
points_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser?
### Response:
|
SELECT stage FROM table_name_51 WHERE winner = "bernard hinault" AND points_classification = "francesco moser"
|
### Instruction:
CREATE TABLE table_name_64 (
attendance INTEGER,
opponent VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest attendance for the opponents Club Brugge in Venue A?
### Response:
|
SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "club brugge" AND venue = "a"
|
### Instruction:
CREATE TABLE table_name_64 (
events INTEGER,
wins VARCHAR,
cuts_made VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest events when wins is more than 0 and cuts made is more than 14?
### Response:
|
SELECT MAX(events) FROM table_name_64 WHERE wins > 0 AND cuts_made > 14
|
### Instruction:
CREATE TABLE table_13762472_3 (
high_points VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players scored the most points when the opposing team was New Orleans/Oklahoma City?
### Response:
|
SELECT COUNT(high_points) FROM table_13762472_3 WHERE team = "New Orleans/Oklahoma City"
|
### Instruction:
CREATE TABLE table_name_31 (
top_25 INTEGER,
cuts_made INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest number of top-25s for events with more than 13 cuts made?
### Response:
|
SELECT MIN(top_25) FROM table_name_31 WHERE cuts_made > 13
|
### Instruction:
CREATE TABLE table_256286_5 (
_percentage_yes VARCHAR,
yes_votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the yes percentage in the measure that had 35270 yes votes?
### Response:
|
SELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270
|
### Instruction:
CREATE TABLE table_441 (
"Overall Pick #" real,
"AFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of john charles?
### Response:
|
SELECT "Position" FROM table_441 WHERE "Player" = 'John Charles'
|
### Instruction:
CREATE TABLE table_name_65 (
lost VARCHAR,
losing_bp VARCHAR,
try_bp VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0?
### Response:
|
SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "0"
|
### Instruction:
CREATE TABLE table_1628792_1 (
champion VARCHAR,
tournament_location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the champion for london hunt and country club ( london , on )
### Response:
|
SELECT champion FROM table_1628792_1 WHERE tournament_location = "London Hunt and country Club ( London , ON )"
|
### Instruction:
CREATE TABLE table_20799905_1 (
mccain_percentage VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many figures are given for McCain's % in Davidson county?
### Response:
|
SELECT COUNT(mccain_percentage) FROM table_20799905_1 WHERE county = "DAVIDSON"
|
### Instruction:
CREATE TABLE table_27715173_8 (
game VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the game where the high points is by manu gin bili (26)?
### Response:
|
SELECT game FROM table_27715173_8 WHERE high_points = "Manu Ginóbili (26)"
|
### Instruction:
CREATE TABLE table_78626 (
"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 was England's total?
### Response:
|
SELECT "Total" FROM table_78626 WHERE "Country" = 'england'
|
### Instruction:
CREATE TABLE table_name_11 (
number_of_mobile_phones VARCHAR,
last_updated_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many mobile phones were there as of April 2013?
### Response:
|
SELECT number_of_mobile_phones FROM table_name_11 WHERE last_updated_date = "april 2013"
|
### Instruction:
CREATE TABLE table_name_41 (
jobbik VARCHAR,
fidesz VARCHAR,
others VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Jobbik percentage with a Fidesz of 61% and others of 2%?
### Response:
|
SELECT jobbik FROM table_name_41 WHERE fidesz = "61%" AND others = "2%"
|
### Instruction:
CREATE TABLE table_101 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college had a LB in the draft?
### Response:
|
SELECT "College" FROM table_101 WHERE "Position" = 'LB'
|
### Instruction:
CREATE TABLE table_name_98 (
nation VARCHAR,
rank VARCHAR,
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nation when gold is 0, bronze is more than 0 and rank is 16?
### Response:
|
SELECT nation FROM table_name_98 WHERE gold = 0 AND bronze > 0 AND rank = "16"
|
### Instruction:
CREATE TABLE table_23284271_10 (
team VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has dirk nowitski (13) as high rebounds?
### Response:
|
SELECT team FROM table_23284271_10 WHERE high_rebounds = "Dirk Nowitski (13)"
|
### Instruction:
CREATE TABLE table_1404414_2 (
capital VARCHAR,
population_census_2009 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What capital has a population of 596268?
### Response:
|
SELECT capital FROM table_1404414_2 WHERE population_census_2009 = 596268
|
### Instruction:
CREATE TABLE table_name_30 (
pick INTEGER,
player VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Player of mike o'quinn, and a Round smaller than 15 had what lowest pick?
### Response:
|
SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15
|
### Instruction:
CREATE TABLE table_name_15 (
grid INTEGER,
driver VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18?
### Response:
|
SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18
|
### Instruction:
CREATE TABLE table_25368177_1 (
net_run_rate VARCHAR,
total_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different net run rates did the team with 19 total points have?
### Response:
|
SELECT COUNT(net_run_rate) FROM table_25368177_1 WHERE total_points = 19
|
### Instruction:
CREATE TABLE table_1849243_1 (
viewers__in_millions_ VARCHAR,
archive VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers watched the 16mm t/r episode?
### Response:
|
SELECT viewers__in_millions_ FROM table_1849243_1 WHERE archive = "16mm t/r"
|
### Instruction:
CREATE TABLE table_name_68 (
round INTEGER,
college VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the round when the college is north carolina and the overall is more than 124?
### Response:
|
SELECT SUM(round) FROM table_name_68 WHERE college = "north carolina" AND overall > 124
|
### Instruction:
CREATE TABLE table_2183 (
"No. overall" text,
"No. in series" real,
"Family/families" text,
"Location(s)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many series are there total?
### Response:
|
SELECT MAX("No. in series") FROM table_2183
|
### Instruction:
CREATE TABLE table_name_23 (
points INTEGER,
opponent VARCHAR,
january VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of points of the game after January 3 against the Cleveland Barons?
### Response:
|
SELECT AVG(points) FROM table_name_23 WHERE opponent = "cleveland barons" AND january > 3
|
### Instruction:
CREATE TABLE table_27539535_5 (
december VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were played against a team with a 9-19-6 record against the Islanders?
### Response:
|
SELECT COUNT(december) FROM table_27539535_5 WHERE record = "9-19-6"
|
### Instruction:
CREATE TABLE table_1281200_1 (
phase VARCHAR,
new_entries_this_round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The new entries this round was shown to be 12, in which phase would you find this?
### Response:
|
SELECT phase FROM table_1281200_1 WHERE new_entries_this_round = "12"
|
### Instruction:
CREATE TABLE table_15463188_17 (
number VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many school/club teams have a player named Manuel Luis Quezon?
### Response:
|
SELECT COUNT(number) FROM table_15463188_17 WHERE school_club_team = "Manuel Luis Quezon"
|
### Instruction:
CREATE TABLE table_name_21 (
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country of the player whose score is 71-69-70-69=279?
### Response:
|
SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279
|
### Instruction:
CREATE TABLE table_12454156_1 (
prize_money VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total prize money where John Tabatabai was the runner-up?
### Response:
|
SELECT prize_money FROM table_12454156_1 WHERE runner_up = "John Tabatabai"
|
### Instruction:
CREATE TABLE table_66489 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Team for Stanford College?
### Response:
|
SELECT "Team" FROM table_66489 WHERE "College" = 'stanford'
|
### Instruction:
CREATE TABLE table_14069 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Rank of 6 has what time?
### Response:
|
SELECT "Time" FROM table_14069 WHERE "Rank" = '6'
|
### Instruction:
CREATE TABLE table_204_492 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many venues are there ?
### Response:
|
SELECT COUNT("competition") FROM table_204_492
|
### Instruction:
CREATE TABLE table_name_9 (
goberman VARCHAR,
obrist VARCHAR,
merkley VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Goberman has an Obrist of 2%, and a Merkley of 34%?
### Response:
|
SELECT goberman FROM table_name_9 WHERE obrist = "2%" AND merkley = "34%"
|
### Instruction:
CREATE TABLE table_name_65 (
career_win_loss VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the win-loss when 2008 has a value of Q1 at Australian Open?
### Response:
|
SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open"
|
### Instruction:
CREATE TABLE table_name_21 (
surface VARCHAR,
support_category VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has a Support Category of jwrc/pwrc, and a Round larger than 5?
### Response:
|
SELECT surface FROM table_name_21 WHERE support_category = "jwrc/pwrc" AND round > 5
|
### Instruction:
CREATE TABLE table_26240481_1 (
fbs_opponent VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who played FBS where the result was L, 62-3?
### Response:
|
SELECT fbs_opponent FROM table_26240481_1 WHERE result = "L, 62-3"
|
### Instruction:
CREATE TABLE table_name_45 (
driver VARCHAR,
grid VARCHAR,
laps VARCHAR,
constructor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the driver for Laps more than 8 and ferrari with Grid of 8
### Response:
|
SELECT driver FROM table_name_45 WHERE laps > 8 AND constructor = "ferrari" AND grid = 8
|
### Instruction:
CREATE TABLE table_24628683_2 (
method_of_elimination VARCHAR,
wrestler VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the method of elimination for Kofi Kingston/
### Response:
|
SELECT method_of_elimination FROM table_24628683_2 WHERE wrestler = "Kofi Kingston"
|
### Instruction:
CREATE TABLE table_67163 (
"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 Tiger Woods's score?
### Response:
|
SELECT "Score" FROM table_67163 WHERE "Player" = 'tiger woods'
|
### Instruction:
CREATE TABLE table_name_6 (
losses INTEGER,
away VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had?
### Response:
|
SELECT MAX(losses) FROM table_name_6 WHERE away = "1-6" AND wins > 4
|
### Instruction:
CREATE TABLE table_name_20 (
graded_hammer_three__gh3_ VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Graded Hammer Three (GH3) shows Model of clp320?
### Response:
|
SELECT graded_hammer_three__gh3_ FROM table_name_20 WHERE model = "clp320"
|
### Instruction:
CREATE TABLE table_28243691_1 (
enrollment INTEGER,
founded VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the highest number of students in attendance for the institution that started in 1923.
### Response:
|
SELECT MAX(enrollment) FROM table_28243691_1 WHERE founded = 1923
|
### Instruction:
CREATE TABLE table_45234 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Gongbo's title?
### Response:
|
SELECT "Title" FROM table_45234 WHERE "Name" = 'gongbo'
|
### Instruction:
CREATE TABLE table_name_15 (
tournament VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tournament with a Opponents in the final with rod laver fred stolle?
### Response:
|
SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = "rod laver fred stolle"
|
### Instruction:
CREATE TABLE table_13110459_2 (
viewers__m_ VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many viewers (m) with overall being 91/101
### Response:
|
SELECT COUNT(viewers__m_) FROM table_13110459_2 WHERE overall = "91/101"
|
### Instruction:
CREATE TABLE table_65153 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Score of 67?
### Response:
|
SELECT "Country" FROM table_65153 WHERE "Score" = '67'
|
### Instruction:
CREATE TABLE table_name_97 (
position INTEGER,
goals_against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has 24 Goals against, and a Played smaller than 30?
### Response:
|
SELECT MAX(position) FROM table_name_97 WHERE goals_against = 24 AND played < 30
|
### Instruction:
CREATE TABLE table_27713583_2 (
date VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date of the game that the high assists is raymond felton (4)?
### Response:
|
SELECT date FROM table_27713583_2 WHERE high_assists = "Raymond Felton (4)"
|
### Instruction:
CREATE TABLE table_16278825_1 (
population VARCHAR,
towns__villages VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- NJame the total number of population for towns/villages for 217
### Response:
|
SELECT COUNT(population) FROM table_16278825_1 WHERE towns__villages = 217
|
### Instruction:
CREATE TABLE table_name_31 (
laps INTEGER,
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps for a grid of over 18 and retired due to electrical failure?
### Response:
|
SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"
|
### Instruction:
CREATE TABLE table_name_89 (
time_retired VARCHAR,
constructor VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time/Retired for brabham - climax, on Grid of 10?
### Response:
|
SELECT time_retired FROM table_name_89 WHERE constructor = "brabham - climax" AND grid = 10
|
### Instruction:
CREATE TABLE table_27373 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the position for delaware
### Response:
|
SELECT "Position" FROM table_27373 WHERE "College" = 'Delaware'
|
### Instruction:
CREATE TABLE table_189598_7 (
name VARCHAR,
land_area__km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 14.85 kilometers squared is the land area what is the name?
### Response:
|
SELECT name FROM table_189598_7 WHERE land_area__km²_ = "14.85"
|
### Instruction:
CREATE TABLE table_name_45 (
score VARCHAR,
visitor VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game with the chicago black hawks as the visitor and a 3-1 record?
### Response:
|
SELECT score FROM table_name_45 WHERE visitor = "chicago black hawks" AND record = "3-1"
|
### Instruction:
CREATE TABLE table_25716399_1 (
no_in_season INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what season was written by jonathan collier?
### Response:
|
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"
|
### Instruction:
CREATE TABLE table_name_79 (
prize_money VARCHAR,
matches VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Prize Money, when Matches is less than 73, and when Round is Third Round Proper?
### Response:
|
SELECT prize_money FROM table_name_79 WHERE matches < 73 AND round = "third round proper"
|
### Instruction:
CREATE TABLE table_name_51 (
bronze INTEGER,
nation VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the least bronze when the nation is soviet union and the total is less than 11?
### Response:
|
SELECT MIN(bronze) FROM table_name_51 WHERE nation = "soviet union" AND total < 11
|
### Instruction:
CREATE TABLE table_name_69 (
edition VARCHAR,
date VARCHAR,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of edition was released September 23, 2008 from the United States?
### Response:
|
SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "united states"
|
### Instruction:
CREATE TABLE table_name_35 (
school VARCHAR,
enrollment VARCHAR,
mascot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the school that has an enrollment more than 441 with chargers as their mascot?
### Response:
|
SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.