instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_10915 ( "Matches" real, "Innings" real, "Not Outs" real, "Runs" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of Not Outs when there were more than 25 innings? ### Response:
SELECT MIN("Not Outs") FROM table_10915 WHERE "Innings" > '25'
### Instruction: CREATE TABLE table_55487 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was andrea g miz the opponent? ### Response:
SELECT "Date" FROM table_55487 WHERE "Opponent" = 'andrea gámiz'
### Instruction: CREATE TABLE table_27116696_1 ( us_viewers__million_ VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown? ### Response:
SELECT us_viewers__million_ FROM table_27116696_1 WHERE directed_by = "Allison Liddi-Brown"
### Instruction: CREATE TABLE table_55048 ( "Name" text, "Model" text, "Park" text, "Opened" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the model for Thor's Hammer which is listed as operating? ### Response:
SELECT "Model" FROM table_55048 WHERE "Status" = 'operating' AND "Name" = 'thor''s hammer'
### Instruction: CREATE TABLE table_66624 ( "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 Class has the Identifier fo CBFX-FM-2? ### Response:
SELECT "Class" FROM table_66624 WHERE "Identifier" = 'cbfx-fm-2'
### Instruction: CREATE TABLE table_71177 ( "Player" text, "Country" text, "Caps" real, "Goals" text, "Years Active" text, "Years at Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest number of caps for Bruce Djite? ### Response:
SELECT MAX("Caps") FROM table_71177 WHERE "Player" = 'bruce djite'
### Instruction: CREATE TABLE table_6141 ( "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 is the 1st leg of the team with a 2-1 agg.? ### Response:
SELECT "1st leg" FROM table_6141 WHERE "Agg." = '2-1'
### Instruction: CREATE TABLE table_77962 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of bronze when the total is less than 1? ### Response:
SELECT SUM("Bronze") FROM table_77962 WHERE "Total" < '1'
### Instruction: CREATE TABLE table_204_822 ( 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. -- the top ranked nation for total medals won ### Response:
SELECT "nation" FROM table_204_822 ORDER BY "total" DESC LIMIT 1
### Instruction: CREATE TABLE table_204_208 ( id number, "year" text, "title" text, "role" text, "episodes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what title came directly after this morning ? ### Response:
SELECT "title" FROM table_204_208 WHERE id = (SELECT id FROM table_204_208 WHERE "title" = 'this morning') + 1
### Instruction: CREATE TABLE table_72529 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of points for field goals being 1 ### Response:
SELECT COUNT("Points") FROM table_72529 WHERE "Field goals" = '1'
### Instruction: CREATE TABLE table_name_95 ( tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6 4, 6 2? ### Response:
SELECT tournament FROM table_name_95 WHERE outcome = "runner-up" AND surface = "hard" AND score = "6–4, 6–2"
### Instruction: CREATE TABLE table_31528 ( "Episode no." real, "US Airdate" text, "US Total viewers" text, "UK Airdate" text, "UK Total viewers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers in the UK did episode 50 have? ### Response:
SELECT "UK Total viewers" FROM table_31528 WHERE "Episode no." = '50'
### Instruction: CREATE TABLE table_22907 ( "Draw" real, "Country" text, "Language" text, "Artist" text, "Song" text, "English translation" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the English translation is hello girl, what was the language? ### Response:
SELECT "Language" FROM table_22907 WHERE "English translation" = 'Hello girl'
### Instruction: CREATE TABLE table_200_35 ( id number, "party" text, "active voters" number, "inactive voters" number, "total voters" number, "percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- as of october 25 , 2005 , how many active voters are there ? ### Response:
SELECT SUM("active voters") FROM table_200_35
### Instruction: CREATE TABLE table_54944 ( "Year" real, "Artist" text, "Composition" text, "Mintage" real, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Artist Steve Hepburn's Mintage? ### Response:
SELECT SUM("Mintage") FROM table_54944 WHERE "Artist" = 'steve hepburn'
### Instruction: CREATE TABLE table_68433 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the winner of the prize of 200,000 as listed? ### Response:
SELECT "Winner" FROM table_68433 WHERE "Prize" = '£200,000'
### Instruction: CREATE TABLE table_41622 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IATA for Benghazi, Libya? ### Response:
SELECT "IATA" FROM table_41622 WHERE "Country" = 'libya' AND "City" = 'benghazi'
### Instruction: CREATE TABLE table_35972 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a points average with 0 extra points and 0 field goals? ### Response:
SELECT AVG("Points") FROM table_35972 WHERE "Extra points" = '0' AND "Field goals" > '0'
### Instruction: CREATE TABLE table_21143 ( "Country" text, "Name" text, "Network" text, "Premiere" text, "Host(s)" text, "Judges" text, "Seasons and Winners" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the host for prime ### Response:
SELECT "Host(s)" FROM table_21143 WHERE "Network" = 'Prime'
### Instruction: CREATE TABLE table_76540 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week was the finalist Martina Hingis? ### Response:
SELECT "Week" FROM table_76540 WHERE "Finalist" = 'martina hingis'
### Instruction: CREATE TABLE table_39403 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks have an Overall of 114? ### Response:
SELECT COUNT("Pick #") FROM table_39403 WHERE "Overall" = '114'
### Instruction: CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the race class and number of races in each class with a bar chart. ### Response:
SELECT Class, COUNT(*) FROM race GROUP BY Class
### Instruction: CREATE TABLE table_1480455_1 ( area__km_2__ VARCHAR, population_density___km_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area (km 2) where the population density (/mk2) is 84.3? ### Response:
SELECT area__km_2__ FROM table_1480455_1 WHERE population_density___km_2__ = "84.3"
### 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_25382 ( "No." real, "Player" text, "Position" text, "Height" text, "Weight" real, "Class" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the player's who weighed 170? ### Response:
SELECT "Player" FROM table_25382 WHERE "Weight" = '170'
### Instruction: CREATE TABLE table_76804 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when the Cincinnati Bengals were the opponents? ### Response:
SELECT "Attendance" FROM table_76804 WHERE "Opponent" = 'cincinnati bengals'
### Instruction: CREATE TABLE table_name_47 ( overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Position of defensive tackle, and a Round of 4, and a Pick # smaller than 36 has what overall average? ### Response:
SELECT AVG(overall) FROM table_name_47 WHERE position = "defensive tackle" AND round = 4 AND pick__number < 36
### Instruction: CREATE TABLE table_69496 ( "Game" real, "Date" text, "Score" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Attendance larger than 55,189 is which average game? ### Response:
SELECT AVG("Game") FROM table_69496 WHERE "Attendance" > '55,189'
### Instruction: CREATE TABLE table_36317 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Score in the game against the Buffalo Sabres? ### Response:
SELECT "Score" FROM table_36317 WHERE "Opponent" = 'buffalo sabres'
### Instruction: CREATE TABLE table_71517 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which runner-up has a 10 strokes margin of victory? ### Response:
SELECT "Runner-up" FROM table_71517 WHERE "Margin of victory" = '10 strokes'
### Instruction: CREATE TABLE table_42191 ( "Name" text, "Start of Reign" real, "End of Reign" text, "Birth Name" text, "Title" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the end of reign for Dimitar Stojkovski? ### Response:
SELECT "End of Reign" FROM table_42191 WHERE "Birth Name" = 'dimitar stojkovski'
### Instruction: CREATE TABLE table_57816 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent in the Tournament of Lahore final? ### Response:
SELECT "Opponent in the final" FROM table_57816 WHERE "Tournament" = 'lahore'
### Instruction: CREATE TABLE table_61292 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is week 1 if week 3 is Natasha Budhi? ### Response:
SELECT "Week 1" FROM table_61292 WHERE "Week 3" = 'natasha budhi'
### Instruction: CREATE TABLE table_42223 ( "Former kingdom" text, "Province" text, "Hangul" text, "Hanja" text, "Capital" text, "Modern equivalent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the capital of the province with in Hanja? ### Response:
SELECT "Capital" FROM table_42223 WHERE "Hanja" = '漢州'
### Instruction: CREATE TABLE table_13951 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date for the tournament jou -l s-tours? ### Response:
SELECT "Date" FROM table_13951 WHERE "Tournament" = 'joué-lès-tours'
### Instruction: CREATE TABLE table_1840495_2 ( number_of_households VARCHAR, per_capita_income VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a per capita income of $30,298, what was the total number of households? ### Response:
SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298"
### Instruction: CREATE TABLE table_name_43 ( semi_finalists VARCHAR, week_of VARCHAR, runner_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the semi finalists on the week of 12 june, when the runner-up is listed as Lori McNeil? ### Response:
SELECT semi_finalists FROM table_name_43 WHERE week_of = "12 june" AND runner_up = "lori mcneil"
### Instruction: CREATE TABLE table_name_56 ( points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85? ### Response:
SELECT MAX(points) FROM table_name_56 WHERE grid > 7 AND driver = "alex tagliani" AND laps < 85
### Instruction: CREATE TABLE table_21370 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the census ranking(s) for a population of 284? ### Response:
SELECT "Census Ranking" FROM table_21370 WHERE "Population" = '284'
### Instruction: CREATE TABLE table_204_479 ( id number, "defendant" text, "arrested" text, "charge" text, "result" text, "sentence" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the only defendant who was tried and found not guilty ? ### Response:
SELECT "defendant" FROM table_204_479 WHERE "result" = 'tried, found not guilty'
### Instruction: CREATE TABLE table_name_4 ( player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963 ? ### Response:
SELECT player FROM table_name_4 WHERE rank = "t12" AND country = "taiwan" AND lifespan = "1963–"
### Instruction: CREATE TABLE journal ( journal_id number, date text, theme text, sales number ) CREATE TABLE journal_committee ( editor_id number, journal_id number, work_type text ) CREATE TABLE editor ( editor_id number, name text, age number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names and ages of editors? ### Response:
SELECT name, age FROM editor
### Instruction: CREATE TABLE table_35649 ( "Season" real, "Episodes" real, "First air date" text, "Last air date" text, "Timeslot" text, "DVD Release" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the last episode air date for season 3? ### Response:
SELECT "Last air date" FROM table_35649 WHERE "Season" = '3'
### Instruction: CREATE TABLE table_7321 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Outcome of the match played on Hard (i) Surface? ### Response:
SELECT "Outcome" FROM table_7321 WHERE "Surface" = 'hard (i)'
### Instruction: CREATE TABLE table_55939 ( "Rank" real, "Name" text, "Nation" text, "Placings" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who has a rank great than 3 and a placing of 64? ### Response:
SELECT "Name" FROM table_55939 WHERE "Rank" > '3' AND "Placings" = '64'
### Instruction: CREATE TABLE table_name_99 ( league_cup INTEGER, fa_cup VARCHAR, championship VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest league up with less than 3 championships, a total less than 2, and a FA cup larger than 0? ### Response:
SELECT MAX(league_cup) FROM table_name_99 WHERE championship < 3 AND total < 2 AND fa_cup > 0
### Instruction: CREATE TABLE table_43140 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game with the Broadview Hawks as the home team? ### Response:
SELECT "Score" FROM table_43140 WHERE "Home" = 'broadview hawks'
### Instruction: CREATE TABLE table_18357 ( "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. -- List all results where the voting district is Maryland 7. ### Response:
SELECT "Result" FROM table_18357 WHERE "District" = 'Maryland 7'
### Instruction: CREATE TABLE table_name_23 ( silver VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller than 3? ### Response:
SELECT COUNT(silver) FROM table_name_23 WHERE total < 15 AND rank < 5 AND bronze = 4 AND gold < 3
### Instruction: CREATE TABLE table_204_576 ( id number, "year" number, "best" text, "location" text, "date" text, "world rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which location has the best time other than brussels ? ### Response:
SELECT "location" FROM table_204_576 WHERE "location" <> 'brussels' ORDER BY "best" LIMIT 1
### Instruction: CREATE TABLE table_name_55 ( fiscal_year INTEGER, headquarters VARCHAR, employees VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Fiscal Year of the firm Headquartered in noida, with less than 85,335 employees? ### Response:
SELECT AVG(fiscal_year) FROM table_name_55 WHERE headquarters = "noida" AND employees < 85 OFFSET 335
### Instruction: CREATE TABLE table_15731 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date did they have a record of 12-17? ### Response:
SELECT "Date" FROM table_15731 WHERE "Record" = '12-17'
### Instruction: CREATE TABLE table_70393 ( "Overall place" text, "Yacht name" text, "Skipper" text, "Points" text, "Combined elapsed time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Overall place has a Yacht name of lg flatron? ### Response:
SELECT "Overall place" FROM table_70393 WHERE "Yacht name" = 'lg flatron'
### Instruction: CREATE TABLE table_18240 ( "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 party did Beau Boulter represent? ### Response:
SELECT "Party" FROM table_18240 WHERE "Incumbent" = 'Beau Boulter'
### Instruction: CREATE TABLE table_19170 ( "Song title" text, "Artist" text, "Language" text, "Decade" text, "Genre" text, "Exportable" text, "Family Friendly" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language for the glam genre? ### Response:
SELECT "Language" FROM table_19170 WHERE "Genre" = 'Glam'
### Instruction: CREATE TABLE table_204_801 ( id number, "year" number, "derby\nwinner" text, "galaxy" number, "draw" number, "chivas" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has galaxy won the derby ? ### Response:
SELECT COUNT(*) FROM table_204_801 WHERE "derby\nwinner" = 'galaxy'
### Instruction: CREATE TABLE table_12473 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What state is Ding and has a royal house of Ji? ### Response:
SELECT "State" FROM table_12473 WHERE "Royal house" = 'ji' AND "Name" = 'ding'
### 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_10007452_3 ( fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)? ### Response:
SELECT fuel_propulsion FROM table_10007452_3 WHERE fleet_series__quantity_ = "310-329 (20)"
### Instruction: CREATE TABLE table_203_330 ( id number, "year of election" number, "candidates elected" number, "# of seats available" number, "# of votes" number, "% of popular vote" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- year with largest number of candidates selected ### Response:
SELECT "year of election" FROM table_203_330 ORDER BY "candidates elected" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_93 ( year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Year born (Age) for the player who is taller than 2.04 and currently plays for the Los Angeles Clippers? ### Response:
SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_club = "los angeles clippers"
### Instruction: CREATE TABLE table_name_52 ( fall_08 VARCHAR, fall_06 VARCHAR, fall_05 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number is Fall 08 from the state with 57 in Fall 06 and 74 or less in Fall 05? ### Response:
SELECT COUNT(fall_08) FROM table_name_52 WHERE fall_06 = 57 AND fall_05 < 74
### Instruction: CREATE TABLE table_43646 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number that is the lowest overall for the College of Baylor? ### Response:
SELECT MIN("Overall") FROM table_43646 WHERE "College" = 'baylor'
### Instruction: CREATE TABLE table_51273 ( "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 record when chicago was the visiting team? ### Response:
SELECT "Record" FROM table_51273 WHERE "Visitor" = 'chicago'
### Instruction: CREATE TABLE table_18184 ( "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's the result with district being washington 7 ### Response:
SELECT "Result" FROM table_18184 WHERE "District" = 'Washington 7'
### Instruction: CREATE TABLE table_30813 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the episode series number of 'St. Joan'? ### Response:
SELECT "Series #" FROM table_30813 WHERE "Title" = 'St. Joan'
### Instruction: CREATE TABLE table_6224 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Game site of candlestick park had what opponent? ### Response:
SELECT "Opponent" FROM table_6224 WHERE "Game site" = 'candlestick park'
### Instruction: CREATE TABLE table_10527215_3 ( fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Johnny Rutherford's fastest lap while Al Unser was the pole position? ### Response:
SELECT fastest_lap FROM table_10527215_3 WHERE winning_driver = "Johnny Rutherford" AND pole_position = "Al Unser"
### Instruction: CREATE TABLE table_78040 ( "Full Name" text, "Nickname" text, "Gender" text, "Weight at birth" text, "Meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much did the baby who name means God knows my journey weigh at birth? ### Response:
SELECT "Weight at birth" FROM table_78040 WHERE "Meaning" = 'god knows my journey'
### Instruction: CREATE TABLE table_50528 ( "Year" text, "Winner" text, "Runner-up" text, "Score" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the venue on 21 june 1987? ### Response:
SELECT "Venue" FROM table_50528 WHERE "Year" = '21 june 1987'
### Instruction: CREATE TABLE table_18155 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many elections have resulted in retired democratic hold? ### Response:
SELECT COUNT("Party") FROM table_18155 WHERE "Results" = 'Retired Democratic hold'
### Instruction: CREATE TABLE table_name_47 ( left_office VARCHAR, took_office VARCHAR, minister VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Left Office, when Took Office is '11 June 2001', and when Minister is 'Mirko Tremaglia'? ### Response:
SELECT left_office FROM table_name_47 WHERE took_office = "11 june 2001" AND minister = "mirko tremaglia"
### Instruction: CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) CREATE TABLE products ( code number, name text, price number, manufacturer number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the average, maximum and total revenues of all companies? ### Response:
SELECT AVG(revenue), MAX(revenue), SUM(revenue) FROM manufacturers
### Instruction: CREATE TABLE table_64575 ( "County" text, "Location" text, "Distance" real, "Total" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Distance has Notes of north end terminus of ar 155? ### Response:
SELECT SUM("Distance") FROM table_64575 WHERE "Notes" = 'north end terminus of ar 155'
### Instruction: CREATE TABLE table_9335 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the score when the game is higher than 66 on march 28? ### Response:
SELECT "Score" FROM table_9335 WHERE "Game" > '66' AND "March" = '28'
### Instruction: CREATE TABLE table_77247 ( "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 position did Luca Sbisa play for the Philadelphia Flyers? ### Response:
SELECT "Position" FROM table_77247 WHERE "Player" = 'luca sbisa'
### Instruction: CREATE TABLE table_67111 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the host team for january 1 (2006) ### Response:
SELECT "Host Team" FROM table_67111 WHERE "Date" = 'january 1 (2006)'
### Instruction: CREATE TABLE table_64721 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Catalog has a Date of july 15, 2011? ### Response:
SELECT AVG("Catalog") FROM table_64721 WHERE "Date" = 'july 15, 2011'
### Instruction: CREATE TABLE table_60495 ( "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 to par for t10 and Colin Montgomerie? ### Response:
SELECT "To par" FROM table_60495 WHERE "Place" = 't10' AND "Player" = 'colin montgomerie'
### Instruction: CREATE TABLE table_79169 ( "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 Anders Forsbrand's score when the TO par is +4? ### Response:
SELECT "Score" FROM table_79169 WHERE "To par" = '+4' AND "Player" = 'anders forsbrand'
### Instruction: CREATE TABLE table_63834 ( "Rank" real, "Attendance" real, "Visiting Team" text, "Date" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the game with an Attendance of 93,039? ### Response:
SELECT COUNT("Rank") FROM table_63834 WHERE "Attendance" = '93,039'
### Instruction: CREATE TABLE table_11140 ( "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. -- What is the theme of the coin from before 2006? ### Response:
SELECT "Theme" FROM table_11140 WHERE "Year" < '2006'
### Instruction: CREATE TABLE table_79774 ( "Region/Country" text, "Local name" text, "Network" text, "Dates aired" text, "Starring" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the local name for the episodes that aired in 1981? ### Response:
SELECT "Local name" FROM table_79774 WHERE "Dates aired" = '1981'
### Instruction: CREATE TABLE table_21386 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Original air date" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes have the season number of 1? ### Response:
SELECT COUNT("Series #") FROM table_21386 WHERE "Season #" = '1'
### Instruction: CREATE TABLE table_28344 ( "Road race" text, "Distance" text, "Location" text, "Country" text, "Month held" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all of the area where distance is marathon and month held is february ### Response:
SELECT "Location" FROM table_28344 WHERE "Distance" = 'Marathon' AND "Month held" = 'February'
### Instruction: CREATE TABLE table_204_36 ( id number, "date" text, "opponent" text, "site" text, "result" text, "attendance" number, "record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games did the hoyas score 50 or more points ? ### Response:
SELECT COUNT(*) FROM table_204_36 WHERE "result" >= 50
### Instruction: CREATE TABLE table_64444 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opposition for the player who has a total of 10 points? ### Response:
SELECT "Opposition" FROM table_64444 WHERE "Total" = '10'
### Instruction: CREATE TABLE table_70812 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest lane for heat 6 with a time of dns? ### Response:
SELECT MAX("Lane") FROM table_70812 WHERE "Heat" = '6' AND "Time" = 'dns'
### Instruction: CREATE TABLE table_31874 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition was the World Championships before 2011? ### Response:
SELECT "Event" FROM table_31874 WHERE "Competition" = 'world championships' AND "Year" < '2011'
### Instruction: CREATE TABLE table_64379 ( "Round" real, "Dates" text, "Rally Name" text, "Rally HQ" text, "Support Category" text, "Surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the Rally HQ for Round 1? ### Response:
SELECT "Rally HQ" FROM table_64379 WHERE "Round" = '1'
### Instruction: CREATE TABLE table_23249 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 8 is the public what are the results? ### Response:
SELECT "Result" FROM table_23249 WHERE "Public" = '8'
### Instruction: CREATE TABLE table_54619 ( "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 score of the home game at Tampa Bay? ### Response:
SELECT "Score" FROM table_54619 WHERE "Home" = 'tampa bay'
### Instruction: CREATE TABLE table_79584 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of losses for Against values over 1510? ### Response:
SELECT SUM("Losses") FROM table_79584 WHERE "Against" > '1510'
### Instruction: CREATE TABLE table_name_62 ( year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has a not nominated result and a nomination title of 'the color of fame'? ### Response:
SELECT year__ceremony_ FROM table_name_62 WHERE result = "not nominated" AND film_title_used_in_nomination = "the color of fame"
### Instruction: CREATE TABLE table_54347 ( "Dismissals" text, "Player" text, "Versus" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Dismissals with a Player with source: cricinfo.com? ### Response:
SELECT "Dismissals" FROM table_54347 WHERE "Player" = 'source: cricinfo.com'
### Instruction: CREATE TABLE table_name_72 ( points INTEGER, entrant VARCHAR, year VARCHAR, engine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Brown Motors best point total using the Offenhauser L4 engine since 1950? ### Response:
SELECT MAX(points) FROM table_name_72 WHERE year > 1950 AND engine = "offenhauser l4" AND entrant = "brown motors"
### Instruction: CREATE TABLE table_54140 ( "Year" real, "Pick" text, "Player name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the cornerback from 1997? ### Response:
SELECT "Player name" FROM table_54140 WHERE "Position" = 'cornerback' AND "Year" = '1997'
### Instruction: CREATE TABLE table_43612 ( "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 record for the opponent the Cleveland Cavaliers? ### Response:
SELECT "Record" FROM table_43612 WHERE "Opponent" = 'cleveland cavaliers'
### Instruction: CREATE TABLE table_58247 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Loss listed with a Score of 5-1? ### Response:
SELECT "Loss" FROM table_58247 WHERE "Score" = '5-1'