instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_54967 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance when the Forest Green Rovers is the away team?
... | SELECT AVG("Attendance") FROM table_54967 WHERE "Away team" = 'forest green rovers' |
### Instruction:
CREATE TABLE table_name_23 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1996 when the 1994 is A, the 2003 is A, and the 2001 is 1R?
### Response:
| SELECT 1996 FROM table_name_23 WHERE 1994 = "a" AND 2003 = "a" AND 2001 = "1r" |
### Instruction:
CREATE TABLE Student (
Spent INTEGER
)
CREATE TABLE Visits_Restaurant (
Spent INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long does student Linda Smith spend on the restaurant in total?
### Response:
| SELECT SUM(Spent) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" |
### Instruction:
CREATE TABLE table_34005 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for 2004 afc asian cup qualifier
### Response:
| SELECT "Date" FROM table_34005 WHERE "Competition" = '2004 afc asian cup qualifier' |
### Instruction:
CREATE TABLE table_18465 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for first elected in 1944
### Resp... | SELECT "Result" FROM table_18465 WHERE "First elected" = '1944' |
### Instruction:
CREATE TABLE table_name_78 (
bronze INTEGER,
total VARCHAR,
rank VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Bronze, when Rank is greater than 6, when Nation is Italy (ITA), and when Total is le... | SELECT AVG(bronze) FROM table_name_78 WHERE rank > 6 AND nation = "italy (ita)" AND total < 1 |
### Instruction:
CREATE TABLE table_19886 (
"Series Ep." text,
"Episode" real,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the segment b for pressure cookers
### Respons... | SELECT "Segment B" FROM table_19886 WHERE "Segment A" = 'Pressure Cookers' |
### Instruction:
CREATE TABLE table_76062 (
"Player" text,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school/club team has tim kempton as the player?
### Res... | SELECT "School/Club Team" FROM table_76062 WHERE "Player" = 'tim kempton' |
### Instruction:
CREATE TABLE table_213 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What circuit has a race called ii cape south easter troph... | SELECT "Circuit" FROM table_213 WHERE "Race Name" = 'II Cape South Easter Trophy' |
### Instruction:
CREATE TABLE table_name_25 (
title VARCHAR,
rank VARCHAR,
worldwide_gross VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Title of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597?
### Response:
| SELECT title FROM table_name_25 WHERE rank > 11 AND worldwide_gross = "$131,002,597" |
### Instruction:
CREATE TABLE table_174491_2 (
holmenkollen VARCHAR,
fis_nordic_world_ski_championships VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the holmenkollen for the 1982 FIS Nordic World Ski Championships?
### Response:
| SELECT holmenkollen FROM table_174491_2 WHERE fis_nordic_world_ski_championships = "1982" |
### Instruction:
CREATE TABLE table_69081 (
"Date" text,
"Team" text,
"Venue" text,
"Win/Draw/Lose" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the home game against Accrington?
### Response:
| SELECT "Date" FROM table_69081 WHERE "Team" = 'accrington' AND "Venue" = 'home' |
### Instruction:
CREATE TABLE table_204_689 (
id number,
"year" number,
"title" text,
"album" text,
"uk" number,
"b-sides" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what album had the singles i want you to know and again on them ?
### Res... | SELECT "album" FROM table_204_689 WHERE "title" = '"i want you to know"' |
### Instruction:
CREATE TABLE table_203_376 (
id number,
"no." number,
"name" text,
"term of office" text,
"president(s) served under" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long did lee p. brown serve for ?
### Response:
| SELECT "term of office" - "term of office" FROM table_203_376 WHERE "name" = 'lee p. brown' |
### Instruction:
CREATE TABLE table_44520 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Nationality, when Player is 'Andrew Campbell'?
... | SELECT "Nationality" FROM table_44520 WHERE "Player" = 'andrew campbell' |
### Instruction:
CREATE TABLE table_9032 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which tournament was the opponent Lauren Embree?
### Response... | SELECT "Tournament" FROM table_9032 WHERE "Opponent" = 'lauren embree' |
### Instruction:
CREATE TABLE table_34427 (
"Player" text,
"Hometown" text,
"Occupation" text,
"Education" text,
"Game Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For natives of St. Louis, Missouri, what was listed under education?
### ... | SELECT "Education" FROM table_34427 WHERE "Hometown" = 'st. louis, missouri' |
### Instruction:
CREATE TABLE table_57204 (
"Type of sign" text,
"Shape" text,
"Border" text,
"Background colour" text,
"Text/Symbol" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the color of the background of the white border and sign of ... | SELECT "Background colour" FROM table_57204 WHERE "Border" = 'white' AND "Type of sign" = 'information' |
### Instruction:
CREATE TABLE table_15425 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the second leg with an agg of 4-6?
### Response:
| SELECT "2nd leg" FROM table_15425 WHERE "Agg." = '4-6' |
### Instruction:
CREATE TABLE table_19722 (
"Character" text,
"French voice actor" text,
"Italian voice actor" text,
"German voice actor" text,
"Spanish voice actor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the french actor with javier ro... | SELECT COUNT("French voice actor") FROM table_19722 WHERE "Spanish voice actor" = 'Javier Romano' |
### Instruction:
CREATE TABLE table_48522 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score when Team is @ Kansas City-Omaha Kings?
### Response:
| SELECT "Score" FROM table_48522 WHERE "Team" = '@ kansas city-omaha kings' |
### Instruction:
CREATE TABLE table_43060 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Cover model when the Centerfold Model was Marke... | SELECT "Cover model" FROM table_43060 WHERE "Centerfold model" = 'marketa janska' |
### Instruction:
CREATE TABLE table_name_55 (
date VARCHAR,
outcome VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date that has a Outcome of winner, and a la b y kak ay was the opponent in the final?
### Resp... | SELECT date FROM table_name_55 WHERE outcome = "winner" AND opponent_in_the_final = "çağla büyükakçay" |
### Instruction:
CREATE TABLE table_46773 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location of the game on February 2?
### Respo... | SELECT "Location/Attendance" FROM table_46773 WHERE "Date" = 'february 2' |
### Instruction:
CREATE TABLE hosting_city (
host_city VARCHAR,
year INTEGER
)
CREATE TABLE city (
city VARCHAR,
city_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the cities which were once a host city after 2010?
### Response:
| SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T2.year > 2010 |
### Instruction:
CREATE TABLE table_67464 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points Classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points classification for predictor-l... | SELECT "Points Classification" FROM table_67464 WHERE "Team Classification" = 'predictor-lotto' AND "Stage" = '1' |
### Instruction:
CREATE TABLE table_41559 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What RECNet has elk lake as the city of license?
### R... | SELECT "RECNet" FROM table_41559 WHERE "City of license" = 'elk lake' |
### Instruction:
CREATE TABLE table_203_603 (
id number,
"service" text,
"service id" text,
"bit rate" text,
"audio channels" text,
"description" text,
"analogue availability" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which service has ... | SELECT "service" FROM table_203_603 ORDER BY "bit rate" LIMIT 1 |
### Instruction:
CREATE TABLE table_203_325 (
id number,
"year" number,
"title" text,
"(english)" text,
"ifpi israel certification" text,
"label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the certification of the last title on this... | SELECT "ifpi israel certification" FROM table_203_325 ORDER BY id DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_name_94 (
year INTEGER,
seats VARCHAR,
_percentage_votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Year were there 48 of 120 Seats and a % votes larger than 34.18?
### Response:
| SELECT SUM(year) FROM table_name_94 WHERE seats = "48 of 120" AND _percentage_votes > 34.18 |
### Instruction:
CREATE TABLE table_49420 (
"Club" text,
"City" text,
"Stadium" text,
"Capacity" real,
"2007\u201308 season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which stadium does Club Pro Patria play?
### Response:
| SELECT "Stadium" FROM table_49420 WHERE "Club" = 'pro patria' |
### Instruction:
CREATE TABLE table_10183 (
"Year" real,
"Title" text,
"Genre" text,
"Role" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the eula goodnight movie after 1949?
### Response:
| SELECT "Director" FROM table_10183 WHERE "Year" > '1949' AND "Role" = 'eula goodnight' |
### Instruction:
CREATE TABLE table_204_723 (
id number,
"year" number,
"film" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the number of films govinda appeared in during his debut year .
### Response:
| SELECT COUNT("film") FROM table_204_723 WHERE "year" = (SELECT MIN("year") FROM table_204_723) |
### Instruction:
CREATE TABLE table_42467 (
"Player" text,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Years in Orlando for carlos arroyo?
### Response... | SELECT "Years in Orlando" FROM table_42467 WHERE "Player" = 'carlos arroyo' |
### Instruction:
CREATE TABLE table_56245 (
"Locomotive" text,
"Name" text,
"Serial No" text,
"Entered service" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entered service date for serial number 85-1222?
### Response:
| SELECT "Entered service" FROM table_56245 WHERE "Serial No" = '85-1222' |
### Instruction:
CREATE TABLE table_27289 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the party for spencer bachus
### Response:
| SELECT "Party" FROM table_27289 WHERE "Incumbent" = 'Spencer Bachus' |
### Instruction:
CREATE TABLE table_62895 (
"Driver" text,
"Entrant" text,
"Constructor" text,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time/retired for the driver emerson fittipaldi?
### Response:
| SELECT "Time/Retired" FROM table_62895 WHERE "Driver" = 'emerson fittipaldi' |
### Instruction:
CREATE TABLE table_25011 (
"Year" real,
"Song title" text,
"Artist" text,
"Master recording" text,
"NA/UK/AUS/JPN/NL tier" text,
"European tier" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the master recording for europe... | SELECT "Master recording" FROM table_25011 WHERE "Artist" = 'Europe' |
### Instruction:
CREATE TABLE table_54613 (
"Stage" real,
"Date" text,
"Course" text,
"Distance" text,
"Winner" text,
"GC Leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the GC leader at vila - segovia?
### Response:
| SELECT "GC Leader" FROM table_54613 WHERE "Course" = 'ávila - segovia' |
### Instruction:
CREATE TABLE table_26418 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for san diego
### Respons... | SELECT "Score" FROM table_26418 WHERE "Championship" = 'San Diego' |
### Instruction:
CREATE TABLE table_60911 (
"Season" real,
"Years" text,
"Final Standing" real,
"Points" real,
"Top Goal Scorer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the final standing in 1981 82?
### Response:
| SELECT "Final Standing" FROM table_60911 WHERE "Years" = '1981–82' |
### Instruction:
CREATE TABLE table_46036 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest game number when the record was 26-24-9?
### Response:
| SELECT MIN("Game") FROM table_46036 WHERE "Record" = '26-24-9' |
### Instruction:
CREATE TABLE table_55776 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Decision at Anaheim's home game?
##... | SELECT "Decision" FROM table_55776 WHERE "Home" = 'anaheim' |
### Instruction:
CREATE TABLE table_name_58 (
wins INTEGER,
south_west_dfl VARCHAR,
byes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest value for Wins, when South West DFL is 'Cavendish', and when Byes is less than 0?
### Response:
| SELECT MIN(wins) FROM table_name_58 WHERE south_west_dfl = "cavendish" AND byes < 0 |
### Instruction:
CREATE TABLE table_25674 (
"Player" text,
"RR W-L" text,
"Sets W-L" text,
"Games W-L" text,
"Standings" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are Arthur Ashe's games w-l?
### Response:
| SELECT "Games W-L" FROM table_25674 WHERE "Player" = 'Arthur Ashe' |
### Instruction:
CREATE TABLE table_11028 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the 2011 Concacaf Gold Cup competition?
### Response:
| SELECT "Result" FROM table_11028 WHERE "Competition" = '2011 concacaf gold cup' |
### Instruction:
CREATE TABLE table_name_67 (
played VARCHAR,
goals_for VARCHAR,
points VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of played when points of is 31-7, position is 16 and goals for is less than... | SELECT COUNT(played) FROM table_name_67 WHERE points = "31-7" AND position = 16 AND goals_for < 35 |
### Instruction:
CREATE TABLE table_35099 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the district of the incumbent Thomas Larkin Thompson?
### Response:
| SELECT "District" FROM table_35099 WHERE "Incumbent" = 'thomas larkin thompson' |
### Instruction:
CREATE TABLE table_18453 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the district for carl vinson?
### Response:
| SELECT "District" FROM table_18453 WHERE "Incumbent" = 'Carl Vinson' |
### Instruction:
CREATE TABLE table_31322 (
"SAR No." real,
"Builder" text,
"Year" real,
"Works No." real,
"Firebox" text,
"Driver Diameter" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For what year is the SAR no. 874?
### Response:
| SELECT "Year" FROM table_31322 WHERE "SAR No." = '874' |
### Instruction:
CREATE TABLE table_57556 (
"Runs" text,
"Against" text,
"City/Country" text,
"Venue" text,
"Result" text,
"Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the place where adelaide oval is
### Response:
| SELECT "City/Country" FROM table_57556 WHERE "Venue" = 'adelaide oval' |
### Instruction:
CREATE TABLE table_71393 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nationality has a lane of 6 and a rank smaller than 6?
### Response:
| SELECT "Nationality" FROM table_71393 WHERE "Rank" < '6' AND "Lane" = '6' |
### Instruction:
CREATE TABLE table_19637 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in week 4?
### Response... | SELECT "Opponent" FROM table_19637 WHERE "Week" = '4' |
### Instruction:
CREATE TABLE table_name_15 (
country VARCHAR,
mountain VARCHAR,
height__m_ VARCHAR,
range VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain o... | SELECT country FROM table_name_15 WHERE height__m_ > 4100 AND range = "arsi mountains" AND mountain = "bada" |
### Instruction:
CREATE TABLE table_61141 (
"Year" real,
"Winner" text,
"Sport" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was the winner a soccer player from Virginia?
### Response:
| SELECT SUM("Year") FROM table_61141 WHERE "Sport" = 'soccer' AND "College" = 'virginia' |
### Instruction:
CREATE TABLE table_66281 (
"Elector" text,
"Nationality" text,
"Cardinalatial order and title" text,
"Elevated" text,
"Elevator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cardinalatial order and title of bosone?
#... | SELECT "Cardinalatial order and title" FROM table_66281 WHERE "Elector" = 'bosone' |
### Instruction:
CREATE TABLE table_40300 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Mean attendance for December 22, 1980?
### Response:
| SELECT AVG("Attendance") FROM table_40300 WHERE "Date" = 'december 22, 1980' |
### Instruction:
CREATE TABLE table_18 (
"Equivalent NATO Rank Code" text,
"Rank in Spanish" text,
"Rank in English" text,
"Commonwealth equivalent" text,
"US Air Force equivalent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What could a spanish ... | SELECT "Commonwealth equivalent" FROM table_18 WHERE "Rank in Spanish" = 'Coronel' |
### Instruction:
CREATE TABLE table_name_42 (
season INTEGER,
wins VARCHAR,
ties VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Season has Ties smaller than 1, and a Team of vancouver grizzlies, and Wins smaller than 1?
### Resp... | SELECT SUM(season) FROM table_name_42 WHERE ties < 1 AND team = "vancouver grizzlies" AND wins < 1 |
### Instruction:
CREATE TABLE table_57813 (
"Year" real,
"Theme" text,
"Artist" text,
"Composition" text,
"Mintage" real,
"Issue Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which artist has a Mintage of 500?
### Response:
| SELECT "Artist" FROM table_57813 WHERE "Mintage" = '500' |
### Instruction:
CREATE TABLE table_35806 (
"Game" real,
"October" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich October has a Record of 1 0 0?
### Response:
| SELECT MIN("October") FROM table_35806 WHERE "Record" = '1–0–0' |
### Instruction:
CREATE TABLE table_204_162 (
id number,
"team" text,
"constructor" text,
"motorcycle" text,
"tyres" text,
"no" number,
"rider" text,
"rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the total number of te... | SELECT COUNT("team") FROM table_204_162 |
### Instruction:
CREATE TABLE table_70699 (
"Race" text,
"Position" text,
"Time (HH:MM:SS)" text,
"Speed (Mph)" text,
"Replica" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Replica has a race of supersport race 1?
### Response:
| SELECT "Replica" FROM table_70699 WHERE "Race" = 'supersport race 1' |
### Instruction:
CREATE TABLE table_53271 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the away team score for home team of univers... | SELECT "Away team score" FROM table_53271 WHERE "Home team" = 'university' |
### Instruction:
CREATE TABLE table_58061 (
"Species" text,
"Strain" text,
"Type" text,
"Base Pairs" text,
"Genes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which gene has 4,895,836 base pairs?
### Response:
| SELECT "Genes" FROM table_58061 WHERE "Base Pairs" = '4,895,836' |
### Instruction:
CREATE TABLE table_5111 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has an attendance less than 10,553?
### Response:
| SELECT "Score" FROM table_5111 WHERE "Attendance" < '10,553' |
### Instruction:
CREATE TABLE table_26916 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What numbered pick attended western ontario and is an OL?
### Response:
| SELECT "Pick #" FROM table_26916 WHERE "School" = 'Western Ontario' AND "Position" = 'OL' |
### Instruction:
CREATE TABLE table_name_40 (
capacity INTEGER,
city VARCHAR,
enrollment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average capacity of stadiums in the City of London that belong to schools with an enrollment less than 30,... | SELECT AVG(capacity) FROM table_name_40 WHERE city = "london" AND enrollment < 30 OFFSET 000 |
### Instruction:
CREATE TABLE table_9892 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of games with a record of 20-12?
### Respon... | SELECT AVG("Game") FROM table_9892 WHERE "Record" = '20-12' |
### Instruction:
CREATE TABLE table_15278 (
"Japanese Title" text,
"Developer" text,
"Publisher" text,
"Genre" text,
"Console(s)" text,
"Initial Release Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what genre did Microvision develop a... | SELECT "Genre" FROM table_15278 WHERE "Developer" = 'microvision' |
### Instruction:
CREATE TABLE table_3219 (
"Season" text,
"Winner" text,
"Runner-up" text,
"Final Score" text,
"3rd place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the runner-up for season 2011 12?
### Response:
| SELECT "Runner-up" FROM table_3219 WHERE "Season" = '2011–12' |
### Instruction:
CREATE TABLE table_name_41 (
position VARCHAR,
player VARCHAR,
club_province VARCHAR,
caps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does ceri sweeney with under 87 caps of the newport gwent dragons play?
### Res... | SELECT position FROM table_name_41 WHERE club_province = "newport gwent dragons" AND caps < 87 AND player = "ceri sweeney" |
### Instruction:
CREATE TABLE table_4649 (
"Name" text,
"City" text,
"Metres" real,
"Feet" real,
"Floors" real,
"Finalized" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest floor for the building measuring 220 meters?
### Res... | SELECT MAX("Floors") FROM table_4649 WHERE "Metres" > '220' |
### Instruction:
CREATE TABLE table_40460 (
"Season" real,
"Team" text,
"Conference" text,
"Head Coach" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was USC's record before the 1967 season?
### Response:
| SELECT "Record" FROM table_40460 WHERE "Team" = 'usc' AND "Season" < '1967' |
### Instruction:
CREATE TABLE table_3600 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district is Joseph Lecompte in office in?
### Res... | SELECT "District" FROM table_3600 WHERE "Incumbent" = 'Joseph Lecompte' |
### Instruction:
CREATE TABLE table_71076 (
"DATE" text,
"SCORE" text,
"H.T." text,
"VENUE" text,
"COMPETITION" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the HT for the game at Stadio Luigi Ferraris?
### Response:
| SELECT "H.T." FROM table_71076 WHERE "VENUE" = 'stadio luigi ferraris' |
### Instruction:
CREATE TABLE table_204_211 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times has chile been awarded ?
### Re... | SELECT "total" FROM table_204_211 WHERE "nation" = 'chile' |
### Instruction:
CREATE TABLE table_202_244 (
id number,
"rank" number,
"title" text,
"studio" text,
"actors" text,
"gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which diane keaton film ranked higher ?
### Response:
| SELECT "title" FROM table_202_244 WHERE "actors" = 'diane keaton' ORDER BY "rank" LIMIT 1 |
### Instruction:
CREATE TABLE table_62019 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was the Attendance 63,546?
### Response:
| SELECT "Date" FROM table_62019 WHERE "Attendance" = '63,546' |
### Instruction:
CREATE TABLE table_16170 (
"County" text,
"Location" text,
"Street Names" text,
"Milepost" text,
"Roads Intersected" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does Route 24 intersect?
### Response:
| SELECT "Location" FROM table_16170 WHERE "Roads Intersected" = 'Route 24' |
### Instruction:
CREATE TABLE table_204_700 (
id number,
"name" text,
"developer" text,
"release" text,
"type" text,
"game flow" text,
"setting" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the only game to be released by fubra ?
... | SELECT "name" FROM table_204_700 WHERE "developer" = 'fubra' |
### Instruction:
CREATE TABLE table_76544 (
"Year" real,
"Date" text,
"Race name" text,
"Winner" text,
"Engine" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did Ted Horn win Lakewood Race 2?
### Response:
| SELECT "Date" FROM table_76544 WHERE "Winner" = 'ted horn' AND "Race name" = 'lakewood race 2' |
### Instruction:
CREATE TABLE table_36744 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the incumbent from the south carolina 1 district first elected?
###... | SELECT "First elected" FROM table_36744 WHERE "District" = 'south carolina 1' |
### Instruction:
CREATE TABLE table_44654 (
"Nat." text,
"Name" text,
"Moving from" text,
"Type" text,
"Transfer window" text,
"Ends" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the nat that ends in 2009?
### Response:
| SELECT "Nat." FROM table_44654 WHERE "Ends" = '2009' |
### Instruction:
CREATE TABLE table_58930 (
"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 the score for Phil Mickelson when he placed t3?
### Response:
| SELECT "Score" FROM table_58930 WHERE "Place" = 't3' AND "Player" = 'phil mickelson' |
### Instruction:
CREATE TABLE table_65215 (
"Nat." text,
"Name" text,
"Type" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Marcell Jansen of the nation GER has what for the type?
### Response:
| SELECT "Type" FROM table_65215 WHERE "Nat." = 'ger' AND "Name" = 'marcell jansen' |
### Instruction:
CREATE TABLE table_204_68 (
id number,
"name" text,
"profession" text,
"hometown" text,
"term expires" number,
"office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- total number of members from lawton and oklahoma city
### R... | SELECT COUNT("name") FROM table_204_68 WHERE "hometown" IN ('lawton', 'oklahoma city') |
### Instruction:
CREATE TABLE table_69624 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance of the game on July 26?
### Response:
| SELECT SUM("Attendance") FROM table_69624 WHERE "Date" = 'july 26' |
### Instruction:
CREATE TABLE table_203_874 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year was korzeniowski 's last competition... | SELECT "year" FROM table_203_874 ORDER BY "year" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_61964 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Anders Forsbrand's score with a to par of +1?
### Response:
| SELECT "Score" FROM table_61964 WHERE "To par" = '+1' AND "Player" = 'anders forsbrand' |
### Instruction:
CREATE TABLE table_71468 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the decision when Chicago was the visiti... | SELECT "Decision" FROM table_71468 WHERE "Visitor" = 'chicago' |
### Instruction:
CREATE TABLE table_65775 (
"Voting order" real,
"Country" text,
"Spokespersons" text,
"Commentator" text,
"Broadcaster" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the voting order when the commentator was renato taglian... | SELECT "Voting order" FROM table_65775 WHERE "Commentator" = 'renato tagliani' |
### Instruction:
CREATE TABLE table_67203 (
"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 the name of the player with t6 as his place and a country of United states?
### ... | SELECT "Player" FROM table_67203 WHERE "Place" = 't6' AND "Country" = 'united states' |
### Instruction:
CREATE TABLE table_41035 (
"Year" real,
"Song" text,
"Canada Singles" text,
"US Hot 100" text,
"US A.C." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the US A.C. in 1974?
### Response:
| SELECT "US A.C." FROM table_41035 WHERE "Year" = '1974' |
### Instruction:
CREATE TABLE table_8730 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds was the fight with a decision by submission (punches)?
... | SELECT "Round" FROM table_8730 WHERE "Method" = 'submission (punches)' |
### Instruction:
CREATE TABLE table_45463 (
"Year" real,
"Seed" real,
"Round" text,
"Opponent" text,
"Result/Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Year, when Opponent is #2 Syracuse?
### Response:
| SELECT MAX("Year") FROM table_45463 WHERE "Opponent" = '#2 syracuse' |
### Instruction:
CREATE TABLE table_13336122_7 (
no_in_season INTEGER,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the season number of the episode watched by 0.57 million US viewers?
### Response:
| SELECT MAX(no_in_season) FROM table_13336122_7 WHERE us_viewers__million_ = "0.57" |
### Instruction:
CREATE TABLE table_10795 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance for the game where the score was 0-6?
### R... | SELECT "Attendance" FROM table_10795 WHERE "Score" = '0-6' |
### Instruction:
CREATE TABLE table_57931 (
"Club/Team" text,
"League" text,
"Venue" text,
"Established" real,
"Premierships" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many premierships for the queensland raceway?
### Response:
| SELECT "Premierships" FROM table_57931 WHERE "Venue" = 'queensland raceway' |
### Instruction:
CREATE TABLE table_64208 (
"Frequency" text,
"Station" text,
"Operator" text,
"Country of origin" text,
"Transmitter location" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the transmitter located for th... | SELECT "Transmitter location" FROM table_64208 WHERE "Station" = 'voice of vietnam' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.