instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_88 ( date VARCHAR, week VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Of the games before week 3 which had attendance great than 65,904? ### Response:
SELECT date FROM table_name_88 WHERE week < 3 AND attendance > 65 OFFSET 904
### Instruction: CREATE TABLE table_24535095_2 ( listed_owner_s_ VARCHAR, crew_chief VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the listed owner for mike garvey ### Response:
SELECT listed_owner_s_ FROM table_24535095_2 WHERE crew_chief = "Mike Garvey"
### Instruction: CREATE TABLE table_name_62 ( district VARCHAR, party VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which district has a Democratic incumbent that was first elected before 1996? ### Response:
SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 1996
### Instruction: CREATE TABLE table_28742659_2 ( immunity VARCHAR, finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of immunity when the finish is 3rd voted out day 9? ### Response:
SELECT immunity FROM table_28742659_2 WHERE finish = "3rd voted Out Day 9"
### Instruction: CREATE TABLE table_25718552_2 ( Ends VARCHAR, blank_ends INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many ends were won where the blank ends are smaller than 3.0? ### Response:
SELECT Ends AS won FROM table_25718552_2 WHERE blank_ends < 3.0
### Instruction: CREATE TABLE table_name_12 ( record VARCHAR, score VARCHAR, visitor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Record with a Score with 80 87, and a Visitor with bucks? ### Response:
SELECT record FROM table_name_12 WHERE score = "80–87" AND visitor = "bucks"
### Instruction: CREATE TABLE table_16799784_7 ( diameter__km_ VARCHAR, latitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the diameter (km) of the feature of latitude 23.0s ### Response:
SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "23.0S"
### Instruction: CREATE TABLE table_78014 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date that is a cd ### Response:
SELECT "Date" FROM table_78014 WHERE "Format" = 'cd'
### Instruction: CREATE TABLE table_name_73 ( name VARCHAR, position VARCHAR, jersey__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name, when the Position is W, and when the Jersey # is 11? ### Response:
SELECT name FROM table_name_73 WHERE position = "w" AND jersey__number = 11
### Instruction: CREATE TABLE table_7054 ( "Country" text, "Host" text, "Channel" text, "Premiere" text, "Jackpot" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which channel comes out of Israel? ### Response:
SELECT "Channel" FROM table_7054 WHERE "Country" = 'israel'
### Instruction: CREATE TABLE table_1992924_3 ( spokesperson VARCHAR, year_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many spokesperson where in 2004 ### Response:
SELECT COUNT(spokesperson) FROM table_1992924_3 WHERE year_s_ = 2004
### Instruction: CREATE TABLE table_name_57 ( date VARCHAR, tie_no VARCHAR, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date had a tie no of replay, and an away team of watford? ### Response:
SELECT date FROM table_name_57 WHERE tie_no = "replay" AND away_team = "watford"
### Instruction: CREATE TABLE table_name_22 ( jersey_number_s_ VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tom Lagarde Category:Articles with hCards used what Jersey Number(s)? ### Response:
SELECT jersey_number_s_ FROM table_name_22 WHERE player = "tom lagarde category:articles with hcards"
### Instruction: CREATE TABLE table_name_55 ( office VARCHAR, socialist_workers_ticket VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket? ### Response:
SELECT office FROM table_name_55 WHERE socialist_workers_ticket = "sylvia weinstein"
### Instruction: CREATE TABLE table_30087032_5 ( series VARCHAR, high_points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what series did Charles Barkley (34) did most high points? ### Response:
SELECT series FROM table_30087032_5 WHERE high_points = "Charles Barkley (34)"
### Instruction: CREATE TABLE table_name_29 ( championship_game VARCHAR, final_four VARCHAR, conference VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Championship Game when the Final Four is 1 and the conference is American South? ### Response:
SELECT championship_game FROM table_name_29 WHERE final_four = "1" AND conference = "american south"
### Instruction: CREATE TABLE table_name_84 ( react INTEGER, mark VARCHAR, heat VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest React that has a 7.61 Mark and a heat bigger than 1? ### Response:
SELECT MAX(react) FROM table_name_84 WHERE mark = "7.61" AND heat > 1
### Instruction: CREATE TABLE table_name_74 ( draft INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Draft, when Player is 'Dave Christian Category:Articles with hCards'? ### Response:
SELECT MIN(draft) FROM table_name_74 WHERE player = "dave christian category:articles with hcards"
### Instruction: CREATE TABLE table_224837_4 ( date_successor_seated VARCHAR, reason_for_change VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date successor seated for delegate seat established ### Response:
SELECT date_successor_seated FROM table_224837_4 WHERE reason_for_change = "Delegate seat established"
### Instruction: CREATE TABLE table_30121075_1 ( poor_law_union VARCHAR, townland VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the poor law union when the townland is bohonagh? ### Response:
SELECT poor_law_union FROM table_30121075_1 WHERE townland = "Bohonagh"
### Instruction: CREATE TABLE table_name_46 ( nhl_team VARCHAR, position VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What NHL team has a centre and pick number of 105? ### Response:
SELECT nhl_team FROM table_name_46 WHERE position = "centre" AND pick__number = "105"
### Instruction: CREATE TABLE table_name_2 ( heat INTEGER, nationality VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest heat of the athlete from spain with a lane less than 7? ### Response:
SELECT MAX(heat) FROM table_name_2 WHERE nationality = "spain" AND lane < 7
### Instruction: CREATE TABLE table_name_13 ( played INTEGER, position VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4? ### Response:
SELECT MAX(played) FROM table_name_13 WHERE position < 2 AND drawn < 4
### Instruction: CREATE TABLE table_25084227_1 ( no INTEGER, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the episode was directed by Michael Offer, what was the episode number? ### Response:
SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer"
### Instruction: CREATE TABLE table_29012710_1 ( production__hectolitres_ VARCHAR, province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the amount where the area is new brunswick ### Response:
SELECT production__hectolitres_ FROM table_29012710_1 WHERE province = "New Brunswick"
### Instruction: CREATE TABLE table_name_93 ( team_1 VARCHAR, team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the name of the Team 1, where the Team 2 was Stade De Reims (d2)? ### Response:
SELECT team_1 FROM table_name_93 WHERE team_2 = "stade de reims (d2)"
### Instruction: CREATE TABLE table_name_1 ( character VARCHAR, year VARCHAR, award_ceremony VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which character was nominated in the 2010 Indian Television Academy Awards? ### Response:
SELECT character FROM table_name_1 WHERE year = 2010 AND award_ceremony = "indian television academy awards"
### Instruction: CREATE TABLE table_name_33 ( total INTEGER, nation VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Total, when Nation is Soviet Union, and when Gold is greater than 9? ### Response:
SELECT AVG(total) FROM table_name_33 WHERE nation = "soviet union" AND gold > 9
### Instruction: CREATE TABLE table_27537870_6 ( location_attendance VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the opponent was @ Boston Bruins, what was the Location/Attendance? ### Response:
SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins"
### Instruction: CREATE TABLE table_20107762_1 ( assists VARCHAR, mins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the amount of assists when mins is 744:27? ### Response:
SELECT assists FROM table_20107762_1 WHERE mins = "744:27"
### Instruction: CREATE TABLE table_name_45 ( year VARCHAR, surface VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have a Surface of clay, and a Score of 4 : 0? ### Response:
SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0"
### Instruction: CREATE TABLE table_19169116_6 ( high_rebounds VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games with high rebounds where in february 26 ### Response:
SELECT COUNT(high_rebounds) FROM table_19169116_6 WHERE date = "February 26"
### Instruction: CREATE TABLE table_name_4 ( primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Primary Sponsor for the team owned by Randy Humphrey? ### Response:
SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey"
### Instruction: CREATE TABLE table_name_90 ( date VARCHAR, opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the opponent the White Sox and the record 18-13? ### Response:
SELECT date FROM table_name_90 WHERE opponent = "white sox" AND record = "18-13"
### Instruction: CREATE TABLE table_1708014_1 ( position VARCHAR, winnings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which position offers winnings of $4,228,889? ### Response:
SELECT position FROM table_1708014_1 WHERE winnings = "$4,228,889"
### Instruction: CREATE TABLE table_27537518_9 ( decision VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who made the decision on the game where the record was 29-28-12? ### Response:
SELECT decision FROM table_27537518_9 WHERE record = "29-28-12"
### Instruction: CREATE TABLE table_2781227_10 ( college_junior_club_team VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school players have a number of 255 ### Response:
SELECT college_junior_club_team FROM table_2781227_10 WHERE pick = 255
### Instruction: CREATE TABLE table_1214035_1 ( playoffs VARCHAR, regular_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the playoffs when the regular season was 7th, southeast ### Response:
SELECT playoffs FROM table_1214035_1 WHERE regular_season = "7th, Southeast"
### Instruction: CREATE TABLE table_name_26 ( venue VARCHAR, opposing_teams VARCHAR, status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue where Argentina was the opposing team in a test match? ### Response:
SELECT venue FROM table_name_26 WHERE opposing_teams = "argentina" AND status = "test match"
### Instruction: CREATE TABLE table_name_70 ( nationality VARCHAR, time VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the nationality of Ray norton with a time of 20.6? ### Response:
SELECT nationality FROM table_name_70 WHERE time = "20.6" AND athlete = "ray norton"
### Instruction: CREATE TABLE table_23512864_4 ( election_year INTEGER, assembly VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the assembly is the sixth assembly, what is the maximum election year? ### Response:
SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly"
### Instruction: CREATE TABLE table_1473672_7 ( nationality VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what country was the player drafted by the toronto maple leafs ### Response:
SELECT nationality FROM table_1473672_7 WHERE nhl_team = "Toronto Maple Leafs"
### Instruction: CREATE TABLE table_203_737 ( id number, "#" number, "employer" text, "# of employees" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which employer has the most employees ? ### Response:
SELECT "employer" FROM table_203_737 ORDER BY "# of employees" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_18 ( goals INTEGER, name VARCHAR, caps VARCHAR ) -- 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_name_18 WHERE name = "gilmar" AND caps < 94
### Instruction: CREATE TABLE table_27756314_11 ( high_rebounds VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different results for high rebounds were there for game number 76? ### Response:
SELECT COUNT(high_rebounds) FROM table_27756314_11 WHERE game = 76
### Instruction: CREATE TABLE table_name_7 ( draw INTEGER, played VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least ties when they played less than 14 games, and a lost less than 8 of them? ### Response:
SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8
### Instruction: CREATE TABLE table_69912 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What catalog has the CD format? ### Response:
SELECT "Catalog" FROM table_69912 WHERE "Format" = 'cd'
### Instruction: CREATE TABLE song ( f_id VARCHAR, genre_is VARCHAR, artist_name VARCHAR, languages VARCHAR, rating VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the id, genre and artist name of English songs ordered by rating. ### Response:
SELECT f_id, genre_is, artist_name FROM song WHERE languages = "english" ORDER BY rating
### Instruction: CREATE TABLE table_name_31 ( episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Rodger Corser Episode has a Rank of senior sergeant? ### Response:
SELECT episodes FROM table_name_31 WHERE rank = "senior sergeant" AND actor_actress = "rodger corser"
### Instruction: CREATE TABLE table_name_23 ( constructor VARCHAR, time_retired VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the construction of Olivier Panis' car that retired due to a collision? ### Response:
SELECT constructor FROM table_name_23 WHERE time_retired = "collision" AND driver = "olivier panis"
### Instruction: CREATE TABLE table_23248940_10 ( location_attendance VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location and it's attendance when the Bobcats played against Washington? ### Response:
SELECT location_attendance FROM table_23248940_10 WHERE team = "Washington"
### Instruction: CREATE TABLE table_name_61 ( games INTEGER, gold VARCHAR, first VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games are associated with over 0 golds and a first year before 2008? ### Response:
SELECT SUM(games) FROM table_name_61 WHERE gold > 0 AND first < 2008
### Instruction: CREATE TABLE table_name_49 ( wins INTEGER, year VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the least amount of wins earlier than 1964 with more than 7 points? ### Response:
SELECT MIN(wins) FROM table_name_49 WHERE year < 1964 AND points > 7
### Instruction: CREATE TABLE table_name_36 ( competition VARCHAR, result VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the competition type of the event with a result of 3-2 and a score of 2-1? ### Response:
SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1"
### Instruction: CREATE TABLE table_33163 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What format does Japan use? ### Response:
SELECT "Format" FROM table_33163 WHERE "Country" = 'japan'
### Instruction: CREATE TABLE table_name_72 ( home VARCHAR, round VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Home has a Round of r1, and an Opponent of dundee united? ### Response:
SELECT home FROM table_name_72 WHERE round = "r1" AND opponent = "dundee united"
### Instruction: CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of students in one classroom. ### Response:
SELECT COUNT(*), classroom FROM list GROUP BY classroom
### Instruction: CREATE TABLE table_18943444_1 ( producer VARCHAR, product VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the producer of ? ### Response:
SELECT producer FROM table_18943444_1 WHERE product = "金必氏牌嬰幼兒配方乳粉"
### Instruction: CREATE TABLE table_name_72 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value in 2006 when the value for 2009 is 0 with runner-ups for tournament? ### Response:
SELECT 2006 FROM table_name_72 WHERE 2009 = "0" AND tournament = "runner-ups"
### Instruction: CREATE TABLE table_name_86 ( name VARCHAR, score VARCHAR, song VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wjat score is greater than 22 with this song: - ? ### Response:
SELECT name FROM table_name_86 WHERE score > 22 AND song = "林俊杰 - 木乃伊"
### Instruction: CREATE TABLE table_28884858_2 ( total_attendance INTEGER, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total attendance of the New York Giants? ### Response:
SELECT MIN(total_attendance) FROM table_28884858_2 WHERE team = "New York Giants"
### Instruction: CREATE TABLE table_15187735_10 ( segment_c VARCHAR, segment_d VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the segment c for crash test dummies ### Response:
SELECT COUNT(segment_c) FROM table_15187735_10 WHERE segment_d = "Crash Test Dummies"
### Instruction: CREATE TABLE table_name_15 ( year VARCHAR, location VARCHAR, loser VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years did the new york giants lose at metlife stadium? ### Response:
SELECT COUNT(year) FROM table_name_15 WHERE location = "metlife stadium" AND loser = "new york giants"
### Instruction: CREATE TABLE table_2676980_4 ( electoral_district VARCHAR, total_candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the electoral district when total candidates were 35? ### Response:
SELECT electoral_district FROM table_2676980_4 WHERE total_candidates = 35
### Instruction: CREATE TABLE table_name_33 ( selection INTEGER, player VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Selection has a Player of jamaar taylor, and a Round larger than 6? ### Response:
SELECT MIN(selection) FROM table_name_33 WHERE player = "jamaar taylor" AND round > 6
### Instruction: CREATE TABLE table_12194021_1 ( womens_doubles VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the womens doubles in 2002? ### Response:
SELECT womens_doubles FROM table_12194021_1 WHERE season = 2002
### Instruction: CREATE TABLE table_name_90 ( wins VARCHAR, position VARCHAR, conceded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of wins when position was larger than 6, and conceded was smaller than 19? ### Response:
SELECT COUNT(wins) FROM table_name_90 WHERE position > 6 AND conceded < 19
### Instruction: CREATE TABLE table_10413597_5 ( original_air_date VARCHAR, setting VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original air date of an episode set in 1544? ### Response:
SELECT original_air_date FROM table_10413597_5 WHERE setting = "1544"
### Instruction: CREATE TABLE table_31950 ( "Year" real, "Director" text, "Project" text, "Category" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Bulworth nominated? ### Response:
SELECT "Year" FROM table_31950 WHERE "Project" = 'bulworth'
### Instruction: CREATE TABLE table_11677100_16 ( mlb_draft VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was drafted from the school Mountain Pointe High School? ### Response:
SELECT mlb_draft FROM table_11677100_16 WHERE school = "Mountain Pointe High school"
### Instruction: CREATE TABLE table_name_18 ( to_par VARCHAR, place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of player johnny miller, who has a t8 place? ### Response:
SELECT to_par FROM table_name_18 WHERE place = "t8" AND player = "johnny miller"
### Instruction: CREATE TABLE table_1213511_4 ( college_junior_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team does George Hulme play for? ### Response:
SELECT college_junior_club_team FROM table_1213511_4 WHERE player = "George Hulme"
### Instruction: CREATE TABLE table_19766_1 ( country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of $ were spent in Iceland in 1948/49? ### Response:
SELECT MAX(1948 AS _49__) AS $_millions_ FROM table_19766_1 WHERE country = "Iceland"
### Instruction: CREATE TABLE table_2668254_22 ( incumbent VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the incumbent when the candidate was william drayton (j)? ### Response:
SELECT incumbent FROM table_2668254_22 WHERE candidates = "William Drayton (J)"
### Instruction: CREATE TABLE table_1893815_1 ( chinese__traditional_ VARCHAR, album_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of traditional chinese for album number 6th ### Response:
SELECT COUNT(chinese__traditional_) FROM table_1893815_1 WHERE album_number = "6th"
### Instruction: CREATE TABLE country ( country_id VARCHAR, country VARCHAR ) CREATE TABLE city ( country_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many cities are in Australia? ### Response:
SELECT COUNT(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id WHERE T2.country = 'Australia'
### Instruction: CREATE TABLE table_name_2 ( binibining_pilipinas_international VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Binibining Pilipinas-International has a Year of 1975? ### Response:
SELECT binibining_pilipinas_international FROM table_name_2 WHERE year = 1975
### Instruction: CREATE TABLE table_22118197_1 ( result VARCHAR, english_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the film with the English name of Morning Undersea? ### Response:
SELECT result FROM table_22118197_1 WHERE english_title = "Morning Undersea"
### Instruction: CREATE TABLE table_10560 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for Europe? ### Response:
SELECT "Date" FROM table_10560 WHERE "Region" = 'europe'
### Instruction: CREATE TABLE table_name_37 ( in_service INTEGER, unit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron? ### Response:
SELECT MAX(in_service) FROM table_name_37 WHERE unit = "12th minesweeper squadron"
### Instruction: CREATE TABLE table_name_34 ( total INTEGER, rank VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest total when the rank is 14 and the gold medals is larger than 0? ### Response:
SELECT MIN(total) FROM table_name_34 WHERE rank = "14" AND gold > 0
### Instruction: CREATE TABLE table_name_78 ( attendance INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Attendance, when the Date is September 17, 1981? ### Response:
SELECT AVG(attendance) FROM table_name_78 WHERE date = "september 17, 1981"
### Instruction: CREATE TABLE table_24807406_1 ( name VARCHAR, position VARCHAR, appearances VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name if the appearance is 2 and the position is FW? ### Response:
SELECT name FROM table_24807406_1 WHERE position = "FW" AND appearances = 2
### Instruction: CREATE TABLE table_name_59 ( college_junior_club_team__league_ VARCHAR, round INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college did the player selected in rounds over 3 play for? ### Response:
SELECT college_junior_club_team__league_ FROM table_name_59 WHERE round > 3
### Instruction: CREATE TABLE table_20866024_2 ( model_type VARCHAR, model_designation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What model type has model designation 97500? ### Response:
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97500"
### Instruction: CREATE TABLE table_17598822_11 ( league INTEGER, scottish_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the maximum leagure for 0 scottish cup ### Response:
SELECT MAX(league) FROM table_17598822_11 WHERE scottish_cup = 0
### Instruction: CREATE TABLE table_19744915_22 ( couple VARCHAR, vote_percentage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What couple had vote percentage of 21.843%? ### Response:
SELECT couple FROM table_19744915_22 WHERE vote_percentage = "21.843%"
### Instruction: CREATE TABLE table_name_77 ( result VARCHAR, road_team VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Result has a Road Team of san francisco, and a Game of game 2? ### Response:
SELECT result FROM table_name_77 WHERE road_team = "san francisco" AND game = "game 2"
### Instruction: CREATE TABLE table_name_43 ( last_10_meetings VARCHAR, games_played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the last 10 meetings that have 12 as the games played? ### Response:
SELECT last_10_meetings FROM table_name_43 WHERE games_played = "12"
### Instruction: CREATE TABLE table_16046689_29 ( stadium VARCHAR, payout___us$__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which stadium has a payout of $3 million? ### Response:
SELECT stadium FROM table_16046689_29 WHERE payout___us$__ = "$3 Million"
### Instruction: CREATE TABLE table_name_83 ( episode_title VARCHAR, doctor_who_episode VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Episode title has a Doctor Who episode of episodes 1 12? ### Response:
SELECT episode_title FROM table_name_83 WHERE doctor_who_episode = "episodes 1–12"
### Instruction: CREATE TABLE table_name_85 ( player VARCHAR, position VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has position of power forward and School/Club Team of Depaul? ### Response:
SELECT player FROM table_name_85 WHERE position = "power forward" AND school_club_team = "depaul"
### Instruction: CREATE TABLE table_name_16 ( decile INTEGER, authority VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Decile with a state authority and a Name of mapiu school? ### Response:
SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school"
### Instruction: CREATE TABLE table_23718905_6 ( television VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the television that was dated December 28, 2009? ### Response:
SELECT television FROM table_23718905_6 WHERE date = "December 28, 2009"
### Instruction: CREATE TABLE table_1341453_22 ( first_elected INTEGER, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the elections take place in district Maryland 2? ### Response:
SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 2"
### Instruction: CREATE TABLE table_name_11 ( max_torque_at_rpm VARCHAR, engine_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the max torque of the 1.2 mpi engine? ### Response:
SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi"
### Instruction: CREATE TABLE table_name_18 ( season INTEGER, level VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Season has a Level of tier 4, and a Position of 11th? ### Response:
SELECT SUM(season) FROM table_name_18 WHERE level = "tier 4" AND position = "11th"
### Instruction: CREATE TABLE table_name_85 ( assist_pass VARCHAR, score VARCHAR, goal VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Assist/pass has a Score of 1-0, and a Goal of 5? ### Response:
SELECT assist_pass FROM table_name_85 WHERE score = "1-0" AND goal = "5"
### Instruction: CREATE TABLE table_name_80 ( points INTEGER, against VARCHAR, played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Points when against is 50, and there are less than 20 played? ### Response:
SELECT MIN(points) FROM table_name_80 WHERE against = 50 AND played < 20
### Instruction: CREATE TABLE table_name_41 ( finished VARCHAR, entered VARCHAR, exited VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position did the celebrity finish that entered on day 1 and exited on day 15? ### Response:
SELECT finished FROM table_name_41 WHERE entered = "day 1" AND exited = "day 15"