instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_name_69 (
time VARCHAR,
ground VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Time, when Ground is Waverley Park, and when Away Team is Footscray?
### Response:
|
SELECT time FROM table_name_69 WHERE ground = "waverley park" AND away_team = "footscray"
|
### Instruction:
CREATE TABLE table_name_51 (
fcc_info VARCHAR,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the FCC info of the translator with an Irmo, South Carolina city license?
### Response:
|
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina"
|
### Instruction:
CREATE TABLE table_name_45 (
rank INTEGER,
loss VARCHAR,
percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the rank for a team that has a percentage of 56% and a loss smaller than 4?
### Response:
|
SELECT AVG(rank) FROM table_name_45 WHERE NOT percentage = "56%" AND loss < 4
|
### Instruction:
CREATE TABLE table_name_67 (
d_45_o VARCHAR,
d_44_o VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value of D 45 O when the value of D 44 O is majority?
### Response:
|
SELECT d_45_o FROM table_name_67 WHERE d_44_o = "← majority"
|
### Instruction:
CREATE TABLE table_name_44 (
year INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average year when shri. shambu nath khajuria won the padma shri awards?
### Response:
|
SELECT AVG(year) FROM table_name_44 WHERE name = "shri. shambu nath khajuria"
|
### Instruction:
CREATE TABLE table_name_3 (
tournament VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament had a winning score of 27 (64-64-61=189)?
### Response:
|
SELECT tournament FROM table_name_3 WHERE winning_score = −27(64 - 64 - 61 = 189)
|
### Instruction:
CREATE TABLE table_name_84 (
place VARCHAR,
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place did Bob May get when his score was 72-66=138?
### Response:
|
SELECT place FROM table_name_84 WHERE score = 72 - 66 = 138 AND player = "bob may"
|
### Instruction:
CREATE TABLE table_name_72 (
away_captain VARCHAR,
result VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Away captain when the Result was draw, and a Venue of lord's?
### Response:
|
SELECT away_captain FROM table_name_72 WHERE result = "draw" AND venue = "lord's"
|
### Instruction:
CREATE TABLE table_27155243_4 (
episode__number INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode was written by Matt Maclennan?
### Response:
|
SELECT MAX(episode__number) FROM table_27155243_4 WHERE written_by = "Matt MacLennan"
|
### Instruction:
CREATE TABLE table_name_93 (
country VARCHAR,
notes VARCHAR,
release_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country had a release of 1 VCD titled Martial Law: Substitutes?
### Response:
|
SELECT country FROM table_name_93 WHERE notes = "1 vcd" AND release_title = "martial law: substitutes"
|
### Instruction:
CREATE TABLE table_245800_2 (
duration__days_ VARCHAR,
flight_down VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many days were the station of Soyuz 35 in flight down were in orbit?
### Response:
|
SELECT duration__days_ FROM table_245800_2 WHERE flight_down = "Soyuz 35"
|
### Instruction:
CREATE TABLE table_name_82 (
mountains_classification VARCHAR,
general_classification VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
### Response:
|
SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "7"
|
### Instruction:
CREATE TABLE table_61951 (
"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 Gil Morgan's Place?
### Response:
|
SELECT "Place" FROM table_61951 WHERE "Player" = 'gil morgan'
|
### Instruction:
CREATE TABLE table_269888_1 (
area__km²_ VARCHAR,
population__2010_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the area for population of 53542
### Response:
|
SELECT area__km²_ FROM table_269888_1 WHERE population__2010_ = 53542
|
### Instruction:
CREATE TABLE table_23186738_9 (
date VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for air canada centre 18,736
### Response:
|
SELECT date FROM table_23186738_9 WHERE location_attendance = "Air Canada Centre 18,736"
|
### Instruction:
CREATE TABLE table_15555661_2 (
area__km²_ VARCHAR,
ecozone VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How large is the Boreal Shield in km2?
### Response:
|
SELECT COUNT(area__km²_) FROM table_15555661_2 WHERE ecozone = "Boreal Shield"
|
### Instruction:
CREATE TABLE table_name_69 (
total INTEGER,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many strokes for arnold palmer with a to par of greater than 9?
### Response:
|
SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer"
|
### Instruction:
CREATE TABLE table_18590048_1 (
rank INTEGER,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is Super Mario Land 2: 6 Golden Coins?
### Response:
|
SELECT MIN(rank) FROM table_18590048_1 WHERE title = "Super Mario Land 2: 6 Golden Coins"
|
### Instruction:
CREATE TABLE table_37245 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of Week 2?
### Response:
|
SELECT "Date" FROM table_37245 WHERE "Week" = '2'
|
### Instruction:
CREATE TABLE table_name_97 (
year VARCHAR,
champion VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT YEAR WAS ROBERT COOMBES CHAMPION ON MAY 7?
### Response:
|
SELECT COUNT(year) FROM table_name_97 WHERE champion = "robert coombes" AND date = "may 7"
|
### Instruction:
CREATE TABLE table_1012730_1 (
poles INTEGER,
avg_finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many poles had an average finish of 19.1?
### Response:
|
SELECT MAX(poles) FROM table_1012730_1 WHERE avg_finish = "19.1"
|
### Instruction:
CREATE TABLE table_50278 (
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Rinnal's title?
### Response:
|
SELECT "Title" FROM table_50278 WHERE "Name" = 'rinnal'
|
### Instruction:
CREATE TABLE table_name_54 (
silver VARCHAR,
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many silver medals were won by the participant(s) that had more than 12 gold medals and 11 bronze medals?
### Response:
|
SELECT silver FROM table_name_54 WHERE gold > 12 AND bronze = 11
|
### Instruction:
CREATE TABLE table_name_40 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2010 result of a tournament that is A in 2006 and A in 2011?
### Response:
|
SELECT 2010 FROM table_name_40 WHERE 2011 = "a" AND 2006 = "a"
|
### Instruction:
CREATE TABLE table_26826304_1 (
written_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the writer of the episode with a production code of 5aky04?
### Response:
|
SELECT written_by FROM table_26826304_1 WHERE production_code = "5AKY04"
|
### Instruction:
CREATE TABLE table_25346763_1 (
Major VARCHAR,
facility VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Is the Washington Corrections Center for Women (WCCW) a major facility?
### Response:
|
SELECT Major AS facility FROM table_25346763_1 WHERE facility = "Washington Corrections Center for Women (WCCW)"
|
### Instruction:
CREATE TABLE table_69992 (
"Year" real,
"Name" text,
"Genre" text,
"Status" text,
"Post" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year has a Post of designer?
### Response:
|
SELECT SUM("Year") FROM table_69992 WHERE "Post" = 'designer'
|
### Instruction:
CREATE TABLE table_name_47 (
catalogue VARCHAR,
date VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Catalogue is Dated 14 november 2003, with the Format compact disc?
### Response:
|
SELECT catalogue FROM table_name_47 WHERE date = "14 november 2003" AND format = "compact disc"
|
### Instruction:
CREATE TABLE table_25887826_17 (
total_pts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest number of 10 C points for a team with 39 total points?
### Response:
|
SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39
|
### Instruction:
CREATE TABLE table_24887326_7 (
tie_no VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the away team is Millwall, what is the total possible amount of tie numbers?
### Response:
|
SELECT COUNT(tie_no) FROM table_24887326_7 WHERE away_team = "Millwall"
|
### Instruction:
CREATE TABLE table_name_77 (
nation VARCHAR,
gold VARCHAR,
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?
### Response:
|
SELECT nation FROM table_name_77 WHERE silver < 16 AND bronze > 6 AND gold = 2
|
### Instruction:
CREATE TABLE table_name_36 (
fips_code VARCHAR,
county VARCHAR,
cdp_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the FIPS code for county of wyoming and CDP name of pike
### Response:
|
SELECT fips_code FROM table_name_36 WHERE county = "wyoming" AND cdp_name = "pike"
|
### Instruction:
CREATE TABLE table_name_73 (
overall VARCHAR,
round VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TOTAL NUMBER WITH A ROUND BIGGER THAN 7 AND PICK OF 21?
### Response:
|
SELECT COUNT(overall) FROM table_name_73 WHERE round > 7 AND pick = 21
|
### Instruction:
CREATE TABLE table_60692 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To Par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Frank Moore's score?
### Response:
|
SELECT "Score" FROM table_60692 WHERE "Player" = 'frank moore'
|
### Instruction:
CREATE TABLE table_15887683_5 (
dar VARCHAR,
n° VARCHAR,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What DAR is available for n. 336 in Italian?
### Response:
|
SELECT dar FROM table_15887683_5 WHERE n° = "336" AND language = "Italian"
|
### Instruction:
CREATE TABLE table_name_91 (
pos VARCHAR,
play_offs VARCHAR,
pts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During the play-off quarter-final which team scored position was the team that scored 56 points?
### Response:
|
SELECT pos FROM table_name_91 WHERE play_offs = "quarter-final" AND pts = "56"
|
### Instruction:
CREATE TABLE table_26387382_1 (
power__mw·hr_yr_ VARCHAR,
location__county_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What locations are considered centre?
### Response:
|
SELECT power__mw·hr_yr_ FROM table_26387382_1 WHERE location__county_ = "Centre"
|
### Instruction:
CREATE TABLE table_25831483_1 (
last_appearance VARCHAR,
actor_actress VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the last appearance of actor/actress is pam ferris?
### Response:
|
SELECT last_appearance FROM table_25831483_1 WHERE actor_actress = "Pam Ferris"
|
### Instruction:
CREATE TABLE table_name_13 (
position_in_table VARCHAR,
date_of_vacancy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the table position for 4 December 2008 vacancy?
### Response:
|
SELECT position_in_table FROM table_name_13 WHERE date_of_vacancy = "4 december 2008"
|
### Instruction:
CREATE TABLE table_name_74 (
score VARCHAR,
home_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has ipswich town as the home team, and replay as the tie no.?
### Response:
|
SELECT score FROM table_name_74 WHERE home_team = "ipswich town" AND tie_no = "replay"
|
### Instruction:
CREATE TABLE table_57399 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the score for december 3
### Response:
|
SELECT "Score" FROM table_57399 WHERE "Date" = 'december 3'
|
### Instruction:
CREATE TABLE table_6212 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the distance for the 5 September race?
### Response:
|
SELECT "Distance" FROM table_6212 WHERE "Date" = '5 september'
|
### Instruction:
CREATE TABLE table_name_33 (
competition VARCHAR,
score VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a Score of 0-1, and Opponents of pkns fc?
### Response:
|
SELECT competition FROM table_name_33 WHERE score = "0-1" AND opponents = "pkns fc"
|
### Instruction:
CREATE TABLE table_30073089_2 (
date VARCHAR,
season VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for 2011 and position larger than 2.0
### Response:
|
SELECT date FROM table_30073089_2 WHERE season = 2011 AND position > 2.0
|
### Instruction:
CREATE TABLE table_1342149_18 (
candidates VARCHAR,
result VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What candidate was re-elected in the Louisiana 5 district?
### Response:
|
SELECT candidates FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 5"
|
### Instruction:
CREATE TABLE table_200_14 (
id number,
"act" text,
"year signed" number,
"# albums released under bad boy" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many acts had no albums released under bad boy ?
### Response:
|
SELECT COUNT("act") FROM table_200_14 WHERE "# albums released under bad boy" IS NULL
|
### Instruction:
CREATE TABLE table_name_37 (
recipient VARCHAR,
date VARCHAR,
award VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won an award of 3,000 on 4/9/02?
### Response:
|
SELECT recipient FROM table_name_37 WHERE date = "4/9/02" AND award = "£3,000"
|
### Instruction:
CREATE TABLE table_15681686_4 (
rating VARCHAR,
rank__week_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the rating where the rank is 48?
### Response:
|
SELECT rating / SHARE(18 - 49) FROM table_15681686_4 WHERE rank__week_ = "48"
|
### Instruction:
CREATE TABLE table_225098_4 (
date_successor_seated VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The successor for the Massachusetts 20th district was seated on what date?
### Response:
|
SELECT date_successor_seated FROM table_225098_4 WHERE district = "Massachusetts 20th"
|
### Instruction:
CREATE TABLE table_2387461_1 (
games_played VARCHAR,
points_per_game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games played have 4.7 points per game?
### Response:
|
SELECT COUNT(games_played) FROM table_2387461_1 WHERE points_per_game = "4.7"
|
### Instruction:
CREATE TABLE table_name_57 (
engine_s_ VARCHAR,
year VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine(s) has a year of 1966, and a point of 42.
### Response:
|
SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "42"
|
### Instruction:
CREATE TABLE table_17355408_7 (
date VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Chauncey Billups (6) had a high assist on what date?
### Response:
|
SELECT date FROM table_17355408_7 WHERE high_assists = "Chauncey Billups (6)"
|
### Instruction:
CREATE TABLE table_name_41 (
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Place, when Score is '70-70-68-70=278'?
### Response:
|
SELECT place FROM table_name_41 WHERE score = 70 - 70 - 68 - 70 = 278
|
### Instruction:
CREATE TABLE table_name_78 (
year VARCHAR,
day_of_week VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year of the movie with an opening day on Friday with a rank 10?
### Response:
|
SELECT COUNT(year) FROM table_name_78 WHERE day_of_week = "friday" AND rank = 10
|
### Instruction:
CREATE TABLE table_name_81 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 2009, when 2004 is 2R, and when 1993 is A?
### Response:
|
SELECT 2009 FROM table_name_81 WHERE 2004 = "2r" AND 1993 = "a"
|
### Instruction:
CREATE TABLE table_name_88 (
season VARCHAR,
qualities VARCHAR,
sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the south season of the scorpio sign, which has cold & wet qualities?
### Response:
|
SELECT season AS :_south FROM table_name_88 WHERE qualities = "cold & wet" AND sign = "scorpio"
|
### Instruction:
CREATE TABLE table_name_51 (
opposition VARCHAR,
year VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opposition has a Year smaller than 1911, and a Venue of old trafford?
### Response:
|
SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = "old trafford"
|
### Instruction:
CREATE TABLE table_name_32 (
res VARCHAR,
round VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result with a Round of 3, and an Opponent of keith wisniewski?
### Response:
|
SELECT res FROM table_name_32 WHERE round = "3" AND opponent = "keith wisniewski"
|
### Instruction:
CREATE TABLE table_name_32 (
representative VARCHAR,
presentation_of_credentials VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the representative with a presentation of credentials date on February 23, 1854?
### Response:
|
SELECT representative FROM table_name_32 WHERE presentation_of_credentials = "february 23, 1854"
|
### Instruction:
CREATE TABLE table_name_31 (
scorers VARCHAR,
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for Scorers when the Opponent was west germany on October 7?
### Response:
|
SELECT scorers FROM table_name_31 WHERE opponent = "west germany" AND date = "october 7"
|
### Instruction:
CREATE TABLE table_18788823_5 (
position_in_table VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did Keith Downing depart a position?
### Response:
|
SELECT COUNT(position_in_table) FROM table_18788823_5 WHERE outgoing_manager = "Keith Downing"
|
### Instruction:
CREATE TABLE table_16120 (
"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 maximum division
### Response:
|
SELECT MAX("Division") FROM table_16120
|
### Instruction:
CREATE TABLE table_11336756_6 (
population_area VARCHAR,
remarks VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which population areas have 'replaced by us 83' listed in their remarks section?
### Response:
|
SELECT population_area FROM table_11336756_6 WHERE remarks = "Replaced by US 83"
|
### Instruction:
CREATE TABLE table_name_64 (
format VARCHAR,
year VARCHAR,
catalog_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format is after 1991 and has a Catalog Number of 81868?
### Response:
|
SELECT format FROM table_name_64 WHERE year > 1991 AND catalog_number = "81868"
|
### Instruction:
CREATE TABLE table_27973624_1 (
prize_money VARCHAR,
clubs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the prize money when the clubs is 392 276?
### Response:
|
SELECT prize_money FROM table_27973624_1 WHERE clubs = "392 → 276"
|
### Instruction:
CREATE TABLE table_7771 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Tom Kite's to par?
### Response:
|
SELECT "To par" FROM table_7771 WHERE "Player" = 'tom kite'
|
### Instruction:
CREATE TABLE table_43244 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does Barry Rose play?
### Response:
|
SELECT "Position" FROM table_43244 WHERE "Player" = 'barry rose'
|
### Instruction:
CREATE TABLE table_name_64 (
shooter VARCHAR,
rank_points VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the shooter when the rank points was 8 and the event was WC Kerrville?
### Response:
|
SELECT shooter FROM table_name_64 WHERE rank_points = "8" AND event = "wc kerrville"
|
### Instruction:
CREATE TABLE table_261946_3 (
left INTEGER,
location__all_in_ohio_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year did enrolled Gambier members leave?
### Response:
|
SELECT MIN(left) FROM table_261946_3 WHERE location__all_in_ohio_ = "Gambier"
|
### Instruction:
CREATE TABLE table_name_6 (
vacator VARCHAR,
reason_for_change VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which Vacator has a Reason for change of resigned november 10, 1965?
### Response:
|
SELECT vacator FROM table_name_6 WHERE reason_for_change = "resigned november 10, 1965"
|
### Instruction:
CREATE TABLE table_name_20 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2009 value with a 1r in 2010 and A in 2011?
### Response:
|
SELECT 2009 FROM table_name_20 WHERE 2010 = "1r" AND 2011 = "a"
|
### Instruction:
CREATE TABLE table_12715053_1 (
compound_name VARCHAR,
marine_organism_α VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the compound name listed where marine organism is worm
### Response:
|
SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = "Worm"
|
### Instruction:
CREATE TABLE table_58547 (
"Name" text,
"Country" text,
"Type" text,
"Moving from" text,
"Transfer window" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country is Dyer from?
### Response:
|
SELECT "Country" FROM table_58547 WHERE "Name" = 'dyer'
|
### Instruction:
CREATE TABLE table_name_99 (
best VARCHAR,
team VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Best, when Team is 'Rocketsports Racing', and when Name is 'Alex Tagliani'?
### Response:
|
SELECT best FROM table_name_99 WHERE team = "rocketsports racing" AND name = "alex tagliani"
|
### Instruction:
CREATE TABLE table_12310814_1 (
order__number VARCHAR,
original_artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the order number of the song originally performed by Rickie Lee Jones?
### Response:
|
SELECT order__number FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones"
|
### Instruction:
CREATE TABLE book_club (
publisher VARCHAR,
YEAR VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show publishers with a book published in 1989 and a book in 1990.
### Response:
|
SELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990
|
### Instruction:
CREATE TABLE table_77411 (
"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 Player, when Place is '1'?
### Response:
|
SELECT "Player" FROM table_77411 WHERE "Place" = '1'
|
### Instruction:
CREATE TABLE table_21234111_6 (
jason VARCHAR,
public_vote__percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the jason for public vote being 19.20%
### Response:
|
SELECT jason FROM table_21234111_6 WHERE public_vote__percentage = "19.20%"
|
### Instruction:
CREATE TABLE table_name_99 (
visitor VARCHAR,
game__number VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Visitor has a Game # larger than 62, and a Date of february 25?
### Response:
|
SELECT visitor FROM table_name_99 WHERE game__number > 62 AND date = "february 25"
|
### Instruction:
CREATE TABLE table_20785990_2 (
high_school VARCHAR,
home_town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high school for the player who's hometown is Blue Island, Il?
### Response:
|
SELECT high_school FROM table_20785990_2 WHERE home_town = "Blue Island, IL"
|
### Instruction:
CREATE TABLE table_12261714_2 (
intergiro_classification VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many leaders are there in the intergiro classification in stage 20?
### Response:
|
SELECT COUNT(intergiro_classification) FROM table_12261714_2 WHERE stage = "20"
|
### Instruction:
CREATE TABLE table_15211468_1 (
uk_broadcast_date VARCHAR,
countries_visited VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the UK broadcast date for the episode which visited USA?
### Response:
|
SELECT uk_broadcast_date FROM table_15211468_1 WHERE countries_visited = "USA"
|
### Instruction:
CREATE TABLE table_name_36 (
nationality VARCHAR,
lane VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nationality has a Lane of 5, and a Time of 7:08.04?
### Response:
|
SELECT nationality FROM table_name_36 WHERE lane = 5 AND time = "7:08.04"
|
### Instruction:
CREATE TABLE table_name_39 (
rank INTEGER,
lane VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lowest Rank with a Lane of 5 and a Time smaller than 11.06?
### Response:
|
SELECT MIN(rank) FROM table_name_39 WHERE lane = 5 AND time < 11.06
|
### Instruction:
CREATE TABLE table_22829 (
"DMA" real,
"Market" text,
"Station" text,
"Frequency" text,
"Branding" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is dma?
### Response:
|
SELECT MIN("DMA") FROM table_22829
|
### Instruction:
CREATE TABLE table_name_55 (
country VARCHAR,
province_region VARCHAR,
airport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what country is Hokkaid and New Chitose airport located?
### Response:
|
SELECT country FROM table_name_55 WHERE province_region = "hokkaidō" AND airport = "new chitose airport"
|
### Instruction:
CREATE TABLE table_50058 (
"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 is Bob Tway from?
### Response:
|
SELECT "Country" FROM table_50058 WHERE "Player" = 'bob tway'
|
### Instruction:
CREATE TABLE table_name_16 (
region VARCHAR,
date VARCHAR,
label VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What region has the date of 2005 and Playground Music Scandinavia as a label?
### Response:
|
SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia"
|
### Instruction:
CREATE TABLE table_28138035_35 (
year_location VARCHAR,
mens_singles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year and location did Wang Liqin win the Mens Singles?
### Response:
|
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Wang Liqin"
|
### Instruction:
CREATE TABLE table_name_69 (
opponent_in_the_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent in the final has October 9, 2005 as the date?
### Response:
|
SELECT opponent_in_the_final FROM table_name_69 WHERE date = "october 9, 2005"
|
### Instruction:
CREATE TABLE table_15544 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has 69 as the score?
### Response:
|
SELECT "Player" FROM table_15544 WHERE "Score" = '69'
|
### Instruction:
CREATE TABLE table_name_91 (
pick__number VARCHAR,
name VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many pick #'s have james britt as the name, with a round greater than 2?
### Response:
|
SELECT COUNT(pick__number) FROM table_name_91 WHERE name = "james britt" AND round > 2
|
### Instruction:
CREATE TABLE table_43470 (
"Index" text,
"Name" text,
"Song" text,
"Group Song" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of Index F3?
### Response:
|
SELECT "Name" FROM table_43470 WHERE "Index" = 'f3'
|
### Instruction:
CREATE TABLE table_name_51 (
outcome VARCHAR,
opponent VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome of the match against Nguyen Tien Minh in the Bulgaria Open?
### Response:
|
SELECT outcome FROM table_name_51 WHERE opponent = "nguyen tien minh" AND tournament = "bulgaria open"
|
### Instruction:
CREATE TABLE table_64789 (
"Draw" real,
"Song" text,
"Artist" text,
"Points" real,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which artist has 13 points?
### Response:
|
SELECT "Artist" FROM table_64789 WHERE "Points" = '13'
|
### Instruction:
CREATE TABLE table_name_59 (
year INTEGER,
manager VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Manager of marty berghammer, and a Finish of 1st involved what lowest year?
### Response:
|
SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st"
|
### Instruction:
CREATE TABLE table_25923164_1 (
original_air_date VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date of the episode written by amanda segel?
### Response:
|
SELECT original_air_date FROM table_25923164_1 WHERE written_by = "Amanda Segel"
|
### Instruction:
CREATE TABLE table_13273629_2 (
original_air_date VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the episode directed by Carey Meyer aired for the first time?
### Response:
|
SELECT original_air_date FROM table_13273629_2 WHERE directed_by = "Carey Meyer"
|
### Instruction:
CREATE TABLE table_22265225_1 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did the episode with a production code of 218 originally air?
### Response:
|
SELECT original_air_date FROM table_22265225_1 WHERE production_code = "218"
|
### Instruction:
CREATE TABLE table_name_76 (
party VARCHAR,
results VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Party, when Results is 'Re-Elected', and when District is 'Louisiana 5'?
### Response:
|
SELECT party FROM table_name_76 WHERE results = "re-elected" AND district = "louisiana 5"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.