instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_202_240 (
id number,
"year" number,
"single" text,
"chart" text,
"position" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many singles from dosage appeared on the modern rock tracks charts ?
### Response:
|
SELECT COUNT("single") FROM table_202_240 WHERE "chart" = 'modern rock tracks'
|
### Instruction:
CREATE TABLE table_80110 (
"Hits" real,
"Player" text,
"Team" text,
"Year" real,
"Years Record Stood" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the hits for years before 1883
### Response:
|
SELECT "Hits" FROM table_80110 WHERE "Year" < '1883'
|
### Instruction:
CREATE TABLE table_name_43 (
points INTEGER,
record VARCHAR,
game__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of points of the game less than number 17 with an 11-6-0 record?
### Response:
|
SELECT SUM(points) FROM table_name_43 WHERE record = "11-6-0" AND game__number < 17
|
### Instruction:
CREATE TABLE table_name_79 (
avg_g INTEGER,
name VARCHAR,
long VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the amount of Avg/G with a Name of blaine gabbert and a Long greater than 30?
### Response:
|
SELECT SUM(avg_g) FROM table_name_79 WHERE name = "blaine gabbert" AND long > 30
|
### Instruction:
CREATE TABLE table_55913 (
"Date" text,
"Name" text,
"Flag" text,
"Tonnage (GRT)" real,
"Sunk by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for the name of Granville?
### Response:
|
SELECT "Date" FROM table_55913 WHERE "Name" = 'granville'
|
### Instruction:
CREATE TABLE table_name_77 (
club_province VARCHAR,
date_of_birth__age_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the club/province of the player born on 12 May 1984?
### Response:
|
SELECT club_province FROM table_name_77 WHERE date_of_birth__age_ = "12 may 1984"
|
### Instruction:
CREATE TABLE table_38022 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Grid for Rubens Barrichello?
### Response:
|
SELECT "Grid" FROM table_38022 WHERE "Driver" = 'rubens barrichello'
|
### Instruction:
CREATE TABLE table_name_76 (
attendance VARCHAR,
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total attendance at games against the New York Mets with a record of 18-18?
### Response:
|
SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18"
|
### Instruction:
CREATE TABLE table_31903 (
"Round" text,
"Match" text,
"Name" text,
"Team 1" text,
"!!Team 2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team one for preliminary final
### Response:
|
SELECT "Team 1" FROM table_31903 WHERE "Name" = 'preliminary final'
|
### Instruction:
CREATE TABLE book (
book_id number,
title text,
issues number,
writer text
)
CREATE TABLE publication (
publication_id number,
book_id number,
publisher text,
publication_date text,
price number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the titles of the books in ascending order of issues.
### Response:
|
SELECT title FROM book ORDER BY issues
|
### Instruction:
CREATE TABLE table_21995420_9 (
stunts VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number?
### Response:
|
SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats"
|
### Instruction:
CREATE TABLE table_name_51 (
grid VARCHAR,
time VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Grid, when Time is +43.191, and when Laps is less than 22?
### Response:
|
SELECT COUNT(grid) FROM table_name_51 WHERE time = "+43.191" AND laps < 22
|
### Instruction:
CREATE TABLE table_71535 (
"Name" text,
"Country" text,
"Status" text,
"Transfer window" text,
"Transfer fee" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the source for Laird?
### Response:
|
SELECT "Source" FROM table_71535 WHERE "Name" = 'laird'
|
### Instruction:
CREATE TABLE table_23050383_1 (
innovation VARCHAR,
economic_incentive_regime VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the innovation when the economic incentive grime is 7.14?
### Response:
|
SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14"
|
### Instruction:
CREATE TABLE table_name_83 (
runner_up VARCHAR,
country VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?
### Response:
|
SELECT runner_up FROM table_name_83 WHERE country = "england" AND venue = "royal porthcawl golf club"
|
### Instruction:
CREATE TABLE table_204_631 (
id number,
"#" number,
"title" text,
"english translation" text,
"original album" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many albums did not have a time length ?
### Response:
|
SELECT COUNT("title") FROM table_204_631 WHERE "length" IS NULL
|
### Instruction:
CREATE TABLE table_name_28 (
socket VARCHAR,
part_number_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of socket is on the microprocessor with a part number of 80526pz533256?
### Response:
|
SELECT socket FROM table_name_28 WHERE part_number_s_ = "80526pz533256"
|
### Instruction:
CREATE TABLE table_name_34 (
winner VARCHAR,
fis_nordic_world_ski_championships VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the men's ski jump when the FIS Nordic World Ski Championships was 1980?
### Response:
|
SELECT winner FROM table_name_34 WHERE fis_nordic_world_ski_championships = "1980"
|
### Instruction:
CREATE TABLE table_80329 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"Term in office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- To what party does Ralph Jacobi belong?
### Response:
|
SELECT "Party" FROM table_80329 WHERE "Member" = 'ralph jacobi'
|
### Instruction:
CREATE TABLE table_8069 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is Tom Kite from?
### Response:
|
SELECT "Country" FROM table_8069 WHERE "Player" = 'tom kite'
|
### Instruction:
CREATE TABLE table_2562572_37 (
population__2011_ VARCHAR,
cyrillic_name_other_names VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the population for
### Response:
|
SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово"
|
### Instruction:
CREATE TABLE table_9178 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Home team of tranmere rovers?
### Response:
|
SELECT "Date" FROM table_9178 WHERE "Home team" = 'tranmere rovers'
|
### Instruction:
CREATE TABLE table_name_95 (
year INTEGER,
round VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Ivanovic win with Ivanovic greater than 4 and round of R16?
### Response:
|
SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"
|
### Instruction:
CREATE TABLE table_27495117_3 (
team VARCHAR,
date_of_appointment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams had an appointment date of 11 april 2011
### Response:
|
SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = "11 April 2011"
|
### Instruction:
CREATE TABLE table_47650 (
"Year" real,
"Publication" text,
"Country" text,
"Accolade" text,
"Rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country got accolades in 2002?
### Response:
|
SELECT "Country" FROM table_47650 WHERE "Year" = '2002'
|
### Instruction:
CREATE TABLE table_201_44 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which of elizabeth berkley 's films got her the most award nominations ?
### Response:
|
SELECT "title" FROM table_201_44 ORDER BY "notes" DESC LIMIT 1
|
### Instruction:
CREATE TABLE school (
school VARCHAR,
TYPE VARCHAR,
school_id VARCHAR
)
CREATE TABLE school_bus (
school VARCHAR,
TYPE VARCHAR,
school_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the school name and type for schools without a school bus.
### Response:
|
SELECT school, TYPE FROM school WHERE NOT school_id IN (SELECT school_id FROM school_bus)
|
### Instruction:
CREATE TABLE table_6913 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is varricchio's unit?
### Response:
|
SELECT "Unit" FROM table_6913 WHERE "Authors" = 'varricchio'
|
### Instruction:
CREATE TABLE table_203_257 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many people came to the home opener ?
### Response:
|
SELECT "attendance" FROM table_203_257 WHERE id = 1
|
### Instruction:
CREATE TABLE table_name_41 (
venue VARCHAR,
gross_revenue__2012_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Venue has a Gross Revenue (2012) of $179,712?
### Response:
|
SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712"
|
### Instruction:
CREATE TABLE table_name_81 (
record VARCHAR,
date VARCHAR,
decision VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has a decision of parent, Philadelphia as the home, with december 12 as the date?
### Response:
|
SELECT record FROM table_name_81 WHERE decision = "parent" AND home = "philadelphia" AND date = "december 12"
|
### Instruction:
CREATE TABLE table_203_577 (
id number,
"tenure" text,
"coach" text,
"years" number,
"record" text,
"pct." number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the average number of years served by a coach ?
### Response:
|
SELECT AVG("years") FROM table_203_577
|
### Instruction:
CREATE TABLE table_10284385_1 (
representative VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which representative has a birthday of January 31, 1866?
### Response:
|
SELECT representative FROM table_10284385_1 WHERE date_of_birth = "January 31, 1866"
|
### Instruction:
CREATE TABLE table_name_85 (
laps INTEGER,
time_retired VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many laps have a time/retired of +1 lap and mark blundell is the driver?
### Response:
|
SELECT AVG(laps) FROM table_name_85 WHERE time_retired = "+1 lap" AND driver = "mark blundell"
|
### Instruction:
CREATE TABLE table_name_89 (
time INTEGER,
year VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the greatest Time with a Year of 1991, and Event of 4x100 m relay?
### Response:
|
SELECT MAX(time) FROM table_name_89 WHERE year = 1991 AND event = "4x100 m relay"
|
### Instruction:
CREATE TABLE table_60749 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What even was held in Valencia, Spain?
### Response:
|
SELECT "Event" FROM table_60749 WHERE "Venue" = 'valencia, spain'
|
### Instruction:
CREATE TABLE table_43756 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has a Position smaller than 2?
### Response:
|
SELECT "Name" FROM table_43756 WHERE "Position" < '2'
|
### Instruction:
CREATE TABLE table_62289 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What home team has blackpool as the away team?
### Response:
|
SELECT "Home team" FROM table_62289 WHERE "Away team" = 'blackpool'
|
### Instruction:
CREATE TABLE table_78484 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the time/retired for constructor source:?
### Response:
|
SELECT "Time/Retired" FROM table_78484 WHERE "Constructor" = 'source:'
|
### Instruction:
CREATE TABLE table_1831262_2 (
hydroxymatairesinol VARCHAR,
sesamin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of hydroxymatairesinol where sesamin is 62724?
### Response:
|
SELECT hydroxymatairesinol FROM table_1831262_2 WHERE sesamin = "62724"
|
### Instruction:
CREATE TABLE table_58149 (
"Name" text,
"Founded" real,
"Institution" text,
"Location" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What institution is located in athens, ga, us?
### Response:
|
SELECT "Institution" FROM table_58149 WHERE "Location" = 'athens, ga, us'
|
### Instruction:
CREATE TABLE table_59849 (
"Date" text,
"Ship" text,
"Nationality" text,
"Tonnage" real,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Yugoslavia's fate?
### Response:
|
SELECT "Fate" FROM table_59849 WHERE "Nationality" = 'yugoslavia'
|
### Instruction:
CREATE TABLE table_48098 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were grid 7's laps?
### Response:
|
SELECT MIN("Laps") FROM table_48098 WHERE "Grid" = '7'
|
### Instruction:
CREATE TABLE table_9737 (
"Season" text,
"Winner" text,
"Prize" text,
"Runner-Up" text,
"3rd place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Prize, when Season is '2'?
### Response:
|
SELECT "Prize" FROM table_9737 WHERE "Season" = '2'
|
### Instruction:
CREATE TABLE table_27319183_7 (
official_itv_rating__millions_ VARCHAR,
episode VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the official itv ratings in millions for semi-final 5?
### Response:
|
SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 5"
|
### Instruction:
CREATE TABLE table_name_32 (
joint_music_award VARCHAR,
total VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007?
### Response:
|
SELECT joint_music_award FROM table_name_32 WHERE total > 18 AND year > 2007
|
### Instruction:
CREATE TABLE table_15368 (
"Category" text,
"Film" text,
"Director(s)" text,
"Country" text,
"Nominating Festival" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which director made Mi-temps?
### Response:
|
SELECT "Director(s)" FROM table_15368 WHERE "Film" = 'mi-temps'
|
### Instruction:
CREATE TABLE table_name_57 (
class VARCHAR,
erp_w VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the class of the translator with 10 ERP W and a call sign of w273bl?
### Response:
|
SELECT class FROM table_name_57 WHERE erp_w = 10 AND call_sign = "w273bl"
|
### Instruction:
CREATE TABLE table_1610301_1 (
population__2011_ INTEGER,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the minimum population in 2011 of the district of Prakasam?
### Response:
|
SELECT MIN(population__2011_) FROM table_1610301_1 WHERE district = "Prakasam"
|
### Instruction:
CREATE TABLE table_name_33 (
set_3 VARCHAR,
date VARCHAR,
set_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Set 3 with a Date of 04 oct, and a Set 2 with 15 5?
### Response:
|
SELECT set_3 FROM table_name_33 WHERE date = "04 oct" AND set_2 = "15–5"
|
### Instruction:
CREATE TABLE table_name_15 (
goals_for INTEGER,
points VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals were scored by the team that played less than 38 games, and had points of 47+9?
### Response:
|
SELECT MAX(goals_for) FROM table_name_15 WHERE points = "47+9" AND played < 38
|
### Instruction:
CREATE TABLE table_7665 (
"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 Region with a Catalog of alca-487?
### Response:
|
SELECT "Region" FROM table_7665 WHERE "Catalog" = 'alca-487'
|
### Instruction:
CREATE TABLE table_1425958_1 (
density__pop_km²_ VARCHAR,
_percentage_change VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the change is 8.8%, what is the density (pop/km )?
### Response:
|
SELECT density__pop_km²_ FROM table_1425958_1 WHERE _percentage_change = "8.8"
|
### Instruction:
CREATE TABLE table_14685 (
"Year" real,
"Award" text,
"Category" text,
"Motive" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the motive before 2007?
### Response:
|
SELECT "Motive" FROM table_14685 WHERE "Year" < '2007'
|
### Instruction:
CREATE TABLE table_name_59 (
earnings___$__ VARCHAR,
tournaments_played VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2012 amount of earnings corresponds with less than 28 tournaments played?
### Response:
|
SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "2012"
|
### Instruction:
CREATE TABLE table_21163 (
"Position" real,
"Driver / Passenger" text,
"Equipment" text,
"Bike No" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the equipment for bike number 6
### Response:
|
SELECT "Equipment" FROM table_21163 WHERE "Bike No" = '6'
|
### Instruction:
CREATE TABLE table_3289 (
"Pick #" real,
"MLS Team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players are affiliated with indiana university?
### Response:
|
SELECT COUNT("Player") FROM table_3289 WHERE "Affiliation" = 'Indiana University'
|
### Instruction:
CREATE TABLE table_204_593 (
id number,
"year" text,
"chairperson" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long was paidsetti jayanthi the chairperson of this municipality ?
### Response:
|
SELECT "year" - "year" FROM table_204_593 WHERE "chairperson" = 'paidisettijayanthi'
|
### Instruction:
CREATE TABLE table_8013 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when away team is Crystal Palace?
### Response:
|
SELECT "Score" FROM table_8013 WHERE "Away team" = 'crystal palace'
|
### Instruction:
CREATE TABLE table_48399 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What region goes along with January 1974?
### Response:
|
SELECT "Region" FROM table_48399 WHERE "Date" = 'january 1974'
|
### Instruction:
CREATE TABLE table_48429 (
"Name" text,
"Daytime" text,
"Evening" text,
"Saturday" text,
"Sunday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Daytime which has a Name of exmouth?
### Response:
|
SELECT "Daytime" FROM table_48429 WHERE "Name" = 'exmouth'
|
### Instruction:
CREATE TABLE table_204_266 (
id number,
"#" number,
"event year" number,
"season" text,
"flag bearer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the last flag bearer for georgia ?
### Response:
|
SELECT "flag bearer" FROM table_204_266 ORDER BY "event year" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_11230937_2 (
us_viewers__millions_ VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of viewers watched the episode directed by Anthony Hemingway?
### Response:
|
SELECT us_viewers__millions_ FROM table_11230937_2 WHERE directed_by = "Anthony Hemingway"
|
### Instruction:
CREATE TABLE table_204_235 (
id number,
"season" text,
"team" text,
"country" text,
"competition" text,
"matches" number,
"goals" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of matches ?
### Response:
|
SELECT SUM("matches") FROM table_204_235
|
### Instruction:
CREATE TABLE table_name_73 (
event VARCHAR,
games VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event in the 2000 Sydney games was in the category gete wami category:articles with hcards?
### Response:
|
SELECT event FROM table_name_73 WHERE games = "2000 sydney" AND name = "gete wami category:articles with hcards"
|
### Instruction:
CREATE TABLE table_name_71 (
year VARCHAR,
venue VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels?
### Response:
|
SELECT COUNT(year) FROM table_name_71 WHERE venue = "sydney cricket ground" AND opponent = "parramatta eels"
|
### Instruction:
CREATE TABLE table_54563 (
"Name" text,
"Current version" text,
"System" text,
"Platform" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What system has a current version of 1.4e?
### Response:
|
SELECT "System" FROM table_54563 WHERE "Current version" = '1.4e'
|
### Instruction:
CREATE TABLE table_name_19 (
bowling_figures_wickets_runs__overs_ VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the bowling figures for the competition at Pietermaritzburg?
### Response:
|
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_19 WHERE venue = "pietermaritzburg"
|
### Instruction:
CREATE TABLE table_203_569 (
id number,
"designation" text,
"classification" text,
"constellation" text,
"apparent magnitude" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what constellation appears last on this table ?
### Response:
|
SELECT "constellation" FROM table_203_569 ORDER BY id DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_25695027_1 (
valves VARCHAR,
years_built VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many types of valves were used on this engine that was built on 1902-05?
### Response:
|
SELECT COUNT(valves) FROM table_25695027_1 WHERE years_built = "1902-05"
|
### Instruction:
CREATE TABLE table_15233 (
"Name" text,
"Years" text,
"A-League" text,
"Finals" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total appearances did Grant Brebner have?
### Response:
|
SELECT "Total" FROM table_15233 WHERE "Name" = 'grant brebner'
|
### Instruction:
CREATE TABLE table_79601 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank of the Rowers with FA as Notes?
### Response:
|
SELECT AVG("Rank") FROM table_79601 WHERE "Notes" = 'fa'
|
### Instruction:
CREATE TABLE table_name_28 (
lead_pitch_mm INTEGER,
body_width_mm INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lead Pitch/mm has a Body Width/mm larger than 10.16?
### Response:
|
SELECT SUM(lead_pitch_mm) FROM table_name_28 WHERE body_width_mm > 10.16
|
### Instruction:
CREATE TABLE table_63788 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Law Hiu Fung's time?
### Response:
|
SELECT "Time" FROM table_63788 WHERE "Athlete" = 'law hiu fung'
|
### Instruction:
CREATE TABLE table_67028 (
"Title" text,
"Year" text,
"Developer" text,
"Publisher" text,
"Platform" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What publisher does Paleo Entertainment develop for?
### Response:
|
SELECT "Publisher" FROM table_67028 WHERE "Developer" = 'paleo entertainment'
|
### Instruction:
CREATE TABLE table_63197 (
"Artist" text,
"Album" text,
"Track(s)" text,
"Date" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Label that has an Album of so red the rose?
### Response:
|
SELECT "Label" FROM table_63197 WHERE "Album" = 'so red the rose'
|
### Instruction:
CREATE TABLE table_name_29 (
top_5 INTEGER,
position VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?
### Response:
|
SELECT AVG(top_5) FROM table_name_29 WHERE position = "52nd" AND year < 2000
|
### Instruction:
CREATE TABLE table_2417445_4 (
reason_for_vacancy VARCHAR,
vacator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When frederick remann (r) is the vacator what is the reason for vacancy?
### Response:
|
SELECT reason_for_vacancy FROM table_2417445_4 WHERE vacator = "Frederick Remann (R)"
|
### Instruction:
CREATE TABLE table_66863 (
"Player" text,
"Years" text,
"Goals" real,
"Assists" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many assists does David Tomlinson have?
### Response:
|
SELECT SUM("Assists") FROM table_66863 WHERE "Player" = 'david tomlinson'
|
### Instruction:
CREATE TABLE table_11964263_13 (
high_points VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the high points for toyota center 18,269?
### Response:
|
SELECT high_points FROM table_11964263_13 WHERE location_attendance = "Toyota Center 18,269"
|
### Instruction:
CREATE TABLE table_64118 (
"Date of release" text,
"Title" text,
"Billboard peak" text,
"RIAA cert." text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was god & guns released?
### Response:
|
SELECT "Date of release" FROM table_64118 WHERE "Title" = 'god & guns'
|
### Instruction:
CREATE TABLE table_67410 (
"Date" text,
"Opponent" text,
"Result" text,
"Game Site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does CF Pachuca play?
### Response:
|
SELECT "Game Site" FROM table_67410 WHERE "Opponent" = 'cf pachuca'
|
### Instruction:
CREATE TABLE table_name_26 (
week VARCHAR,
attendance VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week is the opponent the Indianapolis Colts with an attendance of 68,932?
### Response:
|
SELECT COUNT(week) FROM table_name_26 WHERE attendance = "68,932" AND opponent = "indianapolis colts"
|
### Instruction:
CREATE TABLE table_55510 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many grids had more than 61 laps?
### Response:
|
SELECT SUM("Grid") FROM table_55510 WHERE "Laps" > '61'
|
### Instruction:
CREATE TABLE table_62941 (
"Opposing Team" text,
"Against" real,
"Date" text,
"Venue" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round has less than 1 against?
### Response:
|
SELECT "Round" FROM table_62941 WHERE "Against" < '1'
|
### Instruction:
CREATE TABLE table_name_39 (
losses INTEGER,
wins VARCHAR,
south_west_dfl VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Losses have Wins smaller than 6, and a South West DFL of sandford?
### Response:
|
SELECT MIN(losses) FROM table_name_39 WHERE wins < 6 AND south_west_dfl = "sandford"
|
### Instruction:
CREATE TABLE table_67140 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which start has 4 as a rank?
### Response:
|
SELECT "Start" FROM table_67140 WHERE "Rank" = '4'
|
### Instruction:
CREATE TABLE table_8850 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent was on week 2?
### Response:
|
SELECT "Opponent" FROM table_8850 WHERE "Week" < '2'
|
### Instruction:
CREATE TABLE table_203_358 (
id number,
"pos." number,
"athlete" text,
"run 1" number,
"run 2" number,
"total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who finished in first place ?
### Response:
|
SELECT "athlete" FROM table_203_358 WHERE "pos." = 1
|
### Instruction:
CREATE TABLE table_65832 (
"Country" text,
"TV Network(s)" text,
"Series Premiere" text,
"Weekly Schedule" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which TV network was located in Brazil?
### Response:
|
SELECT "TV Network(s)" FROM table_65832 WHERE "Country" = 'brazil'
|
### Instruction:
CREATE TABLE table_name_53 (
match INTEGER,
opponent_team VARCHAR,
home_away VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest match when the away opponent was Dalian Shide Siwu?
### Response:
|
SELECT MAX(match) FROM table_name_53 WHERE opponent_team = "dalian shide siwu" AND home_away = "away"
|
### 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.
-- which competition has the least notes ?
### Response:
|
SELECT "competition" FROM table_204_492 ORDER BY "notes" LIMIT 1
|
### Instruction:
CREATE TABLE table_name_19 (
specific_impulse__s_ VARCHAR,
scenario VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)?
### Response:
|
SELECT specific_impulse__s_ FROM table_name_19 WHERE scenario = "sr-71 at mach 3.2 (wet)"
|
### Instruction:
CREATE TABLE table_name_68 (
runners_up VARCHAR,
semifinalists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whose Runner-up has a Semifinalist of guillermo p rez-rold n andrea gaudenzi?
### Response:
|
SELECT runners_up FROM table_name_68 WHERE semifinalists = "guillermo pérez-roldán andrea gaudenzi"
|
### Instruction:
CREATE TABLE table_13713206_1 (
position INTEGER,
w_l_d VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the position of the club with w-l-d of 6-2-8?
### Response:
|
SELECT MAX(position) FROM table_13713206_1 WHERE w_l_d = "6-2-8"
|
### Instruction:
CREATE TABLE table_56070 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the constructor for time/retired of handling?
### Response:
|
SELECT "Constructor" FROM table_56070 WHERE "Time/Retired" = 'handling'
|
### Instruction:
CREATE TABLE table_43704 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Worldwide Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Director of the Film The Fugitive?
### Response:
|
SELECT "Director" FROM table_43704 WHERE "Title" = 'the fugitive'
|
### Instruction:
CREATE TABLE table_71047 (
"Category" text,
"Film" text,
"Director(s)" text,
"Country" text,
"Nominating Festival" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the director of alt i alt
### Response:
|
SELECT "Director(s)" FROM table_71047 WHERE "Film" = 'alt i alt'
|
### Instruction:
CREATE TABLE table_7964 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the Home Team is Newport County what is the Score?
### Response:
|
SELECT "Score" FROM table_7964 WHERE "Home team" = 'newport county'
|
### Instruction:
CREATE TABLE table_17382360_9 (
location_attendance VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location and attendance at the game where the final score is w 118-112?
### Response:
|
SELECT location_attendance FROM table_17382360_9 WHERE score = "W 118-112"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.