instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_204_144 ( id number, "represent" number, "contestant" text, "age" number, "height" text, "hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many contestants are 20 years old ? ### Response:
SELECT COUNT("contestant") FROM table_204_144 WHERE "age" = 20
### Instruction: CREATE TABLE table_36093 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what had a score like roberto devicenzo ### Response:
SELECT "Score" FROM table_36093 WHERE "Player" = 'roberto devicenzo'
### Instruction: CREATE TABLE table_name_36 ( to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of player john buczek, who has a t9 place and is from the United States? ### Resp...
SELECT to_par FROM table_name_36 WHERE place = "t9" AND country = "united states" AND player = "john buczek"
### Instruction: CREATE TABLE table_name_89 ( rank INTEGER, carriers VARCHAR, passengers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest rank for China Eastern Airlines, Korean Air with more passengers than 97,055? ### Response:
SELECT MIN(rank) FROM table_name_89 WHERE carriers = "china eastern airlines, korean air" AND passengers > 97 OFFSET 055
### Instruction: CREATE TABLE table_16175217_1 ( children_per_donor VARCHAR, allowed_recipients VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the children per donor in the country where the allowed recipients are married or in cohabitation? ### R...
SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "Married or in cohabitation"
### Instruction: CREATE TABLE table_name_63 ( fictional_narrator VARCHAR, published_as_serial VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Fictional narrator has a Published as serial of february july 1912, all-story? ### Response:
SELECT fictional_narrator FROM table_name_63 WHERE published_as_serial = "february–july 1912, all-story"
### Instruction: CREATE TABLE table_74574 ( "Place" real, "Rider" text, "Country" text, "Machine" text, "Speed" text, "Time" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time for the man who scored 1 point? ##...
SELECT "Time" FROM table_74574 WHERE "Points" = '1'
### Instruction: CREATE TABLE table_77168 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date is Game 3 with Boston Road Team? ### Response:
SELECT "Date" FROM table_77168 WHERE "Road Team" = 'boston' AND "Game" = 'game 3'
### Instruction: CREATE TABLE table_77200 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" real, "Year named" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Longitude, when Name is Raskova Paterae? ### Response:
SELECT "Longitude" FROM table_77200 WHERE "Name" = 'raskova paterae'
### Instruction: CREATE TABLE table_name_18 ( heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many heats had 5 lanes and a rank less than 110 for the nationality of Honduras? ### Response:
SELECT COUNT(heat) FROM table_name_18 WHERE lane = 5 AND rank > 110 AND nationality = "honduras"
### Instruction: CREATE TABLE table_8263 ( "Name" text, "Company" text, "Tracking Method" text, "Latest stable release" text, "Price in USD" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Company which has a Price in USD of free / negotiabl...
SELECT "Company" FROM table_8263 WHERE "Price in USD" = 'free / negotiable'
### Instruction: CREATE TABLE table_79376 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is listed in notes for the athlete, lassi karonen? ### Response:
SELECT "Notes" FROM table_79376 WHERE "Athlete" = 'lassi karonen'
### Instruction: CREATE TABLE table_21071 ( "Team #1" text, "Points" text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If team two is Lan s, what was the total number of points? ### Response:
SELECT COUNT("Points") FROM table_21071 WHERE "Team #2" = 'Lanús'
### Instruction: CREATE TABLE table_60592 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Name has a Winning constructor of ansaldo? ##...
SELECT "Name" FROM table_60592 WHERE "Winning constructor" = 'ansaldo'
### Instruction: CREATE TABLE table_name_33 ( laps INTEGER, grid VARCHAR, constructor VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest laps for maserati and +6 laps for grid more than 11 ### Response:
SELECT MAX(laps) FROM table_name_33 WHERE constructor = "maserati" AND time_retired = "+6 laps" AND grid > 11
### Instruction: CREATE TABLE table_57352 ( "Constructor" text, "Chassis" text, "Engine" text, "Tyres" text, "Driver" text, "Rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the engine used for rounds 5-6? ### Response:
SELECT "Engine" FROM table_57352 WHERE "Rounds" = '5-6'
### Instruction: CREATE TABLE table_61591 ( "Province, Community" text, "Contestant" text, "Height" text, "Hometown" text, "Geographical Regions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hometown for Santiago? ### Response:
SELECT "Hometown" FROM table_61591 WHERE "Province, Community" = 'santiago'
### Instruction: CREATE TABLE table_69387 ( "Year" text, "Champion" text, "Runner-Up" text, "3rd Place" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the runner-up which has 3rd place of terry hollands ### Response:
SELECT "Runner-Up" FROM table_69387 WHERE "3rd Place" = 'terry hollands'
### Instruction: CREATE TABLE table_1827900_1 ( _percentage_of_votes_nationally VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the percentage of national votes for Mahmoud Ahmadinejad? ### Response:
SELECT _percentage_of_votes_nationally FROM table_1827900_1 WHERE candidates = "Mahmoud Ahmadinejad"
### Instruction: CREATE TABLE table_37395 ( "Years" text, "Competition" text, "Vehicle Name" text, "Original Vehicle" text, "Architecture" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of architecture does the Saturn Vue have? ### Respo...
SELECT "Architecture" FROM table_37395 WHERE "Vehicle Name" = 'saturn vue'
### Instruction: CREATE TABLE table_204_839 ( id number, "et" text, "days available" text, "program" text, "host(s)" text, "description" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of shows that only have one host per day ....
SELECT COUNT("program") FROM table_204_839 WHERE "host(s)" = 1
### Instruction: CREATE TABLE table_697 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the candidates in district Wisconsin 1? ### Re...
SELECT "Candidates" FROM table_697 WHERE "District" = 'Wisconsin 1'
### Instruction: CREATE TABLE table_name_6 ( losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238? ##...
SELECT SUM(losses) FROM table_name_6 WHERE wins > 6 AND club = "camperdown" AND against > 1238
### Instruction: CREATE TABLE table_57663 ( "Athlete" text, "Country" text, "Wins" real, "Years" text, "Distance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want the years for marathon distance and wins of 3 ### Response:
SELECT "Years" FROM table_57663 WHERE "Distance" = 'marathon' AND "Wins" = '3'
### Instruction: CREATE TABLE table_name_51 ( length_of_retirement VARCHAR, age_at_inauguration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Length of retirement of the President with an Age at inauguration of 70years, 53days? ### Response:
SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = "70years, 53days"
### Instruction: CREATE TABLE table_name_9 ( uk_base VARCHAR, troop_carrier_group VARCHAR, serial VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which UK base has 441st tcg Troop carrier group and 14 as their seir serial? ### Response:
SELECT uk_base FROM table_name_9 WHERE troop_carrier_group = "441st tcg" AND serial = "14"
### Instruction: CREATE TABLE table_31092 ( "Name" text, "Occupation" text, "Gender" text, "Prison connection" text, "Played by" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Joan Leaven's occupation? ### Response:
SELECT "Occupation" FROM table_31092 WHERE "Name" = 'Joan Leaven'
### Instruction: CREATE TABLE table_55764 ( "Years" text, "Displacement" text, "Engine" text, "Power" text, "Torque" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Engine has a Power of 114hp (85kw)? ### Response:
SELECT "Engine" FROM table_55764 WHERE "Power" = '114hp (85kw)'
### Instruction: CREATE TABLE table_2012187_1 ( winnings VARCHAR, poles VARCHAR, team_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- state the winnings of yates racing front row motorsports where poles were 0 ### Response:
SELECT winnings FROM table_2012187_1 WHERE poles = 0 AND team_s_ = "Yates Racing Front Row Motorsports"
### Instruction: CREATE TABLE table_2377 ( "Title/Subject" text, "Public Office" text, "Artist" text, "Date Painted/Created" text, "Medium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What medium was used for the sculpture by Ernest Richard Gause...
SELECT "Medium" FROM table_2377 WHERE "Artist" = 'Ernest Richard Gause'
### Instruction: CREATE TABLE table_51624 ( "Player" text, "Date of Birth" text, "Batting Style" text, "Bowling Style" text, "First Class Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Damien Martyn's bowling style? ### Response:
SELECT "Bowling Style" FROM table_51624 WHERE "Player" = 'damien martyn'
### Instruction: CREATE TABLE table_77585 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time of the rider with a 398cc yamaha? ### Response:
SELECT "Time" FROM table_77585 WHERE "Team" = '398cc yamaha'
### Instruction: CREATE TABLE table_name_6 ( yr_plyf INTEGER, g_plyf VARCHAR, coach VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 0? ### Response:
SELECT SUM(yr_plyf) FROM table_name_6 WHERE g_plyf = 0 AND coach = "ed robinson"
### Instruction: CREATE TABLE table_name_19 ( height__m_ VARCHAR, nation VARCHAR, weight__kg_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the height (m) when the nation is sweden (swe) and the weight (kg) is 102? ### Response:
SELECT height__m_ FROM table_name_19 WHERE nation = "sweden (swe)" AND weight__kg_ = "102"
### Instruction: CREATE TABLE table_name_94 ( tonnage_grt VARCHAR, type VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total tonnage grt of the cargo ship(s) sunk or captured on 4 feb 16? ### Response:
SELECT COUNT(tonnage_grt) FROM table_name_94 WHERE type = "cargo ship" AND date = "4 feb 16"
### Instruction: CREATE TABLE table_37437 ( "Race" text, "Length" text, "Class" text, "Circuit" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which circuit was held on May 7 for 1 hour? ### Response:
SELECT "Circuit" FROM table_37437 WHERE "Date" = 'may 7' AND "Length" = '1 hour'
### Instruction: CREATE TABLE table_38151 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Name has an Overall of 235? ### Response:
SELECT "Name" FROM table_38151 WHERE "Overall" = '235'
### Instruction: CREATE TABLE table_1165048_1 ( coach VARCHAR, captain VARCHAR, win_loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of coach where captain is grant welsh and win/loss is 5-15 ### Response:
SELECT COUNT(coach) FROM table_1165048_1 WHERE captain = "Grant Welsh" AND win_loss = "5-15"
### Instruction: CREATE TABLE table_203_36 ( id number, "parish" text, "locality" text, "parish priest" text, "founded" number, "closed" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which parish was founded after 1950 ? ### Response:
SELECT "parish" FROM table_203_36 WHERE "founded" > 1950
### Instruction: CREATE TABLE table_14554 ( "Opponent" text, "OVERALL" text, "HOME" text, "AWAY" text, "PLYFF" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which home team has an Away of (2-1)? ### Response:
SELECT "HOME" FROM table_14554 WHERE "AWAY" = '(2-1)'
### Instruction: CREATE TABLE table_30862 ( "Episode #" real, "Series #" real, "Episode Title" text, "Original air date" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode with series number 14? ...
SELECT "Episode Title" FROM table_30862 WHERE "Series #" = '14'
### Instruction: CREATE TABLE table_74850 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which overall's pick number was 14? ### Response:
SELECT "Overall" FROM table_74850 WHERE "Pick #" = '14'
### Instruction: CREATE TABLE table_name_88 ( enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class? ### Response:
SELECT MAX(enrollment) FROM table_name_88 WHERE ihsaa_class = "aaa" AND mascot = "dragons"
### Instruction: CREATE TABLE table_36863 ( "Frequency" text, "Name" text, "Format" text, "Call Sign" text, "Covered Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What covered location has a frequency of 90.7 FM ### Response:
SELECT "Covered Location" FROM table_36863 WHERE "Frequency" = '90.7 fm'
### Instruction: CREATE TABLE table_12657 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the frequency where the power is 25kw? ### Response:
SELECT "Frequency" FROM table_12657 WHERE "Power (kW)" = '25kw'
### Instruction: CREATE TABLE table_55133 ( "Name" text, "Actual version" text, "System" text, "Platform" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Platform has an Actual version of 0.8.29? ### Response:
SELECT "Platform" FROM table_55133 WHERE "Actual version" = '0.8.29'
### Instruction: CREATE TABLE table_1168 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What league were they in in 2009? ### Response:
SELECT "League" FROM table_1168 WHERE "Year" = '2009'
### Instruction: CREATE TABLE table_76930 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What driver had the highest grid position with a time of +0.283? ### Response:
SELECT MAX("Grid") FROM table_76930 WHERE "Time" = '+0.283'
### Instruction: CREATE TABLE table_74109 ( "Year (Ceremony)" text, "English title" text, "Spanish title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the English title fo the film that was a nominee? ###...
SELECT "English title" FROM table_74109 WHERE "Result" = 'Nominee'
### Instruction: CREATE TABLE table_79138 ( "Pick #" real, "Player" text, "Nationality" text, "Position" text, "Team from" text, "League from" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position of the team player from Aik? ###...
SELECT "Position" FROM table_79138 WHERE "Team from" = 'aik'
### Instruction: CREATE TABLE table_2897457_2 ( nationality VARCHAR, position VARCHAR, nhl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the draft pick player who plays centre position and is going to Calgary Flames? ##...
SELECT nationality FROM table_2897457_2 WHERE position = "Centre" AND nhl_team = "Calgary Flames"
### Instruction: CREATE TABLE table_64864 ( "Year" text, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the genre of the game developed by Nintendo EAD? ### Response:
SELECT "Genre" FROM table_64864 WHERE "Developer(s)" = 'nintendo ead'
### Instruction: CREATE TABLE table_79527 ( "Date" text, "Internet Explorer" text, "Firefox" text, "Safari" text, "Opera" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the firefox value with a 22.0% internet explorer? ### Response:
SELECT "Firefox" FROM table_79527 WHERE "Internet Explorer" = '22.0%'
### 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. -- For each classroom, show ...
SELECT classroom, COUNT(DISTINCT grade) FROM list GROUP BY classroom
### Instruction: CREATE TABLE customer_orders ( order_shipping_charges VARCHAR, customer_id VARCHAR, order_status_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the shipping charge and customer id for customer orders with order status Cancelled...
SELECT order_shipping_charges, customer_id FROM customer_orders WHERE order_status_code = 'Cancelled' OR order_status_code = 'Paid'
### Instruction: CREATE TABLE table_34577 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least place for draw more than 3 and points of 8 ### Response:
SELECT MIN("Place") FROM table_34577 WHERE "Draw" > '3' AND "Points" = '8'
### Instruction: CREATE TABLE table_name_2 ( money___ INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE? ### Response:
SELECT MIN(money___) AS $__ FROM table_name_2 WHERE score = 74 - 74 - 76 - 74 = 298
### Instruction: CREATE TABLE table_name_23 ( total INTEGER, fa_cup_goals VARCHAR, league_goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has an FA Cup goals of 1, and a League goals of 4 + 7? ### Response:
SELECT AVG(total) FROM table_name_23 WHERE fa_cup_goals = "1" AND league_goals = "4 + 7"
### Instruction: CREATE TABLE table_name_20 ( jushin_liger VARCHAR, masaaki_mochizuki VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Jushin Liger has a Masaaki Mochizuki of kashin (10:00)? ### Response:
SELECT jushin_liger FROM table_name_20 WHERE masaaki_mochizuki = "kashin (10:00)"
### Instruction: CREATE TABLE table_61477 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Set 2, when Total is '52:44'? ### Response:
SELECT "Set 2" FROM table_61477 WHERE "Total" = '52:44'
### Instruction: CREATE TABLE table_name_20 ( hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the digital reaction for week of top 5 for Taylor Hicks? ### Response:
SELECT hot_digital_songs_reaction FROM table_name_20 WHERE week = "top 5" AND performer_s_ = "taylor hicks"
### Instruction: CREATE TABLE table_64925 ( "Event" text, "Date" text, "Location" text, "Winning skip" text, "Runner-up skip" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the date when Stu Harris was the Runner-up? ### Response:
SELECT "Date" FROM table_64925 WHERE "Runner-up skip" = 'stu harris'
### Instruction: CREATE TABLE table_name_63 ( bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest bronze value associated with golds over 0, silvers over 11, and totals of 36? ### ...
SELECT MIN(bronze) FROM table_name_63 WHERE gold > 0 AND total = 36 AND silver > 11
### Instruction: CREATE TABLE table_204_910 ( id number, "rank" number, "name" text, "nationality" text, "result" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long was manisha dey 's jump ? ### Response:
SELECT "result" FROM table_204_910 WHERE "name" = 'manisha dey'
### Instruction: CREATE TABLE table_68806 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the host team at Candlestick Park? ### Response:
SELECT "Host Team" FROM table_68806 WHERE "Stadium" = 'candlestick park'
### Instruction: CREATE TABLE table_78960 ( "Goalkeeper" text, "Goals" real, "Matches" real, "Average" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Goals, when Matches is less than 29? ### Response:
SELECT SUM("Goals") FROM table_78960 WHERE "Matches" < '29'
### Instruction: CREATE TABLE table_name_16 ( player VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player with a t8 place and a 74-74-76-77=301 score? ### Response:
SELECT player FROM table_name_16 WHERE place = "t8" AND score = 74 - 74 - 76 - 77 = 301
### Instruction: CREATE TABLE table_name_76 ( _specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of physicians in the region with an all nurses number of 91? ### Response:
SELECT MIN(physician__gp_) & _specialist_ FROM table_name_76 WHERE all_nurses = 91
### Instruction: CREATE TABLE table_67875 ( "Year" real, "Venue" text, "Winner" text, "Runner-Up" text, "Third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue when Jack Hargreaves finished third? ### Response:
SELECT "Venue" FROM table_67875 WHERE "Third" = 'jack hargreaves'
### Instruction: CREATE TABLE table_140968_1 ( copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many copies per particle are there for the base pair that is size 1059? ### Response:
SELECT COUNT(copies_per_particle) FROM table_140968_1 WHERE size___s_base_pair__ = 1059
### Instruction: CREATE TABLE table_23589 ( "Title" text, "Author" text, "Reader" text, "Format" text, "Company" text, "Release Date" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who the reader of title department x? ### Re...
SELECT "Reader" FROM table_23589 WHERE "Title" = 'Department X'
### Instruction: CREATE TABLE table_74918 ( "Race" text, "Class(es)" text, "Length/Duration" text, "Circuit" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length and duration of the race on April 19? ### Response:
SELECT "Length/Duration" FROM table_74918 WHERE "Date" = 'april 19'
### Instruction: CREATE TABLE table_79358 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Waht was the away team when the home team is colchester united? ### Response:
SELECT "Away team" FROM table_79358 WHERE "Home team" = 'colchester united'
### Instruction: CREATE TABLE table_name_20 ( rd__number INTEGER, pl_gp VARCHAR, reg_gp VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest Rd# for a PI GP greater than 0 and a Reg GP less than 62? ### Response:
SELECT MAX(rd__number) FROM table_name_20 WHERE pl_gp > 0 AND reg_gp < 62
### Instruction: CREATE TABLE table_19966 ( "Year (Ceremony)" real, "Original title" text, "English title" text, "Director" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original title of the Suzana Amaral film ### Respons...
SELECT "Original title" FROM table_19966 WHERE "Director" = 'Suzana Amaral'
### Instruction: CREATE TABLE table_49839 ( "Rank" real, "Player" text, "Country" text, "Events" real, "Prize money( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the prize money for the player ranked 1? ### Response:
SELECT MAX("Prize money( $ )") FROM table_49839 WHERE "Rank" = '1'
### Instruction: CREATE TABLE table_57484 ( "Bowling" text, "Player" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue of season 1907? ### Response:
SELECT "Venue" FROM table_57484 WHERE "Season" = '1907'
### Instruction: CREATE TABLE table_1457 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" real, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school location had an enrollment of 12400? ### Response:
SELECT "Location" FROM table_1457 WHERE "Enrollment" = '12400'
### Instruction: CREATE TABLE table_67695 ( "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 of the game with the record of 18 10 2? ### Response:
SELECT "Date" FROM table_67695 WHERE "Record" = '18–10–2'
### Instruction: CREATE TABLE table_name_60 ( date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent ### Respo...
SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola"
### Instruction: CREATE TABLE table_79082 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tie no of the game where exeter city was the home team? ### Response:
SELECT "Tie no" FROM table_79082 WHERE "Home team" = 'exeter city'
### Instruction: CREATE TABLE table_5959 ( "City" text, "State/Territory" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city holds Newcastle Airport? ### Response:
SELECT "City" FROM table_5959 WHERE "Airport" = 'newcastle airport'
### Instruction: CREATE TABLE table_23508196_2 ( tot_officers VARCHAR, tot_enlisted VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tot officers were there on the date when the number of tot enlisted was 329640? ### Response:
SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640
### Instruction: CREATE TABLE table_name_99 ( place INTEGER, artist VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average place when the artist is juliana pasha & luiz ejlli and the points is more than 119? ### Response:
SELECT AVG(place) FROM table_name_99 WHERE artist = "juliana pasha & luiz ejlli" AND points > 119
### Instruction: CREATE TABLE table_26352332_4 ( engine_family VARCHAR, displacement_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The displacement(s) 466 cubic inches (7.6L), has what engine family? ### Response:
SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "466 cubic inches (7.6L)"
### Instruction: CREATE TABLE table_2373 ( "Title/Subject" text, "Public Office" text, "Artist" text, "Date Painted/Created" text, "Medium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What medium was used for the sculpture of George Harold Baker?...
SELECT "Medium" FROM table_2373 WHERE "Title/Subject" = 'George Harold Baker'
### Instruction: CREATE TABLE table_17871 ( "No." real, "Episode" text, "Writer" text, "Director" text, "Viewers(millions)" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed Episode 5? ### Response:
SELECT "Director" FROM table_17871 WHERE "Episode" = 'Episode 5'
### Instruction: CREATE TABLE table_38920 ( "Position" text, "Name" text, "School" text, "Unanimous" text, "College Hall of Fame" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the college hall of fame of the player who plays fullback? ###...
SELECT "College Hall of Fame" FROM table_38920 WHERE "Position" = 'fullback'
### Instruction: CREATE TABLE table_40746 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which television service has italian for its lan...
SELECT "Television service" FROM table_40746 WHERE "Language" = 'italian'
### Instruction: CREATE TABLE table_48917 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team when the away team was Telford United? ### Response:
SELECT "Home team" FROM table_48917 WHERE "Away team" = 'telford united'
### Instruction: CREATE TABLE table_53889 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the runner- up when the tournament is santiago? ### Response:
SELECT "Runner-up" FROM table_53889 WHERE "Tournament" = 'santiago'
### Instruction: CREATE TABLE table_16225 ( "Week" real, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which stadium is the week 5 game played? ### Response:
SELECT "Stadium" FROM table_16225 WHERE "Week" = '5'
### Instruction: CREATE TABLE table_14032 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Venue has Notes of 58.48 m? ### Response:
SELECT "Venue" FROM table_14032 WHERE "Notes" = '58.48 m'
### Instruction: CREATE TABLE table_36046 ( "State" text, "Name" text, "Hometown" text, "Age 1" real, "Talent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the state represented by the contestant from Mesa, AZ? ### Response:
SELECT "State" FROM table_36046 WHERE "Hometown" = 'mesa, az'
### Instruction: CREATE TABLE table_38399 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st leg of team 1 Lyon? ### Response:
SELECT "1st leg" FROM table_38399 WHERE "Team 1" = 'lyon'
### Instruction: CREATE TABLE table_79369 ( "Members" text, "Teammate" text, "Couples Team" text, "Status" text, "Total Votes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were Holly Scouler's total votes? ### Response:
SELECT "Total Votes" FROM table_79369 WHERE "Members" = 'holly scouler'
### Instruction: CREATE TABLE table_17042 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What positions were drafted from Las Vegas, NV? ### Response:
SELECT "Position" FROM table_17042 WHERE "Hometown" = 'Las Vegas, NV'
### Instruction: CREATE TABLE table_204_668 ( id number, "#" number, "menteri besar" text, "took office" text, "left office" text, "party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the first to take office ? ### Response:
SELECT "menteri besar" FROM table_204_668 ORDER BY "took office" LIMIT 1
### Instruction: CREATE TABLE table_name_91 ( podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many podiums had a race higher than 14 in 1996 and a Flap lower than 9? ### Response:
SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9
### Instruction: CREATE TABLE table_9101 ( "Year" real, "Manufacturer" text, "Start" real, "Finish" real, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Smaller than 37, the highest year for Ford? ### Response:
SELECT MAX("Year") FROM table_9101 WHERE "Manufacturer" = 'ford' AND "Finish" < '37'