instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_11671 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game on March 11, 1999 played? ### Response:
SELECT "Venue" FROM table_11671 WHERE "Date" = 'march 11, 1999'
### Instruction: CREATE TABLE table_49690 ( "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 aggregate in the match with a team 1 of Dinamo Minsk? ### Response:
SELECT "Agg." FROM table_49690 WHERE "Team 1" = 'dinamo minsk'
### Instruction: CREATE TABLE table_47190 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Result, when Date is '2000-05-23'? ### Response:
SELECT "Result" FROM table_47190 WHERE "Date" = '2000-05-23'
### Instruction: CREATE TABLE table_56297 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which years have a School/Club Team of colorado state? ### Response:
SELECT "Years for Jazz" FROM table_56297 WHERE "School/Club Team" = 'colorado state'
### Instruction: CREATE TABLE table_203_482 ( id number, "year" number, "award" text, "result" text, "category" text, "series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many ` choice tv sidekick ' award categories was scrubs nominated for ? ### Response:
SELECT COUNT("award") FROM table_203_482 WHERE "category" = 'choice tv sidekick'
### Instruction: CREATE TABLE table_78785 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalog Nr." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has the format ed Remaster double-12' (500 copies)? ### Response:
SELECT "Country" FROM table_78785 WHERE "Format" = 'ed remaster double-12" (500 copies)'
### Instruction: CREATE TABLE table_76475 ( "Leader" text, "Party" text, "Leader's Seat" text, "Number of Seats" real, "Leader since" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which party does Timothy Kirkhope lead? ### Response:
SELECT "Party" FROM table_76475 WHERE "Leader" = 'timothy kirkhope'
### Instruction: CREATE TABLE table_19290 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did Tara Palmer-Tomkinson finish? ### Response:
SELECT "Finished" FROM table_19290 WHERE "Celebrity" = 'Tara Palmer-Tomkinson'
### Instruction: CREATE TABLE table_23962 ( "Round" real, "Choice" real, "Player" text, "Position" text, "Height" text, "Weight" real, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rounds were there a height of 6'5? ### Response:
SELECT "Round" FROM table_23962 WHERE "Height" = '6''5'
### Instruction: CREATE TABLE table_60847 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Rank of 9, and a Silver smaller than 2? ### Response:
SELECT MAX("Total") FROM table_60847 WHERE "Rank" = '9' AND "Silver" < '2'
### Instruction: CREATE TABLE table_204_146 ( id number, "tie" number, "home team" text, "score" text, "away team" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what home team had at least 4000 people in attendance ? ### Response:
SELECT "home team" FROM table_204_146 WHERE "attendance" >= 4000
### Instruction: CREATE TABLE table_33745 ( "Name" text, "Round" text, "Overall Pick" text, "Year" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1981 which team picked overall 148? ### Response:
SELECT "Team" FROM table_33745 WHERE "Year" = '1981' AND "Overall Pick" = '148'
### Instruction: CREATE TABLE table_5580 ( "Result" text, "Record" text, "Opponent" text, "Event" text, "Method" text, "Round" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent led to a 6-3 record? ### Response:
SELECT "Opponent" FROM table_5580 WHERE "Record" = '6-3'
### Instruction: CREATE TABLE table_203_810 ( id number, "#" number, "title" text, "songwriters" text, "producer(s)" text, "performer (s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people wrote hip hop hooray ? ### Response:
SELECT "songwriters" FROM table_203_810 WHERE "title" = '"hip hop hooray"'
### Instruction: CREATE TABLE table_name_37 ( driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who drives a BMW Sauber with a Grid larger than 2 and a Time/Retired of +15.037? ### Response:
SELECT driver FROM table_name_37 WHERE grid > 2 AND constructor = "bmw sauber" AND time_retired = "+15.037"
### Instruction: CREATE TABLE table_203_593 ( id number, "tenure" text, "coach" text, "years" number, "record" text, "pct." number, "ncaa tournament" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which head coach had the most losses ? ### Response:
SELECT "coach" FROM table_203_593 ORDER BY "record" DESC LIMIT 1
### Instruction: CREATE TABLE table_53605 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What company was Constructor when there were 16 laps and grid was 9? ### Response:
SELECT "Constructor" FROM table_53605 WHERE "Laps" = '16' AND "Grid" = '9'
### Instruction: CREATE TABLE table_name_66 ( school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Pick larger than 229, and a Round smaller than 12, and a Position of defensive back is what school/club team? ### Response:
SELECT school_club_team FROM table_name_66 WHERE pick > 229 AND round < 12 AND position = "defensive back"
### Instruction: CREATE TABLE table_70044 ( "Name" text, "Pennant" text, "Builder" text, "Laid Down" text, "Launched" text, "Commissioned" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the U21 pennant laid down? ### Response:
SELECT "Laid Down" FROM table_70044 WHERE "Pennant" = 'u21'
### Instruction: CREATE TABLE table_70430 ( "Player" text, "Country" text, "Year won" real, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year won by Australia with a to par bigger than 16? ### Response:
SELECT COUNT("Year won") FROM table_70430 WHERE "Country" = 'australia' AND "To par" > '16'
### Instruction: CREATE TABLE table_51961 ( "Train No." text, "Train Name" text, "Origin" text, "Destination" text, "Frequency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From where did Train No. 15929/30 originate? ### Response:
SELECT "Origin" FROM table_51961 WHERE "Train No." = '15929/30'
### Instruction: CREATE TABLE table_55069 ( "Competition" text, "Current position / round" text, "Final position / round" text, "First match" text, "Last match" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the first match for 11 may 2008 ### Response:
SELECT "First match" FROM table_55069 WHERE "Last match" = '11 may 2008'
### Instruction: CREATE TABLE table_4969 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points does Sweeley have, with less than 0 Field goals? ### Response:
SELECT SUM("Points") FROM table_4969 WHERE "Player" = 'sweeley' AND "Field goals" < '0'
### Instruction: CREATE TABLE table_45196 ( "Rank" real, "Title" text, "Studio" text, "Director(s)" text, "Worldwide Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Director for Star Wars Episode II: attack of the clones? ### Response:
SELECT "Director(s)" FROM table_45196 WHERE "Title" = 'star wars episode ii: attack of the clones'
### Instruction: CREATE TABLE table_71274 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Blue Jays play against on April 24? ### Response:
SELECT "Opponent" FROM table_71274 WHERE "Date" = 'april 24'
### Instruction: CREATE TABLE table_20858 ( "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 director for the episode in season #50? ### Response:
SELECT "Directed by" FROM table_20858 WHERE "Series #" = '50'
### Instruction: CREATE TABLE table_18165 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the candidates in the Tennessee 3 district election? ### Response:
SELECT "Candidates" FROM table_18165 WHERE "District" = 'Tennessee 3'
### Instruction: CREATE TABLE table_62090 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much money was there when the to par was 15? ### Response:
SELECT SUM("Money ( $ )") FROM table_62090 WHERE "To par" = '15'
### Instruction: CREATE TABLE table_203_757 ( id number, "year" number, "award ceremony" text, "category" text, "film/show" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which film/show is listed the least on this chart ? ### Response:
SELECT "film/show" FROM table_203_757 GROUP BY "film/show" ORDER BY COUNT(*) LIMIT 1
### Instruction: CREATE TABLE table_34293 ( "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 Score of the game against the boston celtics? ### Response:
SELECT "Score" FROM table_34293 WHERE "Opponent" = 'boston celtics'
### Instruction: CREATE TABLE table_62066 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Country has a Score of 71-74-70=215? ### Response:
SELECT "Country" FROM table_62066 WHERE "Score" = '71-74-70=215'
### Instruction: CREATE TABLE table_68391 ( "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 score when the date is December 14, 1985? ### Response:
SELECT "Score" FROM table_68391 WHERE "Date" = 'december 14, 1985'
### Instruction: CREATE TABLE table_name_31 ( swimsuit INTEGER, interview VARCHAR, average VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of swimsuit for average more than 9.23 for delaware for interview more than 9.73 ### Response:
SELECT SUM(swimsuit) FROM table_name_31 WHERE average > 9.23 AND country = "delaware" AND interview > 9.73
### Instruction: CREATE TABLE table_33402 ( "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 was the gold medal total for a total of 44 medals? ### Response:
SELECT MIN("Gold") FROM table_33402 WHERE "Total" > '44'
### Instruction: CREATE TABLE table_name_1 ( population INTEGER, density VARCHAR, area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which population is the greatest, has a density of 20.3, and an area (km ) larger than 50,350? ### Response:
SELECT MAX(population) FROM table_name_1 WHERE density = 20.3 AND area__km²_ > 50 OFFSET 350
### Instruction: CREATE TABLE table_47672 ( "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 1st Leg, when 2nd Leg is 1-3? ### Response:
SELECT "1st leg" FROM table_47672 WHERE "2nd leg" = '1-3'
### Instruction: CREATE TABLE table_31959 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least attendance for 10 october 2006 ### Response:
SELECT MIN("Attendance") FROM table_31959 WHERE "Date" = '10 october 2006'
### Instruction: CREATE TABLE table_4565 ( "Higher harmonics" text, "Darwin" text, "Period" text, "Speed" text, "Doodson coefficients" text, "NOAA" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What higher harmonics have an NOAA of 8? ### Response:
SELECT "Higher harmonics" FROM table_4565 WHERE "NOAA" = '8'
### Instruction: CREATE TABLE table_name_22 ( delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates? ### Response:
SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903
### Instruction: CREATE TABLE table_204_383 ( 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. -- which nation had the most gold medals ? ### Response:
SELECT "nation" FROM table_204_383 ORDER BY "gold" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_21 ( status VARCHAR, population VARCHAR, census_ranking VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930? ### Response:
SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008"
### Instruction: CREATE TABLE table_76365 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On September 10, 1989 how many people attended the game? ### Response:
SELECT "Attendance" FROM table_76365 WHERE "Date" = 'september 10, 1989'
### Instruction: CREATE TABLE table_59417 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what place did Adam Scott, who had a to par score of +1, finish? ### Response:
SELECT "Place" FROM table_59417 WHERE "To par" = '+1' AND "Player" = 'adam scott'
### Instruction: CREATE TABLE table_222771_1 ( iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ISO for South Sudan? ### Response:
SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan"
### Instruction: CREATE TABLE table_69174 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the film 'The Chapel'? ### Response:
SELECT "Director(s)" FROM table_69174 WHERE "Film" = 'the chapel'
### Instruction: CREATE TABLE table_78387 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the high grid for ferrari's with 2 laps? ### Response:
SELECT MAX("Grid") FROM table_78387 WHERE "Constructor" = 'ferrari' AND "Laps" = '2'
### Instruction: CREATE TABLE table_30046 ( "City" text, "State or Territory" text, "Station call sign" text, "Network" text, "Channel number" real, "Programs Aired" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which state or territory had a channel number of exactly 7? ### Response:
SELECT "State or Territory" FROM table_30046 WHERE "Channel number" = '7'
### Instruction: CREATE TABLE table_18125 ( "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. -- when was the first elected for districk oklahoma 1? ### Response:
SELECT "First elected" FROM table_18125 WHERE "District" = 'Oklahoma 1'
### Instruction: CREATE TABLE table_44252 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the best when the qual 2 is 1:47.042? ### Response:
SELECT "Best" FROM table_44252 WHERE "Qual 2" = '1:47.042'
### Instruction: CREATE TABLE table_name_1 ( poles INTEGER, wins VARCHAR, season VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Poles, when Season is before 2005, when Position is '2nd', and when Wins is less than 6? ### Response:
SELECT SUM(poles) FROM table_name_1 WHERE season < 2005 AND position = "2nd" AND wins < 6
### Instruction: CREATE TABLE table_27470 ( "Team" text, "Home city" text, "Home ground" text, "In Toppserien since" real, "First appearance" real, "Seasons" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams have been in Topperserien for 8 seasons? ### Response:
SELECT COUNT("Team") FROM table_27470 WHERE "Seasons" = '8'
### Instruction: CREATE TABLE table_44386 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Record of 4 2 0? ### Response:
SELECT "Date" FROM table_44386 WHERE "Record" = '4–2–0'
### Instruction: CREATE TABLE table_name_89 ( place VARCHAR, to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of the Player with a To par of 10 and a Score of 67-67-66=200? ### Response:
SELECT place FROM table_name_89 WHERE to_par = "–10" AND score = 67 - 67 - 66 = 200
### Instruction: CREATE TABLE table_38714 ( "Task No." real, "Date given" text, "Head of Household" text, "Hand Grenade User" text, "Hand Grenade Recipient" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which task had Cathy as the hand grenade user? ### Response:
SELECT "Task No." FROM table_38714 WHERE "Hand Grenade User" = 'cathy'
### Instruction: CREATE TABLE table_35694 ( "Category" text, "Type" text, "Attribute" text, "Bubbles" text, "Cancelable" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which bubble have a cancelable of yes and an attribute of onpointerdown? ### Response:
SELECT "Bubbles" FROM table_35694 WHERE "Cancelable" = 'yes' AND "Attribute" = 'onpointerdown'
### Instruction: CREATE TABLE table_47978 ( "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 w 100-99 score? ### Response:
SELECT "Record" FROM table_47978 WHERE "Score" = 'w 100-99'
### Instruction: CREATE TABLE table_57810 ( "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. -- On what surface was the score 6 2, 6 1? ### Response:
SELECT "Surface" FROM table_57810 WHERE "Score" = '6–2, 6–1'
### 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 me how many in each class of all races using a bar chart. ### Response:
SELECT Class, COUNT(Class) FROM race GROUP BY Class
### Instruction: CREATE TABLE table_27130 ( "Wind farm" text, "Installed capacity (MW)" text, "Turbine Manufacturer" text, "County" text, "Date in Service" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the wind farm in Musselshell started service? ### Response:
SELECT "Date in Service" FROM table_27130 WHERE "County" = 'Musselshell'
### Instruction: CREATE TABLE table_42112 ( "Source" text, "Date" text, "Clinton" text, "Obama" text, "Undecided" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Source of surveyusa and a Obama of 54%? ### Response:
SELECT "Date" FROM table_42112 WHERE "Source" = 'surveyusa' AND "Obama" = '54%'
### Instruction: CREATE TABLE table_name_42 ( year INTEGER, _aramac_ VARCHAR, population__total_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Year has an (Aramac) of 832 and a Population (Total) less than 3,762? ### Response:
SELECT SUM(year) FROM table_name_42 WHERE _aramac_ = 832 AND population__total_ < 3 OFFSET 762
### Instruction: CREATE TABLE table_29130 ( "Name" text, "Position" text, "Height" text, "Weight" real, "Age" real, "Home Town" text, "Team/School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did adrian smith go to college? ### Response:
SELECT "Team/School" FROM table_29130 WHERE "Name" = 'Adrian Smith'
### Instruction: CREATE TABLE table_63931 ( "Club" text, "League/Division" text, "Home Ground" text, "Location" text, "Position in 2012-13" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which club, had a home ground of n/a? ### Response:
SELECT "Club" FROM table_63931 WHERE "Home Ground" = 'n/a'
### Instruction: CREATE TABLE table_204_19 ( id number, "university" text, "winner" number, "runner-up" number, "years won" text, "years runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which universities had a number of wins higher than 12 ? ### Response:
SELECT "university" FROM table_204_19 WHERE "winner" > 12
### Instruction: CREATE TABLE table_204_35 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has the team been in the preferente division since 1990 ? ### Response:
SELECT COUNT(*) FROM table_204_35 WHERE "division" = 'preferente' AND "season" >= 1990
### Instruction: CREATE TABLE table_35288 ( "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. -- WHich Position has a Player of david laliberte? ### Response:
SELECT "Position" FROM table_35288 WHERE "Player" = 'david laliberte'
### Instruction: CREATE TABLE table_34506 ( "Rank" real, "Name" text, "Headquarters" text, "Industry" text, "Market value ( USD million)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the market value of the automotive industry? ### Response:
SELECT COUNT("Market value ( USD million)") FROM table_34506 WHERE "Industry" = 'automotive'
### Instruction: CREATE TABLE table_78034 ( "Source" text, "Date" text, "Cardwell" text, "Jones" text, "Knight" text, "Lanier" text, "Martin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What source has a cardwell of 20%? ### Response:
SELECT "Source" FROM table_78034 WHERE "Cardwell" = '20%'
### Instruction: CREATE TABLE table_61128 ( "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 result on september 26? ### Response:
SELECT "Result" FROM table_61128 WHERE "Date" = 'september 26'
### Instruction: CREATE TABLE table_73279 ( "Season" real, "Episode" real, "Episode Summary" text, "Premier date" text, "External Link" text, "Coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least episode for donnie klang ### Response:
SELECT MIN("Episode") FROM table_73279 WHERE "Coach" = 'Donnie Klang'
### Instruction: CREATE TABLE table_14741 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has january 15, 2005 as the date? ### Response:
SELECT "Score" FROM table_14741 WHERE "Date" = 'january 15, 2005'
### Instruction: CREATE TABLE table_54759 ( "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 most bronze a team with more than 2 silvers has? ### Response:
SELECT MAX("Bronze") FROM table_54759 WHERE "Silver" > '2'
### Instruction: CREATE TABLE table_name_36 ( current_club VARCHAR, position VARCHAR, year_born VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current club of the Forward who was born after 1983 and who has a height under 2.12? ### Response:
SELECT current_club FROM table_name_36 WHERE year_born > 1983 AND height < 2.12 AND position = "forward"
### Instruction: CREATE TABLE table_4017 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Team Nickname" text, "Primary conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the location for yellow jackets ### Response:
SELECT "Location" FROM table_4017 WHERE "Team Nickname" = 'Yellow Jackets'
### Instruction: CREATE TABLE table_51712 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What entrant had less than 3 points before 1963? ### Response:
SELECT "Entrant" FROM table_51712 WHERE "Year" < '1963' AND "Points" < '3'
### Instruction: CREATE TABLE table_name_28 ( partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4 6, 1 6? ### Response:
SELECT partner FROM table_name_28 WHERE surface = "clay" AND outcome = "runner-up" AND score = "4–6, 1–6"
### Instruction: CREATE TABLE table_204_312 ( id number, "stage" text, "date" text, "route" text, "terrain" text, "length" text, "winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the only stage that sean kelly won . ### Response:
SELECT "stage" FROM table_204_312 WHERE "winner" = 'sean kelly'
### Instruction: CREATE TABLE table_40784 ( "Rank" text, "Runs" text, "Player" text, "Match" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank has Bill Ponsford (vic) as the player? ### Response:
SELECT "Rank" FROM table_40784 WHERE "Player" = 'bill ponsford (vic)'
### Instruction: CREATE TABLE table_8258 ( "Game" real, "April" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent in a game higher than 76 on April 6? ### Response:
SELECT "Opponent" FROM table_8258 WHERE "Game" > '76' AND "April" = '6'
### Instruction: CREATE TABLE table_name_39 ( points INTEGER, club VARCHAR, goals_conceded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the points of club nev is-2 k dainiai, which has more than 35 goals conceded? ### Response:
SELECT SUM(points) FROM table_name_39 WHERE club = "nevėžis-2 kėdainiai" AND goals_conceded > 35
### Instruction: CREATE TABLE table_38230 ( "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 was the score of the final against Dane Propoggia? ### Response:
SELECT "Score" FROM table_38230 WHERE "Opponent in the final" = 'dane propoggia'
### Instruction: CREATE TABLE table_25089 ( "#" real, "District" text, "Province" text, "Region" text, "UBIGEO" real, "Elevation (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many elevations are listed for Paratia? ### Response:
SELECT COUNT("Elevation (m)") FROM table_25089 WHERE "District" = 'Paratia'
### Instruction: CREATE TABLE table_59181 ( "Elimination" text, "Wrestler" text, "Eliminated by" text, "Elimination Move" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the elimination number for the time 13:43? ### Response:
SELECT "Elimination" FROM table_59181 WHERE "Time" = '13:43'
### Instruction: CREATE TABLE table_1597 ( "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. -- at the area of 113.12, what was the population? ### Response:
SELECT "Population" FROM table_1597 WHERE "Area km 2" = '113.12'
### Instruction: CREATE TABLE table_25703_1 ( birth_2013 VARCHAR, january_september_2013 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many figures for birth/2013 when January-September is Oryol Oblast? ### Response:
SELECT COUNT(birth_2013) FROM table_25703_1 WHERE january_september_2013 = "Oryol Oblast"
### Instruction: CREATE TABLE table_name_10 ( year VARCHAR, extra VARCHAR, result VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Result of 1st, and a Venue of melbourne , australia, and a Extra of 100 m happened in which year? ### Response:
SELECT year FROM table_name_10 WHERE result = "1st" AND venue = "melbourne , australia" AND extra = "100 m"
### Instruction: CREATE TABLE table_18734 ( "School" text, "Location" text, "Founded" real, "Affiliation" text, "Mascot" text, "Division" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHat year was north college hill high school founded? ### Response:
SELECT MAX("Founded") FROM table_18734 WHERE "School" = 'North College Hill High School'
### Instruction: CREATE TABLE table_11463 ( "Team" text, "Chassis" text, "Engine" text, "Tyre" text, "Drivers" text, "Races" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Christian Fittipaldi drove in what team? ### Response:
SELECT "Team" FROM table_11463 WHERE "Drivers" = 'christian fittipaldi'
### Instruction: CREATE TABLE table_5708 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Drawn of 0, and a Games larger than 5 has what amount of highest points? ### Response:
SELECT MAX("Points") FROM table_5708 WHERE "Drawn" = '0' AND "Games" > '5'
### Instruction: CREATE TABLE table_11263 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- with a record of 63-76 what was the attendance? ### Response:
SELECT "Attendance" FROM table_11263 WHERE "Record" = '63-76'
### Instruction: CREATE TABLE table_name_46 ( team VARCHAR, driver VARCHAR, position VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what team has a drive name emmanuel de graffenried and a position larger than 1 as well as the date of 9/1953? ### Response:
SELECT team FROM table_name_46 WHERE position > 1 AND date = "9/1953" AND driver = "emmanuel de graffenried"
### Instruction: CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) CREATE TABLE teachers ( lastname text, firstname text, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade. ### Response:
SELECT grade, COUNT(DISTINCT classroom), COUNT(*) FROM list GROUP BY grade
### Instruction: CREATE TABLE table_51498 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest pick for a defensive back at Drake? ### Response:
SELECT MIN("Pick") FROM table_51498 WHERE "Position" = 'defensive back' AND "School" = 'drake'
### Instruction: CREATE TABLE table_203_499 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number, "money ($)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players received a score below 283 ? ### Response:
SELECT COUNT("player") FROM table_203_499 WHERE "score" < 283
### Instruction: CREATE TABLE table_73490 ( "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. -- Name the surface for philadelphia ### Response:
SELECT "Surface" FROM table_73490 WHERE "Championship" = 'Philadelphia'
### Instruction: CREATE TABLE table_26099252_1 ( vp9___webm__ VARCHAR, vp8___webm__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When vp8 ( webm ) is 6.0, how much is the vp9 ( webm )? ### Response:
SELECT vp9___webm__ FROM table_26099252_1 WHERE vp8___webm__ = "6.0"
### Instruction: CREATE TABLE table_63564 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place was the player who scored 70-69-68=207? ### Response:
SELECT "Place" FROM table_63564 WHERE "Score" = '70-69-68=207'
### Instruction: CREATE TABLE table_name_63 ( entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis? ### Response:
SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24"
### Instruction: CREATE TABLE table_19299 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the exited day where the celebrity is vic reeves? ### Response:
SELECT "Exited" FROM table_19299 WHERE "Celebrity" = 'Vic Reeves'
### Instruction: CREATE TABLE table_66982 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the name with area of eketahuna ### Response:
SELECT "Name" FROM table_66982 WHERE "Area" = 'eketahuna'