instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_204_679 ( 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 par does dave douglas ### Response:
SELECT "to par" FROM table_204_679 WHERE "player" = 'dave douglas'
### Instruction: CREATE TABLE table_204_492 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year did it only take place in sherbrooke , canada ? ### Response:
SELECT "year" FROM table_204_492 WHERE "venue" = 'sherbrooke, canada'
### Instruction: CREATE TABLE table_25009 ( "Year" real, "Song title" text, "Artist" text, "Master recording" text, "NA/UK/AUS/JPN/NL tier" text, "European tier" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the song title for europe ### Response:
SELECT "Song title" FROM table_25009 WHERE "Artist" = 'Europe'
### Instruction: CREATE TABLE table_44088 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of students at the community college? ### Response:
SELECT MIN("Founded") FROM table_44088 WHERE "Affiliation" = 'community college'
### Instruction: CREATE TABLE tags ( index number, id number, tag text ) CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which entry have been downloaded the least? ### Response:
SELECT groupname FROM torrents ORDER BY totalsnatched LIMIT 1
### Instruction: CREATE TABLE table_204_927 ( id number, "title" text, "year" number, "artist(s)" text, "album" text, "writer(s)" text, "producer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is eightysix 's latest song ? ### Response:
SELECT "title" FROM table_204_927 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_67210 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least attendance that has 3-5 as a record? ### Response:
SELECT MIN("Attendance") FROM table_67210 WHERE "Record" = '3-5'
### Instruction: CREATE TABLE table_28878 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates in the Kentucky 9 district? ### Response:
SELECT "Candidates" FROM table_28878 WHERE "District" = 'Kentucky 9'
### Instruction: CREATE TABLE table_23528223_2 ( no_in_season VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many season numbers are there for the episode seen by 13.54 million people in the US? ### Response:
SELECT COUNT(no_in_season) FROM table_23528223_2 WHERE us_viewers__millions_ = "13.54"
### Instruction: CREATE TABLE table_35737 ( "Word" text, "Pronunciation a" text, "Meaning a" text, "Pronunciation b" text, "Meaning b" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the pronunciation b for meaning of grind ### Response:
SELECT "Pronunciation b" FROM table_35737 WHERE "Meaning a" = 'grind'
### Instruction: CREATE TABLE table_53629 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team scored more than 572 points and had more than 29 games? ### Response:
SELECT "Team" FROM table_53629 WHERE "Points" > '572' AND "Games" > '29'
### Instruction: CREATE TABLE table_204_179 ( id number, "season" number, "division" number, "tms." number, "pos." number, "fa cup" text, "afc cl" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year had the least amount of teams that competed ? ### Response:
SELECT "season" FROM table_204_179 ORDER BY "tms." LIMIT 1
### Instruction: CREATE TABLE table_11303072_5 ( batting_team VARCHAR, batting_partners VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the batting team with the batting partnets of thilina kandamby and rangana herath? ### Response:
SELECT batting_team FROM table_11303072_5 WHERE batting_partners = "Thilina Kandamby and Rangana Herath"
### Instruction: CREATE TABLE table_3629 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the district with the candidates edwin gray (dr)? ### Response:
SELECT "District" FROM table_3629 WHERE "Candidates" = 'Edwin Gray (DR)'
### Instruction: CREATE TABLE table_203_734 ( 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. -- what was the only year that a competition was held in china ? ### Response:
SELECT "year" FROM table_203_734 WHERE "venue" = 'china'
### Instruction: CREATE TABLE table_204_311 ( 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 won the most gold medals ? ### Response:
SELECT "nation" FROM table_204_311 ORDER BY "gold" DESC LIMIT 1
### Instruction: CREATE TABLE table_15860 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many number does Fordham school have? ### Response:
SELECT COUNT("No.") FROM table_15860 WHERE "School/Club Team" = 'Fordham'
### Instruction: CREATE TABLE teachers ( classroom VARCHAR, firstname VARCHAR, lastname VARCHAR ) CREATE TABLE list ( classroom VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of students taught by TARRING LEIA. ### Response:
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "TARRING" AND T2.lastname = "LEIA"
### Instruction: CREATE TABLE table_984 ( "Competition" text, "Record" text, "Result" text, "Home Matches" real, "Home Attendance" real, "Avg. Home Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when the team had contested 14 home games? ### Response:
SELECT "Result" FROM table_984 WHERE "Home Matches" = '14'
### Instruction: CREATE TABLE table_11664625_2 ( no_in_season INTEGER, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the first season there were 14.57 million U.S viewers? ### Response:
SELECT MIN(no_in_season) FROM table_11664625_2 WHERE us_viewers__millions_ = "14.57"
### Instruction: CREATE TABLE table_76160 ( "Season" text, "Winner" text, "Winning Song" text, "Winning Song (English Title)" text, "Debut Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which English winning song had the winner aris runtuwene? ### Response:
SELECT "Winning Song (English Title)" FROM table_76160 WHERE "Winner" = 'aris runtuwene'
### Instruction: CREATE TABLE table_3279 ( "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. -- How many touchdowns does Boggs have? ### Response:
SELECT MIN("Touchdowns") FROM table_3279 WHERE "Player" = 'Boggs'
### Instruction: CREATE TABLE table_16201038_4 ( missouri_vs VARCHAR, at_opponents_venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How ### Response:
SELECT missouri_vs FROM table_16201038_4 WHERE at_opponents_venue = "UI, 4-1"
### Instruction: CREATE TABLE table_76300 ( "noun root (meaning)" text, "case suffix (case)" text, "postposition" text, "full word" text, "English meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is English Meaning, when Full Word is 'Shens Gamo'? ### Response:
SELECT "English meaning" FROM table_76300 WHERE "full word" = 'shens gamo'
### Instruction: CREATE TABLE table_4441 ( "Season" text, "Div." text, "Pos." text, "Pld." text, "Pts." text, "Play-offs" text, "Trophy" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the pts for glasgow rocks ### Response:
SELECT "Pts." FROM table_4441 WHERE "Div." = 'glasgow rocks'
### Instruction: CREATE TABLE table_4593 ( "Name" text, "Bullet" text, "Length" text, "Base" text, "Shoulder" text, "Neck" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which shoulder has a Neck of 7.3 (.288)? ### Response:
SELECT "Shoulder" FROM table_4593 WHERE "Neck" = '7.3 (.288)'
### Instruction: CREATE TABLE table_2562572_9 ( dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the dominant religion for in 2002? ### Response:
SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = "Нови Сад"
### Instruction: CREATE TABLE table_name_83 ( region_1 VARCHAR, no_of_episodes VARCHAR, region_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which region 1 has 12 Episodes and a Region 2 of 18 August 2008? ### Response:
SELECT region_1 FROM table_name_83 WHERE no_of_episodes = 12 AND region_2 = "18 august 2008"
### Instruction: CREATE TABLE table_2134521_1 ( pop__1996_ VARCHAR, area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people lived in the census division spread out on 9909.31 km2 in 1996? ### Response:
SELECT pop__1996_ FROM table_2134521_1 WHERE area__km²_ = "9909.31"
### Instruction: CREATE TABLE table_257 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the game in Mexico played? ### Response:
SELECT "Date" FROM table_257 WHERE "Location" = 'Mexico'
### Instruction: CREATE TABLE table_55986 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest attendance on September 4, 1983? ### Response:
SELECT MIN("Attendance") FROM table_55986 WHERE "Date" = 'september 4, 1983'
### Instruction: CREATE TABLE table_40085 ( "Sport" text, "Record" text, "Athlete(s)" text, "Nation" text, "Date" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Elizabeth Yarnold's nation? ### Response:
SELECT "Nation" FROM table_40085 WHERE "Athlete(s)" = 'elizabeth yarnold'
### Instruction: CREATE TABLE table_5583 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Overall is the lowest one that has a Position of offensive tackle? ### Response:
SELECT MIN("Overall") FROM table_5583 WHERE "Position" = 'offensive tackle'
### Instruction: CREATE TABLE table_30966 ( "Episode" real, "Broadcast date" text, "Guest(s)" text, "Singer(s)" text, "Ratings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many broadcaste dates features the overtones ### Response:
SELECT COUNT("Broadcast date") FROM table_30966 WHERE "Singer(s)" = 'The Overtones'
### Instruction: CREATE TABLE table_203_4 ( id number, "medal" text, "name" text, "sport" text, "event" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what sport won the most gold medals ? ### Response:
SELECT "sport" FROM table_203_4 WHERE "medal" = 'gold' GROUP BY "sport" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_55816 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue on October 16, 1996? ### Response:
SELECT "Venue" FROM table_55816 WHERE "Date" = 'october 16, 1996'
### Instruction: CREATE TABLE manufacturer ( num_of_shops INTEGER, Num_of_Factories INTEGER, open_year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average number of factories and maximum number of shops for manufacturers that opened before 1990. ### Response:
SELECT MAX(num_of_shops), AVG(Num_of_Factories) FROM manufacturer WHERE open_year < 1990
### 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. -- what was the charge against the defendant who was arrested after 1955 ? ### Response:
SELECT "charge" FROM table_204_479 WHERE "arrested" > 1955
### Instruction: CREATE TABLE table_12617 ( "Position" real, "Channel" text, "Analogue terrestrial channel" text, "Digital terrestrial channel" text, "Internet" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the analogue terrestrial channel when the internet shows channel4.com? ### Response:
SELECT "Analogue terrestrial channel" FROM table_12617 WHERE "Internet" = 'channel4.com'
### Instruction: CREATE TABLE table_33811 ( "S.No" real, "Company" text, "Incorporated" real, "Ministry" text, "Sector" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sector of the company with an incorporated date before 1983? ### Response:
SELECT "Sector" FROM table_33811 WHERE "Incorporated" < '1983'
### Instruction: CREATE TABLE table_45849 ( "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 was the final score for the game played against the New York Knicks? ### Response:
SELECT "Score" FROM table_45849 WHERE "Opponent" = 'new york knicks'
### Instruction: CREATE TABLE table_41336 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which bike had fewer than 23 laps and a grid number of 4? ### Response:
SELECT "Bike" FROM table_41336 WHERE "Laps" < '23' AND "Grid" = '4'
### Instruction: CREATE TABLE table_2791 ( "Date" text, "Location" text, "Opponent" text, "Cyclones Points" real, "Opp. Points" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Cyclones get 46 points? ### Response:
SELECT "Date" FROM table_2791 WHERE "Cyclones Points" = '46'
### Instruction: CREATE TABLE table_74463 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area in acres of gortnaskehy? ### Response:
SELECT "Area( acres )" FROM table_74463 WHERE "Townland" = 'Gortnaskehy'
### Instruction: CREATE TABLE table_48754 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Runner(s)-Up is Oliver Wilson? ### Response:
SELECT "Date" FROM table_48754 WHERE "Runner(s)-up" = 'oliver wilson'
### Instruction: CREATE TABLE table_61063 ( "Season" text, "Date" text, "Winners" text, "Finalists" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which season did the Rangers win with a score of 2 1? ### Response:
SELECT "Season" FROM table_61063 WHERE "Score" = '2–1' AND "Winners" = 'rangers'
### Instruction: CREATE TABLE table_43515 ( "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 time for qual 2 that has the best time of 59.266? ### Response:
SELECT "Qual 2" FROM table_43515 WHERE "Best" = '59.266'
### Instruction: CREATE TABLE table_203_61 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many gold medals has kenya won ? ### Response:
SELECT "gold" FROM table_203_61 WHERE "nation" = 'kenya'
### Instruction: CREATE TABLE table_name_49 ( laps INTEGER, driver VARCHAR, points VARCHAR, car__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of laps for ryan newman with over 96 points, a cur number under 24, ### Response:
SELECT MIN(laps) FROM table_name_49 WHERE points > 96 AND car__number < 24 AND driver = "ryan newman"
### Instruction: CREATE TABLE table_203_717 ( id number, "number" number, "year built" number, "livery" text, "current status" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- are the most trains operational or do they have another status listed ? ### Response:
SELECT "current status" FROM table_203_717 GROUP BY "current status" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_54495 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date was the Attendance 16,212? ### Response:
SELECT "Date" FROM table_54495 WHERE "Attendance" = '16,212'
### Instruction: CREATE TABLE table_45906 ( "Rank" real, "City" text, "Airport" text, "Passengers" real, "Carriers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank of the airport that has 79,290 passengers? ### Response:
SELECT COUNT("Rank") FROM table_45906 WHERE "Passengers" = '79,290'
### Instruction: CREATE TABLE table_name_83 ( grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the grid total that had a retired for engine, teo fabi driving, and under 39 laps? ### Response:
SELECT SUM(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "teo fabi" AND laps < 39
### Instruction: CREATE TABLE table_73393 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date successor seated is south carolina 3rd ### Response:
SELECT "Date successor seated" FROM table_73393 WHERE "District" = 'South Carolina 3rd'
### Instruction: CREATE TABLE table_name_1 ( deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? ### Response:
SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917
### Instruction: CREATE TABLE table_32035 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the highest Grid for Toyota and jarno trulli ### Response:
SELECT MAX("Grid") FROM table_32035 WHERE "Constructor" = 'toyota' AND "Driver" = 'jarno trulli'
### Instruction: CREATE TABLE table_74397 ( "No. in series" real, "No. in 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. -- When did 'My Confessions' first air? ### Response:
SELECT "Original air date" FROM table_74397 WHERE "Title" = 'My Confessions'
### Instruction: CREATE TABLE table_22056184_1 ( poles INTEGER, series VARCHAR, f_laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many poles when British formula renault 2.0 series and f/laps 1? ### Response:
SELECT MIN(poles) FROM table_22056184_1 WHERE series = "British Formula Renault 2.0" AND f_laps = 1
### Instruction: CREATE TABLE table_21436373_6 ( type_of_record VARCHAR, result_games VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which type of record has result/games of b.c. 16 @ edmonton 22? ### Response:
SELECT type_of_record FROM table_21436373_6 WHERE result_games = "B.C. 16 @ Edmonton 22"
### Instruction: CREATE TABLE table_name_88 ( opponent VARCHAR, time__et_ VARCHAR, week VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did they play at lincoln financial field at 8:30 (ET) after week 14? ### Response:
SELECT opponent FROM table_name_88 WHERE week > 14 AND game_site = "lincoln financial field" AND time__et_ = "8:30"
### Instruction: CREATE TABLE table_48755 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Margin Of Victory is 4 Strokes? ### Response:
SELECT "Date" FROM table_48755 WHERE "Margin of victory" = '4 strokes'
### Instruction: CREATE TABLE table_name_7 ( goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9? ### Response:
SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9
### Instruction: CREATE TABLE table_203_125 ( id number, "club" text, "winners" number, "runner-ups" number, "winning years" text, "runner-up years" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which club has played in the most supercups without winning ? ### Response:
SELECT "club" FROM table_203_125 ORDER BY "runner-ups" DESC LIMIT 1
### Instruction: CREATE TABLE table_16439764_1 ( m_v_ft_s INTEGER, max_height__ft_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many feet per second does a shell move where the height range is 23500? ### Response:
SELECT MIN(m_v_ft_s) FROM table_16439764_1 WHERE max_height__ft_ = 23500
### Instruction: CREATE TABLE table_228973_3 ( no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the number of the season episode whose writer is R. Scott Gemmill and the Director is Ray Austin? ### Response:
SELECT no_in_season FROM table_228973_3 WHERE written_by = "R. Scott Gemmill" AND directed_by = "Ray Austin"
### Instruction: CREATE TABLE table_78472 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Attendance of the Game at Hoosier Dome? ### Response:
SELECT "Attendance" FROM table_78472 WHERE "Game site" = 'hoosier dome'
### Instruction: CREATE TABLE table_66976 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps were there in the race that netted the winner 19 points? ### Response:
SELECT "Laps" FROM table_66976 WHERE "Points" = '19'
### Instruction: CREATE TABLE table_79092 ( "Year" real, "Gold" text, "Silver" text, "Bronze" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE YEAR WITH A BRONZE OF AIMO TEPSELL? ### Response:
SELECT MIN("Year") FROM table_79092 WHERE "Bronze" = 'aimo tepsell'
### Instruction: CREATE TABLE table_53842 ( "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. -- who is the team 2 when the 1st leg is 2-2? ### Response:
SELECT "Team 2" FROM table_53842 WHERE "1st leg" = '2-2'
### Instruction: CREATE TABLE table_204_288 ( id number, "region" text, "seed" number, "team" text, "coach" text, "finished" text, "final opponent" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team scored the least ? ### Response:
SELECT "team" FROM table_204_288 ORDER BY "score" LIMIT 1
### Instruction: CREATE TABLE table_46123 ( "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. -- What is the record when St. Louis is the visitor? ### Response:
SELECT "Record" FROM table_46123 WHERE "Visitor" = 'st. louis'
### Instruction: CREATE TABLE table_204_185 ( id number, "location" text, "town" text, "output (mw ac)" number, "modules" number, "number of arrays" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many arrays are not in hauppauge ? ### Response:
SELECT SUM("number of arrays") FROM table_204_185 WHERE "town" <> 'hauppauge'
### Instruction: CREATE TABLE table_27654 ( "Rank by average" real, "Place" real, "Couple" text, "Total points" real, "Number of dances" real, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What couple averaged 15.5? ### Response:
SELECT "Couple" FROM table_27654 WHERE "Average" = '15.5'
### Instruction: CREATE TABLE table_48297 ( "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 79-68-74=212? ### Response:
SELECT "Country" FROM table_48297 WHERE "Score" = '79-68-74=212'
### Instruction: CREATE TABLE table_203_570 ( id number, "#" number, "title" text, "tpb isbn" text, "tpb release date" text, "tpb page number" number, "collected material" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what title is at the top of the table ? ### Response:
SELECT "title" FROM table_203_570 WHERE id = 1
### Instruction: CREATE TABLE table_203_441 ( id number, "rank" number, "athlete" text, "ski time" text, "penalties\np+s+p+s" text, "total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many from china placed in top 10 ? ### Response:
SELECT COUNT(*) FROM table_203_441 WHERE "athlete" = 'chn'
### Instruction: CREATE TABLE table_name_33 ( bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the sum of bp 2nd comp with bp azeo of 57.5 ### Response:
SELECT SUM(bp_2nd_comp__) AS ˚c_ FROM table_name_33 WHERE bp_azeo__˚c_ = 57.5
### Instruction: CREATE TABLE table_17197 ( "Unit" text, "Commander" text, "Complement" text, "Killed" text, "Wounded" text, "Missing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of complement for 4th hanoverian brigade ### Response:
SELECT COUNT("Complement") FROM table_17197 WHERE "Unit" = '4th Hanoverian Brigade'
### Instruction: CREATE TABLE table_47136 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the method when the record was 3-2? ### Response:
SELECT "Method" FROM table_47136 WHERE "Record" = '3-2'
### Instruction: CREATE TABLE table_78630 ( "joule" text, "watt hour" text, "kilowatt hour" text, "electronvolt" text, "calorie" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many electronvolts is 3,600 joules? ### Response:
SELECT "electronvolt" FROM table_78630 WHERE "joule" = '3,600'
### Instruction: CREATE TABLE personfriend ( name text, friend text, year number ) CREATE TABLE person ( name text, age number, city text, gender text, job text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of people who has no friend living in the city of Austin. ### Response:
SELECT COUNT(DISTINCT name) FROM personfriend WHERE NOT friend IN (SELECT name FROM person WHERE city = 'Austin')
### Instruction: CREATE TABLE table_204_357 ( id number, "year" number, "div." text, "pos." text, "cup" text, "top scorer (league)" text, "score" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many 1/4 cups are there ? ### Response:
SELECT COUNT(*) FROM table_204_357 WHERE "cup" = '1/4'
### Instruction: CREATE TABLE table_19061741_3 ( edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When winner is the status and 77 is the total days in pbb house what is the edition? ### Response:
SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = "Winner"
### Instruction: CREATE TABLE table_6485 ( "College" text, "Bachelor's" real, "Masters" real, "Doctorate" real, "Specialist" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bachelor's degrees does the college with less than 0 specialists have? ### Response:
SELECT COUNT("Bachelor's") FROM table_6485 WHERE "Specialist" < '0'
### Instruction: CREATE TABLE table_51685 ( "Name" text, "Rank" text, "Years until mandatory retirement" text, "Appointed by" text, "Year appointed" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what rank has years until mandatory retirement of 6 years? ### Response:
SELECT "Rank" FROM table_51685 WHERE "Years until mandatory retirement" = '6 years'
### Instruction: CREATE TABLE table_203_612 ( 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 countries have earned no more than one gold medal ? ### Response:
SELECT "nation" FROM table_203_612 WHERE "gold" <= 1
### Instruction: CREATE TABLE mountain ( Name VARCHAR, Mountain_ID VARCHAR ) CREATE TABLE climber ( Mountain_ID VARCHAR, Country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the distinct names of mountains climbed by climbers from country 'West Germany'. ### Response:
SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany"
### Instruction: CREATE TABLE table_204_240 ( id number, "name" text, "current use" text, "completed" text, "namesake" text, "info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which building is only for the university 's admissions office ? ### Response:
SELECT "name" FROM table_204_240 WHERE "info" = "home to the university's admissions offices"
### Instruction: CREATE TABLE table_17927 ( "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 date of the game in week 14? ### Response:
SELECT "Date" FROM table_17927 WHERE "Week" = '14'
### Instruction: CREATE TABLE table_53943 ( "City" text, "Country" text, "Continent" text, "Summer" text, "Winter" text, "Season" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Winter in 1906? ### Response:
SELECT "Winter" FROM table_53943 WHERE "Year" = '1906'
### Instruction: CREATE TABLE table_204_450 ( 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. -- how many races was she above the top 10 ? ### Response:
SELECT COUNT("competition") FROM table_204_450 WHERE "position" < 10
### Instruction: CREATE TABLE table_203_251 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many fifth place winners were there in the second round of the 1979 masters tournament ? ### Response:
SELECT COUNT("player") FROM table_203_251 WHERE "place" = 5
### Instruction: CREATE TABLE table_name_73 ( nationality VARCHAR, college_junior_club_team__league_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Nationality, when College/Junior/Club Team (League) is 'Guelph Storm ( OHL )'? ### Response:
SELECT nationality FROM table_name_73 WHERE college_junior_club_team__league_ = "guelph storm ( ohl )"
### Instruction: CREATE TABLE table_7857 ( "Player" text, "League" real, "Cups" real, "Other" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number for other when Adam Pepper is the player with a total more than 7? ### Response:
SELECT COUNT("Other") FROM table_7857 WHERE "Player" = 'adam pepper' AND "Total" > '7'
### Instruction: CREATE TABLE table_203_192 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the world championships were not held in moscow , russia before what year ? ### Response:
SELECT "year" FROM table_203_192 WHERE "venue" = 'moscow, russia'
### Instruction: CREATE TABLE table_67530 ( "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 heat number of the athlete who finished in 2:23.95? ### Response:
SELECT AVG("Heat") FROM table_67530 WHERE "Time" = '2:23.95'
### Instruction: CREATE TABLE table_26241 ( "Episode Title" text, "Song(s) Title" text, "Writer" text, "Singer(s)" text, "Album(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who sand He's Bigfoot? ### Response:
SELECT "Singer(s)" FROM table_26241 WHERE "Song(s) Title" = 'He''s Bigfoot'
### Instruction: CREATE TABLE table_15710 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which competition has a Date of 2007-08-22? ### Response:
SELECT "Competition" FROM table_15710 WHERE "Date" = '2007-08-22'
### Instruction: CREATE TABLE table_34570 ( "Episode No." text, "Episode Title" text, "UK Broadcast Date" text, "Presenter" text, "Countries Visited" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the UK broadcast date of the episode with Ben Okri as the presenter? ### Response:
SELECT "UK Broadcast Date" FROM table_34570 WHERE "Presenter" = 'ben okri'
### Instruction: CREATE TABLE table_18171 ( "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. -- How many districts does gary condit represent? ### Response:
SELECT COUNT("District") FROM table_18171 WHERE "Incumbent" = 'Gary Condit'