instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_23937219_3 ( original_air_date VARCHAR, prod_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many original air dates were there for the episode with production code 212? ### Response:
SELECT COUNT(original_air_date) FROM table_23937219_3 WHERE prod_code = 212
### Instruction: CREATE TABLE table_1682026_6 ( industry VARCHAR, market_value__billion_$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which industry has a company with a market value of 80.3 billion? ### Response:
SELECT industry FROM table_1682026_6 WHERE market_value__billion_$_ = "80.3"
### Instruction: CREATE TABLE table_68298 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the To par is E, what is the Score? ### Response:
SELECT "Score" FROM table_68298 WHERE "To par" = 'e'
### Instruction: CREATE TABLE table_51073 ( "Date" text, "Distance" text, "Handler" text, "Event" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What distance does the Bass Pro Shops event have? ### Response:
SELECT "Distance" FROM table_51073 WHERE "Event" = 'bass pro shops'
### Instruction: CREATE TABLE table_name_48 ( date VARCHAR, stadium VARCHAR, final_score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date that a game at the Alltel Stadium had a final score of 6-20? ### Response:
SELECT date FROM table_name_48 WHERE stadium = "alltel stadium" AND final_score = "6-20"
### Instruction: CREATE TABLE table_name_39 ( events INTEGER, top_10 VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2? ### Response:
SELECT MAX(events) FROM table_name_39 WHERE top_10 > 7 AND wins < 2
### Instruction: CREATE TABLE table_11677691_1 ( hometown VARCHAR, college VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many offensive line players played for a college in Alabama? ### Response:
SELECT COUNT(hometown) FROM table_11677691_1 WHERE college = "Alabama" AND position = "Offensive line"
### Instruction: CREATE TABLE table_13330 ( "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 todd hamilton as the player? ### Response:
SELECT "Country" FROM table_13330 WHERE "Player" = 'todd hamilton'
### Instruction: CREATE TABLE table_name_62 ( place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What place was the golfer with a score of 67-67-66-68=268 ranked in? ### Response:
SELECT place FROM table_name_62 WHERE score = 67 - 67 - 66 - 68 = 268
### Instruction: CREATE TABLE table_14889988_1 ( title VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title for the episode written by Robert Carlock & Dana Klein Borkow? ### Response:
SELECT title FROM table_14889988_1 WHERE written_by = "Robert Carlock & Dana Klein Borkow"
### Instruction: CREATE TABLE table_19517448_3 ( yards_per_attempt VARCHAR, total_yards VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many yards per attempt were there when total yards were 513? ### Response:
SELECT yards_per_attempt FROM table_19517448_3 WHERE total_yards = "513"
### Instruction: CREATE TABLE table_11961582_4 ( game VARCHAR, high_assists VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the total number of games where A. Johnson (6) gave the most high assists? ### Response:
SELECT COUNT(game) FROM table_11961582_4 WHERE high_assists = "A. Johnson (6)"
### Instruction: CREATE TABLE table_name_32 ( acceleration_0_100km_h VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the acceleration 1-100km/h when the name is 1.5 dci? ### Response:
SELECT acceleration_0_100km_h FROM table_name_32 WHERE name = "1.5 dci"
### Instruction: CREATE TABLE table_204_884 ( id number, "medal" text, "name" text, "sport" text, "event" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what sport is listed first ? ### Response:
SELECT "sport" FROM table_204_884 WHERE id = 1
### Instruction: CREATE TABLE table_1756284_1 ( kerry_percentage VARCHAR, kerry_number VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Kerry# was 199060, what was the percentage? ### Response:
SELECT kerry_percentage FROM table_1756284_1 WHERE kerry_number = 199060
### Instruction: CREATE TABLE table_261951_1 ( pop_density__per_km²_ VARCHAR, municipality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the population density per kilometer for the city of abra de ilog. ### Response:
SELECT pop_density__per_km²_ FROM table_261951_1 WHERE municipality = "Abra de Ilog"
### Instruction: CREATE TABLE table_11694832_1 ( no_in_series INTEGER, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the first series number that Adele Lim wrote? ### Response:
SELECT MIN(no_in_series) FROM table_11694832_1 WHERE written_by = "Adele Lim"
### Instruction: CREATE TABLE table_name_49 ( award VARCHAR, year VARCHAR, category VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Before the year 2012, what award was given to the artist in the category of revelaci n pop del a o? ### Response:
SELECT award FROM table_name_49 WHERE year < 2012 AND category = "revelación pop del año"
### Instruction: CREATE TABLE table_name_92 ( space_crusade VARCHAR, genestealers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the space crusade which has Genestealers of genr vere (gene robbers) ### Response:
SELECT space_crusade FROM table_name_92 WHERE genestealers = "genrøvere (gene robbers)"
### Instruction: CREATE TABLE table_69544 ( "Goal" real, "Date" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the team score 21 goals? ### Response:
SELECT "Date" FROM table_69544 WHERE "Goal" = '21'
### Instruction: CREATE TABLE table_18602462_22 ( semifinals VARCHAR, athlete VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the semifinal result for Dorrie Timmermans-Van Hall? ### Response:
SELECT semifinals FROM table_18602462_22 WHERE athlete = "Dorrie Timmermans-Van Hall"
### Instruction: CREATE TABLE table_19864214_3 ( wins VARCHAR, pitcher VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many wins did pitcher jon matlack category:articles with hcards achieve ### Response:
SELECT COUNT(wins) FROM table_19864214_3 WHERE pitcher = "Jon Matlack Category:Articles with hCards"
### Instruction: CREATE TABLE table_76581 ( "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 score of player bob rosburg? ### Response:
SELECT "Score" FROM table_76581 WHERE "Player" = 'bob rosburg'
### Instruction: CREATE TABLE table_name_40 ( established INTEGER, championships VARCHAR, league VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- With less than 1 Championship, what es the Established date of the Niagara Rugby Union League? ### Response:
SELECT SUM(established) FROM table_name_40 WHERE championships < 1 AND league = "niagara rugby union"
### Instruction: CREATE TABLE table_31568 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance during week 7? ### Response:
SELECT "Attendance" FROM table_31568 WHERE "Week" = '7'
### Instruction: CREATE TABLE table_56487 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position is Sal Martinez? ### Response:
SELECT "Position" FROM table_56487 WHERE "Player" = 'sal martinez'
### Instruction: CREATE TABLE table_27986200_3 ( proceed_to_quarter_final VARCHAR, points_margin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who proceeded to the quarter finals with a points margin of 21? ### Response:
SELECT proceed_to_quarter_final FROM table_27986200_3 WHERE points_margin = 21
### Instruction: CREATE TABLE table_name_24 ( lost VARCHAR, against VARCHAR, position VARCHAR, drawn VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15? ### Response:
SELECT lost FROM table_name_24 WHERE position > 2 AND drawn > 0 AND against > 15
### Instruction: CREATE TABLE table_33250 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is China's IATA? ### Response:
SELECT "IATA" FROM table_33250 WHERE "Country" = 'china'
### Instruction: CREATE TABLE table_26454128_4 ( athlete VARCHAR, height VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which athlete has a height of 1.87 and is from Sweden? ### Response:
SELECT athlete FROM table_26454128_4 WHERE height = "1.87" AND country = "Sweden"
### Instruction: CREATE TABLE table_name_3 ( fa_cup INTEGER, total VARCHAR, league_cup VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many FA cups were there without any league cups, but a total of 0 2? ### Response:
SELECT MIN(fa_cup) FROM table_name_3 WHERE total = "0 2" AND league_cup < 0
### Instruction: CREATE TABLE table_49605 ( "Place" text, "Country" text, "Qualifying Grand Prix" text, "Class" text, "Dates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Country, when Class is 'club'? ### Response:
SELECT "Country" FROM table_49605 WHERE "Class" = 'club'
### Instruction: CREATE TABLE table_31827 ( "Year" text, "Zone" text, "Final round" text, "Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in 1969? ### Response:
SELECT "Score" FROM table_31827 WHERE "Year" = '1969'
### Instruction: CREATE TABLE table_58087 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of week 16? ### Response:
SELECT "Result" FROM table_58087 WHERE "Week" = '16'
### Instruction: CREATE TABLE table_36468 ( "School" text, "Team" text, "City" text, "State" text, "Conference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school is in hillsboro city? ### Response:
SELECT "School" FROM table_36468 WHERE "City" = 'hillsboro'
### Instruction: CREATE TABLE table_14878 ( "Date" text, "Local Time" text, "Location" text, "Score" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time on September 1? ### Response:
SELECT "Local Time" FROM table_14878 WHERE "Date" = 'september 1'
### Instruction: CREATE TABLE table_76803 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance for week 2? ### Response:
SELECT "Attendance" FROM table_76803 WHERE "Week" = '2'
### Instruction: CREATE TABLE table_197446_1 ( location VARCHAR, term_ended VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What location was the congressional service of which the term ended in January 3, 2011? ### Response:
SELECT location FROM table_197446_1 WHERE term_ended = "January 3, 2011"
### Instruction: CREATE TABLE table_name_79 ( drawn INTEGER, goals_for VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For entries with lost larger than 21 and goals for smaller than 36, what is the average drawn? ### Response:
SELECT AVG(drawn) FROM table_name_79 WHERE goals_for < 36 AND lost > 21
### Instruction: CREATE TABLE table_79017 ( "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 country of the player with a t6 place? ### Response:
SELECT "Country" FROM table_79017 WHERE "Place" = 't6'
### Instruction: CREATE TABLE table_24918268_2 ( final_score VARCHAR, kickoff VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score for the game that kicked off at 6:00 p.m.? ### Response:
SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.m."
### Instruction: CREATE TABLE table_name_95 ( winner VARCHAR, circuit VARCHAR, series VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Winner, when Circuit is Mallala Motor Sport Park, and when Series is ASTC Round 6? ### Response:
SELECT winner FROM table_name_95 WHERE circuit = "mallala motor sport park" AND series = "astc round 6"
### Instruction: CREATE TABLE table_64033 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of week 11? ### Response:
SELECT "Date" FROM table_64033 WHERE "Week" = '11'
### Instruction: CREATE TABLE table_name_94 ( year_joined INTEGER, city VARCHAR, mascot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year that the Gary team with mascot of the Tornado joined? ### Response:
SELECT MIN(year_joined) FROM table_name_94 WHERE city = "gary" AND mascot = "tornado"
### Instruction: CREATE TABLE table_name_6 ( finish VARCHAR, start VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969? ### Response:
SELECT COUNT(finish) FROM table_name_6 WHERE start < 20 AND year = 1969
### Instruction: CREATE TABLE table_56784 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which driver has grid value of 18? ### Response:
SELECT "Driver" FROM table_56784 WHERE "Grid" = '18'
### Instruction: CREATE TABLE table_38450 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which Record is on March of 12 ### Response:
SELECT "Record" FROM table_38450 WHERE "March" = '12'
### Instruction: CREATE TABLE table_name_24 ( production_number VARCHAR, director VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the production number for the episode directed by Robert McKimson named Mice Follies? ### Response:
SELECT COUNT(production_number) FROM table_name_24 WHERE director = "robert mckimson" AND title = "mice follies"
### Instruction: CREATE TABLE table_2517159_1 ( name_of_bowl VARCHAR, last_appearance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the name of bowl for 2006 season ### Response:
SELECT COUNT(name_of_bowl) FROM table_2517159_1 WHERE last_appearance = "2006 Season"
### Instruction: CREATE TABLE table_24638867_6 ( championship VARCHAR, score VARCHAR, surface VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the championship for hard surface 7 5, 6 4 ### Response:
SELECT championship FROM table_24638867_6 WHERE score = "7–5, 6–4" AND surface = "Hard"
### Instruction: CREATE TABLE table_12957 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which visitor has a record of 2-4? ### Response:
SELECT "Visitor" FROM table_12957 WHERE "Record" = '2-4'
### Instruction: CREATE TABLE table_39430 ( "Category" text, "Type" text, "Attribute" text, "Bubbles" text, "Cancelable" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the bubbles for onscroll ### Response:
SELECT "Bubbles" FROM table_39430 WHERE "Attribute" = 'onscroll'
### Instruction: CREATE TABLE table_17675675_2 ( tries_against VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For club Swansea Uplands RFC, what is the amount of tries against? ### Response:
SELECT tries_against FROM table_17675675_2 WHERE club = "Swansea Uplands RFC"
### Instruction: CREATE TABLE table_name_42 ( attendance INTEGER, venue VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest attendance for the match against west ham united at the venue of a? ### Response:
SELECT MAX(attendance) FROM table_name_42 WHERE venue = "a" AND opponent = "west ham united"
### Instruction: CREATE TABLE table_name_79 ( react INTEGER, name VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest React, when Name is 'Candice Davis', and when Lane is less than 3? ### Response:
SELECT MIN(react) FROM table_name_79 WHERE name = "candice davis" AND lane < 3
### Instruction: CREATE TABLE table_name_39 ( lead VARCHAR, skip VARCHAR, event VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Lead for the 2009 WCC when Wang Bingyu news was the skip? ### Response:
SELECT lead FROM table_name_39 WHERE skip = "wang bingyu" AND event = "2009 wcc"
### Instruction: CREATE TABLE personfriend ( name text, friend text, year number ) CREATE TABLE person ( name text, age number, city text, gender text, job text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of everybody who has exactly one friend? ### Response:
SELECT name FROM personfriend GROUP BY name HAVING COUNT(*) = 1
### Instruction: CREATE TABLE table_name_35 ( date VARCHAR, label VARCHAR, catalog VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date is the release when the label was Parlophone and the catalog was 582 2912? ### Response:
SELECT date FROM table_name_35 WHERE label = "parlophone" AND catalog = "582 2912"
### Instruction: CREATE TABLE table_name_60 ( pick__number INTEGER, position VARCHAR, overall VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the mean pick number for the cornerback position when the overall is less than 134? ### Response:
SELECT AVG(pick__number) FROM table_name_60 WHERE position = "cornerback" AND overall < 134
### Instruction: CREATE TABLE table_16799784_14 ( diameter__km_ VARCHAR, latitude VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many numbers are listed under diameter with a lattitude of 5.0n? ### Response:
SELECT COUNT(diameter__km_) FROM table_16799784_14 WHERE latitude = "5.0N"
### Instruction: CREATE TABLE table_143352_1 ( connected_to_grid VARCHAR, agr_power_station VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many power stations are connected to grid at Heysham 2 ### Response:
SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = "Heysham 2"
### Instruction: CREATE TABLE table_49560 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Jim Furyk's score? ### Response:
SELECT "Score" FROM table_49560 WHERE "Player" = 'jim furyk'
### Instruction: CREATE TABLE table_name_84 ( place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282? ### Response:
SELECT place FROM table_name_84 WHERE score = 73 - 65 - 73 - 71 = 282
### 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. -- which year was responsible for 4,140 deaths ? ### Response:
SELECT "year" FROM table_200_10 WHERE "deaths" = 4140
### Instruction: CREATE TABLE table_23294081_11 ( us_viewers__millions_ VARCHAR, no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many millions of people in the US saw the episode number 226? ### Response:
SELECT us_viewers__millions_ FROM table_23294081_11 WHERE no = 226
### Instruction: CREATE TABLE table_65933 ( "Name" text, "Language" text, "Owner" text, "Group" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type of station that is in the movies group? ### Response:
SELECT "Type" FROM table_65933 WHERE "Group" = 'movies'
### Instruction: CREATE TABLE table_name_9 ( region INTEGER, name VARCHAR, population VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which region in Saint-Simon-Les-Mines has a population smaller than 458? ### Response:
SELECT MAX(region) FROM table_name_9 WHERE name = "saint-simon-les-mines" AND population < 458
### Instruction: CREATE TABLE table_name_60 ( 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 70-75-70-74=289? ### Response:
SELECT place FROM table_name_60 WHERE score = 70 - 75 - 70 - 74 = 289
### Instruction: CREATE TABLE table_name_87 ( wins INTEGER, tournament VARCHAR, top_5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of Wins in a PGA Championship with a Top-5 less than 2? ### Response:
SELECT AVG(wins) FROM table_name_87 WHERE tournament = "pga championship" AND top_5 < 2
### Instruction: CREATE TABLE table_5525 ( "Venue" text, "Home" text, "Guest" text, "Score" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the guest when attendance was 3? ### Response:
SELECT "Guest" FROM table_5525 WHERE "Attendance" = '3'
### Instruction: CREATE TABLE table_1740431_3 ( tamil_months VARCHAR, season_in_english VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all Tamil months when the season in English is monsoon? ### Response:
SELECT tamil_months FROM table_1740431_3 WHERE season_in_english = "Monsoon"
### Instruction: CREATE TABLE table_38811 ( "Year" real, "Album" text, "Record label" text, "Info" text, "Music" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Record label has an Album of rambo? ### Response:
SELECT "Record label" FROM table_38811 WHERE "Album" = 'rambo'
### Instruction: CREATE TABLE table_name_62 ( label VARCHAR, date VARCHAR, region VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Label of the release on June 12, 2008 in Cyprus? ### Response:
SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus"
### Instruction: CREATE TABLE table_name_85 ( overall INTEGER, round VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE AVERAGE OVERALL WITH A ROUND LARGER THAN 9, AND RB POSITION? ### Response:
SELECT AVG(overall) FROM table_name_85 WHERE round > 9 AND position = "rb"
### Instruction: CREATE TABLE table_name_88 ( round2 INTEGER, round5 VARCHAR, round4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the lowest round2 when round5 is 71 and round4 is more than 64? ### Response:
SELECT MIN(round2) FROM table_name_88 WHERE round5 = 71 AND round4 > 64
### Instruction: CREATE TABLE table_name_40 ( to_par VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which To par has a Score of 67-72-71-75=285? ### Response:
SELECT to_par FROM table_name_40 WHERE score = 67 - 72 - 71 - 75 = 285
### Instruction: CREATE TABLE table_name_78 ( withdrawn INTEGER, builder VARCHAR, introduced VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when was the building withdrawn when the builder was ac cars and was introduced before 1958? ### Response:
SELECT SUM(withdrawn) FROM table_name_78 WHERE builder = "ac cars" AND introduced < 1958
### Instruction: CREATE TABLE table_29302711_13 ( country VARCHAR, prize_money__usd_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country offered a prize of 66400 US dollars? ### Response:
SELECT country FROM table_29302711_13 WHERE prize_money__usd_ = 66400
### Instruction: CREATE TABLE table_name_68 ( local_location VARCHAR, resident_country VARCHAR, mission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Local Location, when Resident Country is 'Belgium', and when Mission is 'Poland'? ### Response:
SELECT local_location FROM table_name_68 WHERE resident_country = "belgium" AND mission = "poland"
### Instruction: CREATE TABLE table_64369 ( "Rank" real, "Athletes" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank for China? ### Response:
SELECT SUM("Rank") FROM table_64369 WHERE "Country" = 'china'
### Instruction: CREATE TABLE table_13219 ( "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 Peter Jacobsen's Place? ### Response:
SELECT "Place" FROM table_13219 WHERE "Player" = 'peter jacobsen'
### Instruction: CREATE TABLE table_name_77 ( overall INTEGER, pick__number VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average overall of Ken Whisenhunt, who has a pick # of 5? ### Response:
SELECT AVG(overall) FROM table_name_77 WHERE pick__number = 5 AND name = "ken whisenhunt"
### Instruction: CREATE TABLE table_28138035_26 ( mens_doubles VARCHAR, mens_singles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the mens doubles when wang hao won the mens singles? ### Response:
SELECT mens_doubles FROM table_28138035_26 WHERE mens_singles = "Wang Hao"
### Instruction: CREATE TABLE table_name_99 ( district VARCHAR, first_elected VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what district was incumbent Russ Carnahan elected after 2000? ### Response:
SELECT district FROM table_name_99 WHERE first_elected > 2000 AND incumbent = "russ carnahan"
### Instruction: CREATE TABLE table_name_64 ( partial_failures INTEGER, failures VARCHAR, successes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Failures larger than 0, and a Successes of 1 has what lowest partial failures? ### Response:
SELECT MIN(partial_failures) FROM table_name_64 WHERE failures > 0 AND successes = 1
### Instruction: CREATE TABLE table_4759 ( "Couple" text, "Score" text, "Dance" text, "Music" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the music of the team that was eliminated? ### Response:
SELECT "Music" FROM table_4759 WHERE "Result" = 'eliminated'
### Instruction: CREATE TABLE table_name_19 ( location VARCHAR, method VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent? ### Response:
SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde"
### Instruction: CREATE TABLE table_name_39 ( grid INTEGER, driver VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the grid when the driver is louis rosier and the laps is more than 78? ### Response:
SELECT MIN(grid) FROM table_name_39 WHERE driver = "louis rosier" AND laps > 78
### Instruction: CREATE TABLE table_name_19 ( college_junior_club_team VARCHAR, round VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What College/Junior/Club Team has Pick 50 before Round 8? ### Response:
SELECT college_junior_club_team FROM table_name_19 WHERE round < 8 AND pick = 50
### Instruction: CREATE TABLE table_name_16 ( class VARCHAR, quantity_made VARCHAR, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type? ### Response:
SELECT class FROM table_name_16 WHERE quantity_made = "1" AND type = "0-6-0t"
### Instruction: CREATE TABLE table_31866 ( "Year" real, "Chinese Title" text, "English Title" text, "Role" text, "Character" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the average year for my queen ### Response:
SELECT AVG("Year") FROM table_31866 WHERE "English Title" = 'my queen'
### Instruction: CREATE TABLE table_name_41 ( finish VARCHAR, win_percentage VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which finish had a win percentage that was more than 0.598 and also had less than 53 wins? ### Response:
SELECT finish FROM table_name_41 WHERE win_percentage > 0.598 AND wins < 53
### Instruction: CREATE TABLE table_57728 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which vehicle has a Grid of 13? ### Response:
SELECT "Constructor" FROM table_57728 WHERE "Grid" = '13'
### Instruction: CREATE TABLE table_name_21 ( career_sr VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is 1999, when 2003 is 'A', and when Career SR is '0 / 4'? ### Response:
SELECT 1999 FROM table_name_21 WHERE 2003 = "a" AND career_sr = "0 / 4"
### Instruction: CREATE TABLE table_47827 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Place is 'T1'? ### Response:
SELECT "Score" FROM table_47827 WHERE "Place" = 't1'
### Instruction: CREATE TABLE table_name_31 ( location VARCHAR, round VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what Location was the match against Opponent of Mostapha Al-Turk lasting less than 2 Rounds? ### Response:
SELECT location FROM table_name_31 WHERE round < 2 AND opponent = "mostapha al-turk"
### Instruction: CREATE TABLE table_5353 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Lead has a Nation of croatia? ### Response:
SELECT "Lead" FROM table_5353 WHERE "Nation" = 'croatia'
### Instruction: CREATE TABLE table_name_85 ( rank INTEGER, lane VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? ### Response:
SELECT MIN(rank) FROM table_name_85 WHERE lane > 5 AND name = "elizabeth van welie"
### Instruction: CREATE TABLE table_name_98 ( gold INTEGER, silver VARCHAR, nation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average value for Gold, when the value for Silver is greater than 2, and when the Nation is West Germany? ### Response:
SELECT AVG(gold) FROM table_name_98 WHERE silver > 2 AND nation = "west germany"
### Instruction: CREATE TABLE table_24001246_2 ( world_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the world record is the African record, what is the 1:53.28 total number? ### Response:
SELECT COUNT(1) AS :5328 FROM table_24001246_2 WHERE world_record = "African record"