instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_61568 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "2012 club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 012 club which has of norbert hosny nszky category:articles with hcards? ### Re...
SELECT "2012 club" FROM table_61568 WHERE "Name" = 'norbert hosnyánszky category:articles with hcards'
### Instruction: CREATE TABLE table_74771 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the home team when melbo...
SELECT "Home team score" FROM table_74771 WHERE "Away team" = 'melbourne'
### Instruction: CREATE TABLE table_26655 ( "District" text, "Vacator" text, "Reason for Vacancy" text, "Successor" text, "Date of successors taking office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When rudolph kleberg (d) is the successor is ...
SELECT "Reason for Vacancy" FROM table_26655 WHERE "Successor" = 'Rudolph Kleberg (D)'
### Instruction: CREATE TABLE table_3764 ( "Artist" text, "Country" text, "Number-one single(s)" text, "Year" real, "Weeks at #1" real, "Straight to #1 ?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number one singles for desvarieux,...
SELECT "Number-one single(s)" FROM table_3764 WHERE "Artist" = 'Desvarieux, Jacob'
### Instruction: CREATE TABLE table_11603 ( "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. -- Which Country of origin has a Pick larger than 1 and a College named Far Eas...
SELECT "Country of origin*" FROM table_11603 WHERE "Pick" > '1' AND "College" = 'far eastern / psba'
### Instruction: CREATE TABLE table_204_469 ( id number, "coach" text, "years" text, "seasons" number, "wins" number, "losses" number, "ties" number, "pct" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in 1948 what was their percentag...
SELECT "pct" FROM table_204_469 WHERE "years" = 1948
### Instruction: CREATE TABLE table_1346118_5 ( result VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%? ### Response:
SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%"
### Instruction: CREATE TABLE products_for_hire ( product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names and descriptions of the products that ar...
SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20
### Instruction: CREATE TABLE table_3765 ( "Artist" text, "Country" text, "Number-one single(s)" text, "Year" real, "Weeks at #1" real, "Straight to #1 ?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least weeks at number 1 for 1988 ...
SELECT MIN("Weeks at #1") FROM table_3765 WHERE "Year" = '1988'
### Instruction: CREATE TABLE table_203_598 ( id number, "date" text, "time" text, "opponent" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many were in attendance for the ...
SELECT "attendance" FROM table_203_598 WHERE "date" = 'september 5'
### Instruction: CREATE TABLE table_23204 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the enrollment for 2007-08 ### R...
SELECT "Enrollment" FROM table_23204 WHERE "Joined" = '2007-08'
### Instruction: CREATE TABLE table_35093 ( "Date" text, "Result" text, "Score" text, "Venue" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Score of 0 0, and a Date of 02-jan-64 had what result? ### Response:
SELECT "Result" FROM table_35093 WHERE "Score" = '0–0' AND "Date" = '02-jan-64'
### Instruction: CREATE TABLE table_55259 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which tournament had a score of 6 4, 4 6, 7 5? ### Response:
SELECT "Tournament" FROM table_55259 WHERE "Score" = '6–4, 4–6, 7–5'
### Instruction: CREATE TABLE table_72076 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the nationality of the players on the...
SELECT "Nationality" FROM table_72076 WHERE "School/Club Team" = 'Fresno State'
### Instruction: CREATE TABLE table_65620 ( "Name" text, "Country" text, "Status" text, "Moving to" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name listed for the country that has a status of loaned and a moving ...
SELECT "Name" FROM table_65620 WHERE "Status" = 'loaned' AND "Moving to" = 'leyton orient'
### Instruction: CREATE TABLE table_name_73 ( first_elected INTEGER, home_city_town VARCHAR, party VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which First elected is the highest one that has a Party of dem, and a District larger ...
SELECT MAX(first_elected) FROM table_name_73 WHERE party = "dem" AND district > 24 AND home_city_town = "berlin"
### Instruction: CREATE TABLE table_34502 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the bout th...
SELECT "Res." FROM table_34502 WHERE "Record" = '4-4'
### Instruction: CREATE TABLE table_64792 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rowers of the race with a Time of 7:41.97 and Notes of FC? ### Response:
SELECT "Rowers" FROM table_64792 WHERE "Notes" = 'fc' AND "Time" = '7:41.97'
### Instruction: CREATE TABLE table_5782 ( "Call sign" text, "Frequency" text, "City of License" text, "Owner" text, "Format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the format for Cherry Creek Radio with frequency of 0 92.1 fm? ###...
SELECT "Format" FROM table_5782 WHERE "Owner" = 'cherry creek radio' AND "Frequency" = '0 92.1 fm'
### Instruction: CREATE TABLE table_25889 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT "Score" FROM table_25889 WHERE "Game" = '3'
### Instruction: CREATE TABLE table_16270 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- W...
SELECT MAX("No. in season") FROM table_16270
### Instruction: CREATE TABLE table_41839 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean rank number when goals are 230 and there are more than 535? ### Response:
SELECT AVG("Rank") FROM table_41839 WHERE "Goals" = '230' AND "Matches" > '535'
### Instruction: CREATE TABLE table_22058 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the game record when the opponent was...
SELECT "Record" FROM table_22058 WHERE "Opponent" = 'at Los Angeles Raiders'
### Instruction: CREATE TABLE table_21798 ( "Scientific name" text, "Common name" text, "Length (male)" text, "Length (female)" text, "Color" text, "Lifespan (years)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the scientific name for ve...
SELECT "Scientific name" FROM table_21798 WHERE "Common name" = 'Veiled chameleon'
### Instruction: CREATE TABLE table_8453 ( "Player" text, "Team" text, "Matches" real, "Wickets" real, "Average" real, "Best Bowling" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average when matches is less than 5 and wickets is m...
SELECT "Average" FROM table_8453 WHERE "Matches" < '5' AND "Wickets" > '9'
### Instruction: CREATE TABLE table_33389 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue did melbourne play a...
SELECT "Venue" FROM table_33389 WHERE "Away team" = 'melbourne'
### Instruction: CREATE TABLE table_name_81 ( floor_exercise INTEGER, pommel_horse VARCHAR, horizontal_bar VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the floor exercise score with a pommel horse score of 9.65 and horizontal bar score more th...
SELECT MAX(floor_exercise) FROM table_name_81 WHERE pommel_horse = 9.65 AND horizontal_bar > 9.475
### Instruction: CREATE TABLE table_34751 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/junior/club team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest round that has a player selected fro...
SELECT MAX("Round") FROM table_34751 WHERE "College/junior/club team (League)" = 'clarkson university'
### Instruction: CREATE TABLE table_44936 ( "Game" real, "Date" text, "Team" text, "Score" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Locat...
SELECT "Location Attendance" FROM table_44936 WHERE "Team" = 'orlando'
### Instruction: CREATE TABLE table_17760 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Bens location" text, "Original air date" text, "U.S. viewers (million)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the ...
SELECT "Original air date" FROM table_17760 WHERE "No." = '2'
### Instruction: CREATE TABLE table_62240 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total when the nation was Argentina, and a Goldwas smaller than...
SELECT COUNT("Total") FROM table_62240 WHERE "Nation" = 'argentina' AND "Gold" < '0'
### Instruction: CREATE TABLE table_name_17 ( number_of_deputies INTEGER, number_of_votes_received VARCHAR, election_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was deputies with the lowest number of unknown received votes, in an election ye...
SELECT MIN(number_of_deputies) FROM table_name_17 WHERE number_of_votes_received = "unknown" AND election_date > 1986
### Instruction: CREATE TABLE table_name_31 ( year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 20...
SELECT MAX(year_of_disaffiliation) FROM table_name_31 WHERE station = "chch-tv" AND year_of_affiliation > 2001
### Instruction: CREATE TABLE table_38045 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of points for 44 game and january more than 15 ...
SELECT COUNT("Points") FROM table_38045 WHERE "Game" = '44' AND "January" > '15'
### Instruction: CREATE TABLE table_34931 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponent had a Score of 6-3, 6-2? ### Response:
SELECT "Opponent" FROM table_34931 WHERE "Score" = '6-3, 6-2'
### Instruction: CREATE TABLE table_74070 ( "Player" text, "Team" text, "Matches" real, "Runs" real, "Average" text, "Strike rate" text, "Highest Score" text, "100s" real, "50s" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is ...
SELECT MIN("Matches") FROM table_74070
### Instruction: CREATE TABLE table_47098 ( "Asomtavruli" text, "Nuskhuri" text, "Mkhedruli" text, "Letter name" text, "Phoneme" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is teh Nuskhuri symbol for in Asomtavruli? ### Response:
SELECT "Nuskhuri" FROM table_47098 WHERE "Asomtavruli" = 'ⴋ'
### Instruction: CREATE TABLE table_203_843 ( id number, "record" text, "date and time" text, "competition" text, "home or away" text, "opponent" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- from which competition were their ...
SELECT "competition" FROM table_203_843 ORDER BY ABS("score" - "score") DESC LIMIT 1
### Instruction: CREATE TABLE table_15477 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which dates played Home Captain Courtney Walsh at the Queen's Park Oval? ##...
SELECT "Date" FROM table_15477 WHERE "Home captain" = 'courtney walsh' AND "Venue" = 'queen''s park oval'
### Instruction: CREATE TABLE table_4658 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the home t...
SELECT "Home team score" FROM table_4658 WHERE "Away team" = 'richmond'
### Instruction: CREATE TABLE table_34326 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Drawn has a Difference o...
SELECT AVG("Drawn") FROM table_34326 WHERE "Difference" = '14'
### Instruction: CREATE TABLE table_name_19 ( current_champion_s_ VARCHAR, location VARCHAR, previous_champion_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the current champion for the event in Beverly, MA, with previous champions of Mike Web...
SELECT current_champion_s_ FROM table_name_19 WHERE location = "beverly, ma" AND previous_champion_s_ = "mike webb and nick fahrenheit"
### Instruction: CREATE TABLE table_58874 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Bronze larger than 1, and a Gold larger than 0? ### Res...
SELECT MAX("Total") FROM table_58874 WHERE "Bronze" > '1' AND "Gold" > '0'
### Instruction: CREATE TABLE table_name_86 ( fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the rank is larger than 3 with a second quarter of johnson & johnson 156,515.9, what is the fourth quar...
SELECT fourth_quarter FROM table_name_86 WHERE rank > 3 AND second_quarter = "johnson & johnson 156,515.9"
### Instruction: CREATE TABLE table_7133 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record when there was ...
SELECT "Record" FROM table_7133 WHERE "Time" = '5:00'
### Instruction: CREATE TABLE table_6165 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average overall pick number for the USF player who was pic...
SELECT AVG("Overall") FROM table_6165 WHERE "College" = 'usf' AND "Round" > '5'
### Instruction: CREATE TABLE table_57070 ( "Grand Prix" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who...
SELECT "Pole Position" FROM table_57070 WHERE "Location" = 'jerez'
### Instruction: CREATE TABLE table_36911 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest rank for the player who earns $4,263,133? ### Response:
SELECT MAX("Rank") FROM table_36911 WHERE "Earnings ( $ )" = '4,263,133'
### Instruction: CREATE TABLE table_11005 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What entrant has osella fa1c chassis after 1981? ### Response:
SELECT "Entrant" FROM table_11005 WHERE "Year" > '1981' AND "Chassis" = 'osella fa1c'
### Instruction: CREATE TABLE table_26839 ( "Bowl Game" text, "Date" text, "Stadium" text, "Location" text, "TV" text, "Matchup winner bolded" text, "Payout ( US$ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for raymond ja...
SELECT "Date" FROM table_26839 WHERE "Stadium" = 'Raymond James Stadium'
### Instruction: CREATE TABLE table_1653 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Poles" real, "Wins" real, "Points" real, "Final Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the max points you...
SELECT MAX("Points") FROM table_1653 WHERE "Final Placing" = '9th'
### Instruction: CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) -- Using valid SQLite, answer the following questions for the tables provided above...
SELECT Class, COUNT(Class) FROM race GROUP BY Class ORDER BY COUNT(Class)
### Instruction: CREATE TABLE table_6190 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Venue has a Result of 2 2 and Attendances of 5,760? ### Response:
SELECT "Venue" FROM table_6190 WHERE "Result" = '2–2' AND "Attendance" = '5,760'
### Instruction: CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old is...
SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender
### Instruction: CREATE TABLE table_56165 ( "Date" text, "Competition" text, "Venue" text, "Result" text, "Score" text, "Goals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which result has a Goal of deacon 3/5, bridge 2/2? ### Response:
SELECT "Result" FROM table_56165 WHERE "Goals" = 'deacon 3/5, bridge 2/2'
### Instruction: CREATE TABLE table_75010 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Episode smaller than 210 had what...
SELECT "Segment C" FROM table_75010 WHERE "Episode" < '210'
### Instruction: CREATE TABLE table_name_71 ( points INTEGER, january VARCHAR, score VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Score of 4 1, and a Record of 18 10 8 1, and a January larger than 2? ### Respon...
SELECT AVG(points) FROM table_name_71 WHERE score = "4–1" AND record = "18–10–8–1" AND january > 2
### Instruction: CREATE TABLE table_44205 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Accolade, when Country is 'United States', and when Year is '1999'? ### Res...
SELECT "Accolade" FROM table_44205 WHERE "Country" = 'united states' AND "Year" = '1999'
### Instruction: CREATE TABLE table_6284 ( "Rank" text, "Institution" text, "Gold" real, "Silver" real, "Bronze" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fewest number of silvers for teams with more than 21 gold and more than 4 bro...
SELECT MIN("Silver") FROM table_6284 WHERE "Bronze" > '4' AND "Gold" > '21'
### Instruction: CREATE TABLE table_58200 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home Team Score at ...
SELECT "Home team score" FROM table_58200 WHERE "Venue" = 'vfl park'
### Instruction: CREATE TABLE table_204_469 ( id number, "coach" text, "years" text, "seasons" number, "wins" number, "losses" number, "ties" number, "pct" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which coach had greater than 700...
SELECT "coach" FROM table_204_469 WHERE "wins" > 700
### Instruction: CREATE TABLE table_40691 ( "Date" text, "Location" text, "Country" text, "Event" text, "Winner" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the location of the Havaianas Beachley Classic, held in Au...
SELECT "Location" FROM table_40691 WHERE "Country" = 'australia' AND "Event" = 'havaianas beachley classic'
### Instruction: CREATE TABLE table_54615 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Time/Retired has a Grid smaller than 3, and a Driver of mika h kkinen? ###...
SELECT "Time/Retired" FROM table_54615 WHERE "Grid" < '3' AND "Driver" = 'mika häkkinen'
### Instruction: CREATE TABLE table_74565 ( "Area" text, "Advertisement date" text, "Block" text, "Winning applicant" text, "Ensemble name" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Winning Applicant of Block 10B in Derbyshire Area? ...
SELECT "Winning applicant" FROM table_74565 WHERE "Block" = '10b' AND "Area" = 'derbyshire'
### Instruction: CREATE TABLE table_1773908_3 ( provider VARCHAR, up__up_to_kbit_s_ VARCHAR, resale VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes...
SELECT provider FROM table_1773908_3 WHERE up__up_to_kbit_s_ = 1024 AND resale = "yes"
### Instruction: CREATE TABLE table_44322 ( "Position" real, "Driver / Passenger" text, "Equipment" text, "Bike No" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were highest points received from someone using a zabel-wsp with a...
SELECT MAX("Points") FROM table_44322 WHERE "Equipment" = 'zabel-wsp' AND "Position" > '7'
### Instruction: CREATE TABLE table_38857 ( "System" text, "Owner" text, "Quantity" real, "Delivery" text, "Length" text, "Gauge" text, "Operation" text, "Seats" real, "Standing" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which o...
SELECT "Owner" FROM table_38857 WHERE "Seats" = '84'
### Instruction: CREATE TABLE table_63747 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Football Class" text, "Primary Conference" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school has a c...
SELECT "School" FROM table_63747 WHERE "County" = '69 ripley'
### Instruction: CREATE TABLE table_44877 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time? ### Response:
SELECT "Qual 2" FROM table_44877 WHERE "Team" = 'herdez competition' AND "Name" = 'ryan hunter-reay'
### Instruction: CREATE TABLE table_204_284 ( id number, "jurisdiction" text, "adherents" number, "bishops" number, "priests" number, "monastics" number, "monasteries" number, "parishes" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- l...
SELECT "jurisdiction" FROM table_204_284 ORDER BY "parishes" DESC LIMIT 1
### Instruction: CREATE TABLE table_80147 ( "Riding" text, "Candidate's Name" text, "Gender" text, "Residence" text, "Occupation" text, "Votes" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of votes f...
SELECT MAX("Votes") FROM table_80147 WHERE "Occupation" = 'french professor'
### Instruction: CREATE TABLE table_25224 ( "Rnd" real, "Date" text, "Length" text, "Race Name" text, "Track" text, "Location" text, "Pole Position" text, "Winning Driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the lengt...
SELECT "Length" FROM table_25224 WHERE "Track" = 'Pocono International Raceway'
### Instruction: CREATE TABLE table_46122 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team on January 2 with 23 points? ...
SELECT "Home" FROM table_46122 WHERE "Points" = '23' AND "Date" = 'january 2'
### Instruction: CREATE TABLE table_64313 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of draws for Mortlake club when they have less than 0 wins? ### ...
SELECT AVG("Draws") FROM table_64313 WHERE "Club" = 'mortlake' AND "Wins" < '0'
### Instruction: CREATE TABLE table_50916 ( "Governor" text, "State" text, "Past" text, "Party" text, "Elected/assumed office" real, "Seat up" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What state had an elected/assumed office in 2013? ###...
SELECT "State" FROM table_50916 WHERE "Elected/assumed office" = '2013'
### Instruction: CREATE TABLE table_55353 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was the home team wh...
SELECT "Home team score" FROM table_55353 WHERE "Away team" = 'south melbourne'
### Instruction: CREATE TABLE table_36437 ( "Rank" real, "Highway" text, "Elevation" text, "Surface" text, "Route" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Elevation of 12,183 feet 3713 m is what average route? ### Response:
SELECT AVG("Route") FROM table_36437 WHERE "Elevation" = '12,183 feet 3713 m'
### Instruction: CREATE TABLE table_13740 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of silvers for countries in rank 8 with totals over 3? ##...
SELECT SUM("Silver") FROM table_13740 WHERE "Rank" = '8' AND "Total" > '3'
### Instruction: CREATE TABLE table_48247 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of ap...
SELECT "Date of appointment" FROM table_48247 WHERE "Outgoing manager" = 'edoardo reja'
### Instruction: CREATE TABLE table_28122 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer(s)" text, "Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the director for the episode on May 2, 1959? ### Re...
SELECT "Director" FROM table_28122 WHERE "Airdate" = 'May 2, 1959'
### Instruction: CREATE TABLE table_51523 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did Geelong score as the a...
SELECT "Away team score" FROM table_51523 WHERE "Away team" = 'geelong'
### Instruction: CREATE TABLE table_203_384 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country was the venue in the...
SELECT "venue" FROM table_203_384 GROUP BY "venue" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_23213 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On how many locations is the Saint Jose...
SELECT COUNT("Location") FROM table_23213 WHERE "Institution" = 'Saint Joseph''s College of Maine'
### Instruction: CREATE TABLE table_43366 ( "Ballarat FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the teams that had less than 1 loss, what was the average number ...
SELECT AVG("Wins") FROM table_43366 WHERE "Losses" < '1'
### Instruction: CREATE TABLE table_1496582_1 ( gdp_millions_of_usd__2009_ INTEGER, country___territory VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the GDP (in millions USD) of Hong Kong in 2009? ### Response:
SELECT MAX(gdp_millions_of_usd__2009_) FROM table_1496582_1 WHERE country___territory = "Hong Kong"
### Instruction: CREATE TABLE table_78480 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date were there more than 19,600 peopl...
SELECT "Date" FROM table_78480 WHERE "Attendance" > '19,600'
### Instruction: CREATE TABLE elimination ( elimination_id text, wrestler_id text, team text, eliminated_by text, elimination_move text, time text ) CREATE TABLE wrestler ( wrestler_id number, name text, reign text, days_held text, location text, event text ) -- Using ...
SELECT name, location FROM wrestler
### Instruction: CREATE TABLE table_30306 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is listed under mens singles when womens has wang ...
SELECT "Mens Singles" FROM table_30306 WHERE "Womens Doubles" = 'Wang Nan Zhang Yining'
### Instruction: CREATE TABLE table_45392 ( "Year" real, "Champion" text, "Runner-Up" text, "Result" text, "Date" text, "Venue" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the champion when the attendance was 70...
SELECT "Champion" FROM table_45392 WHERE "Attendance" = '70,000'
### Instruction: CREATE TABLE table_17935 ( "Club" text, "Australian Marquee" text, "International Marquee" text, "Junior Marquee player" text, "Captain" text, "Vice-Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the captain for em...
SELECT "Captain" FROM table_17935 WHERE "International Marquee" = 'Emile Heskey'
### Instruction: CREATE TABLE table_49841 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent for the KOTC 25: Flaming Fury event? ### Response...
SELECT "Opponent" FROM table_49841 WHERE "Event" = 'kotc 25: flaming fury'
### Instruction: CREATE TABLE table_71455 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the highest frequency mhz with the call sig...
SELECT MAX("Frequency MHz") FROM table_71455 WHERE "Call sign" = 'w292cu'
### Instruction: CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time ) CREATE TABLE reviewer ( rid number, name text ) CREATE TABLE movie ( mid number, title text, year number, director text ) -- Using valid SQLite, answer the following questions for t...
SELECT mid, AVG(stars) FROM rating GROUP BY mid HAVING COUNT(*) >= 2
### Instruction: CREATE TABLE table_31535 ( "Player" text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year is United States school/club team from Arkansas play...
SELECT "Years in Toronto" FROM table_31535 WHERE "Nationality" = 'united states' AND "School/Club Team" = 'arkansas'
### Instruction: CREATE TABLE table_19063 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the bleeding time with condition ...
SELECT "Bleeding time" FROM table_19063 WHERE "Condition" = 'Liver failure, end-stage'
### Instruction: CREATE TABLE table_18740 ( "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. -- What was the result of the election when Clarence F. Le...
SELECT "Result" FROM table_18740 WHERE "Incumbent" = 'Clarence F. Lea'
### Instruction: CREATE TABLE table_46128 ( "First Vice President" text, "Second Vice President" text, "Third Vice president" text, "Inaugurated" text, "Left Office" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Left Office, when Inaugurate...
SELECT "Left Office" FROM table_46128 WHERE "Inaugurated" = '15 march 1930'
### Instruction: CREATE TABLE table_56688 ( "Route Name" text, "Direction" text, "Termini" text, "Junctions" text, "Length" text, "Population Area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What route has termini of fm 1472 sh 255? ### Re...
SELECT "Route Name" FROM table_56688 WHERE "Termini" = 'fm 1472 sh 255'
### Instruction: CREATE TABLE table_64391 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of matches played for teams with more than 10 losses and ...
SELECT SUM("Played") FROM table_64391 WHERE "Lost" > '10' AND "Points" < '5'
### Instruction: CREATE TABLE table_495 ( "Rank" real, "Fastest time (s)" text, "Wind (m/s)" text, "Athlete" text, "Country" text, "Date" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the stats of Trinidad and Toba...
SELECT "Wind (m/s)" FROM table_495 WHERE "Country" = 'Trinidad and Tobago'