instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_53928 ( "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is on at 8:00 when at 8:30 it is the bachelorette? ### Response:
SELECT "8:00" FROM table_53928 WHERE "8:30" = 'the bachelorette'
### Instruction: CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real ) -- Using valid SQLite, answer the follo...
SELECT Snatch, Clean_Jerk FROM body_builder
### Instruction: CREATE TABLE table_12111 ( "Player" text, "Height" real, "Position" text, "Year born (Age)" text, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the position of the player with a Height of 2.06 and club of Triu...
SELECT "Position" FROM table_12111 WHERE "Height" = '2.06' AND "Current Club" = 'triumph lyubertsy'
### Instruction: CREATE TABLE table_44280 ( "Year" real, "Name" text, "Field" text, "State" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa?...
SELECT SUM("Year") FROM table_44280 WHERE "State" = 'orissa' AND "Name" = 'prof. priyambada mohanty hejmadi'
### Instruction: CREATE TABLE table_73439 ( "Conference" text, "Regular Season Winner" text, "Conference Player of the Year" text, "Conference Tournament" text, "Tournament Venue (City)" text, "Tournament Winner" text ) -- Using valid SQLite, answer the following questions for the tables provi...
SELECT "Conference Tournament" FROM table_73439 WHERE "Regular Season Winner" = 'Idaho State'
### Instruction: CREATE TABLE table_32754 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the away te...
SELECT "Away team" FROM table_32754 WHERE "Venue" = 'kardinia park'
### Instruction: CREATE TABLE table_40414 ( "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 9:30, when 8:30 is 'Bones (Reruns)'? ### Response:
SELECT "9:30" FROM table_40414 WHERE "8:30" = 'bones (reruns)'
### Instruction: CREATE TABLE table_3925 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided a...
SELECT "High points" FROM table_3925 WHERE "Record" = '8-5'
### Instruction: CREATE TABLE table_10675 ( "Team" text, "Lost" real, "Tied" real, "Pct." real, "Years" real, "Total Games" real, "Conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Akron's highest Pct in 100 years? ### Res...
SELECT COUNT("Pct.") FROM table_10675 WHERE "Years" > '100' AND "Team" = 'akron'
### Instruction: CREATE TABLE table_64965 ( "Rank" real, "Name" text, "1st run" text, "2nd run" text, "3rd run" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the 3rd run is 36.490 (3) what is the 2nd run? ### Response:
SELECT "2nd run" FROM table_64965 WHERE "3rd run" = '36.490 (3)'
### Instruction: CREATE TABLE table_37275 ( "Date" text, "Episode" real, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average episode number where jimmy mulv...
SELECT AVG("Episode") FROM table_37275 WHERE "Performer 4" = 'jimmy mulville'
### Instruction: CREATE TABLE table_48220 ( "Season" real, "Team 1" text, "Score" text, "Team 2" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of team 1 that was after the 2005 season and with a 4-2 score? ### Respo...
SELECT "Team 1" FROM table_48220 WHERE "Season" > '2005' AND "Score" = '4-2'
### Instruction: CREATE TABLE table_36090 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round did the fight against S...
SELECT "Round" FROM table_36090 WHERE "Opponent" = 'sofia bagherdai'
### Instruction: CREATE TABLE table_66297 ( "School" text, "Location" text, "Mascot" text, "Size" real, "IHSAA Class" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which School has a Size larger than 408, and a Mascot of pacers? ...
SELECT "School" FROM table_66297 WHERE "Size" > '408' AND "Mascot" = 'pacers'
### Instruction: CREATE TABLE table_24966 ( "No." real, "Season" text, "Championship" real, "No. of teams" real, "Start (reg. season)" text, "Finish (incl. championship)" text, "Top record" text, "National Champion" text ) -- Using valid SQLite, answer the following questions for the t...
SELECT "Season" FROM table_24966 WHERE "No." = '4'
### Instruction: CREATE TABLE table_36792 ( "Rank" text, "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 smallest gold value that has a total over 15 and bronze values ...
SELECT MIN("Gold") FROM table_36792 WHERE "Total" > '15' AND "Bronze" < '31'
### Instruction: CREATE TABLE table_60967 ( "Title" text, "Developer" text, "Category" text, "Release date" text, "Version" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Release date has a Category of utilities, a Developer of microsoft, and a...
SELECT "Release date" FROM table_60967 WHERE "Category" = 'utilities' AND "Developer" = 'microsoft' AND "Title" = 'chord finder'
### Instruction: CREATE TABLE table_58910 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "Date of Birth" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Club of the Player with a Date of Birth of 1977-02-03? ...
SELECT "Club" FROM table_58910 WHERE "Date of Birth" = '1977-02-03'
### Instruction: CREATE TABLE table_25355501_2 ( june_10_11 VARCHAR, january_15_16 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- june 10-11 when january 15-16 is january 15, 1991? ### Response:
SELECT june_10_11 FROM table_25355501_2 WHERE january_15_16 = "January 15, 1991"
### Instruction: CREATE TABLE table_203_752 ( id number, "rank" number, "circuit" text, "headquarters" text, "screens" number, "sites" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which circuit has less screens than bow tie cinemas ? ### R...
SELECT "circuit" FROM table_203_752 WHERE "screens" < (SELECT "screens" FROM table_203_752 WHERE "circuit" = 'bow tie cinemas')
### Instruction: CREATE TABLE table_35997 ( "Code" text, "Vehicle" text, "Year" text, "Displacement" text, "Bore" text, "Stroke" text, "C.R." text, "Max. Power" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What displacement has the cod...
SELECT "Displacement" FROM table_35997 WHERE "Code" = 'yd22ddt'
### Instruction: CREATE TABLE table_50566 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has Semifinalists of wally masur m...
SELECT "Surface" FROM table_50566 WHERE "Semifinalists" = 'wally masur malivai washington'
### Instruction: CREATE TABLE table_25894 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Date" FROM table_25894 WHERE "Team" = 'Cleveland'
### Instruction: CREATE TABLE table_43363 ( "Competition" text, "Appearances" real, "Played" real, "Drawn" real, "Lost" real, "Goals for" real, "Goals against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total sum of the goals...
SELECT SUM("Goals for") FROM table_43363 WHERE "Drawn" > '10'
### Instruction: CREATE TABLE table_59801 ( "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 that wehn Lithuania is the nation, and Silver is more tha...
SELECT MIN("Total") FROM table_59801 WHERE "Nation" = 'lithuania' AND "Silver" > '0'
### Instruction: CREATE TABLE table_name_59 ( field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points)...
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13
### Instruction: CREATE TABLE table_30080 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Team" FROM table_30080 WHERE "Record" = '36-29'
### Instruction: CREATE TABLE table_204_395 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the venue before dakar , senegal ? ### Response:
SELECT "venue" FROM table_204_395 WHERE id = (SELECT id FROM table_204_395 WHERE "venue" = 'dakar, senegal') - 1
### Instruction: CREATE TABLE table_60366 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Place has a Country of australia, and a Score of 70-70-72=212? ### Response:
SELECT "Place" FROM table_60366 WHERE "Country" = 'australia' AND "Score" = '70-70-72=212'
### Instruction: CREATE TABLE table_4631 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did the home side score...
SELECT "Date" FROM table_4631 WHERE "Home team score" = '14.13 (97)'
### Instruction: CREATE TABLE table_56850 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In the match where south melbou...
SELECT "Home team" FROM table_56850 WHERE "Away team" = 'south melbourne'
### Instruction: CREATE TABLE table_name_10 ( podium INTEGER, pole VARCHAR, season VARCHAR, flap VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 ha...
SELECT AVG(podium) FROM table_name_10 WHERE flap = 0 AND race < 2 AND season = "1989" AND pole < 0
### Instruction: CREATE TABLE table_204_563 ( id number, "abbreviation" text, "settlement" text, "district" text, "official name" text, "division" text, "cup" number, "other information" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- wha...
SELECT "abbreviation" FROM table_204_563 WHERE "settlement" = 'oulu'
### Instruction: CREATE TABLE table_26876 ( "Name" text, "Nationality" text, "Position" text, "Los Angeles Sol career" text, "Appearances" real, "Starts" real, "Minutes" real, "Goals" real, "Assists" real ) -- Using valid SQLite, answer the following questions for the tables provid...
SELECT "Position" FROM table_26876 WHERE "Minutes" = '132'
### Instruction: CREATE TABLE table_24477 ( "No. in series" text, "No. in season" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many titles were written by Don S...
SELECT COUNT("Title") FROM table_24477 WHERE "Written by" = 'Don Shank and Genndy Tartakovsky'
### Instruction: CREATE TABLE table_26396 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the writer for the episode originally a...
SELECT "Written by" FROM table_26396 WHERE "Original air date" = 'March 1, 2004'
### Instruction: CREATE TABLE table_39033 ( "Year" real, "Play" text, "Author" text, "Theatre" text, "Type" text, "Role" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Author of stanis aw wyspia ski, and a Year of 1969 happened in what theatre? ...
SELECT "Theatre" FROM table_39033 WHERE "Author" = 'stanisław wyspiański' AND "Year" = '1969'
### Instruction: CREATE TABLE table_1364343_2 ( total_population VARCHAR, catholic VARCHAR, region VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total population with catholic being smaller than 31370649.1405057 and region being north africa ...
SELECT COUNT(total_population) FROM table_1364343_2 WHERE catholic < 31370649.1405057 AND region = "North Africa"
### Instruction: CREATE TABLE table_204_310 ( id number, "month" text, "year" number, "player" text, "county" text, "club" text, "position" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ollie moran won in june 2007 , who won the month aft...
SELECT "player" FROM table_204_310 WHERE "year" = 2007 AND "month" = 6 + 1
### Instruction: CREATE TABLE table_75488 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total is the lowest one that has a Rank smaller than 2, and a Silver ...
SELECT MIN("Total") FROM table_75488 WHERE "Rank" < '2' AND "Silver" < '15'
### Instruction: CREATE TABLE table_20803241_1 ( type_of_fare VARCHAR, cash_fare VARCHAR, day_pass VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there? ### Response:
SELECT COUNT(type_of_fare) FROM table_20803241_1 WHERE 31 - day_pass = "N/A" AND cash_fare = "N/A"
### Instruction: CREATE TABLE table_204_542 ( id number, "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the first club listed for...
SELECT "club" FROM table_204_542 WHERE "season" = '2010-11'
### Instruction: CREATE TABLE table_204_245 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many e...
SELECT COUNT("event") FROM table_204_245 WHERE "date" = 2011
### Instruction: CREATE TABLE table_23554 ( "#" text, "Original title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Prod. code" text, "Viewers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1.17 is the product...
SELECT COUNT("Original airdate") FROM table_23554 WHERE "Prod. code" = '1.17'
### Instruction: CREATE TABLE table_18021 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record set during the game played...
SELECT "Record" FROM table_18021 WHERE "Game site" = 'Hubert H. Humphrey Metrodome'
### Instruction: CREATE TABLE table_25824 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what year did Newcombe first face ...
SELECT MIN("Year") FROM table_25824 WHERE "Opponent in the final" = 'Clark Graebner'
### Instruction: CREATE TABLE table_21341 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Competition" text, "Man of the Match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent of the game ...
SELECT "Opponent" FROM table_21341 WHERE "Result" = 'Won 4-1'
### Instruction: CREATE TABLE table_16929 ( "Venue" text, "Hosted" real, "Average" real, "Highest" real, "Lowest" real, "Total" real, "Last Year" text, "Up/Down" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the up/down at the v...
SELECT "Up/Down" FROM table_16929 WHERE "Hosted" = '7'
### Instruction: CREATE TABLE table_957 ( "Season" text, "Regionalliga S\u00fcd" text, "Regionalliga West/S\u00fcdwest" text, "Regionalliga Nord" text, "Regionalliga Nord-Ost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the season with reg...
SELECT "Season" FROM table_957 WHERE "Regionalliga Nord" = 'VfB Oldenburg'
### Instruction: CREATE TABLE table_20250 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "20 Questions" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- IN WHAT ISSUE OF PLAYBOY WAS SHEPARD...
SELECT "Date" FROM table_20250 WHERE "Interview subject" = 'Shepard Smith'
### Instruction: CREATE TABLE table_57776 ( "Rocket launch" text, "Launch Date" text, "Mission" text, "Institutional authority" text, "Launch Site" text, "Outcomes" text, "Derivatives" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Outc...
SELECT "Outcomes" FROM table_57776 WHERE "Rocket launch" = 'rehnuma-11'
### Instruction: CREATE TABLE table_1416 ( "Country" text, "Freedom in the World 2013" text, "2013 Index of Economic Freedom" text, "2013 Press Freedom Index" text, "2012 Democracy Index" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many freed...
SELECT COUNT("2013 Press Freedom Index") FROM table_1416 WHERE "Country" = 'Austria'
### Instruction: CREATE TABLE table_63028 ( "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 highest silver that has 57 as the total, with a bronze greater ...
SELECT MAX("Silver") FROM table_63028 WHERE "Total" = '57' AND "Bronze" > '20'
### Instruction: CREATE TABLE table_25190 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT COUNT("Game") FROM table_25190 WHERE "Date" = 'May 11'
### Instruction: CREATE TABLE table_78395 ( "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 College/junior/club team (league) did mitch fadden ...
SELECT "College/junior/club team (league)" FROM table_78395 WHERE "Player" = 'mitch fadden'
### Instruction: CREATE TABLE table_23679 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "Television order" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
SELECT "Television order" FROM table_23679 WHERE "Written by" = 'Gail Simone'
### Instruction: CREATE TABLE table_58434 ( "Season" text, "Season premiere" text, "Season finale" text, "TV season" text, "Ranking" text, "Viewers (in millions)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which season premiered on November ...
SELECT "Season" FROM table_58434 WHERE "Season premiere" = 'november 27, 2012'
### Instruction: CREATE TABLE table_28023 ( "Episode #" text, "Original Air Date (UK)" text, "Episode Title" text, "Director" text, "Writer" text, "Cast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode that aired ...
SELECT "Episode Title" FROM table_28023 WHERE "Original Air Date (UK)" = '13 August 1981'
### Instruction: CREATE TABLE table_3481 ( "Episode #" real, "Series #" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original ...
SELECT "Original airdate" FROM table_3481 WHERE "Title" = 'Taking It on the Chin'
### Instruction: CREATE TABLE table_33952 ( "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 Arkansas State's total pick number with an overal lower than ...
SELECT COUNT("Pick #") FROM table_33952 WHERE "College" = 'arkansas state' AND "Overall" < '242'
### Instruction: CREATE TABLE table_name_22 ( population_1961 INTEGER, administrative_county VARCHAR, population_1891 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Population 1961 of West Sussex with a Population of 120,952 or less? ### Re...
SELECT SUM(population_1961) FROM table_name_22 WHERE administrative_county = "west sussex" AND population_1891 < 120 OFFSET 952
### Instruction: CREATE TABLE table_3304 ( "Season" real, "Champion" text, "Second" text, "Third" text, "Team Champion" text, "National Trophy/Rookie" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the national trophy/rookie is Simone Iaquint...
SELECT COUNT("Season") FROM table_3304 WHERE "National Trophy/Rookie" = 'Simone Iaquinta'
### Instruction: CREATE TABLE table_204_667 ( id number, "year" number, "film title" text, "genre" text, "cast" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- besides kshana kshana , which other film is a suspense thriller ? ### ...
SELECT "film title" FROM table_204_667 WHERE "film title" <> 'kshana kshana' AND "genre" = 'suspense thriller'
### Instruction: CREATE TABLE table_21829 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "High assists" FROM table_21829 WHERE "Date" = 'May 21'
### Instruction: CREATE TABLE table_204_245 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who held t...
SELECT "wrestlers" FROM table_204_245 ORDER BY "days\nheld" DESC LIMIT 1
### Instruction: CREATE TABLE table_79346 ( "Year" text, "Builder" text, "Model" text, "Length (ft)" real, "Propulsion" text, "Fleet series" text, "Total" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes fo...
SELECT "Notes" FROM table_79346 WHERE "Builder" = 'ford' AND "Total" = '5'
### Instruction: CREATE TABLE table_19034 ( "Rank" real, "Islands Name" text, "Area (sqmi)" real, "Area (km 2 )" real, "Location" text, "Population (2000)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name is the island with a popul...
SELECT "Islands Name" FROM table_19034 WHERE "Population (2000)" = '64'
### Instruction: CREATE TABLE table_28602 ( "Year" real, "Under-11" text, "Under-13" text, "Under-15" text, "Under-17" text, "Under-19" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the under-15 when Moises Galvez was the under-17? ##...
SELECT "Under-15" FROM table_28602 WHERE "Under-17" = 'Moises Galvez'
### Instruction: CREATE TABLE table_50254 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "High assists" FROM table_50254 WHERE "Team" = 'san antonio'
### Instruction: CREATE TABLE table_66949 ( "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. -- When was the game at Gillette Stadium that ended in a final score of 30-17?...
SELECT "Date" FROM table_66949 WHERE "Final Score" = '30-17' AND "Stadium" = 'gillette stadium'
### Instruction: CREATE TABLE table_68270 ( "Unit" text, "Type" text, "Gross MW" text, "Construction start" text, "Operation start" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Gross MW of 220, and a Unit of kakrapar 1 involves what operation star...
SELECT "Operation start" FROM table_68270 WHERE "Gross MW" = '220' AND "Unit" = 'kakrapar 1'
### Instruction: CREATE TABLE table_204_749 ( id number, "courthouse" text, "city" text, "street address" text, "jurisdiction" text, "dates of use" text, "named for" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many of the courthouse...
SELECT COUNT("courthouse") FROM table_204_749 WHERE "courthouse" = 'federal building'
### Instruction: CREATE TABLE table_19698 ( "Year" text, "General Election" text, "Seats Won" real, "Change in Seat" real, "% of votes" text, "votes swing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number of seats won whe...
SELECT COUNT("Seats Won") FROM table_19698 WHERE "% of votes" = '20.29'
### Instruction: CREATE TABLE table_204_193 ( id number, "year" number, "artist" text, "album" text, "chart position" text, "role" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what other album did eddie harris & les mccain had besides swiss mo...
SELECT "album" FROM table_204_193 WHERE "artist" = 'eddie harris & les mccann' AND "album" <> 'swiss movement'
### Instruction: CREATE TABLE table_17592 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the men's double when Chou Ti...
SELECT "Mens doubles" FROM table_17592 WHERE "Mens singles" = 'Chou Tien-chen'
### Instruction: CREATE TABLE table_23042 ( "No." real, "Country" text, "Local title" text, "Format" text, "Start Date" text, "End Date" text, "Episodes" real, "Premiere/Air Dates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What seri...
SELECT MAX("No.") FROM table_23042 WHERE "Local title" = 'Fort Boyard'
### Instruction: CREATE TABLE table_13279 ( "School" text, "Location" text, "Mascot" text, "IHSAA Class" text, "County" text, "Year Joined" text, "Year Left" text, "Conference Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which ...
SELECT "County" FROM table_13279 WHERE "Mascot" = 'trojans'
### Instruction: CREATE TABLE table_52933 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the away team at Brunsw...
SELECT "Away team score" FROM table_52933 WHERE "Venue" = 'brunswick street oval'
### Instruction: CREATE TABLE table_33730 ( "Date" text, "Venue" text, "Result" text, "Goals" real, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals have a result of 0-1 on march 28, 2007? ### Response:
SELECT COUNT("Goals") FROM table_33730 WHERE "Result" = '0-1' AND "Date" = 'march 28, 2007'
### Instruction: CREATE TABLE table_21047 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
SELECT "Club" FROM table_21047 WHERE "Points against" = '608'
### Instruction: CREATE TABLE table_31145 ( "No. in series" real, "No. in season" 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. -- How many ...
SELECT COUNT("No. in series") FROM table_31145 WHERE "Written by" = 'Gregg Mettler'
### Instruction: CREATE TABLE table_5383 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the match with Brother Elephants as the opponent and a save of ||4,117? #...
SELECT "Date" FROM table_5383 WHERE "Opponent" = 'brother elephants' AND "Save" = '||4,117'
### Instruction: CREATE TABLE table_74735 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people were present in...
SELECT SUM("Crowd") FROM table_74735 WHERE "Venue" = 'mcg'
### Instruction: CREATE TABLE table_203_473 ( id number, "no." number, "date" text, "tournament" text, "winning score" text, "margin\nof victory" text, "runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of times...
SELECT COUNT(*) FROM table_203_473 WHERE "runner(s)-up" = 'scott simpson'
### Instruction: CREATE TABLE table_2487 ( "Issuer" text, "Issue Date" text, "ISIN" text, "Amount Issued [\u20ac]" text, "Coupon" text, "Maturity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the coupon that has an issuer of Commerzban...
SELECT "Coupon" FROM table_2487 WHERE "Issuer" = 'COMMERZBANK AG'
### Instruction: CREATE TABLE table_61998 ( "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 is To par, when Country is 'United States', and when Player i...
SELECT "To par" FROM table_61998 WHERE "Country" = 'united states' AND "Player" = 'jay haas'
### Instruction: CREATE TABLE table_203_347 ( id number, "temple name" text, "posthumous name" text, "family name (in bold) and personal name" text, "reign" text, "era names and their year ranges" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables pro...
SELECT "family name (in bold) and personal name" FROM table_203_347 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_204_902 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who finished next after kaitlin sandeno ? ### Response:
SELECT "name" FROM table_204_902 WHERE "rank" = (SELECT "rank" FROM table_204_902 WHERE "name" = 'kaitlin sandeno') + 1
### Instruction: CREATE TABLE table_67754 ( "Name" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid associated with a Time/Retired of + 1 lap, and under 7 ...
SELECT MIN("Grid") FROM table_67754 WHERE "Time/Retired" = '+ 1 lap' AND "Points" < '7'
### Instruction: CREATE TABLE table_34373 ( "Place" real, "Nation" text, "6 Ropes" real, "4 Hoops, 2 Clubs" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest 4 hoops, 2 clubs of the nation with a total of 38.25? ### R...
SELECT MIN("4 Hoops, 2 Clubs") FROM table_34373 WHERE "Total" = '38.25'
### Instruction: CREATE TABLE table_41828 ( "Office" text, "Democratic ticket" text, "Republican ticket" text, "Socialist ticket" text, "Constitutional ticket" text, "Law Preservation ticket" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wa...
SELECT "Constitutional ticket" FROM table_41828 WHERE "Socialist ticket" = 'william karlin'
### Instruction: CREATE TABLE table_name_10 ( date VARCHAR, partnering VARCHAR, opponent_in_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date, when Partnering is 'Francesca Lubiani', and when Opponent in Final is 'Yuliya Beygelzimer /...
SELECT date FROM table_name_10 WHERE partnering = "francesca lubiani" AND opponent_in_final = "yuliya beygelzimer / jennifer hopkins"
### Instruction: CREATE TABLE table_75052 ( "Date" text, "Result" text, "Score" text, "Brazil scorers" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the International Friendly competition on May 15, 1966? ...
SELECT "Result" FROM table_75052 WHERE "Competition" = 'international friendly' AND "Date" = 'may 15, 1966'
### Instruction: CREATE TABLE table_35629 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Total has a Nation of kazakhstan (kaz), and a Gold larger than 0? ...
SELECT COUNT("Total") FROM table_35629 WHERE "Nation" = 'kazakhstan (kaz)' AND "Gold" > '0'
### Instruction: CREATE TABLE table_19907 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Segment A where Segment D...
SELECT "Segment A" FROM table_19907 WHERE "Segment D" = 'Luxury Sports Cars'
### Instruction: CREATE TABLE table_204_880 ( 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. -- next to 2:13:09 , what was his best time ? ### ...
SELECT "notes" FROM table_204_880 WHERE "notes" < '2:13:09' ORDER BY "notes" DESC LIMIT 1
### Instruction: CREATE TABLE table_204_26 ( id number, "name" text, "position" text, "birth date/age at start of campaign" text, "games in campaign" text, "club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the next player listed after...
SELECT "name" FROM table_204_26 WHERE id = (SELECT id FROM table_204_26 WHERE "name" = 'andy egli') + 1
### Instruction: CREATE TABLE table_28853064_15 ( general_classification VARCHAR, winner VARCHAR, points_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the General Classification awardee if Sergio Luis Henao was the winner and the ...
SELECT general_classification FROM table_28853064_15 WHERE winner = "Sergio Luis Henao" AND points_classification = "Sergio Luis Henao"
### Instruction: CREATE TABLE table_24585 ( "Year" text, "MAAC" text, "Overall" text, "Regular Season Results" text, "MAAC Tournament Result" text, "NCAA Seed" text, "NCAA Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maa...
SELECT "MAAC" FROM table_24585 WHERE "MAAC Tournament Result" = 'Quarterfinals'
### Instruction: CREATE TABLE table_30783 ( "Player" text, "Matches" real, "Innings" real, "Runs" real, "Average" text, "Highest Score" text, "100s" real, "50s" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player when the hi...
SELECT "Player" FROM table_30783 WHERE "Highest Score" = '84'