instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_203_123 ( id number, "year" number, "title" text, "b-side" text, "mediums" text, "label (catalog)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the first single released for the epic label ? ### Response:
SELECT "title" FROM table_203_123 WHERE "label (catalog)" = 'epic' ORDER BY id LIMIT 1
### Instruction: CREATE TABLE table_6735 ( "Rank" real, "Goalkeeper" text, "Club" text, "MINS" real, "SHTS" real, "W-L-T" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the club for the 132 SHTS? ### Response:
SELECT "Club" FROM table_6735 WHERE "SHTS" = '132'
### Instruction: CREATE TABLE table_272865_20 ( years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the years active where Asian Cup played as a captain is Iran 1976? ### Response:
SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Iran 1976"
### Instruction: CREATE TABLE table_54346 ( "Dismissals" text, "Player" text, "Versus" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Player with a Date with 12-03-2003? ### Response:
SELECT "Player" FROM table_54346 WHERE "Date" = '12-03-2003'
### Instruction: CREATE TABLE table_55128 ( "Name" text, "Actual version" text, "System" text, "Platform" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which License has a System of amiga, and a Name of pocketuae? ### Response:
SELECT "License" FROM table_55128 WHERE "System" = 'amiga' AND "Name" = 'pocketuae'
### Instruction: CREATE TABLE table_62313 ( "Golden Rivers" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total byes for more than 1 draw? ### Response:
SELECT COUNT("Byes") FROM table_62313 WHERE "Draws" > '1'
### Instruction: CREATE TABLE table_49233 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the week of August 6, who is the finalist? ### Response:
SELECT "Finalist" FROM table_49233 WHERE "Week" = 'august 6'
### Instruction: CREATE TABLE table_name_12 ( date VARCHAR, opponent VARCHAR, week VARCHAR, game_site VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england patriots involves what date? ### Response:
SELECT date FROM table_name_12 WHERE week < 4 AND game_site = "rca dome" AND opponent = "new england patriots"
### Instruction: CREATE TABLE table_56537 ( "Club" text, "Wins" text, "Last win" text, "Runners-up" text, "Last final lost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the last win for the club that had a final loss in 2011? ### Response:
SELECT "Last win" FROM table_56537 WHERE "Last final lost" = '2011'
### Instruction: CREATE TABLE table_72512 ( "Round" real, "Pick #" text, "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 pick number for round 2? ### Response:
SELECT "Pick #" FROM table_72512 WHERE "Round" = '2'
### Instruction: CREATE TABLE table_25147 ( "Year" real, "Championship" text, "54 holes" text, "Winning score" text, "Margin" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the year for willie goggin ### Response:
SELECT "Year" FROM table_25147 WHERE "Runner(s)-up" = 'Willie Goggin'
### Instruction: CREATE TABLE table_56076 ( "Round" real, "Overall" text, "Player" text, "Position" text, "Nationality" text, "Club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average round of a player with an overall of 138? ### Response:
SELECT AVG("Round") FROM table_56076 WHERE "Overall" = '138'
### Instruction: CREATE TABLE table_204_625 ( id number, "model" text, "availability" text, "introduced" text, "length of use" text, "last of whiteness" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many products have been discontinued ? ### Response:
SELECT COUNT("model") FROM table_204_625 WHERE "availability" = 'discontinued'
### Instruction: CREATE TABLE table_30450 ( "Player" text, "Cap(s)" real, "Goal(s)" real, "International Debut" text, "Club(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many goals did the player from Ipswich town score? ### Response:
SELECT MIN("Goal(s)") FROM table_30450 WHERE "Club(s)" = 'Ipswich Town'
### Instruction: CREATE TABLE table_59137 ( "Statistic" text, "Name" text, "Total" text, "School" text, "Opponent" text, "Stage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the opposing team was SSC-R what was the statistic? ### Response:
SELECT "Statistic" FROM table_59137 WHERE "Opponent" = 'ssc-r'
### Instruction: CREATE TABLE table_18238 ( "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 in the Virginia 3 district? ### Response:
SELECT "Result" FROM table_18238 WHERE "District" = 'Virginia 3'
### Instruction: CREATE TABLE table_23957 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Orangemen points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did they play against West Virginia? ### Response:
SELECT "Date" FROM table_23957 WHERE "Opponent" = 'West Virginia'
### Instruction: CREATE TABLE table_25747 ( "#" text, "Original title" text, "Directed by" text, "Written by" text, "Original air dates" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the original air date for prod code 201 ### Response:
SELECT "Original air dates" FROM table_25747 WHERE "Prod. code" = '201'
### Instruction: CREATE TABLE table_204_979 ( id number, "place" number, "nation" text, "5 hoops" text, "3 balls,\n2 ribbons" text, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the only country to schore below 38 total points . ### Response:
SELECT "nation" FROM table_204_979 WHERE "total" < 38
### Instruction: CREATE TABLE table_name_17 ( csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the csa 4/16/09 for opinionway being 4/17/09 of 12% ### Response:
SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%"
### Instruction: CREATE TABLE table_55000 ( "Fare Categories" text, "Base Fares" text, "Day Pass" text, "7-Day Pass" text, "30-Day Pass" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 30-day Pass has a Base Fare of $3? ### Response:
SELECT "30-Day Pass" FROM table_55000 WHERE "Base Fares" = '$3'
### Instruction: CREATE TABLE table_57386 ( "Player" text, "Date of Birth" text, "Batting Style" text, "Bowling Style" text, "First Class Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What bowling style does First Class Team, Griqualand West have? ### Response:
SELECT "Bowling Style" FROM table_57386 WHERE "First Class Team" = 'griqualand west'
### Instruction: CREATE TABLE table_6655 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was there a friendly game against Wales? ### Response:
SELECT "Date" FROM table_6655 WHERE "Type of game" = 'friendly' AND "Opponent" = 'wales'
### Instruction: CREATE TABLE table_45078 ( "Number notation" real, "Power notation" text, "Short scale" text, "Long scale" text, "Indian (or South Asian) English" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For a power notation of 10 12, what is the long scale? ### Response:
SELECT "Long scale" FROM table_45078 WHERE "Power notation" = '10 12'
### Instruction: CREATE TABLE table_38202 ( "Rank" real, "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 highest amount of bronze medals when the rank was larger than 9? ### Response:
SELECT MAX("Bronze") FROM table_38202 WHERE "Rank" > '9'
### Instruction: CREATE TABLE table_203_507 ( id number, "#" text, "player" text, "\u03c3 points" number, "qual." number, "final" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- karl behting and giovanni cenni each had final scores of what ? ### Response:
SELECT "final" FROM table_203_507 WHERE "player" = 'karl behting'
### Instruction: CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) CREATE TABLE teachers ( lastname text, firstname text, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the first names of the teachers that teach first grade. ### Response:
SELECT DISTINCT T2.firstname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE grade = 1
### Instruction: CREATE TABLE table_12043148_2 ( glos_ VARCHAR, _wilts VARCHAR, bristol_ VARCHAR, _somerset VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the glos & wilts where the bristol & somerset is lansdown? ### Response:
SELECT glos_ & _wilts FROM table_12043148_2 WHERE bristol_ & _somerset = "Lansdown"
### Instruction: CREATE TABLE table_68184 ( "Season" real, "Overall" text, "Slalom" text, "Giant Slalom" text, "Super G" text, "Downhill" text, "Combined" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which downhill has 7 overalls? ### Response:
SELECT "Downhill" FROM table_68184 WHERE "Overall" = '7'
### Instruction: CREATE TABLE table_66972 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning score in the mazda senior tournament players championship? ### Response:
SELECT "Winning score" FROM table_66972 WHERE "Tournament" = 'mazda senior tournament players championship'
### Instruction: CREATE TABLE table_35641 ( "Date" text, "Site" text, "Sport" text, "Winning team" text, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Winning team on january 28, 2006? ### Response:
SELECT "Winning team" FROM table_35641 WHERE "Date" = 'january 28, 2006'
### Instruction: CREATE TABLE table_name_13 ( water__sqmi_ INTEGER, county VARCHAR, ansi_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Water (sqmi) has a County of benson, and an ANSI code smaller than 1759243? ### Response:
SELECT MIN(water__sqmi_) FROM table_name_13 WHERE county = "benson" AND ansi_code < 1759243
### Instruction: CREATE TABLE table_74562 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "TV Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the tv time for attendance of 60,894 ### Response:
SELECT "TV Time" FROM table_74562 WHERE "Attendance" = '60,894'
### Instruction: CREATE TABLE table_16753 ( "Race Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What circuit is the Vi Rhein-Pokalrennen race in? ### Response:
SELECT "Circuit" FROM table_16753 WHERE "Race Name" = 'VI Rhein-Pokalrennen'
### Instruction: CREATE TABLE table_56335 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the position for the player that is from valparaiso ### Response:
SELECT "Position" FROM table_56335 WHERE "School/Club Team/Country" = 'valparaiso'
### Instruction: CREATE TABLE table_7711 ( "Draw" real, "Artist" text, "Song" text, "Televote" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With a draw greater than 11 and the place smaller than 4 what was the televote? ### Response:
SELECT "Televote" FROM table_7711 WHERE "Draw" > '11' AND "Place" < '4'
### Instruction: CREATE TABLE table_33201 ( "Tournament" text, "2007" text, "2011" text, "2012" text, "2013" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What value for 2013 corresponds to the US Open Tournament? ### Response:
SELECT "2013" FROM table_33201 WHERE "Tournament" = 'us open'
### Instruction: CREATE TABLE table_37353 ( "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 Call sign for the ERP W 19? ### Response:
SELECT "Call sign" FROM table_37353 WHERE "ERP W" = '19'
### Instruction: CREATE TABLE table_58668 ( "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. -- What is Surface, when Tournament is 'Sunderland , United Kingdom'? ### Response:
SELECT "Surface" FROM table_58668 WHERE "Tournament" = 'sunderland , united kingdom'
### Instruction: CREATE TABLE table_41116 ( "Round" real, "Race name" text, "Circuit" text, "City/State" text, "Date" text, "Winner(s)" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which circuit had a round larger than 5? ### Response:
SELECT "Circuit" FROM table_41116 WHERE "Round" > '5'
### Instruction: CREATE TABLE table_28902 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who are the candidates for district new york 10? ### Response:
SELECT "Candidates" FROM table_28902 WHERE "District" = 'New York 10'
### Instruction: CREATE TABLE table_name_16 ( country VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Country has a Year larger than 1978, and a Score of 295, and a Venue of lindrick golf club? ### Response:
SELECT country FROM table_name_16 WHERE year > 1978 AND score = "295" AND venue = "lindrick golf club"
### Instruction: CREATE TABLE table_59014 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is team 1 where team 2 is Fluminense (RJ)? ### Response:
SELECT "Team 1" FROM table_59014 WHERE "Team 2" = 'fluminense (rj)'
### Instruction: CREATE TABLE table_204_788 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number, "points" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total of points in all ? ### Response:
SELECT SUM("points") FROM table_204_788
### Instruction: CREATE TABLE table_21372 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population that has an area of 715.58? ### Response:
SELECT "Population" FROM table_21372 WHERE "Area km 2" = '715.58'
### Instruction: CREATE TABLE table_66482 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country did ekaterina karsten row for with fa listed under notes? ### Response:
SELECT "Country" FROM table_66482 WHERE "Notes" = 'fa' AND "Athlete" = 'ekaterina karsten'
### Instruction: CREATE TABLE table_11256021_1 ( extroverted VARCHAR, _relationship_oriented VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the extroverted, relationship-oriented where date is c. 1928 ### Response:
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE date = "c. 1928"
### Instruction: CREATE TABLE table_26809 ( "Episode no." real, "Airdate" text, "Viewers" text, "BBC Three weekly ranking" text, "Cable rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many individuals watched the show that had a bbc ranking of 6? ### Response:
SELECT COUNT("Viewers") FROM table_26809 WHERE "BBC Three weekly ranking" = '6'
### Instruction: CREATE TABLE table_name_10 ( grid INTEGER, constructor VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average grid number with a ferrari and a time or retired time of 1:32:35.101? ### Response:
SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101"
### Instruction: CREATE TABLE table_4488 ( "Region" text, "Operator" text, "Licence award date" text, "On air date" text, "Closure date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the ensemble closed that went on air in June 2003? ### Response:
SELECT "Closure date" FROM table_4488 WHERE "On air date" = 'june 2003'
### Instruction: CREATE TABLE table_47944 ( "Date" text, "Opponents" text, "H / A" text, "Result F \u2013 A" text, "Scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the H/A when the scorer was Hughes? ### Response:
SELECT "H / A" FROM table_47944 WHERE "Scorers" = 'hughes'
### Instruction: CREATE TABLE table_5494 ( "Date" text, "Tournament" text, "Winning score" text, "To par" text, "Margin of victory" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Winning score has a Tournament of walt disney world/oldsmobile classic? ### Response:
SELECT "Winning score" FROM table_5494 WHERE "Tournament" = 'walt disney world/oldsmobile classic'
### Instruction: CREATE TABLE table_18409 ( "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. -- how many incumbent with district being tennessee 5 ### Response:
SELECT COUNT("Incumbent") FROM table_18409 WHERE "District" = 'Tennessee 5'
### Instruction: CREATE TABLE table_74230 ( "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 won Womens Singles in the year that Ma Lin won Mens Singles? ### Response:
SELECT "Womens Singles" FROM table_74230 WHERE "Mens Singles" = 'Ma Lin'
### Instruction: CREATE TABLE table_66986 ( "Ship" text, "Pennant number" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the laid down for launched being 16 february 1934 ### Response:
SELECT "Laid down" FROM table_66986 WHERE "Launched" = '16 february 1934'
### Instruction: CREATE TABLE table_56423 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date when the attendance was 48,041? ### Response:
SELECT "Date" FROM table_56423 WHERE "Attendance" = '48,041'
### Instruction: CREATE TABLE table_name_8 ( grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps? ### Response:
SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = "honda" AND rider = "yuki takahashi" AND laps > 22
### Instruction: CREATE TABLE table_24000 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Cardinals points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number opponent for loss result ### Response:
SELECT COUNT("Opponent") FROM table_24000 WHERE "Result" = 'Loss'
### Instruction: CREATE TABLE table_49903 ( "Team" text, "Sport" text, "Played" text, "Venue" text, "Championships" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What sport was played between the years of 2008-2010? ### Response:
SELECT "Sport" FROM table_49903 WHERE "Played" = '2008-2010'
### Instruction: CREATE TABLE table_name_26 ( race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton? ### Response:
SELECT race_2 FROM table_name_26 WHERE race_1 = "dnf" AND race_3 = "dnf" AND track = "winton"
### Instruction: CREATE TABLE table_47582 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Home team that had a decider of Conklin? ### Response:
SELECT "Home" FROM table_47582 WHERE "Decision" = 'conklin'
### Instruction: CREATE TABLE table_17417 ( "Train No." text, "Train Name" text, "Origin" text, "Destination" text, "Frequency" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of train number 15647/48? ### Response:
SELECT "Train Name" FROM table_17417 WHERE "Train No." = '15647/48'
### Instruction: CREATE TABLE table_69171 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What director worked with Al Mackay as writer? ### Response:
SELECT "Director(s)" FROM table_69171 WHERE "Writer(s)" = 'al mackay'
### Instruction: CREATE TABLE table_23741 ( "County" text, "Obama%" text, "Obama#" real, "McCain%" text, "McCain#" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of the vote did McCain win in Waynesboro (city)? ### Response:
SELECT "McCain%" FROM table_23741 WHERE "County" = 'Waynesboro (city)'
### Instruction: CREATE TABLE table_204_248 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many medals does iraq have in total ? ### Response:
SELECT "total" FROM table_204_248 WHERE "nation" = 'iraq'
### Instruction: CREATE TABLE table_101336_1 ( no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the formula tl 2 ba 2 cuo 6? ### Response:
SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula = "Tl 2 Ba 2 CuO 6"
### Instruction: CREATE TABLE table_9600 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which event has a method of TKO (punches)? ### Response:
SELECT "Event" FROM table_9600 WHERE "Method" = 'tko (punches)'
### Instruction: CREATE TABLE table_13789 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent has September 14, 2003 as the date? ### Response:
SELECT "Opponent" FROM table_13789 WHERE "Date" = 'september 14, 2003'
### Instruction: CREATE TABLE table_204_297 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team placed in first with the most earned medals ? ### Response:
SELECT "nation" FROM table_204_297 ORDER BY "total" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_81 ( wins VARCHAR, losses VARCHAR, goal_difference VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of wins of the club with a goal difference less than 21, 4 draws, and less than 21 losses? ### Response:
SELECT COUNT(wins) FROM table_name_81 WHERE goal_difference < 21 AND draws = 4 AND losses < 21
### Instruction: CREATE TABLE table_73941 ( "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents in final" text, "Score in final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score in 1986? ### Response:
SELECT "Score in final" FROM table_73941 WHERE "Year" = '1986'
### Instruction: CREATE TABLE table_name_6 ( probate_activities VARCHAR, reserved_instruments VARCHAR, regulator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered Institute of Legal Executives? ### Response:
SELECT probate_activities FROM table_name_6 WHERE reserved_instruments = "no" AND regulator = "chartered institute of legal executives"
### Instruction: CREATE TABLE table_17881033_1 ( division_southwest VARCHAR, division_south VARCHAR, division_east VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the division southwest when division south was ko uf and division east was osogovo ### Response:
SELECT division_southwest FROM table_17881033_1 WHERE division_south = "Kožuf" AND division_east = "Osogovo"
### Instruction: CREATE TABLE table_62780 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release date of the mm series, which has the title tom thumb in trouble? ### Response:
SELECT "Release date" FROM table_62780 WHERE "Series" = 'mm' AND "Title" = 'tom thumb in trouble'
### Instruction: CREATE TABLE table_63074 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is the name matt targett and the lane higher than 7? ### Response:
SELECT COUNT("Time") FROM table_63074 WHERE "Name" = 'matt targett' AND "Lane" > '7'
### Instruction: CREATE TABLE table_52101 ( "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Diff" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which loss had a player lower than 18? ### Response:
SELECT MIN("Lost") FROM table_52101 WHERE "Played" < '18'
### Instruction: CREATE TABLE table_14598 ( "Perfect stem" text, "Future stem" text, "Imperfect stem" text, "Short stem" text, "Meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the imperfect stem of the word that means 'take away, remove'? ### Response:
SELECT "Imperfect stem" FROM table_14598 WHERE "Meaning" = 'take away, remove'
### Instruction: CREATE TABLE table_72442 ( "Name" text, "Pennant number" text, "Builder" text, "Laid Down" text, "Launched" text, "Commissioned" text, "Current status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which launch date involved the Driade? ### Response:
SELECT "Launched" FROM table_72442 WHERE "Name" = 'Driade'
### Instruction: CREATE TABLE table_42232 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much gold received by nation of uzbekistan (uzb)? ### Response:
SELECT MAX("Gold") FROM table_42232 WHERE "Nation" = 'uzbekistan (uzb)'
### Instruction: CREATE TABLE table_203_165 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of nations that participated in the beach games of 2012 ? ### Response:
SELECT COUNT("nation") FROM table_203_165
### Instruction: CREATE TABLE table_61842 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record for Dec 16? ### Response:
SELECT "Record" FROM table_61842 WHERE "Date" = 'dec 16'
### Instruction: CREATE TABLE table_204_278 ( id number, "name of president" text, "picture" text, "life span" text, "year of presidency" text, "place of conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which location had the most conferences listed ? ### Response:
SELECT "place of conference" FROM table_204_278 GROUP BY "place of conference" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_1283 ( "Year / Theme" text, "Award name" text, "Team name" text, "Team number" real, "City, State/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams are in Bridgewater, NJ, USA? ### Response:
SELECT COUNT("Team name") FROM table_1283 WHERE "City, State/Country" = 'Bridgewater, NJ, USA'
### Instruction: CREATE TABLE table_name_33 ( laps INTEGER, bike VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of laps of the honda cbr1000rr bike, which has a time of +16.569? ### Response:
SELECT SUM(laps) FROM table_name_33 WHERE bike = "honda cbr1000rr" AND time = "+16.569"
### Instruction: CREATE TABLE table_53829 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the tournament that has a third place of magnus gustafsson ### Response:
SELECT "Tournament" FROM table_53829 WHERE "Third Place" = 'magnus gustafsson'
### Instruction: CREATE TABLE table_55591 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Team 1 is Aalborg BK, what is the 1st Leg? ### Response:
SELECT "1st leg" FROM table_55591 WHERE "Team 1" = 'aalborg bk'
### Instruction: CREATE TABLE table_17869 ( "#" real, "Episode" text, "Writer" text, "Director" text, "Viewers(millions)" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of viewers did watch Episode 5? ### Response:
SELECT "Viewers(millions)" FROM table_17869 WHERE "Episode" = 'Episode 5'
### Instruction: CREATE TABLE table_22654073_7 ( high_points VARCHAR, high_rebounds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the high points for mo williams , lebron james , j.j. hickson (6) ### Response:
SELECT COUNT(high_points) FROM table_22654073_7 WHERE high_rebounds = "Mo Williams , LeBron James , J.J. Hickson (6)"
### Instruction: CREATE TABLE table_204_880 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many marathons were held in beijing ? ### Response:
SELECT COUNT("competition") FROM table_204_880 WHERE "venue" = 'beijing'
### Instruction: CREATE TABLE table_772 ( "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. -- How many incumbents were elected in the 1926 election? ### Response:
SELECT COUNT("Incumbent") FROM table_772 WHERE "First elected" = '1926'
### Instruction: CREATE TABLE Products ( Product_Name VARCHAR, Product_ID VARCHAR ) CREATE TABLE Products_in_Events ( Product_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the names of products and the number of events they are in. ### Response:
SELECT T1.Product_Name, COUNT(*) FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name
### Instruction: CREATE TABLE table_18426 ( "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 is the political affiliation of the texas 12 district ### Response:
SELECT "Party" FROM table_18426 WHERE "District" = 'Texas 12'
### Instruction: CREATE TABLE table_80259 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team did they lose to when they had a 28-22 record? ### Response:
SELECT "Loss" FROM table_80259 WHERE "Record" = '28-22'
### Instruction: CREATE TABLE table_62853 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" real, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Moving from has a Nat of ned? ### Response:
SELECT "Moving from" FROM table_62853 WHERE "Nat." = 'ned'
### Instruction: CREATE TABLE table_77790 ( "Year" real, "Division" real, "League" text, "Reg. Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years was there a team that was part of the usisl pro league? ### Response:
SELECT COUNT("Year") FROM table_77790 WHERE "League" = 'usisl pro league'
### Instruction: CREATE TABLE table_43476 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game Site" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record for the Chargers on Week 10? ### Response:
SELECT "Record" FROM table_43476 WHERE "Week" = '10'
### Instruction: CREATE TABLE table_17684 ( "Track Name" text, "Location" text, "Length" text, "Seating" real, "Year Opened" real, "Year Acquired [A ]" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the length of the track named michigan international speedway? ### Response:
SELECT "Length" FROM table_17684 WHERE "Track Name" = 'Michigan International Speedway'
### Instruction: CREATE TABLE table_50818 ( "Number" real, "Player" text, "Position" text, "Height" text, "Weight" real, "Years Exp" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Years Exp, when Height is '7-2'? ### Response:
SELECT "Years Exp" FROM table_50818 WHERE "Height" = '7-2'
### Instruction: CREATE TABLE table_3709 ( "Total #" real, "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode was written by Matt Maclennan? ### Response:
SELECT MAX("Episode #") FROM table_3709 WHERE "Written by" = 'Matt MacLennan'
### Instruction: CREATE TABLE table_5562 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance that has 83-52 as the record? ### Response:
SELECT AVG("Attendance") FROM table_5562 WHERE "Record" = '83-52'