instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_27374004_3 ( outgoing_manager VARCHAR, replaced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many outgoing managers were replaced by Bob Peeters? ### Response:
SELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = "Bob Peeters"
### Instruction: CREATE TABLE table_27961684_1 ( state VARCHAR, enrollment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many states were there when there was an enrollment of 2789? ### Response:
SELECT COUNT(state) FROM table_27961684_1 WHERE enrollment = 2789
### Instruction: CREATE TABLE table_19886463_1 ( round_winner VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the round winner when entrant is craven mild racing? ### Response:
SELECT round_winner FROM table_19886463_1 WHERE entrant = "Craven Mild Racing"
### Instruction: CREATE TABLE table_17058116_7 ( location_attendance VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game with record 20 23 and how many people attended it ### Response:
SELECT location_attendance FROM table_17058116_7 WHERE record = "20–23"
### Instruction: CREATE TABLE table_11658094_3 ( nickname VARCHAR, enrollment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nickname of the school with an enrollment of 2386? ### Response:
SELECT nickname FROM table_11658094_3 WHERE enrollment = 2386
### Instruction: CREATE TABLE table_name_17 ( played INTEGER, drawn VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average played that has a drawn greater than 1, with an against greater than 16? ### Response:
SELECT AVG(played) FROM table_name_17 WHERE drawn > 1 AND against > 16
### Instruction: CREATE TABLE table_name_85 ( rank VARCHAR, goals VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Rank of the player with 158 Goals in more than 362 Matches? ### Response:
SELECT COUNT(rank) FROM table_name_85 WHERE goals = 158 AND matches > 362
### Instruction: CREATE TABLE table_9484 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place was the player from Italy in ? ### Response:
SELECT "Place" FROM table_9484 WHERE "Country" = 'italy'
### Instruction: CREATE TABLE table_name_87 ( record VARCHAR, game VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record after game 51 on 1/27/1974? ### Response:
SELECT record FROM table_name_87 WHERE game > 51 AND date = "1/27/1974"
### Instruction: CREATE TABLE table_name_52 ( try_bonus VARCHAR, lost VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Try Bonus, when Lost is '5', and when Points is '73'? ### Response:
SELECT try_bonus FROM table_name_52 WHERE lost = "5" AND points = "73"
### Instruction: CREATE TABLE table_27756474_2 ( high_assists VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many high assists where there for the team of caja laboral? ### Response:
SELECT COUNT(high_assists) FROM table_27756474_2 WHERE team = "Caja Laboral"
### Instruction: CREATE TABLE table_name_93 ( round INTEGER, college VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Round was the draft pick from Florida with an Overall less than 166? ### Response:
SELECT AVG(round) FROM table_name_93 WHERE college = "florida" AND overall < 166
### Instruction: CREATE TABLE table_name_83 ( ratings VARCHAR, host VARCHAR, viewers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the ratings for host Chris Economaki who had 12.3 million viewers? ### Response:
SELECT ratings FROM table_name_83 WHERE host = "chris economaki" AND viewers = "12.3 million"
### Instruction: CREATE TABLE table_name_91 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 2008, when 2009 is 'A', and when Tournament is 'Madrid Masters'? ### Response:
SELECT 2008 FROM table_name_91 WHERE 2009 = "a" AND tournament = "madrid masters"
### Instruction: CREATE TABLE table_26144632_1 ( prize_fund___¥__ VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the prize for the tournament at Ibaraki? ### Response:
SELECT prize_fund___¥__ FROM table_26144632_1 WHERE location = "Ibaraki"
### Instruction: CREATE TABLE table_name_90 ( award VARCHAR, year VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was awarded after 1947 in the category of, the best actor in a leading role? ### Response:
SELECT award FROM table_name_90 WHERE year > 1947 AND category = "best actor in a leading role"
### Instruction: CREATE TABLE table_name_58 ( against INTEGER, position VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the corinthians have a position of less than 5, what is the average against? ### Response:
SELECT AVG(against) FROM table_name_58 WHERE position < 5 AND team = "corinthians"
### Instruction: CREATE TABLE table_20819379_2 ( tie_no VARCHAR, team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of tie number for team 2 osijek ### Response:
SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek"
### Instruction: CREATE TABLE table_1620397_2 ( series_sorted VARCHAR, released VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of series sorted for when released is april 2010 ### Response:
SELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = "April 2010"
### Instruction: CREATE TABLE table_name_82 ( date VARCHAR, week VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game after week 5 with 62,262 fans attending? ### Response:
SELECT date FROM table_name_82 WHERE week > 5 AND attendance = "62,262"
### Instruction: CREATE TABLE table_name_53 ( school VARCHAR, previous_conference VARCHAR, enrollment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has an enrollment of A and had lost river as their previous conference? ### Response:
SELECT school FROM table_name_53 WHERE previous_conference = "lost river" AND enrollment = "a"
### Instruction: CREATE TABLE table_27716091_1 ( directed_by VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who put on the show where the numbers were 227412 ### Response:
SELECT directed_by FROM table_27716091_1 WHERE production_code = 227412
### Instruction: CREATE TABLE table_name_74 ( year INTEGER, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have an Opponent in the final of welby van horn? ### Response:
SELECT SUM(year) FROM table_name_74 WHERE opponent_in_the_final = "welby van horn"
### Instruction: CREATE TABLE table_name_48 ( margin_of_victory VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory when the runner-up was Janet Coles? ### Response:
SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "janet coles"
### Instruction: CREATE TABLE table_name_44 ( rank VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank is Bulgaria with less than 3 silver and more than 1 bronze? ### Response:
SELECT rank FROM table_name_44 WHERE silver < 3 AND bronze > 1 AND nation = "bulgaria"
### Instruction: CREATE TABLE table_20174050_1 ( release_date VARCHAR, story__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different release dates are there for the audio book with a story number 7? ### Response:
SELECT COUNT(release_date) FROM table_20174050_1 WHERE story__number = 7
### Instruction: CREATE TABLE table_name_35 ( frequency_mhz INTEGER, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Frequency MHz has a Call sign of k210dv? ### Response:
SELECT MAX(frequency_mhz) FROM table_name_35 WHERE call_sign = "k210dv"
### Instruction: CREATE TABLE table_name_2 ( film_title_used_in_nomination VARCHAR, original_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Dependencia Sexual's film title that was used in its nomination? ### Response:
SELECT film_title_used_in_nomination FROM table_name_2 WHERE original_title = "dependencia sexual"
### Instruction: CREATE TABLE table_30121046_1 ( poor_law_union VARCHAR, townland VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the poor law union of the Ardacrow townland? ### Response:
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Ardacrow"
### Instruction: CREATE TABLE table_name_17 ( wins INTEGER, losses VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the greatest number of wins for a team that had 7 losses and more than 0 draws? ### Response:
SELECT MAX(wins) FROM table_name_17 WHERE losses = 7 AND draws > 0
### Instruction: CREATE TABLE table_name_80 ( week_6 VARCHAR, week_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of Week 6 has a Week 2 of see notes 2 , 3 , 4? ### Response:
SELECT week_6 FROM table_name_80 WHERE week_2 = "see notes 2 , 3 , 4"
### Instruction: CREATE TABLE table_name_79 ( country VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has a score of 71-66-72-72=281? ### Response:
SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281
### Instruction: CREATE TABLE table_name_38 ( term_start VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Term Start, when Name is Prime Ministers 1939 - 1943? ### Response:
SELECT term_start FROM table_name_38 WHERE name = "prime ministers 1939 - 1943"
### Instruction: CREATE TABLE table_name_32 ( assists INTEGER, club VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the amount of assists for richmond kickers and points larger than 24 ### Response:
SELECT SUM(assists) FROM table_name_32 WHERE club = "richmond kickers" AND points > 24
### Instruction: CREATE TABLE table_name_3 ( nord VARCHAR, berlin VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Nord in 1952, when tennis borussia berlin was Berlin? ### Response:
SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952
### Instruction: CREATE TABLE table_17429402_7 ( years_of_participation VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the years of participation for pickerington north? ### Response:
SELECT years_of_participation FROM table_17429402_7 WHERE school = "Pickerington North"
### Instruction: CREATE TABLE table_11963601_11 ( location_attendance VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game on May 15 and how many were in attendance? ### Response:
SELECT location_attendance FROM table_11963601_11 WHERE date = "May 15"
### Instruction: CREATE TABLE table_1132588_3 ( fastest_lap VARCHAR, grand_prix VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the fastest lap for the european grand prix? ### Response:
SELECT fastest_lap FROM table_1132588_3 WHERE grand_prix = "European grand_prix"
### Instruction: CREATE TABLE table_name_13 ( attendance INTEGER, score VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Attendance has a Score of 4 3, and Points smaller than 5? ### Response:
SELECT MAX(attendance) FROM table_name_13 WHERE score = "4–3" AND points < 5
### Instruction: CREATE TABLE instructor ( name VARCHAR, dept_name VARCHAR, salary VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of all instructors in Comp. Sci. department with salary > 80000. ### Response:
SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000
### Instruction: CREATE TABLE table_28628309_8 ( games_played VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the listed in games played when the player is jimmy alapag? ### Response:
SELECT games_played FROM table_28628309_8 WHERE player = "Jimmy Alapag"
### Instruction: CREATE TABLE table_name_73 ( score VARCHAR, october VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has an October smaller than 15, and a Record of 2 0 0? ### Response:
SELECT score FROM table_name_73 WHERE october < 15 AND record = "2–0–0"
### Instruction: CREATE TABLE table_27657925_1 ( original_air_date VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When steve holland is the writer what is the air date? ### Response:
SELECT original_air_date FROM table_27657925_1 WHERE written_by = "Steve Holland"
### Instruction: CREATE TABLE table_name_56 ( road_team VARCHAR, home_team VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the road team of game 6 with Philadelphia as the home team? ### Response:
SELECT road_team FROM table_name_56 WHERE home_team = "philadelphia" AND game = "game 6"
### Instruction: CREATE TABLE table_1557974_1 ( ring_name VARCHAR, current_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which ring names are currently ranked f0 j ry 3 west? ### Response:
SELECT ring_name FROM table_1557974_1 WHERE current_rank = "f0 Jūryō 3 West"
### Instruction: CREATE TABLE table_1342149_11 ( result VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election when Tic Forrester ran as an incumbent? ### Response:
SELECT result FROM table_1342149_11 WHERE incumbent = "Tic Forrester"
### Instruction: CREATE TABLE table_name_51 ( points INTEGER, entrant VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was arrows racing team's highest points after 1982? ### Response:
SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982
### Instruction: CREATE TABLE table_29572583_20 ( new_points INTEGER, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many new points does the player roberta vinci have? ### Response:
SELECT MAX(new_points) FROM table_29572583_20 WHERE player = "Roberta Vinci"
### Instruction: CREATE TABLE table_name_44 ( winners INTEGER, rank VARCHAR, third VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1? ### Response:
SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1
### Instruction: CREATE TABLE table_2367847_2 ( high_schools INTEGER, district_wide VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most high schools for 31851 ### Response:
SELECT MAX(high_schools) FROM table_2367847_2 WHERE district_wide = 31851
### Instruction: CREATE TABLE table_1912713_2 ( 方位_direction VARCHAR, 性情_personality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of gentle personalities? ### Response:
SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle"
### Instruction: CREATE TABLE table_name_5 ( region VARCHAR, label VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which regio has a label of zzt and a date of 27 september 2004? ### Response:
SELECT region FROM table_name_5 WHERE label = "zzt" AND date = "27 september 2004"
### Instruction: CREATE TABLE table_name_44 ( year INTEGER, entrant VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year featured lola motorsport as an entrant with over 0 points? ### Response:
SELECT AVG(year) FROM table_name_44 WHERE entrant = "lola motorsport" AND points > 0
### Instruction: CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show each student's first name and last name. ### Response:
SELECT DISTINCT firstname, lastname FROM list
### Instruction: CREATE TABLE table_name_83 ( title VARCHAR, format VARCHAR, story__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Available in 2-CD format, what is the title of story number 026? ### Response:
SELECT title FROM table_name_83 WHERE format = "2-cd" AND story__number = "026"
### Instruction: CREATE TABLE table_name_20 ( team_1 VARCHAR, team_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team was team 1 in the match where team 2 was olympique lyonnais (d2)? ### Response:
SELECT team_1 FROM table_name_20 WHERE team_2 = "olympique lyonnais (d2)"
### Instruction: CREATE TABLE table_name_58 ( grid VARCHAR, laps VARCHAR, driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When laps are less than 80 and Bruce mclaren is the driver, what is the grid? ### Response:
SELECT grid FROM table_name_58 WHERE laps < 80 AND driver = "bruce mclaren"
### Instruction: CREATE TABLE table_name_99 ( score VARCHAR, home VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the Toronto Maple Leafs home game on February 1? ### Response:
SELECT score FROM table_name_99 WHERE home = "toronto maple leafs" AND date = "february 1"
### Instruction: CREATE TABLE table_name_34 ( name VARCHAR, born_died VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Name of the Prime Minister with a Born-Died of 1873 1933? ### Response:
SELECT name FROM table_name_34 WHERE born_died = "1873–1933"
### Instruction: CREATE TABLE table_15635768_1 ( place_of_issue VARCHAR, ecosystem VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location has the ecosystem of kelp forest? ### Response:
SELECT place_of_issue FROM table_15635768_1 WHERE ecosystem = "Kelp Forest"
### Instruction: CREATE TABLE table_name_53 ( award_show VARCHAR, category VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what award show was Bad Girls nominated for Best Loved Drama in 2002? ### Response:
SELECT award_show FROM table_name_53 WHERE category = "best loved drama" AND year = 2002
### Instruction: CREATE TABLE table_name_53 ( tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2007 has a 2008 of 1r, and a Tournament of wimbledon? ### Response:
SELECT 2007 FROM table_name_53 WHERE 2008 = "1r" AND tournament = "wimbledon"
### Instruction: CREATE TABLE table_name_31 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game that was played on 29,30 31 May 1902? ### Response:
SELECT result FROM table_name_31 WHERE date = "29,30–31 may 1902"
### Instruction: CREATE TABLE table_name_3 ( finish VARCHAR, country VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Finish, when Country is 'United States', and when To Par is '+21'? ### Response:
SELECT finish FROM table_name_3 WHERE country = "united states" AND to_par = "+21"
### Instruction: CREATE TABLE table_18220102_1 ( opening_film VARCHAR, date__opening_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opening film has the opening date of august 23? ### Response:
SELECT opening_film FROM table_18220102_1 WHERE date__opening_ = "August 23"
### Instruction: CREATE TABLE table_1108394_6 ( brooklyn VARCHAR, manhattan VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total in Brooklyn when Manhattan was 3,139? ### Response:
SELECT brooklyn FROM table_1108394_6 WHERE manhattan = "3,139"
### Instruction: CREATE TABLE table_23793770_1 ( production_code INTEGER, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the production code for the episode directed by Michael Morris? ### Response:
SELECT MIN(production_code) FROM table_23793770_1 WHERE directed_by = "Michael Morris"
### Instruction: CREATE TABLE table_name_95 ( lane VARCHAR, nationality VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What lane is from Great Britain and a 57.78 time? ### Response:
SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND time > 57.78
### Instruction: CREATE TABLE Ref_document_types ( document_type_code VARCHAR, document_type_name VARCHAR, document_type_description VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show all document type codes, document type names, document type descriptions. ### Response:
SELECT document_type_code, document_type_name, document_type_description FROM Ref_document_types
### Instruction: CREATE TABLE table_10601843_2 ( opening INTEGER, tenant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the stadium where Bursaspor is the tenant open? ### Response:
SELECT MIN(opening) FROM table_10601843_2 WHERE tenant = "Bursaspor"
### Instruction: CREATE TABLE table_name_34 ( margin_of_victory VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Margin of victory when rhys davies was runner-up? ### Response:
SELECT margin_of_victory FROM table_name_34 WHERE runner_s__up = "rhys davies"
### Instruction: CREATE TABLE table_name_58 ( stations VARCHAR, platforms VARCHAR, managed_by VARCHAR, zone VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the stations for zone 5 and 1 platform by tramlink ### Response:
SELECT stations FROM table_name_58 WHERE managed_by = "tramlink" AND zone = 5 AND platforms = 1
### Instruction: CREATE TABLE table_name_95 ( date VARCHAR, opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of @mil, and a Record of 45-16 happened on what date? ### Response:
SELECT date FROM table_name_95 WHERE opponent = "@mil" AND record = "45-16"
### Instruction: CREATE TABLE table_204_415 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of seasons listed on the chat ? ### Response:
SELECT COUNT("season") FROM table_204_415
### Instruction: CREATE TABLE table_name_1 ( listed VARCHAR, built VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the listed date of the Warren pony truss bridge that was built in 1925? ### Response:
SELECT listed FROM table_name_1 WHERE built = "1925" AND type = "warren pony truss"
### Instruction: CREATE TABLE table_1341640_39 ( party VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many parties does the incumbent Donald A. Bailey a member of? ### Response:
SELECT COUNT(party) FROM table_1341640_39 WHERE incumbent = "Donald A. Bailey"
### Instruction: CREATE TABLE table_name_22 ( supercharger_gear_ratio VARCHAR, octane_rating VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which supercharger gear ratio has a Octane rating of 68? ### Response:
SELECT supercharger_gear_ratio FROM table_name_22 WHERE octane_rating = "68"
### Instruction: CREATE TABLE table_name_9 ( bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the bore and stroke for Engine of 351-2v cleveland v8 ### Response:
SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8"
### Instruction: CREATE TABLE table_name_35 ( against INTEGER, drawn VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest against score that drew more than 5, and had more than 18 points? ### Response:
SELECT MAX(against) FROM table_name_35 WHERE drawn > 5 AND points > 18
### Instruction: CREATE TABLE table_name_75 ( score VARCHAR, opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game against the Royals when the record was 24 52? ### Response:
SELECT score FROM table_name_75 WHERE opponent = "royals" AND record = "24–52"
### Instruction: CREATE TABLE table_name_12 ( result VARCHAR, venue VARCHAR, goal VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game in Stuttgart, West Germany and a goal number of less than 9? ### Response:
SELECT result FROM table_name_12 WHERE venue = "stuttgart, west germany" AND goal < 9
### Instruction: CREATE TABLE table_name_70 ( score VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score of the Tournament with Opponent in the final of Martin Spottl? ### Response:
SELECT score FROM table_name_70 WHERE opponent_in_the_final = "martin spottl"
### Instruction: CREATE TABLE table_name_27 ( gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much gold when silver, bronze and total is smaller than 1? ### Response:
SELECT MAX(gold) FROM table_name_27 WHERE silver < 1 AND bronze = 1 AND total < 1
### Instruction: CREATE TABLE table_22597626_6 ( championship VARCHAR, opponent_in_the_final VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the championship for peter mcnamara ### Response:
SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara"
### Instruction: CREATE TABLE table_20466963_4 ( guest_3 VARCHAR, guest_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the guest 3 in the show where guest 4 is Jill Douglas? ### Response:
SELECT guest_3 FROM table_20466963_4 WHERE guest_4 = "Jill Douglas"
### Instruction: CREATE TABLE table_name_11 ( paper_type VARCHAR, first_day_cover_cancellation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Paper Type with a First Day Cover Cancellation with ottawa, on? ### Response:
SELECT paper_type FROM table_name_11 WHERE first_day_cover_cancellation = "ottawa, on"
### Instruction: CREATE TABLE table_275162_1 ( margin_of_victory VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the margin of victory for the event in lake forest, illinois? ### Response:
SELECT margin_of_victory FROM table_275162_1 WHERE location = "Lake Forest, Illinois"
### Instruction: CREATE TABLE table_15187735_16 ( segment_a VARCHAR, netflix VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Whats the name of segment in s08e21 ### Response:
SELECT segment_a FROM table_15187735_16 WHERE netflix = "S08E21"
### Instruction: CREATE TABLE table_name_35 ( ryds VARCHAR, ratt VARCHAR, comp VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the RYds when the RAtt was 2, and the comp is 41? ### Response:
SELECT ryds FROM table_name_35 WHERE ratt = "2" AND comp = "41"
### Instruction: CREATE TABLE table_name_4 ( draw INTEGER, points VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number for draw when the points are less than 17, and the lost is 13? ### Response:
SELECT MIN(draw) FROM table_name_4 WHERE points < 17 AND lost = 13
### Instruction: CREATE TABLE table_9406 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Catalog has a Country of Japan? ### Response:
SELECT "Catalog" FROM table_9406 WHERE "Country" = 'japan'
### Instruction: CREATE TABLE table_1342256_32 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many sitting Representatives are there in the New York 10 polling area? ### Response:
SELECT COUNT(incumbent) FROM table_1342256_32 WHERE district = "New York 10"
### Instruction: CREATE TABLE table_name_60 ( opponents VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponents has a Score of 6 3, 6 4, 6 1? ### Response:
SELECT opponents FROM table_name_60 WHERE score = "6–3, 6–4, 6–1"
### Instruction: CREATE TABLE table_name_37 ( opponent_team VARCHAR, scorers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opposing team when the scorer was ronaldinho 90+3'? ### Response:
SELECT opponent_team FROM table_name_37 WHERE scorers = "ronaldinho 90+3'"
### Instruction: CREATE TABLE table_18894744_6 ( opponent VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many opponents was a game with a record 17-6 played against? ### Response:
SELECT COUNT(opponent) FROM table_18894744_6 WHERE record = "17-6"
### Instruction: CREATE TABLE table_20236726_2 ( serial_no VARCHAR, wd_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of serial number for 24 wd no ### Response:
SELECT COUNT(serial_no) FROM table_20236726_2 WHERE wd_no = 24
### Instruction: CREATE TABLE table_1307842_7 ( area__km²_ VARCHAR, population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of area for 775927 population ### Response:
SELECT COUNT(area__km²_) FROM table_1307842_7 WHERE population = 775927
### Instruction: CREATE TABLE table_17918238_1 ( maximum_diameter VARCHAR, owner_operator VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Esperance pipeline co total diameter? ### Response:
SELECT maximum_diameter FROM table_17918238_1 WHERE owner_operator = "Esperance Pipeline Co"
### Instruction: CREATE TABLE table_30008638_1 ( miss_water INTEGER, country_territory VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Miss Waters has Canada had? ### Response:
SELECT MAX(miss_water) FROM table_30008638_1 WHERE country_territory = "Canada"
### Instruction: CREATE TABLE table_name_45 ( entered_office VARCHAR, throne_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Entered Office of the man with the throne name Mohammad Ali Shah Qajar? ### Response:
SELECT entered_office FROM table_name_45 WHERE throne_name = "mohammad ali shah qajar"