instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_54719 ( "Superlative" text, "Actress" text, "Record Set" text, "Year" real, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who set the record for youngest nominee? ### Response:
SELECT "Record Set" FROM table_54719 WHERE "Superlative" = 'youngest nominee'
### Instruction: CREATE TABLE table_68358 ( "Minister" text, "Party" text, "Governments" text, "Term start" text, "Term end" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date or dates did the term with the Centre Party end? ### Response:
SELECT "Term end" FROM table_68358 WHERE "Party" = 'centre party'
### Instruction: CREATE TABLE table_14513 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for april 22 ### Response:
SELECT "Record" FROM table_14513 WHERE "Date" = 'april 22'
### Instruction: CREATE TABLE table_57957 ( "Season" text, "Level" text, "Goals" text, "Points" real, "Domestic Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average points in the quarterfinals domestic cup? ### Response:
SELECT AVG("Points") FROM table_57957 WHERE "Domestic Cup" = 'quarterfinals'
### Instruction: CREATE TABLE table_name_78 ( tournament VARCHAR, surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Tournament was the Score of 3 6, 6 3, 7 6 in a match played on a hard Surface? ### Response:
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND score = "3–6, 6–3, 7–6"
### Instruction: CREATE TABLE table_13333 ( "Location" text, "Year" real, "Champion" text, "Runner-up" text, "Score" text, "Name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location for 2012? ### Response:
SELECT "Location" FROM table_13333 WHERE "Year" = '2012'
### Instruction: CREATE TABLE table_name_8 ( season INTEGER, home_team VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the highest Season that has the Home Team of chonburi, and the Away Team of melbourne victory? ### Response:
SELECT MAX(season) FROM table_name_8 WHERE home_team = "chonburi" AND away_team = "melbourne victory"
### Instruction: CREATE TABLE table_19398910_4 ( bout_1 VARCHAR, bout_5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2? ### Response:
SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = "Andreev ( RUS ) W 5-2"
### Instruction: CREATE TABLE table_203_701 ( id number, "#" number, "title" text, "featured guest(s)" text, "producer(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last track on the album ? ### Response:
SELECT "title" FROM table_203_701 ORDER BY "#" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_11 ( venue VARCHAR, opposing_teams VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue was the opposing team New Zealand on 22/11/1997? ### Response:
SELECT venue FROM table_name_11 WHERE opposing_teams = "new zealand" AND date = "22/11/1997"
### Instruction: CREATE TABLE table_12159115_2 ( written_by VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the writer of the episode see by 12.13 million US viewers? ### Response:
SELECT written_by FROM table_12159115_2 WHERE us_viewers__millions_ = "12.13"
### Instruction: CREATE TABLE table_name_26 ( against VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Against has a Drawn smaller than 5, and a Lost smaller than 6, and a Points larger than 36? ### Response:
SELECT COUNT(against) FROM table_name_26 WHERE drawn < 5 AND lost < 6 AND points > 36
### Instruction: CREATE TABLE table_name_65 ( venue VARCHAR, runners_up VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue when the runner up was Tennis Borussia Berlin, and the score was 4 2 *? ### Response:
SELECT venue FROM table_name_65 WHERE runners_up = "tennis borussia berlin" AND score = "4 – 2 *"
### Instruction: CREATE TABLE table_name_93 ( votes INTEGER, draw VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have? ### Response:
SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna"
### Instruction: CREATE TABLE table_53550 ( "Player" text, "Competition" text, "Team" text, "Opponent" text, "Year" real, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell met he score for team of waaia ### Response:
SELECT "Score" FROM table_53550 WHERE "Team" = 'waaia'
### Instruction: CREATE TABLE table_38416 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many picks involved the player Joe Germanese? ### Response:
SELECT SUM("Pick #") FROM table_38416 WHERE "Player" = 'joe germanese'
### Instruction: CREATE TABLE table_17679 ( "Character" text, "Portrayed by" text, "Main cast seasons" text, "Recurring cast seasons" text, "# of episodes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What seasons does Kevin Jonas appear? ### Response:
SELECT "Main cast seasons" FROM table_17679 WHERE "Portrayed by" = 'Kevin Jonas'
### Instruction: CREATE TABLE table_10609 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Channel" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance on week 12? ### Response:
SELECT "Attendance" FROM table_10609 WHERE "Week" = '12'
### Instruction: CREATE TABLE table_name_24 ( date VARCHAR, opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was there a game in which the opponent was the Detroit Tigers, and the attendance was 38,639? ### Response:
SELECT date FROM table_name_24 WHERE opponent = "detroit tigers" AND attendance = "38,639"
### Instruction: CREATE TABLE table_67355 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Prize, when the Event is Ept Sanremo? ### Response:
SELECT "Prize" FROM table_67355 WHERE "Event" = 'ept sanremo'
### Instruction: CREATE TABLE table_name_52 ( lunar_landing_site VARCHAR, duration_on_lunar_surface VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the landing site when the duration on the lunar surface was 21:31? ### Response:
SELECT lunar_landing_site FROM table_name_52 WHERE duration_on_lunar_surface = "21:31"
### Instruction: CREATE TABLE table_33625 ( "Year" text, "1st Position" text, "2nd Position" text, "9th Position" text, "10th Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year is the 9th position balzan? ### Response:
SELECT "Year" FROM table_33625 WHERE "9th Position" = 'balzan'
### Instruction: CREATE TABLE table_225200_4 ( vacator VARCHAR, reason_for_change VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the vacator for resigned february 26, 1836 because of ill health ### Response:
SELECT vacator FROM table_225200_4 WHERE reason_for_change = "Resigned February 26, 1836 because of ill health"
### Instruction: CREATE TABLE table_name_51 ( score INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Adam Scott's total score when playing in Australia with a to par of e? ### Response:
SELECT SUM(score) FROM table_name_51 WHERE country = "australia" AND to_par = "e" AND player = "adam scott"
### Instruction: CREATE TABLE table_46083 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the game with a Record of 5 4 3? ### Response:
SELECT "Score" FROM table_46083 WHERE "Record" = '5–4–3'
### Instruction: CREATE TABLE table_name_81 ( res VARCHAR, location VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Res., when Location is 'Butte, Montana , United States', and when Opponent is 'Jerome Smith'? ### Response:
SELECT res FROM table_name_81 WHERE location = "butte, montana , united states" AND opponent = "jerome smith"
### Instruction: CREATE TABLE table_20217456_7 ( season VARCHAR, rl_süd__1st_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season did SV Darmstadt 98 end up at RL S d (1st)? ### Response:
SELECT season FROM table_20217456_7 WHERE rl_süd__1st_ = "SV Darmstadt 98"
### Instruction: CREATE TABLE table_64663 ( "Episode" text, "Date" text, "Time" text, "Network" text, "Length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the episode that aired at 7:30 pm ET? ### Response:
SELECT "Date" FROM table_64663 WHERE "Time" = '7:30 pm et'
### Instruction: CREATE TABLE table_2679061_4 ( pick__number VARCHAR, college_junior_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number pick was the player from HIFK Helsinki (Finland)? ### Response:
SELECT pick__number FROM table_2679061_4 WHERE college_junior_club_team = "HIFK Helsinki (Finland)"
### Instruction: CREATE TABLE table_17467147_1 ( directed_by VARCHAR, us_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When there are 12.70 million u.s. viewers who is the director? ### Response:
SELECT directed_by FROM table_17467147_1 WHERE us_viewers__million_ = "12.70"
### Instruction: CREATE TABLE table_46921 ( "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. -- Which country has the player Ted Schulz? ### Response:
SELECT "Country" FROM table_46921 WHERE "Player" = 'ted schulz'
### Instruction: CREATE TABLE table_204_710 ( id number, "model" text, "origin" text, "type" text, "versions" text, "in service" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what country has the last listed aircraft ? ### Response:
SELECT "origin" FROM table_204_710 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_27755603_2 ( high_rebounds VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points? ### Response:
SELECT high_rebounds FROM table_27755603_2 WHERE high_points = "Rodney Stuckey (16)"
### Instruction: CREATE TABLE table_60028 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Attendance is '349'? ### Response:
SELECT "Score" FROM table_60028 WHERE "Attendance" = '349'
### Instruction: CREATE TABLE table_1282 ( "Year / Theme" text, "Award name" text, "Team name" text, "Team number" real, "City, State/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What award did team 679 win? ### Response:
SELECT "Award name" FROM table_1282 WHERE "Team number" = '679'
### Instruction: CREATE TABLE table_203_743 ( id number, "version" text, "date" text, "development cycle" text, "size (in kb)" number, "download" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how may total versions of cello where there ? ### Response:
SELECT COUNT("version") FROM table_203_743
### Instruction: CREATE TABLE table_28071 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many touchdowns did the player with 10 points have? ### Response:
SELECT MIN("Touchdowns") FROM table_28071 WHERE "Points" = '10'
### Instruction: CREATE TABLE table_name_16 ( lead_maragin INTEGER, dates_administered VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average lead maragin for the dates administered of october 6, 2008? ### Response:
SELECT AVG(lead_maragin) FROM table_name_16 WHERE dates_administered = "october 6, 2008"
### Instruction: CREATE TABLE table_22644 ( "HR no." text, "HR name" text, "CR no." real, "LMS no." real, "Built" text, "Works" text, "Withdrawn" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest cr number? ### Response:
SELECT MAX("CR no.") FROM table_22644
### Instruction: CREATE TABLE table_34371 ( "Name" text, "Nationality" text, "Position" text, "Years" text, "Appearances" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Francis Harris' position? ### Response:
SELECT "Position" FROM table_34371 WHERE "Name" = 'francis harris'
### Instruction: CREATE TABLE table_204_325 ( id number, "class" text, "name" text, "company" text, "residence" text, "term expires dec 31" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of companies presented ? ### Response:
SELECT COUNT("company") FROM table_204_325
### Instruction: CREATE TABLE table_name_67 ( rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals? ### Response:
SELECT SUM(rank) FROM table_name_67 WHERE gold > 2 AND total < 31 AND silver < 5
### Instruction: CREATE TABLE table_58732 ( "Name" text, "Total" real, "First" text, "Last" text, "Highest rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total when the first was November 1966? ### Response:
SELECT SUM("Total") FROM table_58732 WHERE "First" = 'november 1966'
### Instruction: CREATE TABLE station ( name VARCHAR, station_id VARCHAR ) CREATE TABLE train_station ( station_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the station name with greatest number of trains. ### Response:
SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_67411 ( "Date" text, "Opponent" text, "Result" text, "Game Site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance of the Cup Quarterfinals game? ### Response:
SELECT "Attendance" FROM table_67411 WHERE "Game Site" = 'cup quarterfinals'
### Instruction: CREATE TABLE table_15694696_1 ( arabic_capital_name VARCHAR, english_capital_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the arabic capital name wher the english capital name is manama? ### Response:
SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Manama"
### Instruction: CREATE TABLE table_203_314 ( 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. -- what is the total number of medals given ? ### Response:
SELECT SUM("total") FROM table_203_314
### Instruction: CREATE TABLE table_7033 ( "Year" real, "Production" text, "Composer" text, "Conductor" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Conductor who had Stephen Barlow as Director? ### Response:
SELECT "Conductor" FROM table_7033 WHERE "Director" = 'stephen barlow'
### Instruction: CREATE TABLE table_23047 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the result for dolly parton ### Response:
SELECT "Result" FROM table_23047 WHERE "Original artist" = 'Dolly Parton'
### Instruction: CREATE TABLE table_name_78 ( round INTEGER, player VARCHAR, pick VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest round of Ed Smith, who had a pick higher than 261 and played halfback? ### Response:
SELECT MAX(round) FROM table_name_78 WHERE pick < 261 AND position = "halfback" AND player = "ed smith"
### Instruction: CREATE TABLE table_name_54 ( report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the report when Mario Andretti held pole position and Jean-Pierre Jarier had the fastest lap? ### Response:
SELECT report FROM table_name_54 WHERE pole_position = "mario andretti" AND fastest_lap = "jean-pierre jarier"
### Instruction: CREATE TABLE table_name_31 ( rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the rank when the total is 39 in the county of dublin and the matches is less than 4? ### Response:
SELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = "dublin" AND matches < 4
### Instruction: CREATE TABLE table_32237 ( "Cyclist" text, "Country" text, "Team" text, "Time" text, "UCI ProTour Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is Gerolsteiner's cyclist? ### Response:
SELECT "Cyclist" FROM table_32237 WHERE "Team" = 'gerolsteiner'
### Instruction: CREATE TABLE table_2509350_3 ( tomina_municipality VARCHAR, villa_alcalá_municipality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of tomina for villa alcala for 176 ### Response:
SELECT COUNT(tomina_municipality) FROM table_2509350_3 WHERE villa_alcalá_municipality = 176
### Instruction: CREATE TABLE table_76703 ( "Club" text, "City" text, "Sport" text, "League" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue hosted the Dixie Derby Girls? ### Response:
SELECT "Venue" FROM table_76703 WHERE "Club" = 'dixie derby girls'
### Instruction: CREATE TABLE table_43620 ( "Developer(s)" text, "Release date" text, "Required OS" text, "Genre" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Masthead Studios release their game? ### Response:
SELECT "Release date" FROM table_43620 WHERE "Developer(s)" = 'masthead studios'
### Instruction: CREATE TABLE table_204_976 ( id number, "pos" text, "driver" text, "entrant" text, "constructor" text, "time/retired" text, "grid" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different drivers are listed ? ### Response:
SELECT COUNT(DISTINCT "driver") FROM table_204_976
### Instruction: CREATE TABLE table_name_74 ( win__percentage INTEGER, year VARCHAR, crew VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of win percentages when the year is 2008 and the crew is varsity 8+? ### Response:
SELECT SUM(win__percentage) FROM table_name_74 WHERE year = "2008" AND crew = "varsity 8+"
### Instruction: CREATE TABLE table_41481 ( "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 score has Toronto Eagles as the home? ### Response:
SELECT "Score" FROM table_41481 WHERE "Home" = 'toronto eagles'
### Instruction: CREATE TABLE table_203_300 ( id number, "year" number, "tournament" text, "venue" text, "result" text, "extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was the venue in greece ? ### Response:
SELECT COUNT(*) FROM table_203_300 WHERE "venue" = 'greece'
### Instruction: CREATE TABLE table_26967904_1 ( p_max___bar__ INTEGER, chambering VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the p max (bar) in the pistol where the chambering is .45 ACP? ### Response:
SELECT MAX(p_max___bar__) FROM table_26967904_1 WHERE chambering = ".45 ACP"
### Instruction: CREATE TABLE table_19930660_1 ( rufus_guest VARCHAR, first_broadcast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the rufus guest for 15 december 2008 ### Response:
SELECT COUNT(rufus_guest) FROM table_19930660_1 WHERE first_broadcast = "15 December 2008"
### Instruction: CREATE TABLE table_74739 ( "Municipality" text, "Inhabitants" real, "Mayor" text, "Party" text, "Election" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party was achille variati afilliated with? ### Response:
SELECT "Party" FROM table_74739 WHERE "Mayor" = 'achille variati'
### Instruction: CREATE TABLE table_323 ( "Country" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had evening gown score of 9.82? ### Response:
SELECT "Country" FROM table_323 WHERE "Evening Gown" = '9.82'
### Instruction: CREATE TABLE table_56352 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the 1948 og competition? ### Response:
SELECT "Result" FROM table_56352 WHERE "Competition" = '1948 og'
### Instruction: CREATE TABLE table_name_62 ( bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2 ### Response:
SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 2
### Instruction: CREATE TABLE table_name_48 ( first_elected INTEGER, party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest First Elected, when Party is 'Republican', and when District is 'Louisiana 7'? ### Response:
SELECT MAX(first_elected) FROM table_name_48 WHERE party = "republican" AND district = "louisiana 7"
### Instruction: CREATE TABLE table_68069 ( "School" text, "Team" text, "Division Record" text, "Overall Record" text, "Season Outcome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the season outcome for smyrna ### Response:
SELECT "Season Outcome" FROM table_68069 WHERE "School" = 'smyrna'
### Instruction: CREATE TABLE table_204_952 ( id number, "rank" number, "player" text, "county" text, "tally" text, "total" number, "opposition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which player ranked the most ? ### Response:
SELECT "player" FROM table_204_952 WHERE "rank" = 1
### Instruction: CREATE TABLE table_36918 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead has a Second of katrin kuusk? ### Response:
SELECT "Lead" FROM table_36918 WHERE "Second" = 'katrin kuusk'
### Instruction: CREATE TABLE table_203_248 ( id number, "code" text, "year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different codes were used from 1953 to 1958 ? ### Response:
SELECT COUNT(DISTINCT "code") FROM table_203_248 WHERE "year" >= 1953 AND "year" <= 1958
### Instruction: CREATE TABLE table_47164 ( "Round" real, "Pick" text, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round has a Player of sammy okpro? ### Response:
SELECT AVG("Round") FROM table_47164 WHERE "Player" = 'sammy okpro'
### Instruction: CREATE TABLE table_65787 ( "Draw" real, "Language" text, "Song" text, "English translation" text, "Place" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the lowest points when the language is Portuguese? ### Response:
SELECT MIN("Points") FROM table_65787 WHERE "Language" = 'portuguese'
### Instruction: CREATE TABLE table_6635 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Incumbent has a District of massachusetts 8? ### Response:
SELECT "Incumbent" FROM table_6635 WHERE "District" = 'massachusetts 8'
### Instruction: CREATE TABLE table_name_41 ( location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain? ### Response:
SELECT location FROM table_name_41 WHERE mountain_range = "coast mountains" AND rank < 18 AND mountain_peak = "skihist mountain"
### Instruction: CREATE TABLE table_name_49 ( game INTEGER, opponent VARCHAR, february VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Game with an Opponent of @ Hartford Whalers and February that's larger than 19? ### Response:
SELECT SUM(game) FROM table_name_49 WHERE opponent = "@ hartford whalers" AND february > 19
### Instruction: CREATE TABLE table_203_358 ( id number, "pos." number, "athlete" text, "run 1" number, "run 2" number, "total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which athlete had the fastest run ? ### Response:
SELECT "athlete" FROM table_203_358 ORDER BY "total" LIMIT 1
### Instruction: CREATE TABLE table_64802 ( "Year" real, "Award Ceremony" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years was Reasons to be Pretty nominated for best play? ### Response:
SELECT COUNT("Year") FROM table_64802 WHERE "Category" = 'best play'
### Instruction: CREATE TABLE table_76216 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Claude Harmon's Place? ### Response:
SELECT "Place" FROM table_76216 WHERE "Player" = 'claude harmon'
### Instruction: CREATE TABLE table_name_75 ( best_supported_club VARCHAR, goals VARCHAR, per_game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the best supported club with a 25 Goal and a per game larger than 1,156? ### Response:
SELECT best_supported_club FROM table_name_75 WHERE goals = 25 AND per_game > 1 OFFSET 156
### Instruction: CREATE TABLE table_65588 ( "Actor" text, "Character" text, "Soap Opera" text, "Years" text, "Duration" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What years have claudia ruffo as the actor? ### Response:
SELECT "Years" FROM table_65588 WHERE "Actor" = 'claudia ruffo'
### Instruction: CREATE TABLE table_name_41 ( polling_dates VARCHAR, alex_munter VARCHAR, polling_firm VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What dates does Alex Munter have 25% and the polling firm of Decima? ### Response:
SELECT polling_dates FROM table_name_41 WHERE alex_munter = "25%" AND polling_firm = "decima"
### Instruction: CREATE TABLE table_203_667 ( id number, "year" number, "driver" text, "co-driver" text, "car" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times was charlie lubega a driver ? ### Response:
SELECT COUNT(*) FROM table_203_667 WHERE "driver" = 'charlie lubega'
### Instruction: CREATE TABLE table_12078626_1 ( deadline_for_completion VARCHAR, description VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the deadline for completion where description is iphone recall within the first 3 months of release ### Response:
SELECT deadline_for_completion FROM table_12078626_1 WHERE description = "iPhone recall within the first 3 months of release"
### Instruction: CREATE TABLE table_name_51 ( february INTEGER, record VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed as the highest February with a Record of 34-14-4 and Game that's larger than 52? ### Response:
SELECT MAX(february) FROM table_name_51 WHERE record = "34-14-4" AND game > 52
### Instruction: CREATE TABLE table_49754 ( "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 iata for malta international airport? ### Response:
SELECT "IATA" FROM table_49754 WHERE "Airport" = 'malta international airport'
### Instruction: CREATE TABLE table_68084 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What United States player holds the place of t8?` ### Response:
SELECT "Player" FROM table_68084 WHERE "Place" = 't8' AND "Country" = 'united states'
### Instruction: CREATE TABLE table_10064 ( "Railway" text, "Builder" text, "Built" text, "Wheels" text, "Location" text, "ObjectNumber" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Stephenson the builder? ### Response:
SELECT "Built" FROM table_10064 WHERE "Builder" = 'stephenson'
### Instruction: CREATE TABLE table_name_79 ( event VARCHAR, year VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event is before 1964 and has an athlete of l szl t bori gunnar nielsen? ### Response:
SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = "lászló tábori gunnar nielsen"
### Instruction: CREATE TABLE table_66562 ( "Season" text, "Event type" text, "Location" text, "Format" text, "Date" text, "Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event did he compete in at Taipei? ### Response:
SELECT "Format" FROM table_66562 WHERE "Location" = 'taipei'
### Instruction: CREATE TABLE table_66466 ( "Sport" text, "Body" text, "Year" text, "Event type" text, "Location" text, "Nations" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nations participated in 2007? ### Response:
SELECT "Nations" FROM table_66466 WHERE "Year" = '2007'
### Instruction: CREATE TABLE table_68188 ( "Date" text, "Course" text, "Distance" text, "Winner" text, "Race Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Distance had a Race Leader in Km (mi)? ### Response:
SELECT "Distance" FROM table_68188 WHERE "Race Leader" = 'km (mi)'
### Instruction: CREATE TABLE table_name_12 ( Block INTEGER, assists VARCHAR, total_blocks VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When assists is more than 32 and total blocks is more than 88, what is the total of block assists? ### Response:
SELECT SUM(Block) AS assists FROM table_name_12 WHERE assists > 32 AND total_blocks > 88
### Instruction: CREATE TABLE table_name_75 ( lane INTEGER, react VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Land, when React is greater than 0.217, and when Name is Yoel Hern ndez? ### Response:
SELECT SUM(lane) FROM table_name_75 WHERE react > 0.217 AND name = "yoel hernández"
### Instruction: CREATE TABLE table_66522 ( "Original NFL team" text, "Player" text, "Pos." text, "College" text, "Conf." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original nfl team that the player was in from the midwestern conference? ### Response:
SELECT "Original NFL team" FROM table_66522 WHERE "Conf." = 'midwestern'
### Instruction: CREATE TABLE table_5006 ( "Season" real, "Date" text, "Location" text, "Discipline" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the race on 28 dec 2010 held? ### Response:
SELECT "Location" FROM table_5006 WHERE "Date" = '28 dec 2010'
### Instruction: CREATE TABLE table_38021 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the company that constructed the vehicle for Timo Glock? ### Response:
SELECT "Constructor" FROM table_38021 WHERE "Driver" = 'timo glock'
### Instruction: CREATE TABLE table_78393 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date that ended in a record of 8-25-7? ### Response:
SELECT "Date" FROM table_78393 WHERE "Record" = '8-25-7'
### Instruction: CREATE TABLE table_39251 ( "Rank" real, "Town" text, "Population" real, "Year" real, "Borough" text, "Definition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people live in Norton? ### Response:
SELECT SUM("Population") FROM table_39251 WHERE "Town" = 'norton'
### Instruction: CREATE TABLE table_35004 ( "Elimination no." text, "Wrestler" text, "Entered" real, "Eliminated by" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who Eliminated Kane? ### Response:
SELECT "Eliminated by" FROM table_35004 WHERE "Wrestler" = 'kane'