context
stringlengths
0
489
instruction
stringlengths
16
244
response
stringlengths
38
557
CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)
What was Rut's Slovenes percentage in 1991?
SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut"
CREATE TABLE table_12496904_1 (_2012 VARCHAR, rank_in_nyagatare_sectors INTEGER, population_change_2002_2012___percentage_ VARCHAR)
When the population change 2002-2012 (%) is 35.5 what is the rank in nyagatare sectors?
SELECT MAX(rank_in_nyagatare_sectors), _2012 FROM table_12496904_1 WHERE population_change_2002_2012___percentage_ = "35.5"
CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR)
What is the gross capacity of the unit that started commercial operation on August 28, 1987?
SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987"
CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR)
What is the gross capacity where the reactor is ABWR type?
SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr"
CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR)
what are the notes for date (from) 12 august 1897?
SELECT notes FROM table_12562214_1 WHERE date__from_ = "12 August 1897"
CREATE TABLE table_12584173_1 (population__stanthorpe_ INTEGER, population__rosenthal_ VARCHAR)
What was the population in Stanthorpe in the year when the population in Rosenthal was 1548?
SELECT MAX(population__stanthorpe_) FROM table_12584173_1 WHERE population__rosenthal_ = 1548
CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)
What is the low grid for gerhard berger for laps over 56?
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
CREATE TABLE table_12591022_2 (teaching_language VARCHAR, duration__years_ VARCHAR)
What is the teaching language with the duration (years) 3.5?
SELECT teaching_language FROM table_12591022_2 WHERE duration__years_ = "3.5"
CREATE TABLE table_12715053_1 (compound_name VARCHAR, marine_organism_α VARCHAR)
What is the compound name listed where marine organism α is worm
SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = "Worm"
CREATE TABLE table_12715053_1 (compound_name VARCHAR, chemical_class VARCHAR, clinical_trials_β VARCHAR)
How many compound names list a chemical class of depsipeptide and a clinical trials β value of 1/7?
SELECT COUNT(compound_name) FROM table_12715053_1 WHERE chemical_class = "Depsipeptide" AND clinical_trials_β = "1/7"
CREATE TABLE table_12740151_8 (clock_speed VARCHAR, price___usd__ VARCHAR)
What's the clock speed of the model that costs $910?
SELECT clock_speed FROM table_12740151_8 WHERE price___usd__ = "$910"
CREATE TABLE table_name_53 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, declination___j2000__ VARCHAR)
what is the right ascension (j2000) when the constellation is sextans and the declination (j2000) is °28′01″?
SELECT right_ascension___j2000__ FROM table_name_53 WHERE constellation = "sextans" AND declination___j2000__ = "°28′01″"
CREATE TABLE table_1277350_1 (saturday_saturnus___saturn_ VARCHAR, wednesday_mercurius__mercury_ VARCHAR)
what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi
SELECT saturday_saturnus___saturn_ FROM table_1277350_1 WHERE wednesday_mercurius__mercury_ = "Mercuridi"
CREATE TABLE table_name_10 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s?
SELECT constellation FROM table_name_10 WHERE right_ascension___j2000__ = "10h18m58.4s"
CREATE TABLE table_name_26 (goals INTEGER, result VARCHAR)
How many Goals have a Result of 0 – 4?
SELECT AVG(goals) FROM table_name_26 WHERE result = "0 – 4"
CREATE TABLE table_1277350_3 (sunday_surya__the_sun_ VARCHAR, thursday_guru__jupiter_ VARCHAR)
In language where Thursday is برس وار bres'var, what is Sunday?
SELECT sunday_surya__the_sun_ FROM table_1277350_3 WHERE thursday_guru__jupiter_ = "برس وار Bres'var"
CREATE TABLE table_12791809_1 (freight_carried_s_tonne INTEGER, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)
What is the least amount of freight carried when the super b capacity reached was February 26?
SELECT MIN(freight_carried_s_tonne) FROM table_12791809_1 WHERE super_b_capacity_reached_[_citation_needed_] = "February 26"
CREATE TABLE table_12792876_2 (won VARCHAR)
What is the third entry in the row with a first entry of "club"?
SELECT won FROM table_12792876_2 WHERE "club" = "club"
CREATE TABLE table_12792876_3 (tries_against VARCHAR, drawn VARCHAR)
What was the tries against when the drawn was 2?
SELECT tries_against FROM table_12792876_3 WHERE drawn = "2"
CREATE TABLE table_name_57 (year INTEGER, category VARCHAR, nominated_for VARCHAR)
Name the year that Birds of a feather category for most popular actress was nominated
SELECT AVG(year) FROM table_name_57 WHERE category = "most popular actress" AND nominated_for = "birds of a feather"
CREATE TABLE table_12821159_14 (earnings__€_ VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR)
What was the number of earnings were cuts made are 19 and money list rank is 3?
SELECT earnings__€_ FROM table_12821159_14 WHERE cuts_made = 19 AND money_list_rank = 3
CREATE TABLE table_name_26 (winning_party_2003 VARCHAR, swing_to_gain VARCHAR, result VARCHAR)
Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold?
SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold"
CREATE TABLE table_name_21 (rank VARCHAR, constituency VARCHAR, result VARCHAR, winning_party_2003 VARCHAR, swing_to_gain VARCHAR)
Which rank had the Labour party winning in 2003, a swing to gain that was larger than 2.13, a lab hold as a result, and which took place in the Linlithgow constituency?
SELECT rank FROM table_name_21 WHERE winning_party_2003 = "labour" AND swing_to_gain > 2.13 AND result = "lab hold" AND constituency = "linlithgow"
CREATE TABLE table_12837_1 (rain VARCHAR, sunlight_hours VARCHAR)
How many rain figures are provided for sunlight hours in 1966?
SELECT COUNT(rain) FROM table_12837_1 WHERE sunlight_hours = 1966
CREATE TABLE table_name_23 (city VARCHAR, completion VARCHAR)
What city was completed in 1910-1978?
SELECT city FROM table_name_23 WHERE completion = "1910-1978"
CREATE TABLE table_name_69 (opponent VARCHAR, field VARCHAR)
Name the opponent when the field is mitchel athletic complex
SELECT opponent FROM table_name_69 WHERE field = "mitchel athletic complex"
CREATE TABLE table_name_81 (date VARCHAR, home_away VARCHAR, opponent VARCHAR)
Name the date for when the home/away is away and the opponent is bayhawks
SELECT date FROM table_name_81 WHERE home_away = "away" AND opponent = "bayhawks"
CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR)
Name the opponent when the result is w 16-15 and has home/away of home
SELECT opponent FROM table_name_37 WHERE home_away = "home" AND result = "w 16-15"
CREATE TABLE table_name_36 (clean_ VARCHAR, _jerk VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR)
What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of –?
SELECT clean_ & _jerk FROM table_name_36 WHERE bodyweight < 76.55 AND total__kg_ = "–"
CREATE TABLE table_name_9 (result VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR)
What is the result of the europe/africa group i, round robin game in Murcia (esp) before 1999?
SELECT result FROM table_name_9 WHERE location = "murcia (esp)" AND year < 1999 AND competition = "europe/africa group i, round robin"
CREATE TABLE table_name_26 (finals_mvp VARCHAR, eastern_champion VARCHAR, western_champion VARCHAR)
Who is the MVP finals that includes Detroit shock from the eastern championship and Sacramento monarchs from western championship?
SELECT finals_mvp FROM table_name_26 WHERE eastern_champion = "detroit shock" AND western_champion = "sacramento monarchs"
CREATE TABLE table_12962773_14 (year_born INTEGER, height VARCHAR)
What year was the player born who is 2.02m tall?
SELECT MAX(year_born) FROM table_12962773_14 WHERE height = "2.02"
CREATE TABLE table_12962773_15 (current_club VARCHAR, no VARCHAR)
How many clubs does number 6 play for?
SELECT COUNT(current_club) FROM table_12962773_15 WHERE no = 6
CREATE TABLE table_name_97 (player VARCHAR, college VARCHAR)
What player has a college named san sebastian?
SELECT player FROM table_name_97 WHERE college = "san sebastian"
CREATE TABLE table_name_88 (original_air_date VARCHAR, series__number VARCHAR, season__number VARCHAR, production_code VARCHAR)
Name the air date for the seasons before 14 and series less than 183 with production code more than 709
SELECT original_air_date FROM table_name_88 WHERE season__number < 14 AND production_code > 709 AND series__number < 183
CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR)
What's the total power of the unit whose construction finished on 14.06.1963?
SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963"
CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_start VARCHAR, commercial_operation VARCHAR)
How many different values of total power are there for the unit whose construction started on 01.03.1977 and whose commercial operation started on 01.02.1984?
SELECT COUNT(total_power) FROM table_12983929_1 WHERE construction_start = "01.03.1977" AND commercial_operation = "01.02.1984"
CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR)
what is the total viewers where the date of first broadcast is 28 january 2010 and the episode number is 1?
SELECT MIN(total_viewers) FROM table_12995531_3 WHERE date_of_first_broadcast = "28 January 2010" AND episode_number = 1
CREATE TABLE table_name_11 (grid VARCHAR, driver VARCHAR)
what is the grid when the driver is pierre levegh?
SELECT grid FROM table_name_11 WHERE driver = "pierre levegh"
CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR)
what is the series number where the date of first broadcast is 16 october 2008?
SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = "16 October 2008"
CREATE TABLE table_name_11 (debut VARCHAR, position VARCHAR, name VARCHAR)
What round was the debut of defender Stephen Laybutt?
SELECT debut FROM table_name_11 WHERE position = "defender" AND name = "stephen laybutt"
CREATE TABLE table_name_31 (winning_team VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
Who is the winning team when the year is more than 2003, the score is 19½–14½ and the venue is harding park golf club?
SELECT winning_team FROM table_name_31 WHERE year > 2003 AND score = "19½–14½" AND venue = "harding park golf club"
CREATE TABLE table_name_21 (location VARCHAR, year VARCHAR, international_captain VARCHAR)
what is the location when the year is less than 1998 and the international captain is david graham?
SELECT location FROM table_name_21 WHERE year < 1998 AND international_captain = "david graham"
CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)
What was the date of the game in week 14?
SELECT date FROM table_13023925_2 WHERE week = 14
CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR)
Name the vice captain for melbourne victory
SELECT Vice - captain FROM table_1301373_7 WHERE club = "Melbourne Victory"
CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR)
What was the margin of the Masters Tournament?
SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament"
CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)
What was the winning score of the PGA Championship (3)?
SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA championship (3)"
CREATE TABLE table_name_72 (height VARCHAR, school VARCHAR)
What's the heigh of the player who went to lake howell high school?
SELECT height FROM table_name_72 WHERE school = "lake howell high school"
CREATE TABLE table_name_71 (week VARCHAR, game_site VARCHAR, attendance VARCHAR)
What week was the game played at Robert f. Kennedy memorial stadium with more than 54,633 people in attendance?
SELECT COUNT(week) FROM table_name_71 WHERE game_site = "robert f. kennedy memorial stadium" AND attendance > 54 OFFSET 633
CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR)
What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes?
SELECT others_percentage FROM table_1304443_2 WHERE bush_percentage = "51.6%"
CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)
What's the name of the county where 54.6% voted for Bush?
SELECT county FROM table_1304443_2 WHERE bush_percentage = "54.6%"
CREATE TABLE table_name_33 (silver VARCHAR, sport VARCHAR, gold VARCHAR)
What is the total number of silver medals for karate athletes with over 2 golds?
SELECT COUNT(silver) FROM table_name_33 WHERE sport = "karate" AND gold > 2
CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR)
what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson
SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson"
CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR)
what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer
SELECT circuit FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND pole_position = "Bradley Ellis Alex Mortimer"
CREATE TABLE table_name_34 (attendance INTEGER, venue VARCHAR, result VARCHAR)
what was the attendance for a home venue and a w 3-0 result?
SELECT AVG(attendance) FROM table_name_34 WHERE venue = "home" AND result = "w 3-0"
CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)
what is the lowest qualifying rank?
SELECT MIN(qualifying_rank) FROM table_13114949_3
CREATE TABLE table_13114949_3 (qualifying_rank INTEGER, qualifying_score VARCHAR, competition VARCHAR, final_rank VARCHAR)
what is the highest qualifying rank where the competition is olympic trials, the final-rank is 4 and qualifying score is 15.100?
SELECT MAX(qualifying_rank) FROM table_13114949_3 WHERE competition = "Olympic Trials" AND final_rank = "4" AND qualifying_score = "15.100"
CREATE TABLE table_13183076_3 (_number VARCHAR, production_code VARCHAR)
What is the # for the episode with a Production code of 3T7057?
SELECT _number FROM table_13183076_3 WHERE production_code = "3T7057"
CREATE TABLE table_13183076_3 (original_air_date VARCHAR, directed_by VARCHAR)
What is the Original air date for the episode directed by Tricia Brock?
SELECT original_air_date FROM table_13183076_3 WHERE directed_by = "Tricia Brock"
CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR)
How many michelob ultra mountains classification for darren lill
SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey) FROM table_13223187_1 WHERE drury_hotels_most_aggressive_rider_red_jersey = "Darren Lill"
CREATE TABLE table_name_80 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR, points__pts_ VARCHAR)
What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws?
SELECT AVG(goals_conceded__gc_) FROM table_name_80 WHERE goals_scored__gf_ > 19 AND points__pts_ = 31 AND draw__pe_ > 7
CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR)
Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani?
SELECT constructor FROM table_name_77 WHERE entrant = "officine alfieri maserati" AND driver = "sergio mantovani"
CREATE TABLE table_13259009_2 (opponent VARCHAR, game_site VARCHAR)
What team was the opponent at Mile High Stadium?
SELECT opponent FROM table_13259009_2 WHERE game_site = "Mile High Stadium"
CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR)
What is the average year they finished 5th in santiago, chile?
SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile"
CREATE TABLE table_13301516_1 (us_viewers__millions_ VARCHAR, original_air_date VARCHAR)
How many U.S. viewers, in millions, watched the episode that aired on November 13, 2007?
SELECT us_viewers__millions_ FROM table_13301516_1 WHERE original_air_date = "November 13, 2007"
CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1?
SELECT nation FROM table_name_10 WHERE gold = 0 AND rank > 14 AND total = 1 AND silver < 1
CREATE TABLE table_13301516_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR)
How many millions of U.S. viewers watched episode 185?
SELECT us_viewers__millions_ FROM table_13301516_1 WHERE no_in_series = 185
CREATE TABLE table_1329532_2 (date_of_election VARCHAR, elected_successor VARCHAR)
What was the election date for Arthur Hodges?
SELECT date_of_election FROM table_1329532_2 WHERE elected_successor = "Arthur Hodges"
CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR)
When was the game happening at Halton Stadium?
SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium"
CREATE TABLE table_1333612_1 (country VARCHAR, es_mulatto VARCHAR)
what's the country with es mulatto being 3.5%
SELECT country FROM table_1333612_1 WHERE es_mulatto = "3.5%"
CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)
What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi"
CREATE TABLE table_name_42 (engine_name VARCHAR, max_torque_at_rpm VARCHAR)
What is the engine name that has a maximum torque at rpm of n·m ( lbf·ft ) @ 3,800?
SELECT engine_name FROM table_name_42 WHERE max_torque_at_rpm = "n·m ( lbf·ft ) @ 3,800"
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)
What is the number of region 4 for the series of the complete seventh series?
SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series"
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)
Name the region 4 for the complete fifth series
SELECT region_4 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series"
CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR)
How many numbers were listed under losing bonus when there were 68 tries for?
SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68"
CREATE TABLE table_13399573_3 (points_for VARCHAR, points VARCHAR)
What amount of points for were there when there was 52 points?
SELECT points_for FROM table_13399573_3 WHERE points = "52"
CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
I want to know the total for silver more than 0 with bronze more than 21 and gold more than 29
SELECT COUNT(total) FROM table_name_74 WHERE silver > 0 AND bronze > 21 AND gold > 29
CREATE TABLE table_name_15 (tournament VARCHAR, opponents_in_the_final VARCHAR)
What is the Tournament with a Opponents in the final with rod laver fred stolle?
SELECT tournament FROM table_name_15 WHERE opponents_in_the_final = "rod laver fred stolle"
CREATE TABLE table_name_66 (tournament VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)
What is the Tournament with a Date larger than 1973, with Opponents in the final with hank pfister sherwood stewart?
SELECT tournament FROM table_name_66 WHERE date > 1973 AND opponents_in_the_final = "hank pfister sherwood stewart"
CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety)
SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)"
CREATE TABLE table_name_23 (french_abbr VARCHAR, group_name VARCHAR)
For the group name European Progressive Democrats what is the French abbr?
SELECT french_abbr FROM table_name_23 WHERE group_name = "european progressive democrats"
CREATE TABLE table_1341423_38 (candidates VARCHAR, district VARCHAR)
Who were the candidates in district Pennsylvania 3?
SELECT candidates FROM table_1341423_38 WHERE district = "Pennsylvania 3"
CREATE TABLE table_name_66 (lost VARCHAR, period VARCHAR, managed VARCHAR)
How many lost when the number managed is over 2 and the period is from 12 november 2012 – 27 november 2012?
SELECT COUNT(lost) FROM table_name_66 WHERE period = "12 november 2012 – 27 november 2012" AND managed > 2
CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR)
When is the earliest season at waverley park, a Score of 15.12 (102) – 9.14 (68), and a Margin larger than 34?
SELECT MIN(season) FROM table_name_46 WHERE venue = "waverley park" AND score = "15.12 (102) – 9.14 (68)" AND margin > 34
CREATE TABLE table_name_21 (crowd VARCHAR, away_team VARCHAR)
What was the crowd size for the game where Footscray was the away team?
SELECT COUNT(crowd) FROM table_name_21 WHERE away_team = "footscray"
CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR)
What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87?
SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87
CREATE TABLE table_name_61 (record VARCHAR, points VARCHAR, opponent VARCHAR)
What is the record when they play the canucks and have under 98 points?
SELECT record FROM table_name_61 WHERE points < 98 AND opponent = "canucks"
CREATE TABLE table_1341453_40 (first_elected VARCHAR, district VARCHAR)
When was Chaka Fattah first elected in the Pennsylvania 2 district?
SELECT first_elected FROM table_1341453_40 WHERE district = "Pennsylvania 2"
CREATE TABLE table_name_4 (other_performer_s_ VARCHAR, director_s_ VARCHAR, album VARCHAR)
On the album titled “Loud” who was the other performer on the song directed by Melina Matsoukas?
SELECT other_performer_s_ FROM table_name_4 WHERE director_s_ = "melina matsoukas" AND album = "loud"
CREATE TABLE table_name_59 (position VARCHAR, club_province VARCHAR, player VARCHAR)
Which position has a club of Meralomas and a player named David Biddle?
SELECT position FROM table_name_59 WHERE club_province = "meralomas" AND player = "david biddle"
CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR)
How many districts does gary condit represent?
SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit"
CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)
What is the average area for code 98030 with population over 312?
SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312
CREATE TABLE table_1341472_12 (district VARCHAR, incumbent VARCHAR)
What district is Mac Collins an incumbent in?
SELECT district FROM table_1341472_12 WHERE incumbent = "Mac Collins"
CREATE TABLE table_1341472_12 (candidates VARCHAR, incumbent VARCHAR)
Who were the candidates in the district where Charlie Norwood is the incumbent?
SELECT candidates FROM table_1341472_12 WHERE incumbent = "Charlie Norwood"
CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR)
what's the party with candidates  jerry weller (r) 51.77% clem balanoff (d) 48.23%
SELECT party FROM table_1341472_15 WHERE candidates = "Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%"
CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR)
What type has an unspecified species and less than 367 genes?
SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367
CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)
What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8?
SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = "chernomorets novorossiysk" AND drawn < 65
CREATE TABLE table_1341549_33 (district VARCHAR, candidates VARCHAR)
how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8%
SELECT COUNT(district) FROM table_1341549_33 WHERE candidates = "Eliot L. Engel (D) 85.2% Martin Richman (R) 14.8%"
CREATE TABLE table_1341549_33 (candidates VARCHAR, party VARCHAR, district VARCHAR)
how many candidates with party being democratic and dbeingtrict being new york5
SELECT COUNT(candidates) FROM table_1341549_33 WHERE party = "Democratic" AND district = "New York5"
CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR)
Tell me the lowest tries for goals more than 0 with centre position and points less than 54
SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54