instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_203_382 ( id number, "date" text, "opponent" text, "site" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total number of games played in october ? ### Response:
SELECT COUNT(*) FROM table_203_382 WHERE "date" = 10
### Instruction: CREATE TABLE table_6393 ( "Year" real, "Film" text, "Role" text, "Language" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What language is the film with a character named Annabelle? ### Response:
SELECT "Language" FROM table_6393 WHERE "Role" = 'annabelle'
### Instruction: CREATE TABLE table_name_62 ( opened INTEGER, city VARCHAR, stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average opened year of Mini Estadi stadium in Barcelona, Spain? ### Response:
SELECT AVG(opened) FROM table_name_62 WHERE city = "barcelona, spain" AND stadium = "mini estadi"
### Instruction: CREATE TABLE table_13331 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has david toms as the player? ### Response:
SELECT "Country" FROM table_13331 WHERE "Player" = 'david toms'
### Instruction: CREATE TABLE table_25085059_3 ( pick__number VARCHAR, cfl_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many draft picks were for Winnipeg blue bombers? ### Response:
SELECT COUNT(pick__number) FROM table_25085059_3 WHERE cfl_team = "Winnipeg Blue Bombers"
### Instruction: CREATE TABLE table_name_13 ( lead_pitch_mm INTEGER, part_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead Pitch/mm has a Part Number of tsop24/28? ### Response:
SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28"
### Instruction: CREATE TABLE table_23920 ( "Number" text, "Previous BR No." real, "Taken into deptal stock" real, "Withdrawn" real, "Disposal" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most previous br number ### Response:
SELECT MAX("Previous BR No.") FROM table_23920
### Instruction: CREATE TABLE table_name_32 ( guns INTEGER, class VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the fewest amount of guns possessed by a frigate that served in 1815? ### Response:
SELECT MIN(guns) FROM table_name_32 WHERE class = "frigate" AND year = "1815"
### Instruction: CREATE TABLE table_name_81 ( country VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country was the player from who placed t3 with a score of 70-68=138? ### Response:
SELECT country FROM table_name_81 WHERE place = "t3" AND score = 70 - 68 = 138
### Instruction: CREATE TABLE table_name_27 ( current_streak VARCHAR, last_5_meetings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the current streak when the last 5 meetings is osu, 4-1? ### Response:
SELECT current_streak FROM table_name_27 WHERE last_5_meetings = "osu, 4-1"
### Instruction: CREATE TABLE table_name_41 ( episode_number INTEGER, air_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What kind of Episode Number has a Air Date on 29 june 2007? ### Response:
SELECT AVG(episode_number) FROM table_name_41 WHERE air_date = "29 june 2007"
### Instruction: CREATE TABLE table_name_5 ( to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the to par for the score of 68-74-71-77=290? ### Response:
SELECT to_par FROM table_name_5 WHERE score = 68 - 74 - 71 - 77 = 290
### Instruction: CREATE TABLE table_40645 ( "Competition" text, "Place" text, "Year" real, "Horse" text, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank for Burghley? ### Response:
SELECT "Rank" FROM table_40645 WHERE "Place" = 'burghley'
### Instruction: CREATE TABLE table_name_53 ( gold INTEGER, total VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the gold medal count for the country with a total greater than 32 and more than 128 silvers? ### Response:
SELECT AVG(gold) FROM table_name_53 WHERE total > 32 AND silver > 128
### Instruction: CREATE TABLE table_name_96 ( cuts_made INTEGER, wins VARCHAR, top_5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many vuts made for a player with 2 wins and under 7 top 5s? ### Response:
SELECT AVG(cuts_made) FROM table_name_96 WHERE wins = 2 AND top_5 < 7
### Instruction: CREATE TABLE table_name_24 ( react VARCHAR, athlete VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many reactions have an Athlete of alleyne francique, and a Lane larger than 9? ### Response:
SELECT COUNT(react) FROM table_name_24 WHERE athlete = "alleyne francique" AND lane > 9
### Instruction: CREATE TABLE table_name_20 ( circuit VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Circuit has a Winning constructor of bugatti, and a Winning driver of edward bret? ### Response:
SELECT circuit FROM table_name_20 WHERE winning_constructor = "bugatti" AND winning_driver = "edward bret"
### Instruction: CREATE TABLE table_name_45 ( apparent_magnitude INTEGER, ngc_number INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of Apparent magnitudes for an NGC number larger than 3293? ### Response:
SELECT SUM(apparent_magnitude) FROM table_name_45 WHERE ngc_number > 3293
### Instruction: CREATE TABLE table_1509 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many positions drafted players from Washington? ### Response:
SELECT COUNT("Position") FROM table_1509 WHERE "College" = 'Washington'
### Instruction: CREATE TABLE table_67015 ( "Round" real, "Pick" real, "Name" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which college had rounds smaller than 2? ### Response:
SELECT "College" FROM table_67015 WHERE "Round" < '2'
### Instruction: CREATE TABLE table_name_79 ( rank VARCHAR, losing_semi__finalist VARCHAR, winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5? ### Response:
SELECT rank FROM table_name_79 WHERE losing_semi__finalist > 1 AND winner < 5
### Instruction: CREATE TABLE table_2679061_7 ( college_junior_club_team VARCHAR, pick__number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many teams got pick number 130? ### Response:
SELECT COUNT(college_junior_club_team) FROM table_2679061_7 WHERE pick__number = 130
### Instruction: CREATE TABLE table_name_13 ( date_of_birth VARCHAR, position_s_ VARCHAR, seasons VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of birth of the goalkeeper from the 1st season? ### Response:
SELECT date_of_birth FROM table_name_13 WHERE position_s_ = "goalkeeper" AND seasons = "1st"
### Instruction: CREATE TABLE table_203_183 ( id number, "season" text, "tier" number, "division" number, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many seasons finishing better than 7th place ? ### Response:
SELECT COUNT("season") FROM table_203_183 WHERE "place" < 7
### Instruction: CREATE TABLE table_name_79 ( college_or_campus_name VARCHAR, weblink VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which College or campus has a website of http://www.aucev.edu.in/? ### Response:
SELECT college_or_campus_name FROM table_name_79 WHERE weblink = "http://www.aucev.edu.in/"
### Instruction: CREATE TABLE table_name_43 ( enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total enrollment for an affiliation of public, and was founded before 1866? ### Response:
SELECT COUNT(enrollment) FROM table_name_43 WHERE affiliation = "public" AND founded < 1866
### Instruction: CREATE TABLE table_name_92 ( south VARCHAR, east VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is south in the 2001-02 season, which had germering wanderers east? ### Response:
SELECT south FROM table_name_92 WHERE east = "germering wanderers" AND season = "2001-02"
### Instruction: CREATE TABLE table_name_4 ( best VARCHAR, team VARCHAR, qual_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who from Conquest Racing had the best time of 1:34.748 in Qual 1? ### Response:
SELECT best FROM table_name_4 WHERE team = "conquest racing" AND qual_1 = "1:34.748"
### Instruction: CREATE TABLE table_1410384_1 ( voice_actor__japanese_ VARCHAR, character_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the the voice actor (japanese) with character name being goku ### Response:
SELECT voice_actor__japanese_ FROM table_1410384_1 WHERE character_name = "Goku"
### Instruction: CREATE TABLE table_41417 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was Paolo Quinteros on? ### Response:
SELECT "Team" FROM table_41417 WHERE "Name" = 'paolo quinteros'
### Instruction: CREATE TABLE table_14700 ( "Goal" real, "Date" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the friendly competition? ### Response:
SELECT "Result" FROM table_14700 WHERE "Competition" = 'friendly'
### Instruction: CREATE TABLE table_68668 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest year with points more than 0 ### Response:
SELECT MAX("Year") FROM table_68668 WHERE "Points" > '0'
### Instruction: CREATE TABLE table_name_70 ( laps INTEGER, driver VARCHAR, grid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Laps have a Driver of david coulthard, and a Grid smaller than 14? ### Response:
SELECT SUM(laps) FROM table_name_70 WHERE driver = "david coulthard" AND grid < 14
### Instruction: CREATE TABLE table_name_75 ( chassis VARCHAR, entrant VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the chassis when the entrant was Lavazza March, and the points were 0.5? ### Response:
SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.5
### Instruction: CREATE TABLE table_name_37 ( place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Place of the Player with a Score of 67-76-74-67=284? ### Response:
SELECT place FROM table_name_37 WHERE score = 67 - 76 - 74 - 67 = 284
### Instruction: CREATE TABLE table_21269441_4 ( tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the tourney when UCLA won the regular season? ### Response:
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "UCLA"
### Instruction: CREATE TABLE table_name_27 ( poles VARCHAR, position VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Poles, when Position is 6th, and when Points is less than 164? ### Response:
SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164
### Instruction: CREATE TABLE table_23508196_5 ( number_of_crews VARCHAR, type_of_unit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of crews for light bombardment group ### Response:
SELECT number_of_crews FROM table_23508196_5 WHERE type_of_unit = "Light bombardment group"
### Instruction: CREATE TABLE table_name_76 ( fastest_time__s_ INTEGER, location VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the top fastest time, larger than 2, in Enugu? ### Response:
SELECT MAX(fastest_time__s_) FROM table_name_76 WHERE location = "enugu" AND rank > 2
### Instruction: CREATE TABLE table_name_67 ( january VARCHAR, game VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much January has a Game smaller than 37, and an Opponent of detroit red wings? ### Response:
SELECT COUNT(january) FROM table_name_67 WHERE game < 37 AND opponent = "detroit red wings"
### Instruction: CREATE TABLE table_1875157_2 ( starts INTEGER, winnings VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many starts were there when the winnings are $690,321? ### Response:
SELECT MIN(starts) FROM table_1875157_2 WHERE winnings = "$690,321"
### Instruction: CREATE TABLE table_name_60 ( year VARCHAR, team VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years have toyota team tom's as the team, with Laps greater than 64? ### Response:
SELECT COUNT(year) FROM table_name_60 WHERE team = "toyota team tom's" AND laps > 64
### Instruction: CREATE TABLE table_name_9 ( driver___passenger VARCHAR, bike_no VARCHAR, equipment VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Driver and passenger have a bike number of less than 4 with zabel -vmc equipment? ### Response:
SELECT driver___passenger FROM table_name_9 WHERE bike_no < 4 AND equipment = "zabel -vmc"
### Instruction: CREATE TABLE table_name_89 ( tournament VARCHAR, winning_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Tournament has a Winning score of 16 (66-64-67=197)? ### Response:
SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197)
### Instruction: CREATE TABLE table_name_48 ( time_retired VARCHAR, points VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Time/Retired has a Points that's smaller than 11 and has a Laps of 74? ### Response:
SELECT time_retired FROM table_name_48 WHERE points < 11 AND laps = 74
### Instruction: CREATE TABLE table_24781886_2 ( production_code INTEGER, viewers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 6.66 is the amount of viewers what is the lowest production code? ### Response:
SELECT MIN(production_code) FROM table_24781886_2 WHERE viewers = "6.66"
### Instruction: CREATE TABLE table_name_58 ( events_won_by_kcl INTEGER, year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average value for events won by KCL in a year earlier than 2004? ### Response:
SELECT AVG(events_won_by_kcl) FROM table_name_58 WHERE year < 2004
### Instruction: CREATE TABLE table_1602858_1 ( winning_score VARCHAR, runner_s__up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the winning score for the tournament with runner-up Rory Sabbatini? ### Response:
SELECT winning_score FROM table_1602858_1 WHERE runner_s__up = "Rory Sabbatini"
### Instruction: CREATE TABLE table_204_729 ( id number, "year" text, "show" text, "role" text, "channel" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the last show listed ? ### Response:
SELECT "show" FROM table_204_729 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_name_46 ( area_km_2 INTEGER, official_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Notre-Dame-De-Lourdes has what average area km 2? ### Response:
SELECT AVG(area_km_2) FROM table_name_46 WHERE official_name = "notre-dame-de-lourdes"
### Instruction: CREATE TABLE table_name_25 ( fighting_spirit INTEGER, total VARCHAR, technique VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Fighting Spirit has a Total of 13, and a Technique smaller than 1? ### Response:
SELECT SUM(fighting_spirit) FROM table_name_25 WHERE total = 13 AND technique < 1
### Instruction: CREATE TABLE table_name_47 ( avg_speed VARCHAR, winning_driver VARCHAR, make VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average speed of Tony Stewart's winning Chevrolet Impala? ### Response:
SELECT avg_speed FROM table_name_47 WHERE winning_driver = "tony stewart" AND make = "chevrolet impala"
### Instruction: CREATE TABLE table_14747043_1 ( class_aA VARCHAR, school_year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many class AA in the year 2002-03 ### Response:
SELECT COUNT(class_aA) FROM table_14747043_1 WHERE school_year = "2002-03"
### Instruction: CREATE TABLE table_name_9 ( country VARCHAR, singles_champions VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what Country will Dennis Bl mke play the Germany F13 Futures Tournament? ### Response:
SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures"
### Instruction: CREATE TABLE table_name_7 ( nhl_rights VARCHAR, _if_any VARCHAR, birthplace VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player is the NHL right, who was born in Downers Grove, Illinois? ### Response:
SELECT nhl_rights, _if_any FROM table_name_7 WHERE birthplace = "downers grove, illinois"
### Instruction: CREATE TABLE table_28298471_14 ( team_classification VARCHAR, points_classification VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When michael van stayen is the points classification what is the team classification? ### Response:
SELECT team_classification FROM table_28298471_14 WHERE points_classification = "Michael Van Stayen"
### Instruction: CREATE TABLE table_name_57 ( number_of_electorates__2009_ VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of electorates (2009) for Katol? ### Response:
SELECT COUNT(number_of_electorates__2009_) FROM table_name_57 WHERE name = "katol"
### Instruction: CREATE TABLE table_27423508_1 ( english_title VARCHAR, spanish_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the English title of Ladrones Y Mentirosos? ### Response:
SELECT english_title FROM table_27423508_1 WHERE spanish_title = "Ladrones y mentirosos"
### Instruction: CREATE TABLE table_name_27 ( goals_for INTEGER, team VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Goals For has a Team of congleton town, and a Lost larger than 11? ### Response:
SELECT MAX(goals_for) FROM table_name_27 WHERE team = "congleton town" AND lost > 11
### Instruction: CREATE TABLE table_1341843_15 ( incumbent VARCHAR, first_elected VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the incumbent of the district with first election held in 1950? ### Response:
SELECT incumbent FROM table_1341843_15 WHERE first_elected = "1950"
### Instruction: CREATE TABLE table_name_41 ( appearances VARCHAR, name VARCHAR, goals VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many appearances did batram suri category:articles with hcards have scoring less than 2 goals? ### Response:
SELECT COUNT(appearances) FROM table_name_41 WHERE name = "batram suri category:articles with hcards" AND goals < 2
### Instruction: CREATE TABLE table_name_41 ( tournament VARCHAR, outcome VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Tournament has an Outcome of runner-up, and a Score of 4 6, 3 6? ### Response:
SELECT tournament FROM table_name_41 WHERE outcome = "runner-up" AND score = "4–6, 3–6"
### Instruction: CREATE TABLE table_200_10 ( id number, "year" number, "deaths" number, "# of accidents" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many plan accidents were there in 2008 ? ### Response:
SELECT "# of accidents" FROM table_200_10 WHERE "year" = 2008
### Instruction: CREATE TABLE table_name_89 ( one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What shows for miles [One Way] when the fans took 340? ### Response:
SELECT AVG(miles_) AS "one_way" FROM table_name_89 WHERE fans_took = "340"
### Instruction: CREATE TABLE table_name_48 ( home_ground VARCHAR, founded VARCHAR, coach VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the home ground for the club coached by nick pantsaras and founded before 1946? ### Response:
SELECT home_ground FROM table_name_48 WHERE founded < 1946 AND coach = "nick pantsaras"
### Instruction: CREATE TABLE table_name_96 ( game INTEGER, score VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game is the highest one that has a Score of 3 4 ot, and Points larger than 75? ### Response:
SELECT MAX(game) FROM table_name_96 WHERE score = "3–4 ot" AND points > 75
### Instruction: CREATE TABLE table_61621 ( "Date" text, "Teams" text, "Score" text, "Team" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day was the score 1-0? ### Response:
SELECT "Date" FROM table_61621 WHERE "Score" = '1-0'
### Instruction: CREATE TABLE table_4781 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the IATA code for Delhi? ### Response:
SELECT "IATA" FROM table_4781 WHERE "City" = 'delhi'
### Instruction: CREATE TABLE table_name_77 ( average INTEGER, rank VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the average Average that has the Rank larger than 4, and the Player of dean minors? ### Response:
SELECT AVG(average) FROM table_name_77 WHERE rank > 4 AND player = "dean minors"
### Instruction: CREATE TABLE table_51372 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on March 27? ### Response:
SELECT "Record" FROM table_51372 WHERE "Date" = 'march 27'
### Instruction: CREATE TABLE table_15001572_1 ( womens_doubles VARCHAR, mens_doubles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the competition when there was no competition for mens doubles? ### Response:
SELECT womens_doubles FROM table_15001572_1 WHERE mens_doubles = "No competition"
### Instruction: CREATE TABLE table_68736 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year had 13 points? ### Response:
SELECT "Year" FROM table_68736 WHERE "Pts." = '13'
### Instruction: CREATE TABLE table_14889988_1 ( original_air_date VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the episode with production code 176265 aired? ### Response:
SELECT original_air_date FROM table_14889988_1 WHERE production_code = 176265
### Instruction: CREATE TABLE table_27272 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the position for christopher smith ### Response:
SELECT "Position" FROM table_27272 WHERE "Player" = 'Christopher Smith'
### Instruction: CREATE TABLE table_name_37 ( affiliation VARCHAR, founded VARCHAR, high_school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the affiliation of a high school in Issaquah that was founded in less than 1965? ### Response:
SELECT affiliation FROM table_name_37 WHERE founded < 1965 AND high_school = "issaquah"
### Instruction: CREATE TABLE table_name_63 ( state VARCHAR, talent VARCHAR, hometown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY? ### Response:
SELECT state FROM table_name_63 WHERE talent = "classical piano" AND hometown = "lancaster, ny"
### Instruction: CREATE TABLE table_name_32 ( round INTEGER, player VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Round, when Player is Tim Hunter (RW), and when Pick is less than 54? ### Response:
SELECT SUM(round) FROM table_name_32 WHERE player = "tim hunter (rw)" AND pick < 54
### Instruction: CREATE TABLE table_name_15 ( draws INTEGER, wins VARCHAR, byes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the sum of Draws that had the Wins smaller than 3, and the Byes larger than 2? ### Response:
SELECT SUM(draws) FROM table_name_15 WHERE wins < 3 AND byes > 2
### Instruction: CREATE TABLE table_2668367_21 ( party VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the party for john randolph redistricted from the 15th district ### Response:
SELECT party FROM table_2668367_21 WHERE incumbent = "John Randolph Redistricted from the 15th district"
### Instruction: CREATE TABLE table_3223 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position was the number 6 draft pick? ### Response:
SELECT "Position" FROM table_3223 WHERE "Pick #" = '6'
### Instruction: CREATE TABLE table_name_44 ( encoding VARCHAR, tracks__side VARCHAR, sectors__track VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the encoding when the tracks/side is 80 and sectors/track is 11? ### Response:
SELECT encoding FROM table_name_44 WHERE tracks__side = "80" AND sectors__track = "11"
### Instruction: CREATE TABLE table_60484 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Place, when Player is 'John Cook'? ### Response:
SELECT "Place" FROM table_60484 WHERE "Player" = 'john cook'
### Instruction: CREATE TABLE table_26593762_3 ( outgoing_manager VARCHAR, incoming_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the outgoing manager of the team whose incoming manager was Dougie Freedman? ### Response:
SELECT outgoing_manager FROM table_26593762_3 WHERE incoming_manager = "Dougie Freedman"
### Instruction: CREATE TABLE table_name_33 ( completed VARCHAR, type VARCHAR, list_entry_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the completed date of the church with list entry number 1068071? ### Response:
SELECT completed FROM table_name_33 WHERE type = "church" AND list_entry_number = 1068071
### Instruction: CREATE TABLE table_name_89 ( Home INTEGER, institution VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins? ### Response:
SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6
### Instruction: CREATE TABLE table_52842 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who drove the car with a grid of 7? ### Response:
SELECT "Driver" FROM table_52842 WHERE "Grid" = '7'
### Instruction: CREATE TABLE table_name_64 ( bronze INTEGER, nation VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the bronze count for South Africa (RSA) with a total more than 16? ### Response:
SELECT MAX(bronze) FROM table_name_64 WHERE nation = "south africa (rsa)" AND total > 16
### Instruction: CREATE TABLE table_11900378_1 ( doubles_champions VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many doubles champions were there for the Serbia f6 Futures tournament? ### Response:
SELECT COUNT(doubles_champions) FROM table_11900378_1 WHERE tournament = "Serbia F6 Futures"
### Instruction: CREATE TABLE table_44958 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE TO PAR FOR NUMBER 1? ### Response:
SELECT "To par" FROM table_44958 WHERE "Place" = '1'
### Instruction: CREATE TABLE table_name_82 ( wins INTEGER, against VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the amount of wins when the draws are less than 0 and the against is 1348? ### Response:
SELECT MIN(wins) FROM table_name_82 WHERE against = 1348 AND draws < 0
### Instruction: CREATE TABLE table_54479 ( "Track" real, "Title" text, "Performer" text, "Length" text, "Original Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the track after 11? ### Response:
SELECT "Title" FROM table_54479 WHERE "Track" > '11'
### Instruction: CREATE TABLE table_name_72 ( long INTEGER, gain VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average long that has 1581 as a gain, with a loss less than 308? ### Response:
SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND loss < 308
### Instruction: CREATE TABLE table_27369069_4 ( soccer_stadium VARCHAR, varsity_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the soccer stadium with the varsity name is citadins? ### Response:
SELECT soccer_stadium FROM table_27369069_4 WHERE varsity_name = "Citadins"
### Instruction: CREATE TABLE table_name_8 ( losses INTEGER, efficiency__percentage VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of losses with draws less than 1 and 6.3% efficiency? ### Response:
SELECT AVG(losses) FROM table_name_8 WHERE efficiency__percentage = "6.3%" AND draws < 1
### Instruction: CREATE TABLE table_11182 ( "Rank" text, "City" text, "Height" text, "Stories" real, "Completed" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which stories have a rank of 14? ### Response:
SELECT "Stories" FROM table_11182 WHERE "Rank" = '14'
### Instruction: CREATE TABLE table_79113 ( "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 had a To par of 10? ### Response:
SELECT "Place" FROM table_79113 WHERE "To par" = '–10'
### Instruction: CREATE TABLE table_name_59 ( population INTEGER, area_km_2 VARCHAR, status VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population of the town with an area larger than 3.09? ### Response:
SELECT AVG(population) FROM table_name_59 WHERE area_km_2 > 3.09 AND status = "town"
### Instruction: CREATE TABLE table_name_61 ( total_matches INTEGER, year VARCHAR, points_won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Total matches have a Year of career, and a Points won larger than 25? ### Response:
SELECT SUM(total_matches) FROM table_name_61 WHERE year = "career" AND points_won > 25
### Instruction: CREATE TABLE table_name_24 ( pop__2010_ VARCHAR, longitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the population in 2010 for the longitude of -97.578927? ### Response:
SELECT COUNT(pop__2010_) FROM table_name_24 WHERE longitude = -97.578927
### Instruction: CREATE TABLE table_64337 ( "play" text, "author" text, "company" text, "base" text, "country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which author has a company of the Semeio Theatre? ### Response:
SELECT "author" FROM table_64337 WHERE "company" = 'semeio theatre'