instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_51 ( district VARCHAR, party VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which was the district that had first elected greater than 2006 and is democratic? ### Response:
SELECT district FROM table_name_51 WHERE party = "democratic" AND first_elected > 2006
### Instruction: CREATE TABLE table_1473672_6 ( college_junior_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team did Derek Black Play for prior to being drafted? ### Response:
SELECT college_junior_club_team FROM table_1473672_6 WHERE player = "Derek Black"
### Instruction: CREATE TABLE table_28211213_2 ( team_nickname VARCHAR, affiliation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When private/ nonsectarian is the the affiliation what is the team nickname? ### Response:
SELECT team_nickname FROM table_28211213_2 WHERE affiliation = "Private/ Nonsectarian"
### Instruction: CREATE TABLE table_name_50 ( score VARCHAR, player VARCHAR, tries VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Player of jaco coetzee, and a Tries larger than 6 had what total number of score? ### Response:
SELECT COUNT(score) FROM table_name_50 WHERE player = "jaco coetzee" AND tries > 6
### Instruction: CREATE TABLE table_6050 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series standing after game 1? ### Response:
SELECT "Series" FROM table_6050 WHERE "Game" = '1'
### Instruction: CREATE TABLE table_name_32 ( visitor VARCHAR, decision VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Visitor has a Decision of myre, and a Record of 44 7 15? ### Response:
SELECT visitor FROM table_name_32 WHERE decision = "myre" AND record = "44–7–15"
### Instruction: CREATE TABLE table_name_30 ( abb VARCHAR, disorder VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the abbreviation of the enzyme involved in carbamoyl phosphate synthetase i deficiency? ### Response:
SELECT abb FROM table_name_30 WHERE disorder = "carbamoyl phosphate synthetase i deficiency"
### Instruction: CREATE TABLE table_11964154_7 ( record VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times was the final score l 96 123 (ot)? ### Response:
SELECT COUNT(record) FROM table_11964154_7 WHERE score = "L 96–123 (OT)"
### Instruction: CREATE TABLE table_name_63 ( visitor VARCHAR, home VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Visitor when the home was toronto maple leafs and the score was 4 1? ### Response:
SELECT visitor FROM table_name_63 WHERE home = "toronto maple leafs" AND score = "4–1"
### Instruction: CREATE TABLE Companies ( Sales_billion INTEGER, Industry VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the maximum and minimum sales of the companies whose industries are not 'Banking'. ### Response:
SELECT MAX(Sales_billion), MIN(Sales_billion) FROM Companies WHERE Industry <> "Banking"
### Instruction: CREATE TABLE table_name_31 ( manufacturer VARCHAR, style VARCHAR, opened VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008? ### Response:
SELECT manufacturer FROM table_name_31 WHERE style = "steel sit down" AND opened > 2008
### Instruction: CREATE TABLE player ( name_first VARCHAR, name_last VARCHAR, weight VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List players' first name and last name who have weight greater than 220 or height shorter than 75. ### Response:
SELECT name_first, name_last FROM player WHERE weight > 220 OR height < 75
### Instruction: CREATE TABLE table_76705 ( "Year" real, "Artist" text, "Title" text, "Label" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Type has a Title of so alive? ### Response:
SELECT "Type" FROM table_76705 WHERE "Title" = 'so alive'
### Instruction: CREATE TABLE table_12261714_2 ( young_rider_classification VARCHAR, stage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the leader in the young rider classification in stage 12? ### Response:
SELECT young_rider_classification FROM table_12261714_2 WHERE stage = "12"
### Instruction: CREATE TABLE table_14160327_4 ( family_friendly VARCHAR, decade VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many family friendly games are in the 1990s? ### Response:
SELECT COUNT(family_friendly) FROM table_14160327_4 WHERE decade = "1990s"
### Instruction: CREATE TABLE table_1300525_1 ( population VARCHAR, pinyin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people live in the district who's capital is h ngf ng xi n? ### Response:
SELECT population FROM table_1300525_1 WHERE pinyin = "Héngfēng Xiàn"
### Instruction: CREATE TABLE table_name_45 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1999 for an A 1991, and a 1r 1997? ### Response:
SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r"
### Instruction: CREATE TABLE table_18600760_13 ( county VARCHAR, ansi_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What county is associated with ansi code 1759686? ### Response:
SELECT county FROM table_18600760_13 WHERE ansi_code = 1759686
### Instruction: CREATE TABLE table_name_30 ( podium INTEGER, season VARCHAR, pole VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the fewest podiums in 2005 with fewer than 0 poles? ### Response:
SELECT MIN(podium) FROM table_name_30 WHERE season = "2005" AND pole < 0
### Instruction: CREATE TABLE table_30120555_1 ( civil_parish VARCHAR, townland VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different civil parishes is Canrooska a part of? ### Response:
SELECT COUNT(civil_parish) FROM table_30120555_1 WHERE townland = "Canrooska"
### Instruction: CREATE TABLE table_11207040_6 ( date_of_vacancy VARCHAR, replaced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What days are vacant that were replaced by john brown? ### Response:
SELECT date_of_vacancy FROM table_11207040_6 WHERE replaced_by = "John Brown"
### Instruction: CREATE TABLE table_name_19 ( to_par INTEGER, place VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest to par of player mark brooks, who has a t2 place? ### Response:
SELECT MAX(to_par) FROM table_name_19 WHERE place = "t2" AND player = "mark brooks"
### Instruction: CREATE TABLE table_28136_15 ( english_word VARCHAR, ukrainian VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How do you say the ukrainian word (diakuju) in English? ### Response:
SELECT english_word FROM table_28136_15 WHERE ukrainian = "Дякую (diakuju)"
### Instruction: CREATE TABLE table_name_75 ( rank INTEGER, name VARCHAR, birth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank is He Yingqin who was born before 1890? ### Response:
SELECT AVG(rank) FROM table_name_75 WHERE name = "he yingqin" AND birth < 1890
### Instruction: CREATE TABLE table_name_75 ( john_oxendine VARCHAR, karen_handel VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is John Oxendine at in the poll where Karen Handel is at 38%? ### Response:
SELECT john_oxendine FROM table_name_75 WHERE karen_handel = "38%"
### Instruction: CREATE TABLE table_14389782_2 ( winning_pct VARCHAR, jersey_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning pct for jersey 15? ### Response:
SELECT winning_pct FROM table_14389782_2 WHERE jersey_no = "15"
### Instruction: CREATE TABLE table_15926991_1 ( weight__kg_ VARCHAR, jockey VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the entry for weight in kilograms of jockey D. Nikolic? ### Response:
SELECT weight__kg_ FROM table_15926991_1 WHERE jockey = "D. Nikolic"
### Instruction: CREATE TABLE table_22368322_2 ( tier_1_ratio VARCHAR, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the tier 1 ratio for irish life and permanent ### Response:
SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent"
### Instruction: CREATE TABLE table_18600760_3 ( county VARCHAR, longitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the county with a longitude of -102.302775? ### Response:
SELECT county FROM table_18600760_3 WHERE longitude = "-102.302775"
### Instruction: CREATE TABLE table_name_34 ( date VARCHAR, team VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day did Glentoran play at Windsor Park, Belfast? ### Response:
SELECT date FROM table_name_34 WHERE team = "glentoran" AND venue = "windsor park, belfast"
### Instruction: CREATE TABLE table_25363904_2 ( season__number INTEGER, title_english VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least season number for two marriage proposals ### Response:
SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "Two marriage proposals"
### Instruction: CREATE TABLE table_name_5 ( total_rebounds VARCHAR, player VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many rebounds have a Player of andre gaddy, and a Rank smaller than 6? ### Response:
SELECT COUNT(total_rebounds) FROM table_name_5 WHERE player = "andre gaddy" AND rank < 6
### Instruction: CREATE TABLE table_2201724_2 ( score_in_the_final VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different final scores were there in 1963? ### Response:
SELECT COUNT(score_in_the_final) FROM table_2201724_2 WHERE year = 1963
### Instruction: CREATE TABLE table_18600760_8 ( latitude VARCHAR, geo_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the latitude for 3809935740 ### Response:
SELECT latitude FROM table_18600760_8 WHERE geo_id = 3809935740
### Instruction: CREATE TABLE table_name_95 ( award VARCHAR, category VARCHAR, nominee VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What award was Denis Lawson nominated for in the Best Actor in a Musical category? ### Response:
SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson"
### Instruction: CREATE TABLE table_18047346_5 ( tonnes VARCHAR, airport_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Louisville International Airport had how many tonnes of cargo in 2011? ### Response:
SELECT tonnes FROM table_18047346_5 WHERE airport_name = "Louisville International Airport"
### Instruction: CREATE TABLE table_204_659 ( id number, "seat" text, "state" text, "majority" number, "member" text, "party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many members in total ? ### Response:
SELECT COUNT("member") FROM table_204_659
### Instruction: CREATE TABLE table_2668173_4 ( first_elected VARCHAR, party VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many incumbents was first elected in the Anti-Masonic party? ### Response:
SELECT COUNT(first_elected) FROM table_2668173_4 WHERE party = "Anti-Masonic"
### Instruction: CREATE TABLE table_name_2 ( october INTEGER, record VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which October has a Record of 5 1 0, and a Game larger than 6? ### Response:
SELECT AVG(october) FROM table_name_2 WHERE record = "5–1–0" AND game > 6
### Instruction: CREATE TABLE table_24639086_3 ( written_by VARCHAR, season__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the season number is 2.08, who was the episode written by? ### Response:
SELECT written_by FROM table_24639086_3 WHERE season__number = "2.08"
### Instruction: CREATE TABLE table_name_49 ( date VARCHAR, outcome VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the outcome runner-up with a score of 4 6, 3 6? ### Response:
SELECT date FROM table_name_49 WHERE outcome = "runner-up" AND score = "4–6, 3–6"
### Instruction: CREATE TABLE table_name_83 ( third VARCHAR, location VARCHAR, second VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In Winterberg, who was 3rd the year that Monique Riekewald was 2nd? ### Response:
SELECT third FROM table_name_83 WHERE location = "winterberg" AND second = "monique riekewald"
### Instruction: CREATE TABLE table_name_58 ( colour_commentator_s_ VARCHAR, play_by_play VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the colour commentator when the play-by-play announcer was Bob Cole? ### Response:
SELECT colour_commentator_s_ FROM table_name_58 WHERE play_by_play = "bob cole"
### Instruction: CREATE TABLE table_name_30 ( season VARCHAR, wins VARCHAR, final_placing VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of seasons with more than 0 wins and a 1st final placing? ### Response:
SELECT COUNT(season) FROM table_name_30 WHERE wins > 0 AND final_placing = "1st"
### Instruction: CREATE TABLE table_28348757_6 ( written_by VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode with the code xle05012? ### Response:
SELECT written_by FROM table_28348757_6 WHERE production_code = "XLE05012"
### Instruction: CREATE TABLE table_name_25 ( album VARCHAR, certification VARCHAR, peak_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What album had a peak position of 6 and a certification of 3x platinum? ### Response:
SELECT album FROM table_name_25 WHERE certification = "3x platinum" AND peak_position = 6
### Instruction: CREATE TABLE table_name_56 ( method VARCHAR, res VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What method was used that had a resulting win against opponent, Natsuko Kikukawa? ### Response:
SELECT method FROM table_name_56 WHERE res = "win" AND opponent = "natsuko kikukawa"
### Instruction: CREATE TABLE table_name_88 ( team VARCHAR, coach VARCHAR, captain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain? ### Response:
SELECT team FROM table_name_88 WHERE coach = "manzoor elahi" AND captain = "taufeeq umar"
### Instruction: CREATE TABLE table_name_80 ( product VARCHAR, java_ee_compatibility VARCHAR, vendor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Oracle Corporation product has a Java EE compatibility of 1.4? ### Response:
SELECT product FROM table_name_80 WHERE java_ee_compatibility = "1.4" AND vendor = "oracle corporation"
### Instruction: CREATE TABLE table_12176 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has the label Control? ### Response:
SELECT "Country" FROM table_12176 WHERE "Label" = 'control'
### Instruction: CREATE TABLE table_name_37 ( finish VARCHAR, country VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Finish, when Country is 'United States', and when Player is 'Julius Boros'? ### Response:
SELECT finish FROM table_name_37 WHERE country = "united states" AND player = "julius boros"
### Instruction: CREATE TABLE table_21197135_1 ( cowboys_points VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points did the Cowboys have when they had a 7-0 record? ### Response:
SELECT cowboys_points FROM table_21197135_1 WHERE record = "7-0"
### Instruction: CREATE TABLE table_name_73 ( radio_station_production_company VARCHAR, role VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Radio Station/Production Company that has a Role of interviewee & monologues is what radio station? ### Response:
SELECT radio_station_production_company FROM table_name_73 WHERE role = "interviewee & monologues"
### Instruction: CREATE TABLE table_204_643 ( id number, "release" number, "artist" text, "title" text, "notes" text, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last title released ? ### Response:
SELECT MAX("release") FROM table_204_643
### Instruction: CREATE TABLE table_204_313 ( id number, "date" text, "operation" text, "location" text, "type" text, "information" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of operation ? ### Response:
SELECT COUNT("operation") FROM table_204_313
### Instruction: CREATE TABLE table_name_36 ( pick__number INTEGER, position VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Pick #, when Position is Guard, and when Round is greater than 2? ### Response:
SELECT SUM(pick__number) FROM table_name_36 WHERE position = "guard" AND round > 2
### Instruction: CREATE TABLE table_name_94 ( score VARCHAR, to_par VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the match in which player David Frost scored a To Par of +7, what was the final score? ### Response:
SELECT score FROM table_name_94 WHERE to_par = "+7" AND player = "david frost"
### Instruction: CREATE TABLE table_22916979_5 ( rank VARCHAR, densest_incorporated_place VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of rank for stone park ### Response:
SELECT COUNT(rank) FROM table_22916979_5 WHERE densest_incorporated_place = "Stone Park"
### Instruction: CREATE TABLE table_26099252_1 ( h264 VARCHAR, theora VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When theora is 2.3, how much is the h.264? ### Response:
SELECT h264 FROM table_26099252_1 WHERE theora = "2.3"
### Instruction: CREATE TABLE table_name_15 ( round INTEGER, res VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Round that has Res of win and an Opponent of demian maia? ### Response:
SELECT SUM(round) FROM table_name_15 WHERE res = "win" AND opponent = "demian maia"
### Instruction: CREATE TABLE table_name_82 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 1861 had 1991 in 1881 and a year of year? ### Response:
SELECT 1861 FROM table_name_82 WHERE "year" = "year" AND 1881 = "1991"
### Instruction: CREATE TABLE table_204_498 ( id number, "location" text, "building" text, "year" number, "km" number, "monument" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the average of years ### Response:
SELECT AVG("year") FROM table_204_498
### Instruction: CREATE TABLE table_13141 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did Sam Torrance score? ### Response:
SELECT "Score" FROM table_13141 WHERE "Player" = 'sam torrance'
### Instruction: CREATE TABLE table_name_66 ( year VARCHAR, laps VARCHAR, qual VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a Qual of 144.683 and Lap larger than 27? ### Response:
SELECT year FROM table_name_66 WHERE laps > 27 AND qual = "144.683"
### Instruction: CREATE TABLE table_27501971_2 ( premio VARCHAR, categoría VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many premio are there when 'Artist of the Year' was the categoria? ### Response:
SELECT COUNT(premio) FROM table_27501971_2 WHERE categoría = "Artist of the Year"
### Instruction: CREATE TABLE table_26214389_3 ( Non VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the year is 2001, what are the non qatari female? ### Response:
SELECT Non AS qatari_female FROM table_26214389_3 WHERE year = 2001
### Instruction: CREATE TABLE table_name_25 ( constructor VARCHAR, driver VARCHAR, rounds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the constructor of the car that Jan Lammers made 7-14 rounds in? ### Response:
SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-14"
### Instruction: CREATE TABLE table_name_49 ( region VARCHAR, format VARCHAR, label VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the region of the Catalog that is in cd format and has a label a&m/canyon? ### Response:
SELECT region FROM table_name_49 WHERE format = "cd" AND label = "a&m/canyon"
### Instruction: CREATE TABLE table_19722664_5 ( assists INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest amount of assists that Nicole Levandusky made? ### Response:
SELECT MAX(assists) FROM table_19722664_5 WHERE player = "Nicole Levandusky"
### Instruction: CREATE TABLE table_name_56 ( to_par VARCHAR, finish VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To Par when the finish was t16 and the player was Julius Boros? ### Response:
SELECT to_par FROM table_name_56 WHERE finish = "t16" AND player = "julius boros"
### Instruction: CREATE TABLE table_name_72 ( number_ VARCHAR, _name VARCHAR, description VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number & name for the description peckett 0-4-0st? ### Response:
SELECT number_ & _name FROM table_name_72 WHERE description = "peckett 0-4-0st"
### Instruction: CREATE TABLE table_2562572_33 ( cyrillic_name_other_names VARCHAR, settlement VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the other name for martono ? ### Response:
SELECT cyrillic_name_other_names FROM table_2562572_33 WHERE settlement = "Martonoš"
### Instruction: CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old is the youngest person for each job? ### Response:
SELECT MIN(age), job FROM person GROUP BY job
### Instruction: CREATE TABLE table_name_41 ( home__2nd_leg_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg? ### Response:
SELECT 2 AS nd_leg FROM table_name_41 WHERE home__2nd_leg_ = "estudiantes la plata"
### Instruction: CREATE TABLE table_23184448_3 ( date VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On how many different dates did the team play a game in Cedar Falls, Iowa? ### Response:
SELECT COUNT(date) FROM table_23184448_3 WHERE location = "Cedar Falls, Iowa"
### Instruction: CREATE TABLE table_name_82 ( pick INTEGER, player VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Pick, when Player is 'Willie White',and when Round is less than 2? ### Response:
SELECT AVG(pick) FROM table_name_82 WHERE player = "willie white" AND round < 2
### Instruction: CREATE TABLE table_13050003_2 ( year INTEGER, blocks VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year has Nerlens Noel (4) as blocker? ### Response:
SELECT MIN(year) FROM table_13050003_2 WHERE blocks = "Nerlens Noel (4)"
### Instruction: CREATE TABLE table_25352324_5 ( points VARCHAR, rebounds VARCHAR, blocks VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every value for points if rebounds is 6 and blocks is 0? ### Response:
SELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 0
### Instruction: CREATE TABLE table_21531764_2 ( senior_us_senator VARCHAR, governor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the senior US senator in the state whose governor was D. Patrick? ### Response:
SELECT senior_us_senator FROM table_21531764_2 WHERE governor = "D. Patrick"
### Instruction: CREATE TABLE table_name_45 ( player VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who placed t5 and had a score of 70-72=142? ### Response:
SELECT player FROM table_name_45 WHERE place = "t5" AND score = 70 - 72 = 142
### Instruction: CREATE TABLE table_name_36 ( co_driver VARCHAR, position VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the co-driver for the 6th position and more than 159 laps? ### Response:
SELECT co_driver FROM table_name_36 WHERE position = "6th" AND laps > 159
### Instruction: CREATE TABLE table_name_24 ( rider VARCHAR, laps VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rider went 18 laps ending +25.165 behind the leader? ### Response:
SELECT rider FROM table_name_24 WHERE laps = 18 AND time = "+25.165"
### Instruction: CREATE TABLE table_name_88 ( precincts VARCHAR, g_hager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Precincts has a G. Hager of 2,260 (15%)? ### Response:
SELECT precincts FROM table_name_88 WHERE g_hager = "2,260 (15%)"
### Instruction: CREATE TABLE table_name_45 ( candidate VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the candidate that had 10 fired in week 2 (1-27-2005)? ### Response:
SELECT candidate FROM table_name_45 WHERE result = "10 fired in week 2 (1-27-2005)"
### Instruction: CREATE TABLE table_name_97 ( junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which junior high school has male and female genders? ### Response:
SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female"
### Instruction: CREATE TABLE table_25030512_12 ( party VARCHAR, candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When dennis ross (r) unopposed is the candidate what is the party? ### Response:
SELECT party FROM table_25030512_12 WHERE candidates = "Dennis Ross (R) unopposed"
### Instruction: CREATE TABLE table_18305523_2 ( comments VARCHAR, cover_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the comment on the issue dated 14 March 1987? ### Response:
SELECT comments FROM table_18305523_2 WHERE cover_date = "14 March 1987"
### Instruction: CREATE TABLE table_name_29 ( score_in_the_final VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score for the August 25, 1996 match? ### Response:
SELECT score_in_the_final FROM table_name_29 WHERE date = "august 25, 1996"
### Instruction: CREATE TABLE table_name_68 ( score VARCHAR, year VARCHAR, champion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a Year larger than 2004, and a Champion of ga l monfils? ### Response:
SELECT score FROM table_name_68 WHERE year > 2004 AND champion = "gaël monfils"
### Instruction: CREATE TABLE table_name_44 ( games VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Games has Points larger than 0 and a Lost smaller than 4? ### Response:
SELECT COUNT(games) FROM table_name_44 WHERE points > 0 AND lost < 4 AND drawn < 0
### Instruction: CREATE TABLE table_24418525_1 ( power_kw VARCHAR, coverage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much power covers dumaguete central visayas region? ### Response:
SELECT COUNT(power_kw) FROM table_24418525_1 WHERE coverage = "Dumaguete Central Visayas Region"
### Instruction: CREATE TABLE table_name_15 ( tyres VARCHAR, points VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What tyres have 1 point and an ensign n177 chassis? ### Response:
SELECT tyres FROM table_name_15 WHERE points = "1" AND chassis = "ensign n177"
### Instruction: CREATE TABLE table_2182654_3 ( no_in_season VARCHAR, no_in_series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number in the season is episode 24 in the series? ### Response:
SELECT no_in_season FROM table_2182654_3 WHERE no_in_series = 24
### Instruction: CREATE TABLE table_name_27 ( entrepreneur_s_ VARCHAR, money_requested__£_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Entrepreneurs requested 60,000? ### Response:
SELECT entrepreneur_s_ FROM table_name_27 WHERE money_requested__£_ = "60,000"
### Instruction: CREATE TABLE table_name_17 ( assists INTEGER, name VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest number of assists for Ben Duggan with less than 7 points? ### Response:
SELECT MIN(assists) FROM table_name_17 WHERE name = "ben duggan" AND points < 7
### Instruction: CREATE TABLE table_45899 ( "Name" text, "Listed" text, "Location" text, "County" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bridge is in Mcville? ### Response:
SELECT "Name" FROM table_45899 WHERE "Location" = 'mcville'
### Instruction: CREATE TABLE table_name_27 ( moving_from VARCHAR, type VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Moving, when Type is 'Transfer', and when Name is 'Andy Webster'? ### Response:
SELECT moving_from FROM table_name_27 WHERE type = "transfer" AND name = "andy webster"
### Instruction: CREATE TABLE table_name_67 ( quantity VARCHAR, seats VARCHAR, class VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the quantity when the seats number was 16 and the class was kss 1913? ### Response:
SELECT quantity FROM table_name_67 WHERE seats = 16 AND class = "kss 1913"
### Instruction: CREATE TABLE table_17103729_7 ( location_attendance VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a score of 68-85, what is the location and attendance? ### Response:
SELECT location_attendance FROM table_17103729_7 WHERE score = "68-85"
### Instruction: CREATE TABLE table_225095_4 ( reason_for_change VARCHAR, successor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many reasons for change were listed when Edward Hempstead was the successor? ### Response:
SELECT COUNT(reason_for_change) FROM table_225095_4 WHERE successor = "Edward Hempstead"