instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_26218783_7 ( sd INTEGER, status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest sd when the status is second round lost to iveta bene ov ? ### Response:
SELECT MAX(sd) FROM table_26218783_7 WHERE status = "Second round lost to Iveta Benešová"
### Instruction: CREATE TABLE table_7025 ( "Name" text, "Status" text, "Authors" text, "Unit" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the author for the malasaurus? ### Response:
SELECT "Authors" FROM table_7025 WHERE "Name" = 'malasaurus'
### Instruction: CREATE TABLE table_name_65 ( gold INTEGER, nation VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average gold medals Uzbekistan, which has less than 24 total medals, has? ### Response:
SELECT AVG(gold) FROM table_name_65 WHERE nation = "uzbekistan" AND total < 24
### Instruction: CREATE TABLE table_name_27 ( wins INTEGER, losses VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of wins where the losses are more than 12 and the draws are less than 0? ### Response:
SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0
### Instruction: CREATE TABLE table_10342194_3 ( total_amount_of_trees INTEGER, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total amount of trees when district is leninsky? ### Response:
SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky"
### Instruction: CREATE TABLE table_name_14 ( date VARCHAR, score VARCHAR, site_stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what day was a game played at Reese Smith Field, with a score of 4-3? ### Response:
SELECT date FROM table_name_14 WHERE score = "4-3" AND site_stadium = "reese smith field"
### Instruction: CREATE TABLE table_10523 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the home game for the NY Islanders? ### Response:
SELECT "Date" FROM table_10523 WHERE "Home" = 'ny islanders'
### Instruction: CREATE TABLE table_name_22 ( elevation__m_ INTEGER, country VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the elevation of Vanuatu, when the rank is smaller than 3? ### Response:
SELECT AVG(elevation__m_) FROM table_name_22 WHERE country = "vanuatu" AND rank < 3
### Instruction: CREATE TABLE table_176529_2 ( official_name VARCHAR, area_km_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the place where area is 578.28 square km? ### Response:
SELECT official_name FROM table_176529_2 WHERE area_km_2 = "578.28"
### Instruction: CREATE TABLE table_name_94 ( draws INTEGER, goal_difference VARCHAR, losses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For a goal difference greater than 3 and fewer than 8 losses, what is the most draws scored? ### Response:
SELECT MAX(draws) FROM table_name_94 WHERE goal_difference > 3 AND losses < 8
### Instruction: CREATE TABLE table_name_18 ( brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the Brazil scorers for the World Cup Competition with a 1-2 score? ### Response:
SELECT brazil_scorers FROM table_name_18 WHERE competition = "world cup" AND score = "1-2"
### Instruction: CREATE TABLE table_11642 ( "Round" text, "Player" text, "Position" text, "Team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What college has the Chicago Stags? ### Response:
SELECT "College" FROM table_11642 WHERE "Team" = 'chicago stags'
### Instruction: CREATE TABLE table_63452 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is ranked higher than 5? ### Response:
SELECT "Country" FROM table_63452 WHERE "Rank" > '5'
### Instruction: CREATE TABLE table_27278 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the position for michael warner ### Response:
SELECT "Position" FROM table_27278 WHERE "Player" = 'Michael Warner'
### Instruction: CREATE TABLE table_19439864_2 ( elverum VARCHAR, song VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many elverum are tehre for et sted i scandinavia? ### Response:
SELECT COUNT(elverum) FROM table_19439864_2 WHERE song = "Et sted i Scandinavia"
### Instruction: CREATE TABLE table_name_27 ( pick INTEGER, nfl_club VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest pick by the Baltimore Colts in a round later than 10? ### Response:
SELECT MAX(pick) FROM table_name_27 WHERE nfl_club = "baltimore colts" AND round > 10
### Instruction: CREATE TABLE table_286271_1 ( election VARCHAR, _percentage_of_popular_vote VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the election for the percent of popular vote being 4.48% ### Response:
SELECT election FROM table_286271_1 WHERE _percentage_of_popular_vote = "4.48%"
### Instruction: CREATE TABLE table_7969 ( "Aircraft" text, "Type" text, "Version" text, "Produced" text, "Quantity" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What aircraft has 129 made? ### Response:
SELECT "Aircraft" FROM table_7969 WHERE "Quantity" = '129'
### Instruction: CREATE TABLE table_name_62 ( winning_party_2003 VARCHAR, constituency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north? ### Response:
SELECT winning_party_2003 FROM table_name_62 WHERE constituency = "aberdeen north"
### Instruction: CREATE TABLE table_name_83 ( place VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- 5 Hoops that has a Place larger than 7, and a Total larger than 38.525 had what sum? ### Response:
SELECT SUM(5 AS _hoops) FROM table_name_83 WHERE place > 7 AND total > 38.525
### Instruction: CREATE TABLE table_2361 ( "Round" real, "Choice" real, "Player" text, "Position" text, "Height" text, "Weight" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round? ### Response:
SELECT MIN("Round") FROM table_2361
### Instruction: CREATE TABLE table_204_655 ( id number, "year" number, "winner" text, "album" text, "other finalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last album to win ? ### Response:
SELECT "album" FROM table_204_655 ORDER BY "year" DESC LIMIT 1
### Instruction: CREATE TABLE table_6840 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To Par for Player Chris Riley? ### Response:
SELECT "To par" FROM table_6840 WHERE "Player" = 'chris riley'
### Instruction: CREATE TABLE table_name_85 ( copies_sold VARCHAR, oricon_position VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many copies were sold where the position is lager than 1 in 1988? ### Response:
SELECT copies_sold FROM table_name_85 WHERE oricon_position > 1 AND year = 1988
### Instruction: CREATE TABLE table_59521 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Gene Sauers' to par? ### Response:
SELECT "To par" FROM table_59521 WHERE "Player" = 'gene sauers'
### Instruction: CREATE TABLE table_name_74 ( winning_team VARCHAR, winning_driver VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did Teo Fabi drive for when he won and had pole position? ### Response:
SELECT winning_team FROM table_name_74 WHERE winning_driver = "teo fabi" AND pole_position = "teo fabi"
### Instruction: CREATE TABLE table_name_99 ( wins INTEGER, class VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wins is the highest one that has a Class of 500cc, and Points smaller than 6? ### Response:
SELECT MAX(wins) FROM table_name_99 WHERE class = "500cc" AND points < 6
### Instruction: CREATE TABLE table_name_73 ( high_rebounds VARCHAR, game VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the highest rebounds of the game with a game number higher than 65 on March 28? ### Response:
SELECT high_rebounds FROM table_name_73 WHERE game > 65 AND date = "march 28"
### Instruction: CREATE TABLE table_name_49 ( name VARCHAR, goals VARCHAR, transfer_fee VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Name, when Goals is greater than 14, and when Transfer Fee is 'Youth System'? ### Response:
SELECT name FROM table_name_49 WHERE goals > 14 AND transfer_fee = "youth system"
### Instruction: CREATE TABLE table_name_4 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament's 2001 and 2008 were a when 2010 was qf? ### Response:
SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf"
### Instruction: CREATE TABLE table_name_24 ( since VARCHAR, goals VARCHAR, transfer_fee VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the since year for the player with more than 3 goals and a transfer fee of 400k? ### Response:
SELECT since FROM table_name_24 WHERE goals > 3 AND transfer_fee = "£400k"
### Instruction: CREATE TABLE table_name_45 ( weekly_winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 18-49, when Weekly Winner is 'Youth Counselor Justin Meece'? ### Response:
SELECT 18 AS _49 FROM table_name_45 WHERE weekly_winner = "youth counselor justin meece"
### Instruction: CREATE TABLE table_2781227_2 ( college_junior_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams does Lee Sorochan play for? ### Response:
SELECT COUNT(college_junior_club_team) FROM table_2781227_2 WHERE player = "Lee Sorochan"
### Instruction: CREATE TABLE table_70974 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position has 14 rounds? ### Response:
SELECT "Position" FROM table_70974 WHERE "Round" = '14'
### Instruction: CREATE TABLE table_44551 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is player mike sullivan from? ### Response:
SELECT "Country" FROM table_44551 WHERE "Player" = 'mike sullivan'
### Instruction: CREATE TABLE table_name_71 ( years VARCHAR, country VARCHAR, rank VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Years have a Rank larger than 2, and Wins of 2, and a Country of france? ### Response:
SELECT years FROM table_name_71 WHERE rank > 2 AND wins = 2 AND country = "france"
### Instruction: CREATE TABLE table_name_7 ( record VARCHAR, round VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the record of the UCS 2 - Battle at the Barn when the round was n/a? ### Response:
SELECT record FROM table_name_7 WHERE round = "n/a" AND event = "ucs 2 - battle at the barn"
### Instruction: CREATE TABLE table_20124413_1 ( original_airdate VARCHAR, prod_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 1.17 is the production code how many air dates are there? ### Response:
SELECT COUNT(original_airdate) FROM table_20124413_1 WHERE prod_code = "1.17"
### Instruction: CREATE TABLE table_22347090_4 ( us_viewers__million_ VARCHAR, no_in_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewers tuned in for season 2? ### Response:
SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2
### Instruction: CREATE TABLE table_name_75 ( matches VARCHAR, draws VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Matches, when Draws is 'Did Not Qualify', and when Year is '1995'? ### Response:
SELECT matches FROM table_name_75 WHERE draws = "did not qualify" AND year = "1995"
### Instruction: CREATE TABLE table_name_6 ( rank INTEGER, area__km_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total of Rank that has an Area (KM 2) of 1050.14? ### Response:
SELECT SUM(rank) FROM table_name_6 WHERE area__km_2__ = 1050.14
### Instruction: CREATE TABLE table_name_25 ( reactor_type VARCHAR, commercial_operation VARCHAR, unit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What reactor type that has a commercial operation of , and a tianwan-7 unit? ### Response:
SELECT reactor_type FROM table_name_25 WHERE commercial_operation = "—" AND unit = "tianwan-7"
### Instruction: CREATE TABLE table_name_20 ( position INTEGER, goals_against VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position was the team who had less then 63 goals against and less than 6 losses? ### Response:
SELECT AVG(position) FROM table_name_20 WHERE goals_against < 63 AND lost < 6
### Instruction: CREATE TABLE table_40301 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Overall attendance for week 4? ### Response:
SELECT "Attendance" FROM table_40301 WHERE "Week" = '4'
### Instruction: CREATE TABLE table_name_84 ( time VARCHAR, news_freq VARCHAR, show_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which time has a news frequency of 1 hour and show name of Best Mix Overnight? ### Response:
SELECT time FROM table_name_84 WHERE news_freq = "1 hour" AND show_name = "best mix overnight"
### Instruction: CREATE TABLE table_11585313_1 ( number_of_caps VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the toatl number of caps where the name is Hans Blume? ### Response:
SELECT COUNT(number_of_caps) FROM table_11585313_1 WHERE name = "Hans Blume"
### Instruction: CREATE TABLE table_24224647_2 ( year_premiered VARCHAR, main_presenter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years premiered have Sa Beining as main presenter? ### Response:
SELECT COUNT(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Sa Beining"
### Instruction: CREATE TABLE table_name_47 ( team VARCHAR, total VARCHAR, tournament VARCHAR, regular_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has over 1 tournament title, 0 in the regular season, and 2 total? ### Response:
SELECT team FROM table_name_47 WHERE tournament > 1 AND regular_season = "0" AND total = 2
### Instruction: CREATE TABLE table_204_293 ( id number, "district" number, "name" text, "party" text, "district office" text, "first elected" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total senators are there ? ### Response:
SELECT COUNT("name") FROM table_204_293
### Instruction: CREATE TABLE table_22078972_2 ( no_in_series INTEGER, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the series number of the episode whose writer is David North? ### Response:
SELECT MAX(no_in_series) FROM table_22078972_2 WHERE written_by = "David North"
### Instruction: CREATE TABLE table_name_98 ( place VARCHAR, year VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the place later than 2007, with 141 (sf:83) points? ### Response:
SELECT place FROM table_name_98 WHERE year > 2007 AND points = "141 (sf:83)"
### Instruction: CREATE TABLE table_67037 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine has 2 points? ### Response:
SELECT "Engine(s)" FROM table_67037 WHERE "Points" = '2'
### Instruction: CREATE TABLE table_38512 ( "Name" text, "Type" text, "Date" text, "Condition" text, "Ownership" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of the Fortified House? ### Response:
SELECT "Date" FROM table_38512 WHERE "Type" = 'fortified house'
### Instruction: CREATE TABLE table_name_2 ( laps INTEGER, grid VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps have a grid under 14 and a time/retired of out of fuel? ### Response:
SELECT SUM(laps) FROM table_name_2 WHERE grid < 14 AND time_retired = "out of fuel"
### Instruction: CREATE TABLE table_27050336_7 ( district VARCHAR, delegate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For delegate is mcdonough, patrick l. pat mcdonough, specify all the district. ### Response:
SELECT district FROM table_27050336_7 WHERE delegate = "McDonough, Patrick L. Pat McDonough"
### Instruction: CREATE TABLE table_1341453_34 ( first_elected VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the first elected year of the district that Ed Towns is an incumbent of? ### Response:
SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns"
### Instruction: CREATE TABLE table_name_33 ( result VARCHAR, week VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Result when the week is later than 9, and there are 65,858 people in attendance? ### Response:
SELECT result FROM table_name_33 WHERE week > 9 AND attendance = "65,858"
### Instruction: CREATE TABLE table_4272 ( "Route Number" real, "Origin" text, "Intermediate stops" text, "Destination" text, "Provider" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every origin for the destination of Manchester? ### Response:
SELECT "Origin" FROM table_4272 WHERE "Destination" = 'Manchester'
### Instruction: CREATE TABLE table_name_68 ( points INTEGER, club VARCHAR, loses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points have utenis utena as the club, with loses less than 16? ### Response:
SELECT SUM(points) FROM table_name_68 WHERE club = "utenis utena" AND loses > 16
### Instruction: CREATE TABLE table_42536 ( "Result" text, "Opponent" text, "Type" text, "Round" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Result has a Round of 6? ### Response:
SELECT "Result" FROM table_42536 WHERE "Round" = '6'
### Instruction: CREATE TABLE table_53514 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the home team on March 5? ### Response:
SELECT "Home" FROM table_53514 WHERE "Date" = 'march 5'
### Instruction: CREATE TABLE table_10730 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who went to ohio state? ### Response:
SELECT "Player" FROM table_10730 WHERE "College" = 'ohio state'
### Instruction: CREATE TABLE table_name_41 ( date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date for the grass surface final against Nathan Healey? ### Response:
SELECT date FROM table_name_41 WHERE surface = "grass" AND opponent_in_the_final = "nathan healey"
### Instruction: CREATE TABLE table_8573 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was the format of ed remaster cd? ### Response:
SELECT "Date" FROM table_8573 WHERE "Format" = 'ed remaster cd'
### Instruction: CREATE TABLE table_name_62 ( reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many reg GP for nathan barrett in a round less than 8? ### Response:
SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 8
### Instruction: CREATE TABLE table_name_5 ( date VARCHAR, visitor VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Visitor of new england whalers, and a Record of 9 9 1? Question 2 ### Response:
SELECT date FROM table_name_5 WHERE visitor = "new england whalers" AND record = "9–9–1"
### Instruction: CREATE TABLE table_name_74 ( points_won VARCHAR, year VARCHAR, total_matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 2007, how many points were won when more than 5 matches were played? ### Response:
SELECT COUNT(points_won) FROM table_name_74 WHERE year = "2007" AND total_matches > 5
### Instruction: CREATE TABLE table_name_24 ( place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what place is the golfer with a score of 68-69-73-70=280? ### Response:
SELECT place FROM table_name_24 WHERE score = 68 - 69 - 73 - 70 = 280
### Instruction: CREATE TABLE table_46592 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Record of 3-4? ### Response:
SELECT "Date" FROM table_46592 WHERE "Record" = '3-4'
### Instruction: CREATE TABLE table_name_77 ( name VARCHAR, cerclis_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the site with a CERCLIS ID of prd980512362? ### Response:
SELECT name FROM table_name_77 WHERE cerclis_id = "prd980512362"
### Instruction: CREATE TABLE table_75429 ( "Country" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What skip has denmark as the country? ### Response:
SELECT "Skip" FROM table_75429 WHERE "Country" = 'denmark'
### Instruction: CREATE TABLE table_name_41 ( weight__kg_ INTEGER, position VARCHAR, jersey__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest weight in kg for F Position, Jersey #12? ### Response:
SELECT MAX(weight__kg_) FROM table_name_41 WHERE position = "f" AND jersey__number = 12
### Instruction: CREATE TABLE table_name_7 ( grid INTEGER, time VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What grid has an average time of +22.505 and laps larger than 23? ### Response:
SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23
### Instruction: CREATE TABLE table_12095519_1 ( train_name VARCHAR, train_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of train number 15647/48? ### Response:
SELECT train_name FROM table_12095519_1 WHERE train_no = "15647/48"
### Instruction: CREATE TABLE table_67468 ( "Stage" text, "Winner" text, "General classification" text, "Points Classification" text, "Team Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the team classification for stage of 6 ### Response:
SELECT "Team Classification" FROM table_67468 WHERE "Stage" = '6'
### Instruction: CREATE TABLE table_38632 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the player from Japan's To Par? ### Response:
SELECT "To par" FROM table_38632 WHERE "Country" = 'japan'
### Instruction: CREATE TABLE table_17623902_1 ( production_code VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes did Julie Martin wrote for the show If every episode has its own production code? ### Response:
SELECT COUNT(production_code) FROM table_17623902_1 WHERE written_by = "Julie Martin"
### Instruction: CREATE TABLE table_name_87 ( competition VARCHAR, result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the competition when the result is won and the date is september 13, 1996? ### Response:
SELECT competition FROM table_name_87 WHERE result = "won" AND date = "september 13, 1996"
### Instruction: CREATE TABLE table_32542 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which host university is based in Missoula? ### Response:
SELECT "Host" FROM table_32542 WHERE "City" = 'missoula'
### Instruction: CREATE TABLE table_59902 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for Sandy Lyle? ### Response:
SELECT "Score" FROM table_59902 WHERE "Player" = 'sandy lyle'
### Instruction: CREATE TABLE table_name_19 ( overall INTEGER, college VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Overall is the highest one that has a College of oklahoma, and a Pick # smaller than 4? ### Response:
SELECT MAX(overall) FROM table_name_19 WHERE college = "oklahoma" AND pick__number < 4
### Instruction: CREATE TABLE table_name_98 ( couple VARCHAR, dance VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which couple danced a jive and received a score of 21 (6, 7, 8)? ### Response:
SELECT couple FROM table_name_98 WHERE dance = "jive" AND score = "21 (6, 7, 8)"
### Instruction: CREATE TABLE table_27547668_4 ( directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of films directy and written by john callaghan? ### Response:
SELECT COUNT(directed_by) FROM table_27547668_4 WHERE written_by = "John Callaghan"
### Instruction: CREATE TABLE table_22171978_1 ( school_colors VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entries are shown for school colors for the location of naga , camarines sur? ### Response:
SELECT COUNT(school_colors) FROM table_22171978_1 WHERE location = "Naga , Camarines Sur"
### Instruction: CREATE TABLE table_23002 ( "House name" text, "House mascot" text, "House colour" text, "Year opened" real, "House leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year a house opened? ### Response:
SELECT MIN("Year opened") FROM table_23002
### Instruction: CREATE TABLE table_12576536_1 ( year INTEGER, population__woocoo_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most year when population of woocoo is 2700 ### Response:
SELECT MAX(year) FROM table_12576536_1 WHERE population__woocoo_ = 2700
### Instruction: CREATE TABLE table_584 ( "Institution" text, "Location" text, "Nickname" text, "Current Conference" text, "Classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What current conference is Post University a member of? ### Response:
SELECT "Current Conference" FROM table_584 WHERE "Institution" = 'Post University'
### Instruction: CREATE TABLE table_11869952_3 ( mission VARCHAR, launch_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which missions were scheduled to launch on November 16, 2006? ### Response:
SELECT mission FROM table_11869952_3 WHERE launch_date = "November 16, 2006"
### Instruction: CREATE TABLE table_15275060_1 ( bulgarian_name VARCHAR, Mart VARCHAR, Transliteration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the bulgarian name for mart ### Response:
SELECT bulgarian_name FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Mart
### Instruction: CREATE TABLE table_name_60 ( rank INTEGER, source_of_copper VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the lowest ranking source of copper, copper ore, concentrated and leached? ### Response:
SELECT MIN(rank) FROM table_name_60 WHERE source_of_copper = "copper ore, concentrated and leached"
### Instruction: CREATE TABLE table_78675 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for Peter Lonard? ### Response:
SELECT "Score" FROM table_78675 WHERE "Player" = 'peter lonard'
### Instruction: CREATE TABLE table_61560 ( "Draw" real, "Artist" text, "Song" text, "Results" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result of the song 'ride'? ### Response:
SELECT "Results" FROM table_61560 WHERE "Song" = 'ride'
### Instruction: CREATE TABLE table_39956 ( "Rank" real, "Name" text, "Years" text, "Matches" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals ranked 6? ### Response:
SELECT COUNT("Goals") FROM table_39956 WHERE "Rank" = '6'
### Instruction: CREATE TABLE table_name_49 ( region VARCHAR, format VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the region for Catalog amlh 66078 in stereo lp format? ### Response:
SELECT region FROM table_name_49 WHERE format = "stereo lp" AND catalog = "amlh 66078"
### Instruction: CREATE TABLE table_name_44 ( total INTEGER, year_s__won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Total for the Player who won in 1922, 1932? ### Response:
SELECT AVG(total) FROM table_name_44 WHERE year_s__won = "1922, 1932"
### Instruction: CREATE TABLE table_75106 ( "Conference" text, "Division" text, "Team" text, "City" text, "Home Arena" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city includes the Target Center arena? ### Response:
SELECT "City" FROM table_75106 WHERE "Home Arena" = 'target center'
### Instruction: CREATE TABLE table_70897 ( "Year" text, "Category" text, "Genre" text, "Recording" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the category for 2013 ### Response:
SELECT "Category" FROM table_70897 WHERE "Year" = '2013'
### Instruction: CREATE TABLE table_name_11 ( entrant VARCHAR, year VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ist he entrant later than 1963 with an eagle MK1 chassis? ### Response:
SELECT entrant FROM table_name_11 WHERE year > 1963 AND chassis = "eagle mk1"
### Instruction: CREATE TABLE table_2731431_1 ( col_location VARCHAR, col_height__m_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the col location with a col height (m) of 1107? ### Response:
SELECT col_location FROM table_2731431_1 WHERE col_height__m_ = 1107
### Instruction: CREATE TABLE table_name_30 ( points_for VARCHAR, played VARCHAR, tries_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If played is 22 and the tries against are 43, what are the points? ### Response:
SELECT points_for FROM table_name_30 WHERE played = "22" AND tries_against = "43"