instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_31 ( theatre VARCHAR, performances VARCHAR, role VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the theatre for aaron jablonski schuyler grogan with performances more than 49 ### Response:
SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan"
### Instruction: CREATE TABLE table_77307 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name when the position is centre? ### Response:
SELECT "Name" FROM table_77307 WHERE "Pos." = 'centre'
### Instruction: CREATE TABLE table_name_97 ( date VARCHAR, location VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the game played at Gillette Stadium with a score of 40-21? ### Response:
SELECT date FROM table_name_97 WHERE location = "gillette stadium" AND result = "40-21"
### Instruction: CREATE TABLE table_25374338_1 ( song_choice VARCHAR, original_artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the song choice where the original artist is Gino Paoli? ### Response:
SELECT COUNT(song_choice) FROM table_25374338_1 WHERE original_artist = "Gino Paoli"
### Instruction: CREATE TABLE table_name_70 ( mission VARCHAR, service VARCHAR, age_on_mission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What mission did the astronaut who 38 years old on the mission and who served in NASA serve on? ### Response:
SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38
### Instruction: CREATE TABLE table_name_61 ( attendance VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the away league competition with a date of 22? ### Response:
SELECT attendance FROM table_name_61 WHERE competition = "league" AND venue = "away" AND date = 22
### Instruction: CREATE TABLE table_1341897_6 ( first_elected INTEGER, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was James William Trimble first elected in the Arkansas 3 district? ### Response:
SELECT MIN(first_elected) FROM table_1341897_6 WHERE district = "Arkansas 3"
### Instruction: CREATE TABLE journalist ( Nationality VARCHAR, Years_working INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show the nations that have both journalists with more than 10 years of working and journalists with less than 3 years of working. ### Response:
SELECT Nationality FROM journalist WHERE Years_working > 10 INTERSECT SELECT Nationality FROM journalist WHERE Years_working < 3
### Instruction: CREATE TABLE table_17814458_1 ( slope_length VARCHAR, elevation_groundstation VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the slope length for 1966 groundstation ### Response:
SELECT COUNT(slope_length) FROM table_17814458_1 WHERE elevation_groundstation = 1966
### Instruction: CREATE TABLE table_1193568_1 ( province VARCHAR, member VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the province where member is frederick merriman category:articles with hcards ### Response:
SELECT province FROM table_1193568_1 WHERE member = "Frederick Merriman Category:Articles with hCards"
### Instruction: CREATE TABLE table_name_67 ( status VARCHAR, census_ranking VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of the community with a census ranking of 2,418 of 5,008? ### Response:
SELECT status FROM table_name_67 WHERE census_ranking = "2,418 of 5,008"
### Instruction: CREATE TABLE FACULTY ( Fname VARCHAR, Lname VARCHAR, sex VARCHAR, Building VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the first names and last names of male (sex is M) faculties who live in building NEB. ### Response:
SELECT Fname, Lname FROM FACULTY WHERE sex = "M" AND Building = "NEB"
### Instruction: CREATE TABLE table_2897457_2 ( player VARCHAR, college_junior_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player came from Cornell University (NCAA)? ### Response:
SELECT player FROM table_2897457_2 WHERE college_junior_club_team = "Cornell University (NCAA)"
### Instruction: CREATE TABLE table_47995 ( "Year" real, "Network" text, "Title" text, "Notes" text, "Language" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the notes for Happy Camp? ### Response:
SELECT "Notes" FROM table_47995 WHERE "Title" = 'happy camp'
### Instruction: CREATE TABLE table_name_52 ( rec INTEGER, yards VARCHAR, s_touchdown VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rec has Yards of 192, and a Touchdown smaller than 1? ### Response:
SELECT AVG(rec) FROM table_name_52 WHERE yards = 192 AND s_touchdown < 1
### Instruction: CREATE TABLE table_42056 ( "Week" real, "Date" text, "TV Time" text, "Opponent" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a Week of 8? ### Response:
SELECT "Date" FROM table_42056 WHERE "Week" = '8'
### Instruction: CREATE TABLE table_255602_1 ( no_of_barangays INTEGER, type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum number of barangays where the type is component city? ### Response:
SELECT MIN(no_of_barangays) FROM table_255602_1 WHERE type = "Component City"
### Instruction: CREATE TABLE table_name_24 ( colour_commentator_s_ VARCHAR, network VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On CBC, who was the colour commentator in 1987? ### Response:
SELECT colour_commentator_s_ FROM table_name_24 WHERE network = "cbc" AND year = 1987
### Instruction: CREATE TABLE table_name_6 ( player VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who scored 74-70-67=211 and placed t5? ### Response:
SELECT player FROM table_name_6 WHERE place = "t5" AND score = 74 - 70 - 67 = 211
### Instruction: CREATE TABLE table_29633639_1 ( average INTEGER, chinese_title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of the average of the drama titled ### Response:
SELECT MAX(average) FROM table_29633639_1 WHERE chinese_title = "魚躍在花見"
### Instruction: CREATE TABLE table_name_64 ( draws VARCHAR, wins VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Draws has a Wins smaller than 17, and an Against smaller than 1158? ### Response:
SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158
### Instruction: CREATE TABLE table_1231316_7 ( wind__m_s_ VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the wind on 21 june 1976? ### Response:
SELECT wind__m_s_ FROM table_1231316_7 WHERE date = "21 June 1976"
### Instruction: CREATE TABLE table_name_83 ( runs INTEGER, name VARCHAR, inns VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name of clem hill, and Inns larger than 126 has the lowest runs? ### Response:
SELECT MIN(runs) FROM table_name_83 WHERE name = "clem hill" AND inns > 126
### Instruction: CREATE TABLE table_name_58 ( akira VARCHAR, milano_collection_at VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the corresponding Akira when Milano Collection A.T is Milano (10:29)? ### Response:
SELECT akira FROM table_name_58 WHERE milano_collection_at = "milano (10:29)"
### Instruction: CREATE TABLE station ( name VARCHAR, LOCATION VARCHAR, Annual_entry_exit VARCHAR, Annual_interchanges VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names and locations of all stations ordered by their yearly entry exit and interchange amounts. ### Response:
SELECT name, LOCATION FROM station ORDER BY Annual_entry_exit, Annual_interchanges
### Instruction: CREATE TABLE table_name_81 ( losses INTEGER, club VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the highest amount of losses of Camperdown when the against was less than 945? ### Response:
SELECT MAX(losses) FROM table_name_81 WHERE club = "camperdown" AND against < 945
### Instruction: CREATE TABLE table_245801_1 ( duration__days_ VARCHAR, crew VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the duration for vladimir vasyutin , alexander volkov ### Response:
SELECT COUNT(duration__days_) FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov"
### Instruction: CREATE TABLE table_name_99 ( time INTEGER, name VARCHAR, lane VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which average time has eithan urbach as a name with a lane bigger than 2? ### Response:
SELECT AVG(time) FROM table_name_99 WHERE name = "eithan urbach" AND lane > 2
### Instruction: CREATE TABLE table_24224647_2 ( main_presenter VARCHAR, year_premiered VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is every main presenter for the year 2011? ### Response:
SELECT main_presenter FROM table_24224647_2 WHERE year_premiered = 2011
### Instruction: CREATE TABLE table_1792122_11 ( status_at_production VARCHAR, project VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the status of the London Aquatics Centre project at the time of production? ### Response:
SELECT status_at_production FROM table_1792122_11 WHERE project = "London Aquatics Centre"
### Instruction: CREATE TABLE table_name_23 ( remarks VARCHAR, rank VARCHAR, alliance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the remarks for the entry ranked greater than 2 with a skyteam (2012) alliance? ### Response:
SELECT remarks FROM table_name_23 WHERE rank > 2 AND alliance = "skyteam (2012)"
### Instruction: CREATE TABLE table_name_68 ( distance__miles_ VARCHAR, winner VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the winner was No Race in a year after 1909, what was the distance? ### Response:
SELECT distance__miles_ FROM table_name_68 WHERE winner = "no race" AND year > 1909
### Instruction: CREATE TABLE table_name_81 ( played INTEGER, club VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average number of played games from Rayo Vallecano with less than 12 wins? ### Response:
SELECT AVG(played) FROM table_name_81 WHERE club = "rayo vallecano" AND wins < 12
### Instruction: CREATE TABLE table_204_888 ( id number, "location" text, "mile" number, "destinations" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which round had the most miles ? ### Response:
SELECT "location" FROM table_204_888 ORDER BY "mile" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_37 ( feathered__fxx_ VARCHAR, duration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the duration was 11 min, 34 sec, what was the feathered (Fxx)? ### Response:
SELECT feathered__fxx_ FROM table_name_37 WHERE duration = "11 min, 34 sec"
### Instruction: CREATE TABLE table_60397 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country is Craig Parry from? ### Response:
SELECT "Country" FROM table_60397 WHERE "Player" = 'craig parry'
### Instruction: CREATE TABLE table_name_6 ( dates VARCHAR, tournament_location VARCHAR, champion VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What dates was champion masahiro kawamura at the ibaraki country club tournament? ### Response:
SELECT dates FROM table_name_6 WHERE tournament_location = "ibaraki country club" AND champion = "masahiro kawamura"
### Instruction: CREATE TABLE table_name_1 ( result VARCHAR, category VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER? ### Response:
SELECT result FROM table_name_1 WHERE category = "best urban/alternative performance" AND year > 2003
### Instruction: CREATE TABLE table_name_78 ( species VARCHAR, length__bp_aa_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Species has a Length (bp/aa) of 1154bp/358aa? ### Response:
SELECT species FROM table_name_78 WHERE length__bp_aa_ = "1154bp/358aa"
### Instruction: CREATE TABLE table_name_52 ( date VARCHAR, others VARCHAR, psd___pc VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the other is n/a and the psc-pc is 30% what is the date? ### Response:
SELECT date FROM table_name_52 WHERE others = "n/a" AND psd___pc = "30%"
### Instruction: CREATE TABLE table_name_16 ( player VARCHAR, no_s_ VARCHAR, school_club_team_country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player from Oregon used the number 12? ### Response:
SELECT player FROM table_name_16 WHERE no_s_ = "12" AND school_club_team_country = "oregon"
### Instruction: CREATE TABLE table_76807 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Tom Gillis' score? ### Response:
SELECT "Score" FROM table_76807 WHERE "Player" = 'tom gillis'
### Instruction: CREATE TABLE table_53361 ( "City" text, "Country" text, "Airport" text, "IATA" text, "ICAO" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the city for thailand ### Response:
SELECT "City" FROM table_53361 WHERE "Country" = 'thailand'
### Instruction: CREATE TABLE table_name_51 ( album VARCHAR, remix VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the album when the remix is dead guys remix and the year is after 2003? ### Response:
SELECT album FROM table_name_51 WHERE remix = "dead guys remix" AND year > 2003
### Instruction: CREATE TABLE table_name_14 ( grid INTEGER, driver VARCHAR, laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the highest Grid for Maurice Trintignant and laps less than 87 ### Response:
SELECT MAX(grid) FROM table_name_14 WHERE driver = "maurice trintignant" AND laps < 87
### Instruction: CREATE TABLE table_name_21 ( high_assists VARCHAR, game VARCHAR, record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which High assists have a Game larger than 21, and a Record of 18-6? ### Response:
SELECT high_assists FROM table_name_21 WHERE game > 21 AND record = "18-6"
### Instruction: CREATE TABLE table_name_46 ( storeys VARCHAR, city VARCHAR, years VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many storeys in Calgary during 1975-1976? ### Response:
SELECT storeys FROM table_name_46 WHERE city = "calgary" AND years = "1975-1976"
### Instruction: CREATE TABLE table_name_37 ( rank INTEGER, year VARCHAR, moving_from VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Moving from Nancy after 2005, what is listed as the lowest rank? ### Response:
SELECT MIN(rank) FROM table_name_37 WHERE year > 2005 AND moving_from = "nancy"
### Instruction: CREATE TABLE table_22665117_1 ( date_opened VARCHAR, dist_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date opened if thedistrict ID is 11901? ### Response:
SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901
### Instruction: CREATE TABLE table_name_3 ( competition VARCHAR, goals VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which competition has a Goal of deacon 8/8 and a Score of 32-14? ### Response:
SELECT competition FROM table_name_3 WHERE goals = "deacon 8/8" AND score = "32-14"
### Instruction: CREATE TABLE table_name_22 ( car__number INTEGER, sponsor VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest car number sponsored by UPS before 2001? ### Response:
SELECT MIN(car__number) FROM table_name_22 WHERE sponsor = "ups" AND season < 2001
### Instruction: CREATE TABLE table_name_75 ( owner_s_ VARCHAR, team VARCHAR, driver_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the owner of RSS Racing that driver Ryan Sieg belongs to? ### Response:
SELECT owner_s_ FROM table_name_75 WHERE team = "rss racing" AND driver_s_ = "ryan sieg"
### Instruction: CREATE TABLE table_name_38 ( opponent VARCHAR, competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which opponent is friendly and played on 15-08-2012? ### Response:
SELECT opponent FROM table_name_38 WHERE competition = "friendly" AND date = "15-08-2012"
### Instruction: CREATE TABLE table_name_15 ( original_teams VARCHAR, at_home_winner VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the original teams for the season that was won at-home by Mark Pinkhasovich? ### Response:
SELECT original_teams FROM table_name_15 WHERE at_home_winner = "mark pinkhasovich"
### Instruction: CREATE TABLE table_300283_1 ( name_in_basque VARCHAR, official_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name in Basque of the municipality whose official name is Kuartango? ### Response:
SELECT name_in_basque FROM table_300283_1 WHERE official_name = "Kuartango"
### Instruction: CREATE TABLE table_22171978_1 ( location VARCHAR, athletic_nickname VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many locations are there for the athletic nickname is blue crusaders? ### Response:
SELECT COUNT(location) FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders"
### Instruction: CREATE TABLE table_name_3 ( location VARCHAR, lineup VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location on 2008-06-17 when the lineup was start? ### Response:
SELECT location FROM table_name_3 WHERE lineup = "start" AND date = "2008-06-17"
### Instruction: CREATE TABLE table_17085724_1 ( brighton_cast VARCHAR, indianapolis_concerts VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the brighton cast for andrew verala ### Response:
SELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = "Andrew Verala"
### Instruction: CREATE TABLE table_name_68 ( college VARCHAR, height VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the college of the player with a height of 6-4 and went to lake howell high school? ### Response:
SELECT college FROM table_name_68 WHERE height = "6-4" AND school = "lake howell high school"
### Instruction: CREATE TABLE table_26920192_5 ( fastest_lap VARCHAR, winning_driver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the fastest lap when the winning driver is giorgio sanna? ### Response:
SELECT fastest_lap FROM table_26920192_5 WHERE winning_driver = "Giorgio Sanna"
### Instruction: CREATE TABLE table_name_52 ( played INTEGER, points VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest played number when points are larger than 32, and a wins are larger than 18? ### Response:
SELECT MIN(played) FROM table_name_52 WHERE points > 32 AND wins > 18
### Instruction: CREATE TABLE table_35000 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the course for team time trial ### Response:
SELECT "Course" FROM table_35000 WHERE "Type" = 'team time trial'
### Instruction: CREATE TABLE table_11734041_11 ( position VARCHAR, years_for_rockets VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the position for the player that played in 2006? ### Response:
SELECT position FROM table_11734041_11 WHERE years_for_rockets = "2006"
### Instruction: CREATE TABLE table_name_34 ( time VARCHAR, date VARCHAR, loss VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time on july 18 that has a Loss of lilly (3-3)? ### Response:
SELECT time FROM table_name_34 WHERE date = "july 18" AND loss = "lilly (3-3)"
### Instruction: CREATE TABLE table_name_82 ( weekly_rank VARCHAR, official_ratings__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Weekly Rank has an Official ratings (millions) of 11.58? ### Response:
SELECT weekly_rank FROM table_name_82 WHERE official_ratings__millions_ = 11.58
### Instruction: CREATE TABLE table_21350772_2 ( lifetime__years_ VARCHAR, chemical_formula VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lifetime (years) for chemical formula ch 4? ### Response:
SELECT lifetime__years_ FROM table_21350772_2 WHERE chemical_formula = "CH 4"
### Instruction: CREATE TABLE table_50106 ( "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 place of the player from Spain? ### Response:
SELECT "Place" FROM table_50106 WHERE "Country" = 'spain'
### Instruction: CREATE TABLE table_name_12 ( results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Results that was a friendly game and played on June 25? ### Response:
SELECT results¹ FROM table_name_12 WHERE type_of_game = "friendly" AND date = "june 25"
### Instruction: CREATE TABLE table_2417340_4 ( successor VARCHAR, vacator VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the successor for vacant louisiana 5th ### Response:
SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Louisiana 5th"
### Instruction: CREATE TABLE table_name_38 ( mascot VARCHAR, previous_conference VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Mascot has a Previous conference of independents, and a Location of akron? ### Response:
SELECT mascot FROM table_name_38 WHERE previous_conference = "independents" AND location = "akron"
### Instruction: CREATE TABLE table_name_69 ( name VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What integrated school had a decile of 2 and a roll larger than 55? ### Response:
SELECT name FROM table_name_69 WHERE decile = 2 AND authority = "integrated" AND roll > 55
### Instruction: CREATE TABLE table_name_66 ( episode__number VARCHAR, eliminated_contestant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode # has govinda & david dhawan as the eliminated contestant? ### Response:
SELECT episode__number FROM table_name_66 WHERE eliminated_contestant = "govinda & david dhawan"
### Instruction: CREATE TABLE table_name_79 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is 2008 when 2012 is 3r and 2009 is 2r? ### Response:
SELECT 2008 FROM table_name_79 WHERE 2012 = "3r" AND 2009 = "2r"
### Instruction: CREATE TABLE table_1566852_8 ( pictorials VARCHAR, cover_model VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the pictorals from issues when lindsey roeper was the cover model. ### Response:
SELECT pictorials FROM table_1566852_8 WHERE cover_model = "Lindsey Roeper"
### Instruction: CREATE TABLE table_name_17 ( number_of_seats VARCHAR, year VARCHAR, quantity VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seats in 2001 with a quantity greater than 4? ### Response:
SELECT COUNT(number_of_seats) FROM table_name_17 WHERE year = "2001" AND quantity > 4
### Instruction: CREATE TABLE table_name_80 ( losses INTEGER, against VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest number of losses when the against is 1465 and there are more than 7 wins? ### Response:
SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7
### Instruction: CREATE TABLE table_222771_1 ( alpha_2_code VARCHAR, alpha_3_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the alpha 2 code for the area also known as NZL? ### Response:
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "NZL"
### Instruction: CREATE TABLE table_name_75 ( school VARCHAR, conference_joined VARCHAR, mascot VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a mascot of the Blazers and in the Northeast Corner conference? ### Response:
SELECT school FROM table_name_75 WHERE conference_joined = "northeast corner" AND mascot = "blazers"
### Instruction: CREATE TABLE table_name_25 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2010 Lukoil oil prodroduction when in 2009 oil production 21.662 million tonnes? ### Response:
SELECT 2010 FROM table_name_25 WHERE 2009 = "21.662"
### Instruction: CREATE TABLE table_23546266_1 ( victim_s_ VARCHAR, executed_person VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of Linroy Bottoson's victim? ### Response:
SELECT victim_s_ FROM table_23546266_1 WHERE executed_person = "Linroy Bottoson"
### Instruction: CREATE TABLE table_15621965_16 ( nationality VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of th player who's school is Clemson? ### Response:
SELECT nationality FROM table_15621965_16 WHERE school_club_team = "Clemson"
### Instruction: CREATE TABLE table_26293875_3 ( original_airdate VARCHAR, prod_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the original airdate of the episode with production number 2x03? ### Response:
SELECT original_airdate FROM table_26293875_3 WHERE prod_no = "2x03"
### Instruction: CREATE TABLE table_9742 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the result for game 5? ### Response:
SELECT "Result" FROM table_9742 WHERE "Game" = 'game 5'
### Instruction: CREATE TABLE table_name_62 ( podiums VARCHAR, wins VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for Podiums when the value for Wins is 2, and when the Season is 2008? ### Response:
SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 2008
### Instruction: CREATE TABLE table_name_59 ( year VARCHAR, total_for_year INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years in all was less than 105,005 the total for the year? ### Response:
SELECT COUNT(year) FROM table_name_59 WHERE total_for_year < 105 OFFSET 005
### Instruction: CREATE TABLE table_23242958_1 ( original_air_date VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date of the episode written by David Zuckerman? ### Response:
SELECT original_air_date FROM table_23242958_1 WHERE written_by = "David Zuckerman"
### Instruction: CREATE TABLE table_name_28 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2012 value when the 2011 and 2007 values are 1R? ### Response:
SELECT 2012 FROM table_name_28 WHERE 2011 = "1r" AND 2007 = "1r"
### Instruction: CREATE TABLE table_28243691_1 ( enrollment INTEGER, institution VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest number of students in attendance for the university of north texas? ### Response:
SELECT MAX(enrollment) FROM table_28243691_1 WHERE institution = "University of North Texas"
### Instruction: CREATE TABLE table_name_66 ( erp_w INTEGER, city_of_license VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest ERP for allentown, pennsylvania? ### Response:
SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania"
### Instruction: CREATE TABLE table_10361625_1 ( player_name VARCHAR, position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the linebacker at Illinois college? ### Response:
SELECT player_name FROM table_10361625_1 WHERE position = "Linebacker" AND college = "Illinois"
### Instruction: CREATE TABLE table_1014206_2 ( launched VARCHAR, laid_down VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When were the ships launched that were laid down on september 1, 1964? ### Response:
SELECT launched FROM table_1014206_2 WHERE laid_down = "September 1, 1964"
### Instruction: CREATE TABLE table_15430606_1 ( no_disc VARCHAR, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of number disc for jimmy kaufman ### Response:
SELECT COUNT(no_disc) FROM table_15430606_1 WHERE directed_by = "Jimmy Kaufman"
### Instruction: CREATE TABLE table_16168849_1 ( current_conference VARCHAR, left VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the current conference for 1974, 1989 ### Response:
SELECT current_conference FROM table_16168849_1 WHERE left = "1974, 1989"
### Instruction: CREATE TABLE table_name_88 ( total_appearances_league_only_ VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total appearances (league only) have a name of gavin dykes? ### Response:
SELECT total_appearances_league_only_ FROM table_name_88 WHERE name = "gavin dykes"
### Instruction: CREATE TABLE table_25851971_1 ( directed_by VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode that had a production code of 2j5457? ### Response:
SELECT directed_by FROM table_25851971_1 WHERE production_code = "2J5457"
### Instruction: CREATE TABLE table_name_72 ( scored INTEGER, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did Sham Kwok Fai score in the game that was played on 22 February 2006? ### Response:
SELECT SUM(scored) FROM table_name_72 WHERE date = "22 february 2006"
### Instruction: CREATE TABLE table_204_643 ( id number, "release" number, "artist" text, "title" text, "notes" text, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the first title released ? ### Response:
SELECT MIN("release") FROM table_204_643
### Instruction: CREATE TABLE table_22410780_1 ( performance_liaison VARCHAR, dramaturge VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the performance liaisons for the dramaturge Chrisena Ricci? ### Response:
SELECT performance_liaison FROM table_22410780_1 WHERE dramaturge = "Chrisena Ricci"
### Instruction: CREATE TABLE table_name_56 ( world_record VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 102kg when the snatch was snatch and the olympic record was the world record? ### Response:
SELECT 102 AS kg FROM table_name_56 WHERE world_record = "olympic record" AND "snatch" = "snatch"
### Instruction: CREATE TABLE table_name_31 ( speed INTEGER, year VARCHAR, passengers VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average speed for ships before 1974 with over 1.73 passengers? ### Response:
SELECT AVG(speed) FROM table_name_31 WHERE year < 1974 AND passengers > 1.73