instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_17959 ( "Year" real, "Points" text, "Rebounds" text, "Assists" text, "Steals" text, "Blocks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the blockers where points are scored by Zach Randolph (24)? ### Response:
SELECT "Blocks" FROM table_17959 WHERE "Points" = 'Zach Randolph (24)'
### Instruction: CREATE TABLE table_203_622 ( id number, "date" text, "team" text, "name" text, "position" text, "years in nba" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- bruce bowen and mark madsen both played what position ? ### Response:
SELECT "position" FROM table_203_622 WHERE "name" = 'bruce bowen'
### Instruction: CREATE TABLE table_37563 ( "Date" text, "Race Name" text, "Location" text, "UCI Rating" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the gp citt di camaiore race? ### Response:
SELECT "Date" FROM table_37563 WHERE "Race Name" = 'gp città di camaiore'
### Instruction: CREATE TABLE table_28983 ( "Episode Number" real, "Air Date" text, "Guests" text, "Three Darts Challenge" text, "Musical Performance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the guests that aired on 7 June 2010? ### Response:
SELECT "Guests" FROM table_28983 WHERE "Air Date" = '7 June 2010'
### Instruction: CREATE TABLE table_28402 ( "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. -- What is the nickname of Linfield College? ### Response:
SELECT "Nickname" FROM table_28402 WHERE "Institution" = 'Linfield College'
### Instruction: CREATE TABLE table_54302 ( "Year" real, "Meeting" text, "Venue" text, "Result" text, "Event" text, "Extra" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has an extra of 8, and a result of 3rd? ### Response:
SELECT "Year" FROM table_54302 WHERE "Extra" = '8' AND "Result" = '3rd'
### Instruction: CREATE TABLE table_21080 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every name origin with the name Ovda Fluctus? ### Response:
SELECT "Name origin" FROM table_21080 WHERE "Name" = 'Ovda Fluctus'
### Instruction: CREATE TABLE table_75859 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Away with a Ground that is humber college lakeshore? ### Response:
SELECT "Away" FROM table_75859 WHERE "Ground" = 'humber college lakeshore'
### Instruction: CREATE TABLE table_6780 ( "Member" text, "Party" text, "Electorate" text, "State" text, "First elected" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which party has wa as the state, and hon victor garland as the memeber? ### Response:
SELECT "Party" FROM table_6780 WHERE "State" = 'wa' AND "Member" = 'hon victor garland'
### Instruction: CREATE TABLE table_72808 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latitude of vaidilute rupes? ### Response:
SELECT "Latitude" FROM table_72808 WHERE "Name" = 'Vaidilute Rupes'
### Instruction: CREATE TABLE table_46048 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which years did Zach Randolph play for the Grizzlies? ### Response:
SELECT "Years for Grizzlies" FROM table_46048 WHERE "Player" = 'zach randolph'
### Instruction: CREATE TABLE table_203_804 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which driver completed the least number of laps ? ### Response:
SELECT "driver" FROM table_203_804 ORDER BY "laps" LIMIT 1
### Instruction: CREATE TABLE table_38223 ( "Name" text, "Height" text, "Weight" text, "Class" text, "Position" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the class of the qb, Josh Riddell? ### Response:
SELECT "Class" FROM table_38223 WHERE "Position" = 'qb' AND "Name" = 'josh riddell'
### Instruction: CREATE TABLE table_3710 ( "Total #" real, "Episode #" 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. -- What is largest total number that was written by Sheri Elwood? ### Response:
SELECT MAX("Total #") FROM table_3710 WHERE "Written by" = 'Sheri Elwood'
### Instruction: CREATE TABLE table_67713 ( "Status" text, "Name" text, "First Performance" text, "Last Performance" text, "Style" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Last Performance when the status is current cast, and a Name of noah parets? ### Response:
SELECT "Last Performance" FROM table_67713 WHERE "Status" = 'current cast' AND "Name" = 'noah parets'
### Instruction: CREATE TABLE table_62474 ( "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 attendance on september 29? ### Response:
SELECT MAX("Attendance") FROM table_62474 WHERE "Date" = 'september 29'
### Instruction: CREATE TABLE table_67509 ( "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 was the record for the game that had a loss of Williams (3-1)? ### Response:
SELECT "Record" FROM table_67509 WHERE "Loss" = 'williams (3-1)'
### Instruction: CREATE TABLE table_16919 ( "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. -- Name the tournament for arizona ### Response:
SELECT "Tournament" FROM table_16919 WHERE "Location" = 'Arizona'
### Instruction: CREATE TABLE table_204_961 ( id number, "title" text, "director" text, "production" text, "music" text, "cast" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who did the music of the first title arunthathi ? ### Response:
SELECT "music" FROM table_204_961 WHERE "title" = 'arunthathi'
### Instruction: CREATE TABLE table_39391 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of Catalogue number 602517739468? ### Response:
SELECT "Date" FROM table_39391 WHERE "Catalogue" = '602517739468'
### Instruction: CREATE TABLE table_78494 ( "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. -- Where did Richmond play? ### Response:
SELECT "Venue" FROM table_78494 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_2098 ( "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. -- What player was drafted to the Detroit Red Wings? ### Response:
SELECT "Player" FROM table_2098 WHERE "NHL team" = 'Detroit Red Wings'
### Instruction: CREATE TABLE table_43142 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the away team for the Etobicoke Kangaroos home game? ### Response:
SELECT "Away" FROM table_43142 WHERE "Home" = 'etobicoke kangaroos'
### Instruction: CREATE TABLE table_5131 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Tournament was laura Gildemeister the Opponent? ### Response:
SELECT "Tournament" FROM table_5131 WHERE "Opponent" = 'laura gildemeister'
### Instruction: CREATE TABLE table_61851 ( "Poison/Klesha" text, "Sanskrit" text, "Pali" text, "Tibetan" text, "Alternate translations" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the pali word for phrag dog in tibetan? ### Response:
SELECT "Pali" FROM table_61851 WHERE "Tibetan" = 'phrag dog'
### Instruction: CREATE TABLE table_79069 ( "Elimination" text, "Wrestler" text, "Team" 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 move listed against Regal? ### Response:
SELECT "Elimination Move" FROM table_79069 WHERE "Wrestler" = 'regal'
### Instruction: CREATE TABLE table_45189 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total when the set 3 was 25 14? ### Response:
SELECT "Total" FROM table_45189 WHERE "Set 3" = '25–14'
### Instruction: CREATE TABLE table_name_35 ( category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What car was awarded sub 1 litre in 2000 (won by toyota 1sz-fe 1.0l yaris in 1999)? ### Response:
SELECT 2000 FROM table_name_35 WHERE 1999 = "toyota 1sz-fe 1.0l yaris" AND category = "sub 1 litre"
### Instruction: CREATE TABLE table_64006 ( "Wimmera FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the draws when the losses are less than 1? ### Response:
SELECT SUM("Draws") FROM table_64006 WHERE "Losses" < '1'
### Instruction: CREATE TABLE table_18653 ( "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 first elections have Claude Fuller as incumbent? ### Response:
SELECT COUNT("First elected") FROM table_18653 WHERE "Incumbent" = 'Claude Fuller'
### Instruction: CREATE TABLE table_71843 ( "Year" text, "Team" text, "Attempts" text, "Completions" text, "Completion %" text, "Yards" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the team that has 1,317 attempts? ### Response:
SELECT "Team" FROM table_71843 WHERE "Attempts" = '1,317'
### Instruction: CREATE TABLE table_23902 ( "Central-Southern Calabrian" text, "Phonetic Greek" text, "Italian" text, "French" text, "English" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Phonetic Greek words translate to grenouille in French? ### Response:
SELECT COUNT("Phonetic Greek") FROM table_23902 WHERE "French" = 'grenouille'
### Instruction: CREATE TABLE table_6285 ( "Rank" text, "Institution" text, "Gold" real, "Silver" real, "Bronze" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of silvers for teams ranked 5 with 0 bronze? ### Response:
SELECT AVG("Silver") FROM table_6285 WHERE "Rank" = '5' AND "Bronze" < '0'
### Instruction: CREATE TABLE table_name_81 ( score VARCHAR, player VARCHAR, to_par VARCHAR, money___$__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player? ### Response:
SELECT score FROM table_name_81 WHERE to_par > 15 AND money___$__ > 116 AND player = "billy burke"
### Instruction: CREATE TABLE table_56953 ( "Entrant" text, "Constructor" text, "Chassis" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver drove the Tourtel Larrousse F1? ### Response:
SELECT "Driver" FROM table_56953 WHERE "Entrant" = 'tourtel larrousse f1'
### Instruction: CREATE TABLE table_18328 ( "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. -- When was Stephen J. Solarz first elected? ### Response:
SELECT MIN("First elected") FROM table_18328 WHERE "Incumbent" = 'Stephen J. Solarz'
### Instruction: CREATE TABLE table_54695 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the score for bucks with timberwolves ### Response:
SELECT "Score" FROM table_54695 WHERE "Visitor" = 'bucks' AND "Home" = 'timberwolves'
### Instruction: CREATE TABLE table_24196 ( "Chinese industrial designation" text, "Export type designation" text, "NATO reporting name" text, "NATO/U.S DOD code" text, "Remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the remarks for sawhouse ### Response:
SELECT "Remarks" FROM table_24196 WHERE "NATO reporting name" = 'SAWHOUSE'
### Instruction: CREATE TABLE table_name_46 ( to_par VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of the player with a t4 place and a score of 75-69-74-72=290? ### Response:
SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290
### Instruction: CREATE TABLE table_name_30 ( season VARCHAR, premier VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seasons feature essendon, and a Score of 15.12 (102) 9.14 (68)? ### Response:
SELECT COUNT(season) FROM table_name_30 WHERE premier = "essendon" AND score = "15.12 (102) – 9.14 (68)"
### Instruction: CREATE TABLE table_18185 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what being the minimum first elected with district being washington 7 ### Response:
SELECT MIN("First elected") FROM table_18185 WHERE "District" = 'Washington 7'
### Instruction: CREATE TABLE table_31659 ( "Date" text, "Result" text, "Opponent" text, "Method" text, "Round" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the technical knockout against Fatu Tuimanono happen? ### Response:
SELECT "Date" FROM table_31659 WHERE "Method" = 'technical knockout' AND "Opponent" = 'fatu tuimanono'
### Instruction: CREATE TABLE table_203_502 ( id number, "team" text, "titles" number, "runner-up" number, "third place" number, "fourth place" number, "years participated" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many titles does the last team on this chart have ? ### Response:
SELECT "titles" FROM table_203_502 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_74563 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the lowest week for attendance of 60,894 ### Response:
SELECT MIN("Week") FROM table_74563 WHERE "Attendance" = '60,894'
### Instruction: CREATE TABLE table_61984 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area of drummond village? ### Response:
SELECT MAX("Area km 2") FROM table_61984 WHERE "Status" = 'village' AND "Official Name" = 'drummond'
### Instruction: CREATE TABLE table_41295 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place, when the Score is 68-70-71=209? ### Response:
SELECT "Place" FROM table_41295 WHERE "Score" = '68-70-71=209'
### Instruction: CREATE TABLE table_19817 ( "Ido" text, "English" text, "Italian" text, "French" text, "German" text, "Russian" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the French word where the German word is filtern? ### Response:
SELECT "French" FROM table_19817 WHERE "German" = 'filtern'
### Instruction: CREATE TABLE table_18680 ( "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 districts does william b. oliver represent? ### Response:
SELECT COUNT("District") FROM table_18680 WHERE "Incumbent" = 'William B. Oliver'
### Instruction: CREATE TABLE table_56370 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- waht is the last year with a mclaren mp4/10b chassis ### Response:
SELECT MAX("Year") FROM table_56370 WHERE "Chassis" = 'mclaren mp4/10b'
### Instruction: CREATE TABLE table_23207 ( "Further Cities" text, "County, Oblast or State" text, "Country" text, "Distance" text, "Direction" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the further cities for slovakia and west direction ### Response:
SELECT "Further Cities" FROM table_23207 WHERE "Country" = 'Slovakia' AND "Direction" = 'West'
### Instruction: CREATE TABLE table_name_53 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is 2008 when 2007 is a, 2011 is a, 2010 is a and tournament is china? ### Response:
SELECT 2008 FROM table_name_53 WHERE 2007 = "a" AND 2011 = "a" AND 2010 = "a" AND tournament = "china"
### Instruction: CREATE TABLE table_12418 ( "Shooter" text, "Event" text, "Rank points" text, "Score points" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the rank points when the score was 7 and the total was 15? ### Response:
SELECT "Rank points" FROM table_12418 WHERE "Total" = '15' AND "Score points" = '7'
### Instruction: CREATE TABLE table_203_197 ( id number, "#" number, "title" text, "artist" text, "highest pos. reached" number, "weeks at no. 1" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many songs in the table only reached position number 2 ? ### Response:
SELECT COUNT("title") FROM table_203_197 WHERE "highest pos. reached" = 2
### Instruction: CREATE TABLE table_2742 ( "Season" text, "Premiere" text, "Finale" text, "Reunion" text, "Winners" text, "Runners up" text, "Number of contestants" real, "Number of episodes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most number of contestants ### Response:
SELECT MAX("Number of contestants") FROM table_2742
### Instruction: CREATE TABLE table_203_868 ( id number, "frequency band" text, "band number" number, "radio interface" text, "generation" text, "status" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total number of times the status is listed as roaming ? ### Response:
SELECT COUNT(*) FROM table_203_868 WHERE "status" = 'roaming'
### Instruction: CREATE TABLE table_25563 ( "R" real, "Player" text, "Position" text, "League" real, "Champions League" real, "Copa del Rey" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least total for sergio ramos ### Response:
SELECT MIN("Total") FROM table_25563 WHERE "Player" = 'Sergio Ramos'
### Instruction: CREATE TABLE table_32290 ( "Date" text, "Time" text, "Epicenter" text, "Magnitude" text, "Fatalities" text, "Name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Name has a Time of 01:56:52? ### Response:
SELECT "Name" FROM table_32290 WHERE "Time" = '01:56:52'
### Instruction: CREATE TABLE table_28777 ( "Year (Ceremony)" text, "English title" text, "Arabic title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is the arabic title what is the english title? ### Response:
SELECT "English title" FROM table_28777 WHERE "Arabic title" = 'ملح هذا البحر'
### Instruction: CREATE TABLE table_68131 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was radek necas with less than 2.04 height born? ### Response:
SELECT AVG("Year born") FROM table_68131 WHERE "Player" = 'radek necas' AND "Height" < '2.04'
### Instruction: CREATE TABLE table_15602 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the loss of the game attended by 37,119? ### Response:
SELECT "Loss" FROM table_15602 WHERE "Attendance" = '37,119'
### Instruction: CREATE TABLE table_37005 ( "Player" text, "Sacks" real, "INT'S" real, "Yards" real, "Average" real, "Long" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest value of INT's with an average more than 25? ### Response:
SELECT MIN("INT'S") FROM table_37005 WHERE "Average" > '25'
### Instruction: CREATE TABLE table_204_970 ( id number, "year" number, "award" text, "category" text, "title" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- an nbr award and a nyfcc award were both given to this actor for his role in what film ? ### Response:
SELECT "title" FROM table_204_970 WHERE "award" = 'nbr award'
### Instruction: CREATE TABLE table_45387 ( "Stop no." text, "Platform" text, "Line" text, "Stopping pattern" text, "Destination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Stopping pattern has a Platform of [2777] mciver station platforms? ### Response:
SELECT "Stopping pattern" FROM table_45387 WHERE "Platform" = '[2777] mciver station platforms'
### Instruction: CREATE TABLE table_203_374 ( 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 is the only country that has won 6 gold medals ? ### Response:
SELECT "nation" FROM table_203_374 WHERE "gold" = 6
### Instruction: CREATE TABLE table_6216 ( "Election date" real, "Party leader" text, "Number of votes received" text, "Percentage of votes" text, "Number of deputies" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the number of deputies for the 1964 election year? ### Response:
SELECT "Number of deputies" FROM table_6216 WHERE "Election date" = '1964'
### Instruction: CREATE TABLE table_203_598 ( id number, "date" text, "time" text, "opponent" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which date had the most attendance ? ### Response:
SELECT "date" FROM table_203_598 ORDER BY "attendance" DESC LIMIT 1
### Instruction: CREATE TABLE table_71758 ( "Date" real, "Category" text, "Team" text, "Rider 1" text, "Rider 2" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates does the ladies category correspond to Rothaus-Cube? ### Response:
SELECT COUNT("Date") FROM table_71758 WHERE "Category" = 'ladies' AND "Team" = 'rothaus-cube'
### Instruction: CREATE TABLE table_76251 ( "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 ICAO for Denmark, and the IATA is bll? ### Response:
SELECT "ICAO" FROM table_76251 WHERE "Country" = 'denmark' AND "IATA" = 'bll'
### Instruction: CREATE TABLE table_13373 ( "Position" text, "Name" text, "Party" text, "First Election" text, "District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What District has a Member with a First Election date of 1985? ### Response:
SELECT "District" FROM table_13373 WHERE "Position" = 'member' AND "First Election" = '1985'
### Instruction: CREATE TABLE table_47191 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Competition, when Date is '1999-08-07'? ### Response:
SELECT "Competition" FROM table_47191 WHERE "Date" = '1999-08-07'
### Instruction: CREATE TABLE table_36175 ( "Character" text, "Actor" text, "Duration" text, "Role" text, "Appearances" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the duration that has 3 for appearances, and james garret as the character? ### Response:
SELECT "Duration" FROM table_36175 WHERE "Appearances" = '3' AND "Character" = 'james garret'
### Instruction: CREATE TABLE table_5784 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Party of republican, and a District of 7th is what elected? ### Response:
SELECT "Elected" FROM table_5784 WHERE "Party" = 'republican' AND "District" = '7th'
### Instruction: CREATE TABLE table_71742 ( "Position" text, "Name" text, "Party" text, "First elected" real, "District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the name for first elected more than 1988 and district of mason ### Response:
SELECT "Name" FROM table_71742 WHERE "First elected" > '1988' AND "District" = 'mason'
### Instruction: CREATE TABLE table_38318 ( "Round" real, "Circuit" text, "State/Territory" text, "Date" text, "Winning driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What circuit was after round 2 in Victoria? ### Response:
SELECT "Circuit" FROM table_38318 WHERE "Round" > '2' AND "State/Territory" = 'victoria'
### Instruction: CREATE TABLE table_name_80 ( opponents VARCHAR, partner VARCHAR, surface VARCHAR, outcome VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponents have a Surface of hard, and an Outcome of runner-up, and a Partner of jarmila gajdo ov ? ### Response:
SELECT opponents FROM table_name_80 WHERE surface = "hard" AND outcome = "runner-up" AND partner = "jarmila gajdošová"
### Instruction: CREATE TABLE table_30787 ( "Player" text, "Matches" real, "Innings" real, "Runs" real, "Average" text, "Highest Score" text, "100s" real, "50s" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number listed for matches? ### Response:
SELECT MAX("Matches") FROM table_30787
### Instruction: CREATE TABLE table_72229 ( "Country" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the evening gown score when the swimsuit was 9.61? ### Response:
SELECT "Evening Gown" FROM table_72229 WHERE "Swimsuit" = '9.61'
### Instruction: CREATE TABLE table_204_300 ( id number, "date from" text, "date to" text, "pos." text, "name" text, "from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name a player whose to date is in march and from date is in january . ### Response:
SELECT "name" FROM table_204_300 WHERE "date to" = 3 AND "date from" = 1
### Instruction: CREATE TABLE table_71987 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Olga Govortsova's outcome when she played on a grass surface? ### Response:
SELECT "Outcome" FROM table_71987 WHERE "Surface" = 'grass'
### Instruction: CREATE TABLE table_14854 ( "Title" text, "Bugs , Daffy , or Both?" text, "Year" real, "Director" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the director who has title of transylvania 6-5000 ### Response:
SELECT "Director" FROM table_14854 WHERE "Title" = 'transylvania 6-5000'
### Instruction: CREATE TABLE table_13366 ( "European election (UK)" real, "Name" text, "Share of votes" text, "Seats" real, "Share of seats" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which European election (UK) has a Share of votes of 19%? ### Response:
SELECT "European election (UK)" FROM table_13366 WHERE "Share of votes" = '19%'
### Instruction: CREATE TABLE table_58446 ( "Date of Issue" text, "Denomination" text, "Design" text, "Paper Type" text, "First Day Cover Cancellation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the first day cover cancellation for the Karen Smith Design stamp? ### Response:
SELECT "First Day Cover Cancellation" FROM table_58446 WHERE "Design" = 'karen smith design'
### Instruction: CREATE TABLE table_203_504 ( 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. -- how many times was the competition friendly ? ### Response:
SELECT COUNT(*) FROM table_203_504 WHERE "competition" = 'friendly'
### Instruction: CREATE TABLE table_19138 ( "EDO Flight" real, "Shuttle" text, "Mission" text, "Launch Date" text, "Duration" text, "Primary Payload(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the duration with mission being sts-87 ### Response:
SELECT "Duration" FROM table_19138 WHERE "Mission" = 'STS-87'
### Instruction: CREATE TABLE table_12078626_1 ( date_of_completion VARCHAR, deadline_for_completion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the date of completion where deadline for completion is september 30, 2007 ### Response:
SELECT date_of_completion FROM table_12078626_1 WHERE deadline_for_completion = "September 30, 2007"
### Instruction: CREATE TABLE table_19764 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the team play the Detroit Lions? ### Response:
SELECT "Game Site" FROM table_19764 WHERE "Opponent" = 'Detroit Lions'
### Instruction: CREATE TABLE table_name_29 ( highest_average_point_ratings INTEGER, genre VARCHAR, number_of_episodes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest average point rating for a modern suspense show with 21 episodes? ### Response:
SELECT SUM(highest_average_point_ratings) FROM table_name_29 WHERE genre = "modern suspense" AND number_of_episodes = 21
### Instruction: CREATE TABLE table_70308 ( "Overall place" text, "Yacht name" text, "Skipper" text, "Points" text, "Combined elapsed time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which skipper has barclays adventurer as the name of the yacht? ### Response:
SELECT "Skipper" FROM table_70308 WHERE "Yacht name" = 'barclays adventurer'
### Instruction: CREATE TABLE table_54679 ( "Player" text, "Tries" text, "Conv" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did Brian Hightower play when he has the Conv of 0? ### Response:
SELECT "Venue" FROM table_54679 WHERE "Conv" = '0' AND "Player" = 'brian hightower'
### Instruction: CREATE TABLE table_65309 ( "Points" real, "Name" text, "Club" text, "Tries" real, "Drop" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points have a Name of stephen myler, and Tries smaller than 0? ### Response:
SELECT SUM("Points") FROM table_65309 WHERE "Name" = 'stephen myler' AND "Tries" < '0'
### Instruction: CREATE TABLE table_name_57 ( finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins? ### Response:
SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = "lambros athanassoulas"
### Instruction: CREATE TABLE table_15316 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest lap with a 145.926 qual? ### Response:
SELECT MIN("Laps") FROM table_15316 WHERE "Qual" = '145.926'
### Instruction: CREATE TABLE table_38254 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest week when the record was 1-3? ### Response:
SELECT MAX("Week") FROM table_38254 WHERE "Record" = '1-3'
### Instruction: CREATE TABLE table_name_39 ( winter_olympics INTEGER, fis_nordic_world_ski_championships VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the earliest winter olympics when the fis nordic world ski championships is 1976? ### Response:
SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976"
### Instruction: CREATE TABLE table_name_4 ( player VARCHAR, money___$__ VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what player has $187,500 and score 66-75-71-69=281 ### Response:
SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281
### Instruction: CREATE TABLE table_61885 ( "Tie no" text, "Home team" text, "Score 1" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score 1 of the game with Attendance of 2,571? ### Response:
SELECT "Score 1" FROM table_61885 WHERE "Attendance" = '2,571'
### Instruction: CREATE TABLE table_68630 ( "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least silver for nation of total when bronze is more than 24 ### Response:
SELECT MIN("Silver") FROM table_68630 WHERE "Nation" = 'total' AND "Bronze" > '24'
### Instruction: CREATE TABLE table_204_899 ( id number, "event" text, "date" text, "area" text, "tornadoes" number, "casualties" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what number of tornadoes occurred in 1965 ? ### Response:
SELECT COUNT(*) FROM table_204_899 WHERE "date" = 1965
### Instruction: CREATE TABLE table_59193 ( "Code" real, "Municipality" text, "County" text, "Population" real, "Total area" text, "Density (per km 2 land)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which municipality has the code 2401? ### Response:
SELECT "Municipality" FROM table_59193 WHERE "Code" = '2401'
### Instruction: CREATE TABLE table_41545 ( "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 the date that has yani tseng as the runner (s)-up? ### Response:
SELECT "Date" FROM table_41545 WHERE "Runner(s)-up" = 'yani tseng'