instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_15187735_16 (
netflix VARCHAR,
segment_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whats the season/episode of segment a digital dentistry
### Response:
| SELECT netflix FROM table_15187735_16 WHERE segment_a = "Digital Dentistry" |
### Instruction:
CREATE TABLE table_name_74 (
club_province VARCHAR,
caps VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Club/province have caps less than 2 and Jonathan Sexton as player?
### Response:
| SELECT club_province FROM table_name_74 WHERE caps < 2 AND player = "jonathan sexton" |
### Instruction:
CREATE TABLE table_name_22 (
date VARCHAR,
visitor VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the Visiting San Antonio Spurs score 97-113?
### Response:
| SELECT date FROM table_name_22 WHERE visitor = "san antonio spurs" AND score = "97-113" |
### Instruction:
CREATE TABLE table_name_60 (
date_of_registration VARCHAR,
name_in_english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the Canarian Workers Socialist Union registered?
### Response:
| SELECT date_of_registration FROM table_name_60 WHERE name_in_english = "canarian workers socialist union" |
### Instruction:
CREATE TABLE table_name_13 (
episodes VARCHAR,
japanese_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episodes had the title 6 3 2 in Japanese?
### Response:
| SELECT episodes FROM table_name_13 WHERE japanese_title = "ロト6で3億2千万円当てた男" |
### Instruction:
CREATE TABLE table_name_56 (
city_of_license VARCHAR,
age_watt VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the city of license which has age Watt of 160 watts
### Response:
| SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts" |
### Instruction:
CREATE TABLE table_name_56 (
away_captain VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Away captain for the Test match of Australia in England where the Result was AUS by 264 runs?
### Response:
| SELECT away_captain FROM table_name_56 WHERE result = "aus by 264 runs" |
### Instruction:
CREATE TABLE table_22757733_4 (
party VARCHAR,
runner_up_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which was k. annamalai s party a?
### Response:
| SELECT party AS a FROM table_22757733_4 WHERE runner_up_a = "K. Annamalai" |
### Instruction:
CREATE TABLE table_name_28 (
year INTEGER,
partner VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest listed year for the partner of Marcel Granollers and a hard surface?
### Response:
| SELECT MAX(year) FROM table_name_28 WHERE partner = "marcel granollers" AND surface = "hard" |
### Instruction:
CREATE TABLE table_name_56 (
venue VARCHAR,
year VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue when the year is after 2001 for the summer olympics?
### Response:
| SELECT venue FROM table_name_56 WHERE year > 2001 AND competition = "summer olympics" |
### Instruction:
CREATE TABLE table_name_39 (
time VARCHAR,
jockey VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which time contains the jockery of isaac murphy as well as the winner of kingman?
### Response:
| SELECT time FROM table_name_39 WHERE jockey = "isaac murphy" AND winner = "kingman" |
### Instruction:
CREATE TABLE table_name_96 (
bronze INTEGER,
gold VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of bronze of the nation with more than 1 gold and 1 silver medal?
### Response:
| SELECT AVG(bronze) FROM table_name_96 WHERE gold > 1 AND silver = 1 |
### Instruction:
CREATE TABLE table_16864968_7 (
score VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score when the Maple Leafs played the Columbus Blue Jackets?
### Response:
| SELECT score FROM table_16864968_7 WHERE opponent = "Columbus Blue Jackets" |
### Instruction:
CREATE TABLE table_name_32 (
drawn INTEGER,
lost VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Drawn is the lowest one that has a Lost of 5, and Points larger than 4?
### Response:
| SELECT MIN(drawn) FROM table_name_32 WHERE lost = 5 AND points > 4 |
### Instruction:
CREATE TABLE table_1342256_10 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of Robert L. F. Sikes' election bid?
### Response:
| SELECT result FROM table_1342256_10 WHERE incumbent = "Robert L. F. Sikes" |
### Instruction:
CREATE TABLE table_name_5 (
topic_of_the_show VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the topic of the show on March 15, 2008?
### Response:
| SELECT topic_of_the_show FROM table_name_5 WHERE date = "march 15, 2008" |
### Instruction:
CREATE TABLE table_17304621_14 (
upstream VARCHAR,
price_tl VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the upstream speed that you get for 89 tl?
### Response:
| SELECT upstream FROM table_17304621_14 WHERE price_tl = "89 TL" |
### Instruction:
CREATE TABLE table_name_16 (
block INTEGER,
weight VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many blocks have a weight greater than 82, and a height less than 199?
### Response:
| SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199 |
### Instruction:
CREATE TABLE table_name_83 (
rank VARCHAR,
year_opened VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank for the year opened in 1959 in Pennsylvania?
### Response:
| SELECT rank FROM table_name_83 WHERE year_opened = "1959" AND state = "pennsylvania" |
### Instruction:
CREATE TABLE table_14115168_4 (
national_titles INTEGER,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many overall championships does concordia university have
### Response:
| SELECT MIN(national_titles) FROM table_14115168_4 WHERE school = "Concordia University" |
### Instruction:
CREATE TABLE table_name_72 (
heat_ VARCHAR,
_lane VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Heat & Lane is the person who has a time of 1:01.12?
### Response:
| SELECT heat_ & _lane FROM table_name_72 WHERE time = "1:01.12" |
### Instruction:
CREATE TABLE table_18733480_1 (
team_1 VARCHAR,
team_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was team 1 when the chalkheads were team 2?
### Response:
| SELECT team_1 FROM table_18733480_1 WHERE team_2 = "Chalkheads" |
### Instruction:
CREATE TABLE table_name_8 (
born_died VARCHAR,
entered_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the born-died that has office of 13 September 1229 as the entered?
### Response:
| SELECT born_died FROM table_name_8 WHERE entered_office = "13 september 1229" |
### Instruction:
CREATE TABLE table_name_76 (
year_opened VARCHAR,
students VARCHAR,
size VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the school opened that has a size of 10 acres and students of na?
### Response:
| SELECT year_opened FROM table_name_76 WHERE students = "na" AND size = "10 acres" |
### Instruction:
CREATE TABLE table_name_26 (
record VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record when the visiting team was the Quebec Nordiques on April 22?
### Response:
| SELECT record FROM table_name_26 WHERE visitor = "quebec nordiques" AND date = "april 22" |
### Instruction:
CREATE TABLE table_name_57 (
lost VARCHAR,
opposition VARCHAR,
tied VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of losses against the Rajasthan Royals with more than 0 ties?
### Response:
| SELECT COUNT(lost) FROM table_name_57 WHERE opposition = "rajasthan royals" AND tied > 0 |
### Instruction:
CREATE TABLE table_10577579_3 (
institution VARCHAR,
men’s_nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college has the men's nickname of the blazers?
### Response:
| SELECT institution FROM table_10577579_3 WHERE men’s_nickname = "Blazers" |
### Instruction:
CREATE TABLE table_1341690_21 (
district VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the district with the candidates edward boland (d) unopposed?
### Response:
| SELECT district FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed" |
### Instruction:
CREATE TABLE table_name_40 (
screening_started VARCHAR,
screening_completed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the screening started when it was completed 3 may 2006
### Response:
| SELECT screening_started FROM table_name_40 WHERE screening_completed = "3 may 2006" |
### Instruction:
CREATE TABLE table_18047346_5 (
tonnes VARCHAR,
iata_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tonnes of cargo did the airport have with the IATA Code IND?
### Response:
| SELECT tonnes FROM table_18047346_5 WHERE iata_code = "IND" |
### Instruction:
CREATE TABLE table_name_96 (
hmos VARCHAR,
conventional_plans VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which HMO has a conventional plan of 3% in 2005?
### Response:
| SELECT hmos FROM table_name_96 WHERE conventional_plans = "3%" AND year = 2005 |
### Instruction:
CREATE TABLE table_24951872_2 (
week INTEGER,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the maximum week that had attendance of 10738?
### Response:
| SELECT MAX(week) FROM table_24951872_2 WHERE attendance = 10738 |
### Instruction:
CREATE TABLE table_12919003_3 (
viewers_millions_ VARCHAR,
episode VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of viewers did watch Episode 5?
### Response:
| SELECT viewers_millions_ FROM table_12919003_3 WHERE episode = "episode 5" |
### Instruction:
CREATE TABLE table_11545282_4 (
position VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did the player from maynard evans hs play
### Response:
| SELECT position FROM table_11545282_4 WHERE school_club_team = "Maynard Evans HS" |
### Instruction:
CREATE TABLE table_name_40 (
split_off___continuation_of VARCHAR,
church_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Pure Church of Christ's Split off/ Continuation?
### Response:
| SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ" |
### Instruction:
CREATE TABLE table_24837750_1 (
turbine_manufacturer VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the turbine manufacturer for the Wheatland county?
### Response:
| SELECT turbine_manufacturer FROM table_24837750_1 WHERE county = "Wheatland" |
### Instruction:
CREATE TABLE table_2665085_1 (
speed__mph_ VARCHAR,
height__ft_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How fast is the coaster that is 163 feet tall
### Response:
| SELECT speed__mph_ FROM table_2665085_1 WHERE height__ft_ = 163 |
### Instruction:
CREATE TABLE table_name_22 (
draw INTEGER,
points VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest draw number for the song ranked 6th with more than 43 points?
### Response:
| SELECT MIN(draw) FROM table_name_22 WHERE points > 43 AND rank = "6th" |
### Instruction:
CREATE TABLE table_name_17 (
to_par VARCHAR,
country VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par of Willie MacFarlane from the country of Scotland?
### Response:
| SELECT to_par FROM table_name_17 WHERE country = "scotland" AND name = "willie macfarlane" |
### Instruction:
CREATE TABLE table_name_99 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 2011, when 2012 is 'A', and when Tournament is 'French Open'?
### Response:
| SELECT 2011 FROM table_name_99 WHERE 2012 = "a" AND tournament = "french open" |
### Instruction:
CREATE TABLE table_name_70 (
chassis VARCHAR,
engine VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What chassis was used with the Chevrolet engine in 1991?
### Response:
| SELECT chassis FROM table_name_70 WHERE engine = "chevrolet" AND year = 1991 |
### Instruction:
CREATE TABLE table_16494599_5 (
years_for_grizzlies VARCHAR,
no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when did no. 32 play for grizzles
### Response:
| SELECT years_for_grizzlies FROM table_16494599_5 WHERE no = 32 |
### Instruction:
CREATE TABLE table_name_91 (
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a score of 77-69-70-71=287?
### Response:
| SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287 |
### Instruction:
CREATE TABLE table_name_87 (
gold INTEGER,
total VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest gold number count where a county had over 9 golds and 10 silvers?
### Response:
| SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10 |
### Instruction:
CREATE TABLE table_name_73 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par for the 68-72-73=213 score?
### Response:
| SELECT to_par FROM table_name_73 WHERE score = 68 - 72 - 73 = 213 |
### Instruction:
CREATE TABLE table_27533947_1 (
games_lost VARCHAR,
best_run VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- if the best run was 138, what is the amount of games lost?
### Response:
| SELECT games_lost FROM table_27533947_1 WHERE best_run = 138 |
### Instruction:
CREATE TABLE table_187239_1 (
secondary_sponsor VARCHAR,
main_sponsor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When ale is the main sponsor who is the secondary sponsor?
### Response:
| SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Ale" |
### Instruction:
CREATE TABLE table_name_88 (
prominence__m_ INTEGER,
peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the prominence in m of moussa ali terara peak?
### Response:
| SELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = "moussa ali terara" |
### Instruction:
CREATE TABLE table_name_28 (
margin_of_victory VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the margin of victory on Apr 8, 1979?
### Response:
| SELECT margin_of_victory FROM table_name_28 WHERE date = "apr 8, 1979" |
### Instruction:
CREATE TABLE table_name_91 (
pick VARCHAR,
player VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number for the pick of the player Wayne Fowler and a round after 7?
### Response:
| SELECT COUNT(pick) FROM table_name_91 WHERE player = "wayne fowler" AND round > 7 |
### Instruction:
CREATE TABLE table_name_44 (
us VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the U.S. rap ranking in 2000 of the U.S. 105 single?
### Response:
| SELECT us AS Rap FROM table_name_44 WHERE year = 2000 AND us = "105" |
### Instruction:
CREATE TABLE table_name_11 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par for the score 72-69-68=209?
### Response:
| SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209 |
### Instruction:
CREATE TABLE table_2679061_2 (
position VARCHAR,
nhl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the position for the nhl team toronto maple leafs?
### Response:
| SELECT position FROM table_2679061_2 WHERE nhl_team = "Toronto Maple Leafs" |
### Instruction:
CREATE TABLE table_10392906_2 (
team_record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many records are listed on Friday, May 25?
### Response:
| SELECT COUNT(team_record) FROM table_10392906_2 WHERE date = "Friday, May 25" |
### Instruction:
CREATE TABLE table_name_71 (
matches VARCHAR,
team VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many matches did Atl tico Ciudad have with an average higher than 0.61?
### Response:
| SELECT COUNT(matches) FROM table_name_71 WHERE team = "atlético ciudad" AND average > 0.61 |
### Instruction:
CREATE TABLE table_name_88 (
score VARCHAR,
home VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score did phoenix have with a Record of 3 6 0 at home?
### Response:
| SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–6–0" |
### Instruction:
CREATE TABLE table_name_73 (
date VARCHAR,
game VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has a game smaller than 4, and a score of 116-114?
### Response:
| SELECT date FROM table_name_73 WHERE game < 4 AND score = "116-114" |
### Instruction:
CREATE TABLE table_16388398_1 (
home_team VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the home team when the away team was Sydney?
### Response:
| SELECT home_team AS score FROM table_16388398_1 WHERE away_team = "Sydney" |
### Instruction:
CREATE TABLE table_18600760_2 (
longitude VARCHAR,
land___sqmi__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the longitude in 35.992 sqmi
### Response:
| SELECT longitude FROM table_18600760_2 WHERE land___sqmi__ = "35.992" |
### Instruction:
CREATE TABLE table_20016339_1 (
fastest_laps VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many fastest laps did I.C. Team have?
### Response:
| SELECT COUNT(fastest_laps) FROM table_20016339_1 WHERE team = "I.C. team" |
### Instruction:
CREATE TABLE table_25604014_5 (
no_in_season VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes directed by david carson?
### Response:
| SELECT COUNT(no_in_season) FROM table_25604014_5 WHERE directed_by = "David Carson" |
### Instruction:
CREATE TABLE table_2267465_1 (
average_speed__mph_ VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average mph of 1964?
### Response:
| SELECT average_speed__mph_ FROM table_2267465_1 WHERE year = "1964" |
### Instruction:
CREATE TABLE table_name_94 (
money___ VARCHAR,
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much does it cost for United States and Byron nelson?
### Response:
| SELECT COUNT(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "byron nelson" |
### Instruction:
CREATE TABLE table_2226817_12 (
title VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of the episode when the production code is 11.01?
### Response:
| SELECT title FROM table_2226817_12 WHERE production_code = "11.01" |
### Instruction:
CREATE TABLE table_name_69 (
silver INTEGER,
nation VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least silver that has mexico as a nation and a gold less than 0?
### Response:
| SELECT MIN(silver) FROM table_name_69 WHERE nation = "mexico" AND gold < 0 |
### Instruction:
CREATE TABLE table_name_90 (
winning_score VARCHAR,
margin_of_victory VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the tournament ending with a margin of victory of 6 strokes, what was the winning score?
### Response:
| SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes" |
### Instruction:
CREATE TABLE table_204_524 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the lowest tier season to season ?
### Response:
| SELECT MIN("tier") FROM table_204_524 |
### Instruction:
CREATE TABLE table_name_67 (
rider VARCHAR,
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the rider who did less than 20 laps on a grid number greater than 23?
### Response:
| SELECT rider FROM table_name_67 WHERE laps < 20 AND grid > 23 |
### Instruction:
CREATE TABLE table_22860_1 (
atlantic_europe VARCHAR,
central_europe VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every entry for Atlantic Europe when Central Europe is Wisconsin stage?
### Response:
| SELECT atlantic_europe FROM table_22860_1 WHERE central_europe = "Wisconsin Stage" |
### Instruction:
CREATE TABLE table_1180228_1 (
released VARCHAR,
dvd_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many releases did the DVD River Cottage forever have?
### Response:
| SELECT COUNT(released) FROM table_1180228_1 WHERE dvd_name = "River Cottage Forever" |
### Instruction:
CREATE TABLE table_name_16 (
pick__number INTEGER,
position VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Cornerback has the lowest Pick # and Round of less than 1?
### Response:
| SELECT MIN(pick__number) FROM table_name_16 WHERE position = "cornerback" AND round < 1 |
### Instruction:
CREATE TABLE table_name_61 (
season VARCHAR,
team VARCHAR,
wins VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season had 0 wins and 5 losses for the Surrey team?
### Response:
| SELECT season FROM table_name_61 WHERE wins = "0" AND losses = "5" AND team = "surrey" |
### Instruction:
CREATE TABLE table_name_54 (
killed INTEGER,
perpetrator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of people killed with a Perpetrator of wirjo, 42?
### Response:
| SELECT AVG(killed) FROM table_name_54 WHERE perpetrator = "wirjo, 42" |
### Instruction:
CREATE TABLE table_name_29 (
result VARCHAR,
h___a VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for an H/A of H and a round value of R6 replay?
### Response:
| SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay" |
### Instruction:
CREATE TABLE table_name_43 (
points INTEGER,
lost VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least amount of points when there were less than 4 losses and less than 16 against?
### Response:
| SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 16 |
### Instruction:
CREATE TABLE table_name_49 (
record VARCHAR,
home VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Home of edmonton oilers, and a Score of 3 6?
### Response:
| SELECT record FROM table_name_49 WHERE home = "edmonton oilers" AND score = "3–6" |
### Instruction:
CREATE TABLE table_27279050_3 (
first_driver_s_ VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the first driver(s) when the country is romania?
### Response:
| SELECT first_driver_s_ FROM table_27279050_3 WHERE country = "Romania" |
### Instruction:
CREATE TABLE table_name_22 (
points_for VARCHAR,
drawn VARCHAR,
try_bonus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What points have 1 for drawn, and 16 as a try bonus?
### Response:
| SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16" |
### Instruction:
CREATE TABLE table_26609690_1 (
position VARCHAR,
team_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many positions are there for RB1 Motorsports?
### Response:
| SELECT COUNT(position) FROM table_26609690_1 WHERE team_s_ = "RB1 Motorsports" |
### Instruction:
CREATE TABLE table_name_56 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par for the 69-70-72=211 score?
### Response:
| SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211 |
### Instruction:
CREATE TABLE table_2454550_1 (
most_laps_led VARCHAR,
track VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had most laps led at Chicagoland speedway?
### Response:
| SELECT most_laps_led FROM table_2454550_1 WHERE track = "Chicagoland Speedway" |
### Instruction:
CREATE TABLE personfriend (
name text,
friend text,
year number
)
CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How old is each gender, on average?
### Response:
| SELECT AVG(age), gender FROM person GROUP BY gender |
### Instruction:
CREATE TABLE table_name_24 (
agg VARCHAR,
team__number2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the agg when team #2 is 2006 UEFA Intertoto Cup?
### Response:
| SELECT agg FROM table_name_24 WHERE team__number2 = "2006 uefa intertoto cup" |
### Instruction:
CREATE TABLE table_29598261_1 (
last_school_college VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the school for chris mcnamara?
### Response:
| SELECT last_school_college FROM table_29598261_1 WHERE name = "Chris McNamara" |
### Instruction:
CREATE TABLE table_name_86 (
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Place of the Player with a Score of 68-73-76=217?
### Response:
| SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217 |
### Instruction:
CREATE TABLE table_name_96 (
floors INTEGER,
location VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest amount of floors in Stockholm with a rank of 15?
### Response:
| SELECT MAX(floors) FROM table_name_96 WHERE location = "stockholm" AND rank = "15" |
### Instruction:
CREATE TABLE table_name_62 (
yards INTEGER,
player VARCHAR,
rec VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many yards did Davin Meggett have with more than 9 Rec.?
### Response:
| SELECT SUM(yards) FROM table_name_62 WHERE player = "davin meggett" AND rec > 9 |
### Instruction:
CREATE TABLE table_204_772 (
id number,
"team" text,
"county" text,
"wins" number,
"years won" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of wins for each team
### Response:
| SELECT "wins" FROM table_204_772 |
### Instruction:
CREATE TABLE table_23476629_2 (
age VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many contestants of whatever age are there whose hometown of Andujar?
### Response:
| SELECT COUNT(age) FROM table_23476629_2 WHERE hometown = "Andujar" |
### Instruction:
CREATE TABLE table_17972193_1 (
attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total numbers of attendance are there during the game in October 27?
### Response:
| SELECT COUNT(attendance) FROM table_17972193_1 WHERE date = "October 27" |
### Instruction:
CREATE TABLE table_name_91 (
college_junior_club_team__league_ VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the school that hosts mikael renberg
### Response:
| SELECT college_junior_club_team__league_ FROM table_name_91 WHERE player = "mikael renberg" |
### Instruction:
CREATE TABLE table_11404452_1 (
series__number INTEGER,
writer_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Shelia Lawrence join the series?
### Response:
| SELECT MIN(series__number) FROM table_11404452_1 WHERE writer_s_ = "Shelia Lawrence" |
### Instruction:
CREATE TABLE table_name_43 (
silver INTEGER,
rank VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most number of silvers for teams in rank 5 with more than 6 total medals?
### Response:
| SELECT MAX(silver) FROM table_name_43 WHERE rank = "5" AND total > 6 |
### Instruction:
CREATE TABLE table_name_72 (
venue VARCHAR,
result VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Venue has a Result of 5-1, and a Score of 1-0?
### Response:
| SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "1-0" |
### Instruction:
CREATE TABLE table_name_45 (
overall INTEGER,
name VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Overall for Pick # less than 5 Jack Harmon?
### Response:
| SELECT MIN(overall) FROM table_name_45 WHERE name = "jack harmon" AND pick__number < 5 |
### Instruction:
CREATE TABLE table_17751942_4 (
years_of_appearance VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year of appearance for the Prince Albert Raiders?
### Response:
| SELECT years_of_appearance FROM table_17751942_4 WHERE team = "Prince Albert Raiders" |
### Instruction:
CREATE TABLE table_21154679_1 (
torque VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the s7 4.0 tfsi quattro engine torque?
### Response:
| SELECT torque FROM table_21154679_1 WHERE model = "S7 4.0 TFSI quattro" |
### Instruction:
CREATE TABLE table_name_34 (
margin_of_victory VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the margin of victory of the tournament on 15 Jul 2007?
### Response:
| SELECT margin_of_victory FROM table_name_34 WHERE date = "15 jul 2007" |
### Instruction:
CREATE TABLE table_19681738_1 (
total VARCHAR,
hancock__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was total considered when hancock # was 1394
### Response:
| SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394 |
### Instruction:
CREATE TABLE table_21995420_6 (
stunts VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many stunts have a total of 201.5?
### Response:
| SELECT COUNT(stunts) FROM table_21995420_6 WHERE total = "201.5" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.