instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_28428 ( "Club" text, "Wins" real, "Losses" real, "Points For" real, "Points Against" real, "Percentage" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage listed for the team who scored 63 points? ### Response:
SELECT "Percentage" FROM table_28428 WHERE "Points For" = '63'
### Instruction: CREATE TABLE table_49740 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Country of T6 Place Player Ben Crenshaw? ### Response:
SELECT "Country" FROM table_49740 WHERE "Place" = 't6' AND "Player" = 'ben crenshaw'
### Instruction: CREATE TABLE table_41654 ( "Name" text, "Height" text, "Weight (lbs.)" real, "Position" text, "Class" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Weight for the person with a height of 6'6'? ### Response:
SELECT SUM("Weight (lbs.)") FROM table_41654 WHERE "Height" = '6''6'
### Instruction: CREATE TABLE table_44779 ( "Year" real, "Month" text, "Single" text, "Album" text, "Record label" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average year for the good things happening album's single 'lady lady lay'? ### Response:
SELECT AVG("Year") FROM table_44779 WHERE "Album" = 'good things happening' AND "Single" = 'lady lady lay'
### Instruction: CREATE TABLE table_47712 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the method when 4-2 was the record? ### Response:
SELECT "Method" FROM table_47712 WHERE "Record" = '4-2'
### Instruction: CREATE TABLE table_55981 ( "Name" text, "Current version" text, "System" text, "Platform" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the System when the Licence is gpl and the Current Version is 1.72? ### Response:
SELECT "System" FROM table_55981 WHERE "License" = 'gpl' AND "Current version" = '1.72'
### Instruction: CREATE TABLE table_28297 ( "Shortscale comparison" text, "Chuquet" text, "Peletier" text, "Systematics" text, "Base 10" text, "SI Prefix" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the peletier for systematics being million 1 ### Response:
SELECT "Peletier" FROM table_28297 WHERE "Systematics" = 'Million 1'
### Instruction: CREATE TABLE table_11863 ( "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 Princes Park? ### Response:
SELECT "Date" FROM table_11863 WHERE "Venue" = 'princes park'
### Instruction: CREATE TABLE table_61233 ( "Ship" text, "Hull Number" text, "Laid down" text, "Launched" text, "Commissioned" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Launched, when Commissioned is '25 July 1998'? ### Response:
SELECT "Launched" FROM table_61233 WHERE "Commissioned" = '25 july 1998'
### Instruction: CREATE TABLE table_46152 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When they played at Chicago Bulls, what was the Location/Attendance? ### Response:
SELECT "Location/Attendance" FROM table_46152 WHERE "Opponent" = 'at chicago bulls'
### Instruction: CREATE TABLE table_40744 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the package/option for Italy when the language is italian? ### Response:
SELECT "Package/Option" FROM table_40744 WHERE "Country" = 'italy' AND "Language" = 'italian'
### Instruction: CREATE TABLE table_56040 ( "Date" text, "Venue" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the decision for boston bruins visitor ### Response:
SELECT "Decision" FROM table_56040 WHERE "Visitor" = 'boston bruins'
### Instruction: CREATE TABLE table_3804 ( "Stage" real, "Winner" text, "General classification" text, "Mountains Classification" text, "Points classification" text, "Sprints Classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the winner is Rui Costa, who made the mountains classification? ### Response:
SELECT "Mountains Classification" FROM table_3804 WHERE "Winner" = 'Rui Costa'
### Instruction: CREATE TABLE table_27731 ( "Number" real, "Name" text, "Vertices" text, "Hypotenuse 0 c" text, "Vertical 0 b" text, "Horizontal 0 a" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the vertical for ys ### Response:
SELECT "Vertical 0 b" FROM table_27731 WHERE "Horizontal 0 a" = '明勾(YS月南)'
### Instruction: CREATE TABLE table_44415 ( "Overall ranking" text, "Lat. Am. ranking" text, "Countries surveyed" real, "% rank." text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Date for less than 122 countries and a 47% rank? ### Response:
SELECT "Date" FROM table_44415 WHERE "Countries surveyed" < '122' AND "% rank." = '47'
### Instruction: CREATE TABLE table_58972 ( "Provider" text, "Years" text, "Free or pay" text, "No. of channels" text, "Colour" text, "Digital" text, "Transmission" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the digital of Virgin [analogue]? ### Response:
SELECT "Digital" FROM table_58972 WHERE "Provider" = 'virgin [analogue]'
### Instruction: CREATE TABLE table_61679 ( "Year" real, "Manufacturer" text, "Start" real, "Finish" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Year, when Finish is '29', and when Start is less than 24? ### Response:
SELECT MIN("Year") FROM table_61679 WHERE "Finish" = '29' AND "Start" < '24'
### Instruction: CREATE TABLE table_203_76 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which driver has the least amount of points ? ### Response:
SELECT "driver" FROM table_203_76 ORDER BY "points" LIMIT 1
### Instruction: CREATE TABLE table_204_743 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what driver was last on the list ? ### Response:
SELECT "driver" FROM table_204_743 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_18177 ( "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 in the district where Charlie Norwood is the incumbent? ### Response:
SELECT "Candidates" FROM table_18177 WHERE "Incumbent" = 'Charlie Norwood'
### Instruction: CREATE TABLE table_70095 ( "Value" text, "Khmer" real, "Word Form" text, "UNGEGN" text, "ALA-LC" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Word Form, when the Notes are literally 'one hundred thousand'? ### Response:
SELECT "Word Form" FROM table_70095 WHERE "Notes" = 'literally "one hundred thousand'
### 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. -- in 2008 , david oliver came in first during what competition ? ### Response:
SELECT "competition" FROM table_203_192 WHERE "year" = 2008 AND "position" = 1
### Instruction: CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Group by ships by flag, and return number of ships that have each flag. ### Response:
SELECT COUNT(*), flag FROM ship GROUP BY flag
### Instruction: CREATE TABLE table_10356 ( "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 team name for the racer who had a first qualification time of 1:22.655? ### Response:
SELECT "Team" FROM table_10356 WHERE "Qual 1" = '1:22.655'
### Instruction: CREATE TABLE table_34029 ( "Year" real, "Title" text, "Label" text, "Format" text, "Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What album has the title I Need A Life with the label of warp records / paper bag records? ### Response:
SELECT "Album" FROM table_34029 WHERE "Label" = 'warp records / paper bag records' AND "Title" = 'i need a life'
### Instruction: CREATE TABLE table_73548 ( "Average Ranking" real, "Competitive Finish" real, "Couple" text, "Number Of Dances" real, "Total Score" real, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which couple has 295 as a total score? ### Response:
SELECT "Couple" FROM table_73548 WHERE "Total Score" = '295'
### Instruction: CREATE TABLE table_203_77 ( id number, "album title" text, "format" text, "year" number, "original label" text, "chart positions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what album title came next after get lost ? ### Response:
SELECT "album title" FROM table_203_77 WHERE id = (SELECT id FROM table_203_77 WHERE "album title" = 'get lost') + 1
### Instruction: CREATE TABLE table_75441 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has Points of 36, and a Game of 30? ### Response:
SELECT "Score" FROM table_75441 WHERE "Points" = '36' AND "Game" = '30'
### Instruction: CREATE TABLE table_69996 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the attendance of the san diego chargers game before week 6? ### Response:
SELECT COUNT("Attendance") FROM table_69996 WHERE "Week" < '6' AND "Opponent" = 'san diego chargers'
### Instruction: CREATE TABLE table_204_269 ( id number, "week" number, "room" text, "winning couple" text, "2nd couple" text, "3rd couple" text, "chumps" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who became the winning couple the most ? ### Response:
SELECT "winning couple" FROM table_204_269 GROUP BY "winning couple" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_4984 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How did he win with a time of 0:38? ### Response:
SELECT "Method" FROM table_4984 WHERE "Time" = '0:38'
### Instruction: CREATE TABLE table_204_774 ( 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 has he played against honduras ? ### Response:
SELECT COUNT(*) FROM table_204_774 WHERE "opponent" = 'honduras'
### Instruction: CREATE TABLE table_33376 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country has a rand of 2 and a silver less than 6? ### Response:
SELECT MAX("Total") FROM table_33376 WHERE "Rank" = '2' AND "Silver" < '6'
### Instruction: CREATE TABLE table_name_93 ( avg_g INTEGER, yards VARCHAR, long VARCHAR, gp_gs VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest average for a long less than 24, a GP-GS of 2-0, and less than 7 yards? ### Response:
SELECT MAX(avg_g) FROM table_name_93 WHERE long < 24 AND gp_gs = "2-0" AND yards < 7
### Instruction: CREATE TABLE table_43850 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent for the game played on august 20, 2006? ### Response:
SELECT "Opponent" FROM table_43850 WHERE "Date" = 'august 20, 2006'
### Instruction: CREATE TABLE table_64456 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the ship completed when laid down is 21 august 1925? ### Response:
SELECT "Completed" FROM table_64456 WHERE "Laid down" = '21 august 1925'
### Instruction: CREATE TABLE table_57903 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which chassis had an entrant of John Mecom? ### Response:
SELECT "Chassis" FROM table_57903 WHERE "Entrant" = 'john mecom'
### Instruction: CREATE TABLE table_68173 ( "Year" real, "Fighter" text, "Nation represented" text, "Sport" text, "Sanctioning body or league" text, "Weight class represented or contested" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest result where a person from the Philippines won? ### Response:
SELECT MAX("Year") FROM table_68173 WHERE "Nation represented" = 'philippines'
### Instruction: CREATE TABLE table_48749 ( "Rank" real, "Team" text, "Played" real, "Wins" real, "Ties" real, "Losses" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Wins, when Played is less than 5? ### Response:
SELECT SUM("Wins") FROM table_48749 WHERE "Played" < '5'
### Instruction: CREATE TABLE table_32347 ( "Name" text, "Took office" text, "Left office" text, "Party" text, "Governor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the party of the politician who left office on January 12, 1857 ### Response:
SELECT "Party" FROM table_32347 WHERE "Left office" = 'january 12, 1857'
### Instruction: CREATE TABLE table_60161 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Location Attendance has an Opponent of at denver nuggets? ### Response:
SELECT "Location Attendance" FROM table_60161 WHERE "Opponent" = 'at denver nuggets'
### Instruction: CREATE TABLE table_203_287 ( id number, "rank" number, "area" text, "date" text, "presenter" text, "seven wonders covered" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which area has the river severn and the exmoor as two of the seven wonders ? ### Response:
SELECT "area" FROM table_203_287 WHERE "seven wonders covered" = 'river severn'
### Instruction: CREATE TABLE table_18027 ( "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. -- Who did they play against in the game that ended in 2-2? ### Response:
SELECT "Opponent" FROM table_18027 WHERE "Record" = '2-2'
### Instruction: CREATE TABLE table_30512 ( "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 players were drafted by the Edmonton Oilers? ### Response:
SELECT COUNT("Player") FROM table_30512 WHERE "NHL team" = 'Edmonton Oilers'
### Instruction: CREATE TABLE table_80413 ( "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. -- When Kabwe Warriors (team 1) played, what was the result of the 1st leg? ### Response:
SELECT "1st leg" FROM table_80413 WHERE "Team 1" = 'kabwe warriors'
### Instruction: CREATE TABLE table_name_25 ( date_of_vacancy VARCHAR, position_in_table VARCHAR, outgoing_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date of vacancy when the position in table is 16th and the outgoing manager is russell slade? ### Response:
SELECT date_of_vacancy FROM table_name_25 WHERE position_in_table = "16th" AND outgoing_manager = "russell slade"
### Instruction: CREATE TABLE table_15966 ( "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 is the smallest pick for the player, brett lindros? ### Response:
SELECT MIN("Pick") FROM table_15966 WHERE "Player" = 'Brett Lindros'
### Instruction: CREATE TABLE table_52869 ( "Player" text, "Att." real, "Comp" real, "Yards" real, "Rating" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the player with yards less than 138, and Comp more than 0, what was the highest Att.? ### Response:
SELECT MAX("Att.") FROM table_52869 WHERE "Yards" < '138' AND "Comp" > '0'
### Instruction: CREATE TABLE table_52052 ( "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. -- On what date was Richmond hosted as the away team? ### Response:
SELECT "Date" FROM table_52052 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_33160 ( "Province" text, "Inhabitants" real, "President" text, "Party" text, "Election" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average election for vicenza province with the liga veneta party? ### Response:
SELECT AVG("Election") FROM table_33160 WHERE "Party" = 'liga veneta' AND "Province" = 'vicenza'
### Instruction: CREATE TABLE table_6639 ( "Series Ep." text, "Episode" real, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What segment A is associated with a Segment D of manual motorcycle transmissions? ### Response:
SELECT "Segment A" FROM table_6639 WHERE "Segment D" = 'manual motorcycle transmissions'
### Instruction: CREATE TABLE table_44827 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has to par E with Mark O'Meara? ### Response:
SELECT "Country" FROM table_44827 WHERE "To par" = 'e' AND "Player" = 'mark o''meara'
### Instruction: CREATE TABLE table_39293 ( "Season" text, "Club" text, "Country" text, "Competition" text, "Caps" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of goals for the 2004/05 Season? ### Response:
SELECT SUM("Goals") FROM table_39293 WHERE "Season" = '2004/05'
### Instruction: CREATE TABLE table_53900 ( "Player" text, "Dates of captaincy" text, "Lost" real, "Tied" real, "No result" real, "% win [A ]" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player has no 0 results and multiples ties? ### Response:
SELECT "Player" FROM table_53900 WHERE "No result" = '0' AND "Tied" > '0'
### Instruction: CREATE TABLE table_75459 ( "High School" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Nickname" text, "Division" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the affiliation of a location called Issaquah? ### Response:
SELECT "Affiliation" FROM table_75459 WHERE "Location" = 'issaquah'
### Instruction: CREATE TABLE table_39473 ( "Name" text, "Type" text, "Year Built" real, "Where Built" text, "Initial Owners" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the initial owners of Wasco in 1858? ### Response:
SELECT "Initial Owners" FROM table_39473 WHERE "Year Built" = '1858' AND "Name" = 'wasco'
### Instruction: CREATE TABLE table_49079 ( "Outcome" text, "Year" real, "Pro Slam Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Year, when Outcome is 'Winner'? ### Response:
SELECT AVG("Year") FROM table_49079 WHERE "Outcome" = 'winner'
### Instruction: CREATE TABLE table_77905 ( "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 highest number of rounds for a 3:16 fight? ### Response:
SELECT MAX("Round") FROM table_77905 WHERE "Time" = '3:16'
### Instruction: CREATE TABLE table_18978 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest numbered game on the list? ### Response:
SELECT MIN("Game") FROM table_18978
### Instruction: CREATE TABLE table_name_89 ( opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent in the final in which the court surface was hard and the score was 6 3, 3 6, 7 5? ### Response:
SELECT opponent_in_the_final FROM table_name_89 WHERE surface = "hard" AND score = "6–3, 3–6, 7–5"
### Instruction: CREATE TABLE teachers ( firstname VARCHAR, lastname VARCHAR, classroom VARCHAR ) CREATE TABLE list ( classroom VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the teacher who teaches the largest number of students. ### Response:
SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom GROUP BY T2.firstname, T2.lastname ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_203_551 ( 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. -- in what year was szalai 's first international goal ? ### Response:
SELECT "date" FROM table_203_551 ORDER BY "date" LIMIT 1
### Instruction: CREATE TABLE table_21061 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter" text, "Year named" real, "Namesake" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the longitude is 147.1w what is the namesake of the feature? ### Response:
SELECT "Namesake" FROM table_21061 WHERE "Longitude" = '147.1W'
### Instruction: CREATE TABLE table_204_282 ( id number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text, "#" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of times friendly appears as a competition ? ### Response:
SELECT COUNT(*) FROM table_204_282 WHERE "competition" = 'friendly'
### Instruction: CREATE TABLE table_23064 ( "Draw" real, "Artist" text, "Original" text, "English Meaning" text, "Language" text, "Authors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the draw for the english meaning Eyes that Never Lie? ### Response:
SELECT "Draw" FROM table_23064 WHERE "Language" = 'English' AND "English Meaning" = 'Eyes That Never Lie'
### Instruction: CREATE TABLE table_4542 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date when South Melbourne was the home team? ### Response:
SELECT "Date" FROM table_4542 WHERE "Home team" = 'south melbourne'
### Instruction: CREATE TABLE table_52537 ( "Competition" text, "Played" real, "Drawn" real, "Lost" real, "Position" text, "Coach" text, "Captain" text, "Main Article" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Captain has Lost 13? ### Response:
SELECT "Captain" FROM table_52537 WHERE "Lost" = '13'
### Instruction: CREATE TABLE table_4889 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Footscray's Home team score? ### Response:
SELECT "Home team score" FROM table_4889 WHERE "Home team" = 'footscray'
### Instruction: CREATE TABLE table_71862 ( "First game" real, "Played" real, "Drawn" real, "Lost" real, "Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest first game for a rugby team that has 7 lost games and 0 draws? ### Response:
SELECT MIN("First game") FROM table_71862 WHERE "Lost" = '7' AND "Drawn" < '0'
### Instruction: CREATE TABLE table_16614 ( "Rank" real, "Dismissals" real, "Player" text, "Nationality" text, "Catches" real, "Stumpings" real, "Career Span" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of David Bairstow? ### Response:
SELECT "Nationality" FROM table_16614 WHERE "Player" = 'David Bairstow'
### Instruction: CREATE TABLE table_43446 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has an Opponent in the final of st phane robert? ### Response:
SELECT "Surface" FROM table_43446 WHERE "Opponent in the final" = 'stéphane robert'
### Instruction: CREATE TABLE table_14615 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What entrant drove a car with a Moore chassis prior to 1953? ### Response:
SELECT "Entrant" FROM table_14615 WHERE "Year" < '1953' AND "Chassis" = 'moore'
### Instruction: CREATE TABLE table_46645 ( "Date" text, "Opponent#" text, "Rank #" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent that played against the Buckeyes on October 17? ### Response:
SELECT "Opponent#" FROM table_46645 WHERE "Date" = 'october 17'
### Instruction: CREATE TABLE table_72207 ( "Acquisition" text, "knowledge" text, "penance" text, "permanence of the body" text, "constancy" text, "purity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the permanence of the body where constancy is interestedness ### Response:
SELECT "permanence of the body" FROM table_72207 WHERE "constancy" = 'interestedness'
### Instruction: CREATE TABLE table_66536 ( "World record" text, "Snatch" text, "Oksana Slivenko ( RUS )" text, "123kg" text, "Santo Domingo , Dominican" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 123kg of the Total world record? ### Response:
SELECT "123kg" FROM table_66536 WHERE "World record" = 'total'
### Instruction: CREATE TABLE table_36352 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Partner has a Date of 12 july 2009? ### Response:
SELECT "Partner" FROM table_36352 WHERE "Date" = '12 july 2009'
### Instruction: CREATE TABLE table_78625 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Tom Watson's lowest To par when the total was larger than 144? ### Response:
SELECT MIN("To par") FROM table_78625 WHERE "Player" = 'tom watson' AND "Total" > '144'
### Instruction: CREATE TABLE table_33857 ( "Name" text, "Caps" real, "Goals" real, "First cap" text, "Latest cap" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name of gilmar, and a Caps smaller than 94 had how many highest goals? ### Response:
SELECT MAX("Goals") FROM table_33857 WHERE "Name" = 'gilmar' AND "Caps" < '94'
### Instruction: CREATE TABLE table_78627 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player had a To par smaller than 9 and won in 1985? ### Response:
SELECT "Player" FROM table_78627 WHERE "To par" < '9' AND "Year(s) won" = '1985'
### Instruction: CREATE TABLE table_23649244_1 ( mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2? ### Response:
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Tears for Fears" AND artist_2 = "Eric Prydz"
### Instruction: CREATE TABLE table_26515 ( "Rank" real, "Dismissals" real, "Player" text, "Caught" real, "Stumped" real, "Matches" real, "Innings" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is stumped when matches is 14? ### Response:
SELECT MIN("Stumped") FROM table_26515 WHERE "Matches" = '14'
### Instruction: CREATE TABLE table_30570 ( "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. -- where did glenn greenough come from ### Response:
SELECT "College/junior/club team" FROM table_30570 WHERE "Player" = 'Glenn Greenough'
### Instruction: CREATE TABLE table_76684 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record for the game before game 6 against the chicago black hawks? ### Response:
SELECT "Record" FROM table_76684 WHERE "Game" < '6' AND "Opponent" = 'chicago black hawks'
### Instruction: CREATE TABLE table_49704 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the match where Daniel Gimeno-Traver's partner was pere riba? ### Response:
SELECT "Date" FROM table_49704 WHERE "Partner" = 'pere riba'
### Instruction: CREATE TABLE table_8909 ( "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 Round of 11, and a Pick of 14? ### Response:
SELECT "College" FROM table_8909 WHERE "Round" = '11' AND "Pick" = '14'
### Instruction: CREATE TABLE table_5501 ( "Name" text, "Hanzi" text, "Origin" text, "Launch" real, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the owner of the object launched after 1997 and a Hanzi of ? ### Response:
SELECT "Owner" FROM table_5501 WHERE "Launch" > '1997' AND "Hanzi" = '厦门卫视'
### Instruction: CREATE TABLE table_name_17 ( game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8? ### Response:
SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8
### Instruction: CREATE TABLE table_59325 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tournament took place before 1972 with an extra of 200 m? ### Response:
SELECT "Tournament" FROM table_59325 WHERE "Extra" = '200 m' AND "Year" < '1972'
### Instruction: CREATE TABLE table_203_348 ( id number, "number" number, "name" text, "team" text, "position" text, "years with franchise" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many teams have retired a number worn by charles barkley ? ### Response:
SELECT COUNT("team") FROM table_203_348 WHERE "name" = 'charles barkley'
### Instruction: CREATE TABLE table_204_107 ( 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 has the most bronze medals in european baseball championships ? ### Response:
SELECT "nation" FROM table_204_107 ORDER BY "bronze" DESC LIMIT 1
### Instruction: CREATE TABLE table_23319 ( "Vehicle Category" text, "Till Aligarh" real, "Till Mathura" real, "Till Agra" real, "For Round Trip" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of vehicle is the agra 1050? ### Response:
SELECT "Vehicle Category" FROM table_23319 WHERE "Till Agra" = '1050'
### Instruction: CREATE TABLE table_203_394 ( id number, "title" text, "author" text, "date" number, "length\n(first edition)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which author had all of his titles ' first edition lengths above 300 pp ? ### Response:
SELECT "author" FROM table_203_394 GROUP BY "author" HAVING MIN("length\n(first edition)") > 300
### Instruction: CREATE TABLE table_50269 ( "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 Seewoosagur Ramgoolam airport? ### Response:
SELECT "ICAO" FROM table_50269 WHERE "Airport" = 'seewoosagur ramgoolam airport'
### Instruction: CREATE TABLE table_36321 ( "Episode" text, "Season" real, "Production code" text, "Original air date" text, "Directed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the director of the episode with a season after 8 and an episode of XVI? ### Response:
SELECT "Directed by" FROM table_36321 WHERE "Season" > '8' AND "Episode" = 'xvi'
### Instruction: CREATE TABLE table_4928 ( "Player" text, "Span" text, "Lost" text, "Draw" text, "Tries" text, "Conv" text, "Pens" text, "Drop" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tries does Fakahau Valu have? ### Response:
SELECT "Tries" FROM table_4928 WHERE "Player" = 'fakahau valu'
### Instruction: CREATE TABLE table_40178 ( "Name" text, "Pos." text, "Height" text, "Weight" real, "Year" text, "Hometown (Previous school)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Hometown of the person with a height of 5'8'? ### Response:
SELECT "Hometown (Previous school)" FROM table_40178 WHERE "Height" = '5''8'
### Instruction: CREATE TABLE table_203_539 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many 110 m hurdles did china compete in ? ### Response:
SELECT COUNT(*) FROM table_203_539 WHERE "event" = '110 m hurdles'
### Instruction: CREATE TABLE table_25042332_30 ( e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the percentage of male voters where the level of maturity is 123726 ### Response:
SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726
### Instruction: CREATE TABLE table_19711 ( "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. -- How many games had the attendance of 60225? ### Response:
SELECT COUNT("Result") FROM table_19711 WHERE "Attendance" = '60225'
### Instruction: CREATE TABLE table_48907 ( "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Originalairdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Written By, when Originalairdate is 25 April 1993? ### Response:
SELECT "Written by" FROM table_48907 WHERE "Originalairdate" = '25 april 1993'