instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_13842 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which nation had 3 bronze? ### Response:
SELECT "Nation" FROM table_13842 WHERE "Bronze" = '3'
### Instruction: CREATE TABLE table_11535 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Adam Keefe's nationality? ### Response:
SELECT "Nationality" FROM table_11535 WHERE "Player" = 'adam keefe'
### Instruction: CREATE TABLE ship ( name VARCHAR, ship_id VARCHAR ) CREATE TABLE captain ( ship_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the ships that have more than one captain. ### Response:
SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id GROUP BY t2.ship_id HAVING COUNT(*) > 1
### Instruction: CREATE TABLE table_name_88 ( to_par INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the to par with a 76-77-74-75=302 score? ### Response:
SELECT SUM(to_par) FROM table_name_88 WHERE score = 76 - 77 - 74 - 75 = 302
### Instruction: CREATE TABLE table_42295 ( "Season" text, "Series" text, "Team" text, "Races" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Races when there were more than 8 wins? ### Response:
SELECT COUNT("Races") FROM table_42295 WHERE "Wins" > '8'
### Instruction: CREATE TABLE table_name_84 ( opponents VARCHAR, venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the game played against on 2004-02-28 at Skytteholms IP? ### Response:
SELECT opponents FROM table_name_84 WHERE venue = "skytteholms ip" AND date = "2004-02-28"
### Instruction: CREATE TABLE table_2370579_1 ( directed_by VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? ### Response:
SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of Brian Clemens)"
### Instruction: CREATE TABLE table_47434 ( "Year" real, "Award" text, "Category" text, "Nominated work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years had the best actress in a Revival category? ### Response:
SELECT COUNT("Year") FROM table_47434 WHERE "Category" = 'best actress in a revival'
### Instruction: CREATE TABLE table_67113 ( "School" text, "Team" text, "Division Record" text, "Overall Record" text, "Season Outcome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Laurel's division record? ### Response:
SELECT "Division Record" FROM table_67113 WHERE "School" = 'laurel'
### Instruction: CREATE TABLE table_36424 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Save" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had a save on September 2? ### Response:
SELECT "Save" FROM table_36424 WHERE "Date" = 'september 2'
### Instruction: CREATE TABLE table_203_365 ( id number, "released" text, "video title" text, "company" text, "director" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the first pornographic film listed on the table . ### Response:
SELECT "video title" FROM table_203_365 ORDER BY id LIMIT 1
### Instruction: CREATE TABLE table_18304259_1 ( ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the ebit for eps being 10.6 ### Response:
SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6"
### Instruction: CREATE TABLE table_1341930_33 ( candidates VARCHAR, party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the candidates with party being democratic and dbeingtrict being north carolina 1 ### Response:
SELECT candidates FROM table_1341930_33 WHERE party = "Democratic" AND district = "North Carolina 1"
### Instruction: CREATE TABLE table_46415 ( "Year" real, "Award" text, "Category" text, "Nominee" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was nominated for Best Theatre Choreographer? ### Response:
SELECT "Nominee" FROM table_46415 WHERE "Category" = 'best theatre choreographer'
### Instruction: CREATE TABLE table_35355 ( "Game" real, "April" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which April has a Game of 84 ### Response:
SELECT MAX("April") FROM table_35355 WHERE "Game" = '84'
### Instruction: CREATE TABLE table_59044 ( "Name" text, "Location" text, "Years as tallest" text, "Height metres / ft" text, "Floors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Floors has a Location of tower hill? ### Response:
SELECT "Floors" FROM table_59044 WHERE "Location" = 'tower hill'
### Instruction: CREATE TABLE table_77476 ( "Country" text, "Builder" text, "Location" text, "Ship" text, "Class / type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Country is the John S. McCain Ship from? ### Response:
SELECT "Country" FROM table_77476 WHERE "Ship" = 'john s. mccain'
### Instruction: CREATE TABLE table_72496 ( "City" text, "Station" text, "Year acquired" real, "Primary programming source" text, "Other programming sources" text, "Current status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which station is located in edmonton ### Response:
SELECT "Station" FROM table_72496 WHERE "City" = 'Edmonton'
### Instruction: CREATE TABLE table_61228 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the attendance 65,806? ### Response:
SELECT "Date" FROM table_61228 WHERE "Attendance" = '65,806'
### Instruction: CREATE TABLE table_204_541 ( id number, "name" text, "area" text, "height" text, "floors" number, "year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which building had the least number of floors ? ### Response:
SELECT "name" FROM table_204_541 ORDER BY "floors" LIMIT 1
### Instruction: CREATE TABLE enzyme ( product VARCHAR, chromosome VARCHAR, porphyria VARCHAR, LOCATION VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the product, chromosome and porphyria related to the enzymes which take effect at the location 'Cytosol'? ### Response:
SELECT product, chromosome, porphyria FROM enzyme WHERE LOCATION = 'Cytosol'
### Instruction: CREATE TABLE table_39661 ( "Number" real, "Result" text, "Date" text, "Score" text, "Opponent" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the record of game number 23? ### Response:
SELECT "Record" FROM table_39661 WHERE "Number" = '23'
### Instruction: CREATE TABLE table_47244 ( "Name" text, "Club" text, "Date of departure" text, "Replacement" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did Brendan Rodgers depart his position? ### Response:
SELECT "Date of departure" FROM table_47244 WHERE "Name" = 'brendan rodgers'
### Instruction: CREATE TABLE table_name_99 ( player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player has a Club/province of direito, less than 21 caps, and a Position of lock? ### Response:
SELECT player FROM table_name_99 WHERE club_province = "direito" AND caps < 21 AND position = "lock"
### Instruction: CREATE TABLE table_29217650_1 ( december_28 VARCHAR, movies VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the figure for December 28 for ang tanging ina mo (last na 'to!)? ### Response:
SELECT december_28 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)"
### Instruction: CREATE TABLE table_65252 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Status with an Against larger than 15? ### Response:
SELECT "Status" FROM table_65252 WHERE "Against" > '15'
### Instruction: CREATE TABLE table_name_39 ( airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama? ### Response:
SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern drama"
### Instruction: CREATE TABLE table_20065425_1 ( state VARCHAR, termination_of_mission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What state does the representative whose mission was terminated on November 29, 1973 represent? ### Response:
SELECT state FROM table_20065425_1 WHERE termination_of_mission = "November 29, 1973"
### Instruction: CREATE TABLE table_50732 ( "Goal" real, "Date" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game where Esteban Paredes scored 2 goals? ### Response:
SELECT "Date" FROM table_50732 WHERE "Goal" = '2'
### Instruction: CREATE TABLE table_8193 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Tom Kite's to par? ### Response:
SELECT "To par" FROM table_8193 WHERE "Player" = 'tom kite'
### Instruction: CREATE TABLE table_14960 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for 9-4 score ### Response:
SELECT "Record" FROM table_14960 WHERE "Score" = '9-4'
### Instruction: CREATE TABLE table_name_62 ( percentage_of_votes VARCHAR, number_of_votes_received VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of the vote was 1,255,153 of received votes? ### Response:
SELECT percentage_of_votes FROM table_name_62 WHERE number_of_votes_received = "1,255,153"
### Instruction: CREATE TABLE table_31596 ( "Year" real, "Date" text, "Event" text, "Days" text, "Stages" text, "Acts" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the stages for 1981 ### Response:
SELECT "Stages" FROM table_31596 WHERE "Year" = '1981'
### Instruction: CREATE TABLE table_48201 ( "Period" text, "Team" text, "Goal" text, "Time" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT GOAL HAS A TIME OF 39:37? ### Response:
SELECT "Goal" FROM table_48201 WHERE "Time" = '39:37'
### Instruction: CREATE TABLE table_70700 ( "Race" text, "Position" text, "Time (HH:MM:SS)" text, "Speed (Mph)" text, "Replica" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What replica has the 5th position? ### Response:
SELECT "Replica" FROM table_70700 WHERE "Position" = '5th'
### Instruction: CREATE TABLE table_62089 ( "Device" text, "Carrier" text, "Package Version" text, "Applications" text, "Software Platform" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE DEVICE WITH MTS MOBILITY? ### Response:
SELECT "Device" FROM table_62089 WHERE "Carrier" = 'mts mobility'
### Instruction: CREATE TABLE personfriend ( name text, friend text, year number ) CREATE TABLE person ( name text, age number, city text, gender text, job text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the oldest student? ### Response:
SELECT name FROM person WHERE job = 'student' AND age = (SELECT MAX(age) FROM person WHERE job = 'student')
### Instruction: CREATE TABLE table_76104 ( "Features" text, "Foundation" text, "Standard" text, "Enterprise" text, "Datacenter" text, "Itanium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Foundation has an Enterprise of 2? ### Response:
SELECT "Foundation" FROM table_76104 WHERE "Enterprise" = '2'
### Instruction: CREATE TABLE table_name_4 ( pre_season INTEGER, a_league VARCHAR, finals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pre-Season has a A-League of 0 1, and a Finals larger than 0? ### Response:
SELECT MIN(pre_season) FROM table_name_4 WHERE a_league = "0 1" AND finals > 0
### Instruction: CREATE TABLE table_12106 ( "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 date was the Madonie Circuit? ### Response:
SELECT "Date" FROM table_12106 WHERE "Circuit" = 'madonie'
### Instruction: CREATE TABLE table_53905 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for may 31 ### Response:
SELECT "Record" FROM table_53905 WHERE "Date" = 'may 31'
### Instruction: CREATE TABLE table_26986076_3 ( rank INTEGER, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Paul Coward 492cc nourish Weslake's lowest rank? ### Response:
SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake"
### Instruction: CREATE TABLE table_14809 ( "Office" text, "Representative" text, "Party" text, "Residence" text, "First Elected" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Office has a Representative of scott pelath? ### Response:
SELECT "Office" FROM table_14809 WHERE "Representative" = 'scott pelath'
### Instruction: CREATE TABLE table_name_15 ( membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average membership with 3.33% LDS and less than 47 branches? ### Response:
SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47
### Instruction: CREATE TABLE table_name_73 ( mountain_peak VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the mountain peak when the location is 37.5775 n 105.4856 w? ### Response:
SELECT mountain_peak FROM table_name_73 WHERE location = "37.5775°n 105.4856°w"
### Instruction: CREATE TABLE table_203_650 ( id number, "ceremony" text, "award" text, "category" text, "name" text, "outcome" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the first category listed on this chart ? ### Response:
SELECT "category" FROM table_203_650 WHERE id = 1
### Instruction: CREATE TABLE table_71989 ( "Rank" real, "Mountain Peak" text, "Province" text, "Mountain Range" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which mountain range has a rank of 19? ### Response:
SELECT "Mountain Range" FROM table_71989 WHERE "Rank" = '19'
### Instruction: CREATE TABLE table_name_15 ( grid INTEGER, rider VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- with more than 32 laps and sylvain guintoli as rider, what's the lowest grid ? ### Response:
SELECT MIN(grid) FROM table_name_15 WHERE rider = "sylvain guintoli" AND laps > 32
### Instruction: CREATE TABLE table_name_73 ( points INTEGER, chassis VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What point is the lowest for listings of chassis labeled AGS JH23 before 1988? ### Response:
SELECT MIN(points) FROM table_name_73 WHERE chassis = "ags jh23" AND year < 1988
### Instruction: CREATE TABLE table_15621965_18 ( player VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHO IS THE PLAYER(S) ON THE ROSTER FROM SCHOOL/CLUB TEAM ARIZONA? ### Response:
SELECT player FROM table_15621965_18 WHERE school_club_team = "Arizona"
### Instruction: CREATE TABLE table_58814 ( "Date" text, "Tournament" text, "Location" text, "Home Team" text, "Away Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which away team goes against the home team Mauritius? ### Response:
SELECT "Away Team" FROM table_58814 WHERE "Home Team" = 'mauritius'
### Instruction: CREATE TABLE table_41596 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total amount of matches for Alan Shearer? ### Response:
SELECT COUNT("Matches") FROM table_41596 WHERE "Name" = 'alan shearer'
### Instruction: CREATE TABLE table_69053 ( "Stage" text, "Time (EEST)" text, "Name" text, "Length" text, "Winner" text, "Rally leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the winner for ss14 ### Response:
SELECT "Winner" FROM table_69053 WHERE "Stage" = 'ss14'
### Instruction: CREATE TABLE table_15496 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did a Position of 21st (q) happen? ### Response:
SELECT "Year" FROM table_15496 WHERE "Position" = '21st (q)'
### Instruction: CREATE TABLE table_228973_11 ( written_by VARCHAR, original_air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The episode which originally aired on December 17, 2004 was written by whom? ### Response:
SELECT written_by FROM table_228973_11 WHERE original_air_date = "December 17, 2004"
### Instruction: CREATE TABLE table_204_948 ( id number, "year" number, "award" text, "category" text, "film" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of awards dec has won ? ### Response:
SELECT COUNT("award") FROM table_204_948 WHERE "result" = 'won'
### Instruction: CREATE TABLE table_58784 ( "Rank" text, "Name" text, "Height metres / ft" text, "Floors" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What ranking is the Battersea Power Station? ### Response:
SELECT "Rank" FROM table_58784 WHERE "Name" = 'battersea power station'
### Instruction: CREATE TABLE table_21584646_10 ( runner_up VARCHAR, champion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the runner up for the champion of john mcenroe 6 2, 6 3? ### Response:
SELECT runner_up FROM table_21584646_10 WHERE champion = "John McEnroe 6–2, 6–3"
### Instruction: CREATE TABLE table_203_717 ( id number, "number" number, "year built" number, "livery" text, "current status" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of operational vehicles listed ? ### Response:
SELECT COUNT(*) FROM table_203_717 WHERE "current status" = 'operational'
### Instruction: CREATE TABLE table_30259 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What draft pick number was Andy Brereton? ### Response:
SELECT MIN("Pick #") FROM table_30259 WHERE "Player" = 'Andy Brereton'
### Instruction: CREATE TABLE table_203_512 ( id number, "release date" text, "album" text, "catalog number" text, "chart position" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the name of the first album released ? ### Response:
SELECT "album" FROM table_203_512 ORDER BY "release date" LIMIT 1
### Instruction: CREATE TABLE table_57173 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college has a Player of shabazz muhammad? ### Response:
SELECT "College" FROM table_57173 WHERE "Player" = 'shabazz muhammad'
### Instruction: CREATE TABLE table_name_83 ( played INTEGER, city VARCHAR, average_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average played value in Belgrade with attendance greater than 26,222? ### Response:
SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222
### Instruction: CREATE TABLE table_name_80 ( bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1? ### Response:
SELECT AVG(bronze) FROM table_name_80 WHERE silver = 0 AND rank = "17" AND gold < 1
### Instruction: CREATE TABLE table_32427 ( "Team" text, "Chassis" text, "Engine" text, "Tires" text, "Drivers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the engine for the Machinists Union Racing team? ### Response:
SELECT "Engine" FROM table_32427 WHERE "Team" = 'machinists union racing'
### Instruction: CREATE TABLE table_19114172_11 ( date_s__of_original_removal VARCHAR, original_channel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When bbc two is the original channel what is the date of original removal? ### Response:
SELECT date_s__of_original_removal FROM table_19114172_11 WHERE original_channel = "BBC Two"
### Instruction: CREATE TABLE table_name_86 ( result VARCHAR, venue VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Result has a Venue of kinnarps arena, and a Date of thursday, february 19? ### Response:
SELECT result FROM table_name_86 WHERE venue = "kinnarps arena" AND date = "thursday, february 19"
### Instruction: CREATE TABLE table_48550 ( "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 is the home team with a tie no. 12? ### Response:
SELECT "Home team" FROM table_48550 WHERE "Tie no" = '12'
### Instruction: CREATE TABLE table_31892 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the lowest week for w 10-3 ### Response:
SELECT MIN("Week") FROM table_31892 WHERE "Result" = 'w 10-3'
### Instruction: CREATE TABLE table_name_39 ( qual_2 VARCHAR, team VARCHAR, best VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the second qualification time for Dale Coyne Racing with a best of 1:03.757? ### Response:
SELECT qual_2 FROM table_name_39 WHERE team = "dale coyne racing" AND best = "1:03.757"
### Instruction: CREATE TABLE table_203_38 ( id number, "#" number, "title" text, "producer(s)" text, "performer(s)" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many songs are at least 4 minutes long ? ### Response:
SELECT COUNT("title") FROM table_203_38 WHERE "length" >= 4
### Instruction: CREATE TABLE table_name_34 ( manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? ### Response:
SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-7"
### Instruction: CREATE TABLE table_name_66 ( sampling_memory_upgrade_able VARCHAR, sampling_rate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz? ### Response:
SELECT sampling_memory_upgrade_able FROM table_name_66 WHERE sampling_rate = "16-bit 44.1khz"
### Instruction: CREATE TABLE table_24837750_1 ( turbine_manufacturer VARCHAR, date_in_service VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the turbine manufacturer of the wind farm that started service on 2005? ### Response:
SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005"
### Instruction: CREATE TABLE table_name_16 ( bronze INTEGER, rank VARCHAR, total VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many bronze's on average for nations with over 1 total, less than 2 golds, ranked 2nd? ### Response:
SELECT AVG(bronze) FROM table_name_16 WHERE total > 1 AND gold < 2 AND rank = 2
### Instruction: CREATE TABLE table_1967 ( "Year" real, "Formula" text, "Driver" text, "Constructor" text, "Location" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location that had a driver named Pierre de Caters? ### Response:
SELECT "Location" FROM table_1967 WHERE "Driver" = 'Pierre de Caters'
### Instruction: CREATE TABLE table_64741 ( "Rank" real, "Name" text, "Height ft ( m )" text, "Floors" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total for 1986? ### Response:
SELECT COUNT("Rank") FROM table_64741 WHERE "Year" = '1986'
### Instruction: CREATE TABLE table_19523142_5 ( group_12 VARCHAR, group_10 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who played in group 12 when persikutim east kutai played in group 10? ### Response:
SELECT group_12 FROM table_19523142_5 WHERE group_10 = "Persikutim East Kutai"
### Instruction: CREATE TABLE table_76796 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college had an overall pick of 9? ### Response:
SELECT "College" FROM table_76796 WHERE "Overall" = '9'
### Instruction: CREATE TABLE table_2417330_3 ( date_of_successors_formal_installation VARCHAR, state__class_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all dates of succession in the state class Missouri (3). ### Response:
SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE state__class_ = "Missouri (3)"
### Instruction: CREATE TABLE table_11010 ( "Episode #" text, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode titled 'Hand to Hand'? ### Response:
SELECT "Directed by" FROM table_11010 WHERE "Title" = 'hand to hand'
### Instruction: CREATE TABLE table_49372 ( "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 Date, when Away Team is 'Liverpool'? ### Response:
SELECT "Date" FROM table_49372 WHERE "Away team" = 'liverpool'
### Instruction: CREATE TABLE table_142950_1 ( total_number_of_students VARCHAR, vice_chancellor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many members have professor edward acton as vice-chancellor? ### Response:
SELECT COUNT(total_number_of_students) FROM table_142950_1 WHERE vice_chancellor = "Professor Edward Acton"
### Instruction: CREATE TABLE table_14348 ( "Pick" real, "Player" text, "Country of Origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the PBA team for paolo mendoza ### Response:
SELECT "PBA team" FROM table_14348 WHERE "Player" = 'paolo mendoza'
### Instruction: CREATE TABLE table_name_47 ( name VARCHAR, rank VARCHAR, height_feet___m VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the building's name that is 617 / 188 in height and ranked less than 6? ### Response:
SELECT name FROM table_name_47 WHERE rank < 6 AND height_feet___m = "617 / 188"
### Instruction: CREATE TABLE table_47170 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date of the game with a Record of 1 2 4? ### Response:
SELECT "Date" FROM table_47170 WHERE "Record" = '1–2–4'
### Instruction: CREATE TABLE table_203_697 ( id number, "player" text, "career" text, "nickname" text, "team inducted as" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long did cap anson play ? ### Response:
SELECT "career" - "career" FROM table_203_697 WHERE "player" = 'cap anson'
### Instruction: CREATE TABLE table_1939405_2 ( latin_americans_2001 VARCHAR, province VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many results of the count of Latin Americans in Yukon in 2001 are there? ### Response:
SELECT COUNT(latin_americans_2001) FROM table_1939405_2 WHERE province = "Yukon"
### Instruction: CREATE TABLE table_49151 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the pick # for william loftus? ### Response:
SELECT "Pick #" FROM table_49151 WHERE "Player" = 'william loftus'
### Instruction: CREATE TABLE table_76514 ( "Verb" text, "2 (VF)" text, "2 (F)" text, "3 (F)" text, "2/3 (P)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the verb for Khola? ### Response:
SELECT "3 (F)" FROM table_76514 WHERE "Verb" = 'khola'
### Instruction: CREATE TABLE table_3285 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many mls teams had player jamel wallace? ### Response:
SELECT COUNT("MLS Team") FROM table_3285 WHERE "Player" = 'Jamel Wallace'
### Instruction: CREATE TABLE table_56761 ( "Date" text, "Home Team" text, "Score" text, "Visiting Team" text, "Stadium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Visiting Team has a Stadium of servus centre? ### Response:
SELECT "Visiting Team" FROM table_56761 WHERE "Stadium" = 'servus centre'
### Instruction: CREATE TABLE table_12828723_3 ( lost VARCHAR, try_bonus VARCHAR, points_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the loss with try bonus being 5 and points for being 390 ### Response:
SELECT lost FROM table_12828723_3 WHERE try_bonus = "5" AND points_for = "390"
### Instruction: CREATE TABLE table_5338 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has aus by 382 runs as the result? ### Response:
SELECT "Date" FROM table_5338 WHERE "Result" = 'aus by 382 runs'
### Instruction: CREATE TABLE table_14606 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Blue Jays lose to on July 16? ### Response:
SELECT "Loss" FROM table_14606 WHERE "Date" = 'july 16'
### Instruction: CREATE TABLE table_27816698_2 ( pac_12_sports VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many pac-12 sports are shown for california polytechnic state university? ### Response:
SELECT COUNT(pac_12_sports) FROM table_27816698_2 WHERE institution = "California Polytechnic State University"
### Instruction: CREATE TABLE table_name_87 ( rank VARCHAR, year VARCHAR, ascent_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the rank of the rider whose ascent time was 43:24 before the year 2002? ### Response:
SELECT COUNT(rank) FROM table_name_87 WHERE year < 2002 AND ascent_time = "43:24"
### Instruction: CREATE TABLE table_12328 ( "Name" text, "No. Specimens" real, "Abbr." text, "Country" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what city is the Estonian University of Life Sciences located? ### Response:
SELECT "City" FROM table_12328 WHERE "Name" = 'estonian university of life sciences'
### Instruction: CREATE TABLE table_67529 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game that had a result of 5 0? ### Response:
SELECT "Score" FROM table_67529 WHERE "Result" = '5–0'
### Instruction: CREATE TABLE table_17675 ( "Character" text, "Portrayed by" text, "Main cast seasons" text, "Recurring cast seasons" text, "# of episodes" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Kevin lucas appears in which seasons? ### Response:
SELECT "Recurring cast seasons" FROM table_17675 WHERE "Character" = 'Kevin Lucas'