instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_53765 ( "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 medal count when there is 1 Bronze medal and 1 Gold medal? ### Response:
SELECT MAX("Silver") FROM table_53765 WHERE "Bronze" = '1' AND "Gold" = '1'
### Instruction: CREATE TABLE table_54148 ( "Year" real, "Artist" text, "Composition" text, "Mintage" real, "Issue Price" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the year that had an issue price of $1,295.95? ### Response:
SELECT AVG("Year") FROM table_54148 WHERE "Issue Price" = '$1,295.95'
### Instruction: CREATE TABLE table_17113 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of nba drafts that went to east side high school ### Response:
SELECT COUNT("NBA Draft") FROM table_17113 WHERE "School" = 'East Side High School'
### Instruction: CREATE TABLE table_42729 ( "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Winning score when the To par was 21? ### Response:
SELECT "Winning score" FROM table_42729 WHERE "To par" = '−21'
### Instruction: CREATE TABLE table_20297668_1 ( ply__uk VARCHAR, _nz VARCHAR, _au_ VARCHAR, yarn_type__us_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the ply (uk, nz, au) for fingering ### Response:
SELECT ply__uk, _nz, _au_ FROM table_20297668_1 WHERE yarn_type__us_ = "Fingering"
### Instruction: CREATE TABLE artist ( name VARCHAR, country VARCHAR, artist_id VARCHAR ) CREATE TABLE exhibition ( artist_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name and country for the artist with most number of exhibitions? ### Response:
SELECT T2.name, T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_60764 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has 33 as the points? ### Response:
SELECT "Score" FROM table_60764 WHERE "Points" = '33'
### Instruction: CREATE TABLE table_53590 ( "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 time/retired associated with a grid of 5 and under 73 laps? ### Response:
SELECT "Time/Retired" FROM table_53590 WHERE "Laps" < '73' AND "Grid" = '5'
### Instruction: CREATE TABLE table_34425 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which game has houston as the road team, and june 15 as the date? ### Response:
SELECT "Game" FROM table_34425 WHERE "Road Team" = 'houston' AND "Date" = 'june 15'
### Instruction: CREATE TABLE table_34064 ( "Name" text, "Years" text, "Seasons" real, "Lost" real, "Pct." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average pct for George Felton when he had losses greater than 7? ### Response:
SELECT AVG("Pct.") FROM table_34064 WHERE "Lost" > '7' AND "Name" = 'george felton'
### Instruction: CREATE TABLE table_203_540 ( id number, "symbol" text, "gsi" text, "meaning" text, "unicode" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which has a unicode of u +22 a1 , the benchmark symbol or the factory symbol ? ### Response:
SELECT "meaning" FROM table_203_540 WHERE "unicode" = 'u+22a1'
### Instruction: CREATE TABLE table_33809 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Time" text, "Att." text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What loss has 16,458 as an Att.? ### Response:
SELECT "Loss" FROM table_33809 WHERE "Att." = '16,458'
### Instruction: CREATE TABLE table_20964 ( "Wicket" text, "Runs" real, "Batting partners" text, "Batting team" text, "Fielding team" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which season reported wickets of 7th? ### Response:
SELECT "Season" FROM table_20964 WHERE "Wicket" = '7th'
### Instruction: CREATE TABLE table_14935 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the earliest year that there was a cosworth v8 engine and 12 points? ### Response:
SELECT MIN("Year") FROM table_14935 WHERE "Engine" = 'cosworth v8' AND "Points" = '12'
### Instruction: CREATE TABLE table_27844 ( "Institution" text, "Location" text, "Type" text, "Joined" real, "Enrollment" real, "Nickname" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the enrollment for the institution that joined in 1987? ### Response:
SELECT MIN("Enrollment") FROM table_27844 WHERE "Joined" = '1987'
### Instruction: CREATE TABLE table_203_782 ( id number, "year" number, "actor" text, "award" text, "category" text, "role" text, "episode" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year scored the most nominations ? ### Response:
SELECT "year" FROM table_203_782 GROUP BY "year" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_56971 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the home game when the New Jersey team's record became 7-23-7? ### Response:
SELECT "Date" FROM table_56971 WHERE "Home" = 'new jersey' AND "Record" = '7-23-7'
### Instruction: CREATE TABLE table_24789 ( "Year (Ceremony)" text, "English Title" text, "Vietnamese title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many directors have vietnamese titles of Gate, Gate, Paragate? ### Response:
SELECT COUNT("Director") FROM table_24789 WHERE "Vietnamese title" = 'Gate, gate, paragate'
### Instruction: CREATE TABLE table_73593 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many values for attendance on the date of September 5? ### Response:
SELECT COUNT("Attendance") FROM table_73593 WHERE "Date" = 'September 5'
### Instruction: CREATE TABLE table_61807 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2011, when 2009 is 'A'? ### Response:
SELECT "2011" FROM table_61807 WHERE "2009" = 'a'
### Instruction: CREATE TABLE weather ( date VARCHAR, zip_code VARCHAR, min_dew_point_f INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which day and in which zip code was the min dew point lower than any day in zip code 94107? ### Response:
SELECT date, zip_code FROM weather WHERE min_dew_point_f < (SELECT MIN(min_dew_point_f) FROM weather WHERE zip_code = 94107)
### Instruction: CREATE TABLE table_54487 ( "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 home team at MCG? ### Response:
SELECT "Home team" FROM table_54487 WHERE "Venue" = 'mcg'
### Instruction: CREATE TABLE table_26018 ( "#" real, "Title" text, "Original airdate" text, "Timeslot" text, "Viewers (millions)" text, "Nightly rank" real, "Weekly rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did 'The Intervention' originally air? ### Response:
SELECT "Original airdate" FROM table_26018 WHERE "Title" = 'The Intervention'
### Instruction: CREATE TABLE table_66661 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the tournament that had byron black playing against magnus larsson? ### Response:
SELECT "Tournament" FROM table_66661 WHERE "Opponent" = 'magnus larsson'
### Instruction: CREATE TABLE table_name_10 ( intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.? ### Response:
SELECT intergiro_classification FROM table_name_10 WHERE trofeo_fast_team = "asics-c.g.a." AND stage = "13"
### Instruction: CREATE TABLE table_44640 ( "Rank" real, "Name" text, "Years" text, "League" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is average for Benito Lorenzi league when total is smaller than 143? ### Response:
SELECT AVG("League") FROM table_44640 WHERE "Name" = 'benito lorenzi' AND "Total" < '143'
### Instruction: CREATE TABLE table_23603 ( "Title" text, "Author" text, "Reader" text, "Format" text, "Company" text, "Release Date" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the title is The Way Through The Woods, what is the release date? ### Response:
SELECT "Release Date" FROM table_23603 WHERE "Title" = 'The Way Through the Woods'
### Instruction: CREATE TABLE table_203_6 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the number of times san marino was an opponent ? ### Response:
SELECT COUNT(*) FROM table_203_6 WHERE "opponent" = 'san marino'
### Instruction: CREATE TABLE table_name_12 ( gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4? ### Response:
SELECT SUM(gold) FROM table_name_12 WHERE silver > 1 AND rank > 1 AND total > 4 AND bronze > 4
### Instruction: CREATE TABLE table_48807 ( "Name" text, "Launched" text, "Vehicle" text, "Ceased operation" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the ceased operation that launched June 29, 1961? ### Response:
SELECT "Ceased operation" FROM table_48807 WHERE "Launched" = 'june 29, 1961'
### Instruction: CREATE TABLE table_673 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates when gregory w. meeks was the incumbent ### Response:
SELECT "Candidates" FROM table_673 WHERE "Incumbent" = 'Gregory W. Meeks'
### Instruction: CREATE TABLE table_46741 ( "Letter" text, "IPv6 address" text, "AS-number" text, "Operator" text, "Location #sites (global/local)" text, "Software" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which letter has an operator of the Defense Information Systems Agency? ### Response:
SELECT "Letter" FROM table_46741 WHERE "Operator" = 'defense information systems agency'
### Instruction: CREATE TABLE table_62509 ( "Date" text, "Venue" text, "Opponent" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the match against Arema Malang that ended in a draw, what was the final score? ### Response:
SELECT "Score" FROM table_62509 WHERE "Result" = 'draw' AND "Opponent" = 'arema malang'
### Instruction: CREATE TABLE table_72267 ( "State" text, "Preliminaries" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the evening gown where state is south dakota ### Response:
SELECT "Evening Gown" FROM table_72267 WHERE "State" = 'South Dakota'
### Instruction: CREATE TABLE table_59669 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From which country was the player whose year(s) won was 1983? ### Response:
SELECT "Country" FROM table_59669 WHERE "Year(s) won" = '1983'
### Instruction: CREATE TABLE table_78836 ( "Class" text, "Number(s)" text, "Quantity" real, "Year(s) of Manufacture" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Class has a Year(s) of Manufacture of 1899? ### Response:
SELECT "Class" FROM table_78836 WHERE "Year(s) of Manufacture" = '1899'
### Instruction: CREATE TABLE table_70716 ( "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 name of the opponent that has a record of 66-69? ### Response:
SELECT "Opponent" FROM table_70716 WHERE "Record" = '66-69'
### Instruction: CREATE TABLE table_55140 ( "Title" text, "Publisher" text, "First Year" text, "Last Year" text, "Genre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the DC Comics title that debuted in 1937 end? ### Response:
SELECT "Last Year" FROM table_55140 WHERE "First Year" = '1937' AND "Publisher" = 'dc comics'
### Instruction: CREATE TABLE table_34074 ( "Track number" real, "Song title" text, "Songwriter(s)" text, "Orchestra" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the time with track number less than 4 for you're my everything ### Response:
SELECT "Time" FROM table_34074 WHERE "Track number" < '4' AND "Song title" = 'you''re my everything'
### Instruction: CREATE TABLE table_73899 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in 1953, which of the institutions joined? ### Response:
SELECT "Institution" FROM table_73899 WHERE "Joined" = '1953'
### Instruction: CREATE TABLE table_name_26 ( filename_extension VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR, open_standard VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Filename extension has a Word wrap support of yes, an Open standard of no, and an Interactivity support of yes? ### Response:
SELECT filename_extension FROM table_name_26 WHERE word_wrap_support = "yes" AND open_standard = "no" AND interactivity_support = "yes"
### 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. -- which country was ranked as the top in the 1999 all africa games ? ### Response:
SELECT "nation" FROM table_203_61 ORDER BY "rank" LIMIT 1
### Instruction: CREATE TABLE table_36155 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text, "Alternate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the alternate of the nation with hubert gr ndhammer as the second? ### Response:
SELECT "Alternate" FROM table_36155 WHERE "Second" = 'hubert gründhammer'
### Instruction: CREATE TABLE table_29264 ( "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode named 'Don't just do it'? ### Response:
SELECT "Directed by" FROM table_29264 WHERE "Title" = 'Don''t Just Do It'
### Instruction: CREATE TABLE table_31232 ( "Seed" real, "Rank" real, "Player" text, "Points" real, "Points defending" real, "Points won" real, "New points" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status when the rank is 2? ### Response:
SELECT "Status" FROM table_31232 WHERE "Rank" = '2'
### Instruction: CREATE TABLE table_39399 ( "Year" real, "Champion" text, "Country" text, "Venue" text, "Location" text, "Score" text, "Winner's share ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning score in 2000? ### Response:
SELECT "Score" FROM table_39399 WHERE "Year" = '2000'
### Instruction: CREATE TABLE table_21350934_2 ( venue VARCHAR, opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue has bradford bulls as the opponent on the date of 06/09/2009? ### Response:
SELECT venue FROM table_21350934_2 WHERE opponent = "Bradford Bulls" AND date = "06/09/2009"
### Instruction: CREATE TABLE table_203_179 ( id number, "goal" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many friendly matches were in the table ? ### Response:
SELECT COUNT(*) FROM table_203_179 WHERE "competition" = 'friendly match'
### Instruction: CREATE TABLE table_24976 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many pick # are there for the goaltender position? ### Response:
SELECT MIN("Pick #") FROM table_24976 WHERE "Position" = 'Goaltender'
### Instruction: CREATE TABLE table_42077 ( "Rank" real, "Location" text, "Total Passengers" real, "Annual change" text, "Capacity in use" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Capacity in use with an Annual change that is 21.8%? ### Response:
SELECT "Capacity in use" FROM table_42077 WHERE "Annual change" = '21.8%'
### Instruction: CREATE TABLE table_65751 ( "Frequency" text, "Call sign" text, "Format" text, "Owner" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Format of FM 100.5 Licensed to Hope? ### Response:
SELECT "Format" FROM table_65751 WHERE "Notes" = 'licensed to hope' AND "Frequency" = 'fm 100.5'
### Instruction: CREATE TABLE table_name_84 ( tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? ### Response:
SELECT MIN(tonnage___grt__) FROM table_name_84 WHERE date = "26 september 1940" AND ship_name = "ashantian"
### Instruction: CREATE TABLE table_71241 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft (m)" text, "Floors" text, "Architect" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years as tallest building was Independence Hall? ### Response:
SELECT "Years as tallest" FROM table_71241 WHERE "Name" = 'independence hall'
### Instruction: CREATE TABLE table_80307 ( "Year" real, "Winner" text, "Country" text, "Purse ( $ )" real, "Score" text, "First Prize ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the top first place prize in 1997? ### Response:
SELECT MAX("First Prize ( $ )") FROM table_80307 WHERE "Year" = '1997'
### Instruction: CREATE TABLE table_36141 ( "Candidate" text, "Party" text, "EU Party" text, "1st count" real, "29th count" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which eu party has a 29th count of 40,529? ### Response:
SELECT "EU Party" FROM table_36141 WHERE "29th count" = '40,529'
### Instruction: CREATE TABLE table_28909 ( "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. -- Which district did William A. Burwell (Dr) belong to? ### Response:
SELECT "District" FROM table_28909 WHERE "Candidates" = 'William A. Burwell (DR)'
### Instruction: CREATE TABLE table_204_426 ( id number, "year" text, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many years did they not qualify for the playoffs ? ### Response:
SELECT COUNT("year") FROM table_204_426 WHERE "playoffs" = 'did not qualify'
### Instruction: CREATE TABLE table_name_79 ( last_title VARCHAR, country VARCHAR, wins VARCHAR, first_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji? ### Response:
SELECT COUNT(last_title) FROM table_name_79 WHERE wins < 71 AND first_title > 1968 AND country = "fiji"
### Instruction: CREATE TABLE table_42366 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the airport located in Russia with an IATA of KRR? ### Response:
SELECT "Airport" FROM table_42366 WHERE "Country" = 'russia' AND "IATA" = 'krr'
### Instruction: CREATE TABLE table_6189 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Result of 0 2 and a Opponent of aberdeen? ### Response:
SELECT "Date" FROM table_6189 WHERE "Result" = '0–2' AND "Opponent" = 'aberdeen'
### Instruction: CREATE TABLE table_27671 ( "Season" real, "Series" text, "Team Name" text, "Races" real, "Wins" real, "Points" text, "Final Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many races were there when Sigachev had 38 points? ### Response:
SELECT MIN("Races") FROM table_27671 WHERE "Points" = '38'
### Instruction: CREATE TABLE table_name_33 ( uk_chart VARCHAR, artist VARCHAR, year VARCHAR, at_eurovision VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts? ### Response:
SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = "2nd" AND artist = "michael ball"
### Instruction: CREATE TABLE table_60104 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the girl of the week 3 weeks after brianne bailey in the same month? ### Response:
SELECT "Week 5" FROM table_60104 WHERE "Week 2" = 'brianne bailey'
### Instruction: CREATE TABLE table_78826 ( "College or Campus Name" text, "Location" text, "District" text, "Affiliation" text, "Weblink" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Location has a College or Campus Name of anna university - tharamani campus? ### Response:
SELECT "Location" FROM table_78826 WHERE "College or Campus Name" = 'anna university - tharamani campus'
### Instruction: CREATE TABLE table_204_843 ( id number, "volume" number, "year" text, "names" text, "articles" number, "pages" number, "images" number, "maps" number, "number of copies" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which one has the most images ### Response:
SELECT "names" FROM table_204_843 ORDER BY "images" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_82 ( kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0? ### Response:
SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0
### Instruction: CREATE TABLE table_30945 ( "Episode" real, "Broadcast date" text, "Guest(s)" text, "Singer(s)" text, "Comedian" text, "Ratings" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the singer for joe wilkinson ### Response:
SELECT "Singer(s)" FROM table_30945 WHERE "Comedian" = 'Joe Wilkinson'
### Instruction: CREATE TABLE table_11423 ( "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. -- When was the game at Collingwood? ### Response:
SELECT "Date" FROM table_11423 WHERE "Away team" = 'collingwood'
### Instruction: CREATE TABLE table_26247 ( "No" real, "Player" text, "Height (m)" text, "Height (f)" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players have a height of 2.07? ### Response:
SELECT COUNT("Player") FROM table_26247 WHERE "Height (m)" = '2.07'
### Instruction: CREATE TABLE table_53151 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the sum of long for avg less than 6 and rec less than 2 ### Response:
SELECT SUM("Long") FROM table_53151 WHERE "Avg." < '6' AND "Rec." < '2'
### Instruction: CREATE TABLE table_54909 ( "From" text, "Adult Rate" text, "Development Rate" text, "16-17 Year Olds Rate" text, "Apprentice Rate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was there a development rate of 4.92? ### Response:
SELECT "From" FROM table_54909 WHERE "Development Rate" = '£4.92'
### Instruction: CREATE TABLE table_16938 ( "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. -- what's the score with date oct 1 ### Response:
SELECT "Score" FROM table_16938 WHERE "Date" = 'Oct 1'
### Instruction: CREATE TABLE table_203_446 ( id number, "name" text, "gender" text, "age" number, "from" text, "occupation" text, "prize money (usd)" text, "status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many of the contestants were students ? ### Response:
SELECT COUNT("name") FROM table_203_446 WHERE "occupation" = 'student'
### Instruction: CREATE TABLE table_name_10 ( winning_driver VARCHAR, most_laps_led VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Winning Driver, when Most Laps Led is Dario Franchitti, and when Pole Position is H lio Castroneves? ### Response:
SELECT winning_driver FROM table_name_10 WHERE most_laps_led = "dario franchitti" AND pole_position = "hélio castroneves"
### Instruction: CREATE TABLE table_19081 ( "Year" real, "Player Name" text, "NFL Team" text, "Position" text, "Team Defense Rank" real, "Team Performance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what the highest number for the opposite of offense for the green bay packers ### Response:
SELECT MAX("Team Defense Rank") FROM table_19081 WHERE "NFL Team" = 'Green Bay Packers'
### Instruction: CREATE TABLE table_65213 ( "Nat." text, "Name" text, "Type" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Willy Sagnol with a type as career end had what has the transfer fee? ### Response:
SELECT "Transfer fee" FROM table_65213 WHERE "Type" = 'career end' AND "Name" = 'willy sagnol'
### Instruction: CREATE TABLE table_23870 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Tar Heels points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date when the record was 1-0? ### Response:
SELECT "Date" FROM table_23870 WHERE "Record" = '1-0'
### Instruction: CREATE TABLE table_2366 ( "Institution" text, "Location" text, "Year Joined" real, "Affiliation" text, "Enrollment" real, "Mascot" text, "Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of enrollment of the central institution? ### Response:
SELECT "Enrollment" FROM table_2366 WHERE "Institution" = 'Central'
### Instruction: CREATE TABLE table_18641 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many parties does william b. cravens represent? ### Response:
SELECT COUNT("Party") FROM table_18641 WHERE "Incumbent" = 'William B. Cravens'
### Instruction: CREATE TABLE table_6514 ( "Year" real, "Class" text, "Team" text, "Points" real, "Rank" text, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is year that has points larger than 46, and a rank of 6th? ### Response:
SELECT SUM("Year") FROM table_6514 WHERE "Points" > '46' AND "Rank" = '6th'
### Instruction: CREATE TABLE table_9809 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the co-drivers in 2008? ### Response:
SELECT "Co-Drivers" FROM table_9809 WHERE "Year" = '2008'
### Instruction: CREATE TABLE table_2164 ( "#" real, "Player" text, "Age" text, "Australian Open" real, "French Open" real, "Wimbledon" real, "US Open" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the French Open when serena williams is the player? ### Response:
SELECT MIN("French Open") FROM table_2164 WHERE "Player" = 'Serena Williams'
### Instruction: CREATE TABLE table_67788 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the year with Laps less than 197 and start of 2 ### Response:
SELECT "Year" FROM table_67788 WHERE "Laps" < '197' AND "Start" = '2'
### Instruction: CREATE TABLE table_33955 ( "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 college has a defensive end with a round less than 6? ### Response:
SELECT "College" FROM table_33955 WHERE "Round" > '6' AND "Position" = 'defensive end'
### Instruction: CREATE TABLE table_203_18 ( id number, "year" number, "film" text, "role" text, "co-star" text, "director" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long has she been making films ? ### Response:
SELECT (SELECT MAX("year") FROM table_203_18) - (SELECT MIN("year") FROM table_203_18)
### Instruction: CREATE TABLE table_65109 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Series of the Filmography with a Release date of 1946-03-16? ### Response:
SELECT "Series" FROM table_65109 WHERE "Release date" = '1946-03-16'
### Instruction: CREATE TABLE table_33656 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for the match where albert monta s was the partner? ### Response:
SELECT "Score" FROM table_33656 WHERE "Partner" = 'albert montañés'
### Instruction: CREATE TABLE table_79837 ( "Estimate" real, "Name" text, "Nat." text, "Ship Type" text, "Principal victims" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the ship when the principle victims are civilians? ### Response:
SELECT "Nat." FROM table_79837 WHERE "Principal victims" = 'civilians'
### Instruction: CREATE TABLE table_18120 ( "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 when the incumbent is lindsey graham? ### Response:
SELECT "Candidates" FROM table_18120 WHERE "Incumbent" = 'Lindsey Graham'
### Instruction: CREATE TABLE table_37248 ( "Goal" real, "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 of the match on June 4, 2008? ### Response:
SELECT "Score" FROM table_37248 WHERE "Date" = 'june 4, 2008'
### Instruction: CREATE TABLE table_33252 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which airport is in South Africa and has a ICAO fajs? ### Response:
SELECT "Airport" FROM table_33252 WHERE "Country" = 'south africa' AND "ICAO" = 'fajs'
### Instruction: CREATE TABLE table_44278 ( "Year" real, "Name" text, "Field" text, "State" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average year when shri. shambu nath khajuria won the padma shri awards? ### Response:
SELECT AVG("Year") FROM table_44278 WHERE "Name" = 'shri. shambu nath khajuria'
### Instruction: CREATE TABLE table_58956 ( "Season" text, "League" text, "Teams" text, "Home" text, "Away" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which season was the Away record 2-2 and At Home record 1-0? ### Response:
SELECT "Season" FROM table_58956 WHERE "Away" = '2-2' AND "Home" = '1-0'
### Instruction: CREATE TABLE table_203_228 ( 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 tracks in word ... life have only lord finesse as a producer ? ### Response:
SELECT COUNT("title") FROM table_203_228 WHERE "producer(s)" = 'lord finesse'
### Instruction: CREATE TABLE table_34085 ( "Date" text, "Opponent" text, "Result" text, "Score" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Record of the game with a Score of 118 105? ### Response:
SELECT "Record" FROM table_34085 WHERE "Score" = '118–105'
### Instruction: CREATE TABLE table_44688 ( "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. -- On what surface did they play the match in the week of October 21? ### Response:
SELECT "Surface" FROM table_44688 WHERE "Week" = 'october 21'
### Instruction: CREATE TABLE table_name_78 ( spike INTEGER, date_of_birth VARCHAR, block VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many spikes have 28.09.1981 as the date of birth, with a block greater than 318? ### Response:
SELECT SUM(spike) FROM table_name_78 WHERE date_of_birth = "28.09.1981" AND block > 318
### Instruction: CREATE TABLE table_21705 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the part 3 of the verb with part 4 gelopen? ### Response:
SELECT "Part 3" FROM table_21705 WHERE "Part 4" = 'gelopen'
### Instruction: CREATE TABLE table_69150 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- for the rank more than 1 and nationality of netherlands, what is the lane? ### Response:
SELECT AVG("Lane") FROM table_69150 WHERE "Nationality" = 'netherlands' AND "Rank" > '1'
### Instruction: CREATE TABLE table_203_675 ( id number, "match" number, "date" text, "round" text, "home/away" text, "opponent team" text, "score" text, "scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which date did a team score 4 points ? ### Response:
SELECT "date" FROM table_203_675 WHERE "score" = 4