instruction
stringlengths
12
317
input
stringlengths
38
973
response
stringlengths
25
526
How many tries against for the team with 67 tries for?
CREATE TABLE table_59235 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text )
SELECT "Tries against" FROM table_59235 WHERE "Tries for" = '67'
Who was the winner when the iron chef is hiroyuki sakai?
CREATE TABLE table_26457 ( "Special" text, "Original airdate" text, "Iron Chef" text, "Challenger" text, "Challenger Specialty" text, "Theme Ingredient" text, "Winner" text )
SELECT "Winner" FROM table_26457 WHERE "Iron Chef" = 'Hiroyuki Sakai'
Which Date has a Crowd smaller than 4,485?
CREATE TABLE table_name_72 ( date VARCHAR, crowd INTEGER )
SELECT date FROM table_name_72 WHERE crowd < 4 OFFSET 485
Name the ends won for blank ends for 0
CREATE TABLE table_27411 ( "Country" text, "Skip" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot %" real )
SELECT "Ends Won" FROM table_27411 WHERE "Blank Ends" = '0'
What's the number of the game played on June 22?
CREATE TABLE table_19778010_5 ( game INTEGER, date VARCHAR )
SELECT MAX(game) FROM table_19778010_5 WHERE date = "June 22"
How many appointment dates were recorded when J rgen Kohler was the replaced by?
CREATE TABLE table_21275 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text )
SELECT COUNT("Date of appointment") FROM table_21275 WHERE "Replaced by" = 'Jürgen Kohler'
What is the Pinyin for the simplified ?
CREATE TABLE table_73274 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Area" real, "Population" real, "Density" real )
SELECT "Pinyin" FROM table_73274 WHERE "Simplified" = '虞城县'
What grid features 6 laps?
CREATE TABLE table_name_53 ( grid VARCHAR, laps VARCHAR )
SELECT grid FROM table_name_53 WHERE laps = 6
What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1103?
CREATE TABLE table_58174 ( "Heir" text, "Status" text, "Relationship to Monarch" text, "Became heir" text, "Reason" text, "Ceased to be heir" text, "Monarch" text )
SELECT "Status" FROM table_58174 WHERE "Monarch" = 'henry i' AND "Reason" = 'succession unclear 1100-1103'
What is the label for December 2004?
CREATE TABLE table_39024 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text )
SELECT "Label" FROM table_39024 WHERE "Date" = 'december 2004'
Can you tell me the average Wins that has the Goal Difference larger than -24, and the Draws larger than 7?
CREATE TABLE table_60853 ( "Position" real, "Club" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Points" real, "Goal Difference" real )
SELECT AVG("Wins") FROM table_60853 WHERE "Goal Difference" > '-24' AND "Draws" > '7'
What venue featured north melbourne as the away side?
CREATE TABLE table_name_27 ( venue VARCHAR, away_team VARCHAR )
SELECT venue FROM table_name_27 WHERE away_team = "north melbourne"
Group and count the years played to draw a bar chart, list y axis in descending order.
CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_language text )
SELECT Years_Played, COUNT(Years_Played) FROM player GROUP BY Years_Played ORDER BY COUNT(Years_Played) DESC
What is the total of Frequency MHz with a Class of b1?
CREATE TABLE table_69060 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" text, "Class" text, "FCC info" text )
SELECT SUM("Frequency MHz") FROM table_69060 WHERE "Class" = 'b1'
Who was the opponent in Game 27?
CREATE TABLE table_name_94 ( opponent VARCHAR, game VARCHAR )
SELECT opponent FROM table_name_94 WHERE game = 27
Show me about the distribution of name and meter_100 in a bar chart, rank y axis in desc order please.
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text )
SELECT name, meter_100 FROM swimmer ORDER BY meter_100 DESC
hyperlipidemia ( fasting total cholesterol > 240 mg / dl and / or fasting triglycerides > 200 mg / dl and / or fasting ldl cholesterol > 140 mg / dl ) ;
CREATE TABLE table_train_248 ( "id" int, "anemia" bool, "prostate_specific_antigen_psa" float, "hemoglobin_a1c_hba1c" float, "body_weight" float, "fasting_triglycerides" int, "hyperlipidemia" bool, "hgb" int, "fasting_total_cholesterol" int, "fasting_ldl_cholesterol" int, "body_mass_index_bmi" float, "NOUSE" float )
SELECT * FROM table_train_248 WHERE hyperlipidemia = 1 OR (fasting_total_cholesterol > 240 OR fasting_triglycerides > 200 OR fasting_ldl_cholesterol > 140)
What is the average weeks on top of volumes associated with the artist aged 25 or younger?
CREATE TABLE music_festival ( id number, music_festival text, date_of_ceremony text, category text, volume number, result text ) CREATE TABLE artist ( artist_id number, artist text, age number, famous_title text, famous_release_date text ) CREATE TABLE volume ( volume_id number, volume_issue text, issue_date text, weeks_on_top number, song text, artist_id number )
SELECT AVG(T2.weeks_on_top) FROM artist AS T1 JOIN volume AS T2 ON T1.artist_id = T2.artist_id WHERE T1.age <= 25
For those records from the products and each product's manufacturer, find name and code , and group by attribute name, and visualize them by a bar chart, and rank in desc by the bars.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Name DESC
What longitude is tatman township?
CREATE TABLE table_18600760_20 ( longitude VARCHAR, township VARCHAR )
SELECT longitude FROM table_18600760_20 WHERE township = "Tatman"
what's the result with district being washington 7
CREATE TABLE table_18184 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Result" FROM table_18184 WHERE "District" = 'Washington 7'
What is the name of the athlete with a time of 30:48?
CREATE TABLE table_44347 ( "Rank" text, "Time" text, "Athlete" text, "Nation" text, "Date" text, "Race" text )
SELECT "Athlete" FROM table_44347 WHERE "Time" = '30:48'
What's the smallest amount of earnings when the wins are less than 72 and the rank is more than 3?
CREATE TABLE table_39494 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Wins" real )
SELECT MIN("Earnings ( $ )") FROM table_39494 WHERE "Wins" < '72' AND "Rank" > '3'
What is the total of countys where Obama is popular by 35.44%?
CREATE TABLE table_20688030_1 ( county VARCHAR, obama_percentage VARCHAR )
SELECT COUNT(county) FROM table_20688030_1 WHERE obama_percentage = "35.44%"
What's the general classification of stage 3 with David Loosli as the mountains classification?
CREATE TABLE table_59025 ( "Stage" text, "Winner" text, "General Classification" text, "Mountains Classification" text, "Points Classification" text, "Sprints classification" text, "Team Classification" text )
SELECT "General Classification" FROM table_59025 WHERE "Mountains Classification" = 'david loosli' AND "Stage" = '3'
what is the mountain range when the region is british columbia and mountain pea is mount edziza?
CREATE TABLE table_name_90 ( mountain_range VARCHAR, region VARCHAR, mountain_peak VARCHAR )
SELECT mountain_range FROM table_name_90 WHERE region = "british columbia" AND mountain_peak = "mount edziza"
What name has a qual 2 of 1:43.374?
CREATE TABLE table_name_97 ( name VARCHAR, qual_2 VARCHAR )
SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374"
What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13 total events?
CREATE TABLE table_name_52 ( cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR )
SELECT MAX(cuts_made) FROM table_name_52 WHERE top_5 = 1 AND top_10 = 2 AND events > 13
What name was proposed on 12/30/1982 in rockingham county with a CERCLIS ID of nhd062004569?
CREATE TABLE table_9427 ( "CERCLIS ID" text, "Name" text, "County" text, "Proposed" text, "Listed" text, "Construction completed" text, "Partially deleted" text )
SELECT "Name" FROM table_9427 WHERE "Proposed" = '12/30/1982' AND "County" = 'rockingham' AND "CERCLIS ID" = 'nhd062004569'
When did the north melbourne team play?
CREATE TABLE table_name_7 ( date VARCHAR, home_team VARCHAR )
SELECT date FROM table_name_7 WHERE home_team = "north melbourne"
Who directed the episode with production code 177605?
CREATE TABLE table_73969 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Patient Portrayer" text, "Original air date" text, "Production code" real )
SELECT "Directed by" FROM table_73969 WHERE "Production code" = '177605'
Game site of candlestick park had what opponent?
CREATE TABLE table_6224 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" real )
SELECT "Opponent" FROM table_6224 WHERE "Game site" = 'candlestick park'
What is the capacity percentage when the total attendance is 509940?
CREATE TABLE table_28884858_1 ( capacity_percentage VARCHAR, total_attendance VARCHAR )
SELECT capacity_percentage FROM table_28884858_1 WHERE total_attendance = 509940
When sweden is the country what is the highest production in 2010 (1,000 ton)?
CREATE TABLE table_31108 ( "Rank 2011" real, "Country" text, "Production in 2011 (1,000 ton)" real, "Share 2011" text, "Rank 2010" real, "Production in 2010 (1,000 ton)" real )
SELECT MAX("Production in 2010 (1,000 ton)") FROM table_31108 WHERE "Country" = 'Sweden'
What is the location of the game with a 6-11-8 record?
CREATE TABLE table_76866 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real )
SELECT "Location" FROM table_76866 WHERE "Record" = '6-11-8'
Name the opponent with round of 1 and time of n/a
CREATE TABLE table_68932 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Time" text, "Location" text )
SELECT "Opponent" FROM table_68932 WHERE "Round" = '1' AND "Time" = 'n/a'
When was Mount Tahoma established?
CREATE TABLE table_19156 ( "High School" text, "Type" text, "Established" real, "Enrollment" real, "Mascot" text, "WIAA Classification" text, "Notes" text )
SELECT MAX("Established") FROM table_19156 WHERE "High School" = 'Mount Tahoma'
How many locations? Draw a bar chart.
CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE train_station ( Train_ID int, Station_ID int )
SELECT Location, COUNT(Location) FROM station GROUP BY Location
Which Perth has Auckland yes and Gold Coast yes?
CREATE TABLE table_70890 ( "Auckland" text, "Gold Coast" text, "Sydney" text, "Melbourne" text, "Adelaide" text, "Perth" text )
SELECT "Perth" FROM table_70890 WHERE "Auckland" = 'yes' AND "Gold Coast" = 'yes'
What was the winning % when there were 322 goals?
CREATE TABLE table_2259285_1 ( winning_pct__percentage VARCHAR, goals_for VARCHAR )
SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 322
who is the athlete when the time is less than 11.13 and the country is belgium?
CREATE TABLE table_64386 ( "Rank" real, "Heat" real, "Athlete" text, "Country" text, "Time" real )
SELECT "Athlete" FROM table_64386 WHERE "Time" < '11.13' AND "Country" = 'belgium'
What is the attendance that has a record of 43-28?
CREATE TABLE table_name_86 ( attendance VARCHAR, record VARCHAR )
SELECT attendance FROM table_name_86 WHERE record = "43-28"
What are the names of the heads who are born outside the California state?
CREATE TABLE head ( name VARCHAR, born_state VARCHAR )
SELECT name FROM head WHERE born_state <> 'California'
How many draws occured with a record of 10 losses, and 6 wins?
CREATE TABLE table_name_38 ( draws VARCHAR, losses VARCHAR, wins VARCHAR )
SELECT COUNT(draws) FROM table_name_38 WHERE losses = 10 AND wins > 6
What is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5?
CREATE TABLE table_66695 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Silver") FROM table_66695 WHERE "Bronze" > '1' AND "Rank" < '5'
how many peaks are below 3200 feet ?
CREATE TABLE table_203_808 ( id number, "rank" number, "peak name" text, "elevation" text, "location" text, "notes" text )
SELECT COUNT("peak name") FROM table_203_808 WHERE "elevation" < 3200
What was the place when the score was 71-69-71=211?
CREATE TABLE table_name_22 ( place VARCHAR, score VARCHAR )
SELECT place FROM table_name_22 WHERE score = 71 - 69 - 71 = 211
Return a pie on how many books fall into each category?
CREATE TABLE book_club ( book_club_id int, Year int, Author_or_Editor text, Book_Title text, Publisher text, Category text, Result text ) CREATE TABLE culture_company ( Company_name text, Type text, Incorporated_in text, Group_Equity_Shareholding real, book_club_id text, movie_id text ) CREATE TABLE movie ( movie_id int, Title text, Year int, Director text, Budget_million real, Gross_worldwide int )
SELECT Category, COUNT(*) FROM book_club GROUP BY Category
What is the total number drawn with goals against less than 55, and a total of 14 losses?
CREATE TABLE table_name_75 ( drawn VARCHAR, goals_against VARCHAR, lost VARCHAR )
SELECT COUNT(drawn) FROM table_name_75 WHERE goals_against < 55 AND lost = 14
Which Country has a Place of 2?
CREATE TABLE table_58746 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real )
SELECT "Country" FROM table_58746 WHERE "Place" = '2'
How much is after debt when cash on hand is $651,300?
CREATE TABLE table_name_11 ( after_debt VARCHAR, cash_on_hand VARCHAR )
SELECT after_debt FROM table_name_11 WHERE cash_on_hand = "$651,300"
What episode number in the series was directed by John Behring?
CREATE TABLE table_24187 ( "No in Series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text )
SELECT MAX("No in Series") FROM table_24187 WHERE "Directed by" = 'John Behring'
How many songs have a shared vocal?
CREATE TABLE vocals ( songid VARCHAR ) CREATE TABLE songs ( songid VARCHAR )
SELECT COUNT(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE TYPE = "shared"
what was the total number of goals scored by all of the national team players in the 1947/1948 season ?
CREATE TABLE table_203_121 ( id number, "name" text, "pos." text, "caps" number, "goals" number, "club" text )
SELECT SUM("goals") FROM table_203_121
Where does Geelong play their home game?
CREATE TABLE table_name_7 ( venue VARCHAR, home_team VARCHAR )
SELECT venue FROM table_name_7 WHERE home_team = "geelong"
Location of the school with the nickname Mountaineers
CREATE TABLE table_20804 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" real, "Established" real )
SELECT "Location" FROM table_20804 WHERE "Nickname" = 'Mountaineers'
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of founder and the average of price , and group by attribute founder.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Founder, AVG(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
when did the first provincial representative for gilbert plains take office ?
CREATE TABLE table_203_345 ( id number, "name" text, "party" text, "took office" number, "left office" number )
SELECT MIN("took office") FROM table_203_345
What club has a tries for count of 19?
CREATE TABLE table_12886178_5 ( club VARCHAR, tries_for VARCHAR )
SELECT club FROM table_12886178_5 WHERE tries_for = "19"
Which team did Tyson Chandler (7) have high rebounds for?
CREATE TABLE table_45167 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_45167 WHERE "High rebounds" = 'tyson chandler (7)'
What college did the defensive back attend?
CREATE TABLE table_19481 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "College" FROM table_19481 WHERE "Position" = 'Defensive Back'
What candidate is a member of the Republican party?
CREATE TABLE table_18298 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_18298 WHERE "Party" = 'Republican'
When did Philoxenus Anicetus begin to hold power?
CREATE TABLE table_75884 ( "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text )
SELECT "From" FROM table_75884 WHERE "Name" = 'philoxenus anicetus'
What was the transfer fee for the player moving in the winter window and ending in a year after 2010?
CREATE TABLE table_7726 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" real, "Transfer fee" text )
SELECT "Transfer fee" FROM table_7726 WHERE "Ends" > '2010' AND "Transfer window" = 'winter'
Who was the away captain with a result of Eng by 1 wkt?
CREATE TABLE table_40014 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text )
SELECT "Away captain" FROM table_40014 WHERE "Result" = 'eng by 1 wkt'
In Penney's game what is the probability where the 1st player wins if the probability of a draw is 8.28% and the 2nd player chooses B BR?
CREATE TABLE table_16226 ( "1st players choice" text, "2nd players choice" text, "Probability 1st player wins" text, "Probability 2nd player wins" text, "Probability of a draw" text )
SELECT "Probability 1st player wins" FROM table_16226 WHERE "Probability of a draw" = '8.28%' AND "2nd players choice" = 'B BR'
What was the score in the match against Kim Tiilikainen?
CREATE TABLE table_68453 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Score" FROM table_68453 WHERE "Opponent" = 'kim tiilikainen'
What is the Mountains Classification for Winner Thor hushovd with Sprints Classification of no award?
CREATE TABLE table_45372 ( "Stage" text, "Winner" text, "General Classification" text, "Mountains Classification" text, "Points Classification" text, "Sprints classification" text, "Team Classification" text )
SELECT "Mountains Classification" FROM table_45372 WHERE "Winner" = 'thor hushovd' AND "Sprints classification" = 'no award'
Which song was picked that was originally performed by Marisa Monte?
CREATE TABLE table_29668 ( "Week #" text, "Theme" text, "Song Choice" text, "Original Artist" text, "Order #" text, "Result" text )
SELECT "Song Choice" FROM table_29668 WHERE "Original Artist" = 'Marisa Monte'
What is every high point when the team is Washington?
CREATE TABLE table_17325580_6 ( high_points VARCHAR, team VARCHAR )
SELECT high_points FROM table_17325580_6 WHERE team = "Washington"
Which Weekly Rank has an Official ratings (millions) of 11.58?
CREATE TABLE table_name_82 ( weekly_rank VARCHAR, official_ratings__millions_ VARCHAR )
SELECT weekly_rank FROM table_name_82 WHERE official_ratings__millions_ = 11.58
What is the Champion at Sopot prior to 2006 with a Score of 6 4, 6 7(7), 6 3?
CREATE TABLE table_name_69 ( champion VARCHAR, score VARCHAR, location VARCHAR, year VARCHAR )
SELECT champion FROM table_name_69 WHERE location = "sopot" AND year < 2006 AND score = "6–4, 6–7(7), 6–3"
What is the candidate status of macedonia?
CREATE TABLE table_12599 ( "State" text, "Status" text, "Association Agreement" text, "Membership Application" text, "Candidate status" text, "Negotiations start" text, "Screening completed" text, "Acquis Chapters open/closed" text )
SELECT "Candidate status" FROM table_12599 WHERE "State" = 'macedonia'
What is the Team with a game of more than 56, and the score is l 85 90 (ot)?
CREATE TABLE table_75920 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_75920 WHERE "Game" > '56' AND "Score" = 'l 85–90 (ot)'
What Country scored 72-65-73=210?
CREATE TABLE table_8815 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_8815 WHERE "Score" = '72-65-73=210'
Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238?
CREATE TABLE table_77131 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text )
SELECT MAX("Round") FROM table_77131 WHERE "School/Club Team" = 'cal-poly slo' AND "Pick" < '238'
what is the highest points when the chassis is focus rs wrc 08 and 09 and the stage wins is more than 91?
CREATE TABLE table_name_42 ( points INTEGER, chassis VARCHAR, stage_wins VARCHAR )
SELECT MAX(points) FROM table_name_42 WHERE chassis = "focus rs wrc 08 and 09" AND stage_wins > 91
What type of game was held against France with the results of 3:1?
CREATE TABLE table_6658 ( "Date" text, "City" text, "Opponent" text, "Results\u00b9" text, "Type of game" text )
SELECT "Type of game" FROM table_6658 WHERE "Results\u00b9" = '3:1' AND "Opponent" = 'france'
Name the least attendance with visitor of edmonton
CREATE TABLE table_name_98 ( attendance INTEGER, visitor VARCHAR )
SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton"
How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
CREATE TABLE table_28946 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT COUNT("First elected") FROM table_28946 WHERE "Candidates" = 'Leven Powell (F) 63.8% Roger West (DR) 36.4%'
in what year did jason babin force at least 15 sacks ?
CREATE TABLE table_203_258 ( id number, "year" number, "team" text, "games" number, "combined tackles" number, "tackles" number, "assisted tackles" number, "sacks" number, "forced fumbles" number, "fumble recoveries" number, "fumble return yards" number, "interceptions" number, "interception return yards" number, "yards per interception return" number, "longest interception return" number, "interceptions returned for touchdown" number, "passes defended" number )
SELECT "year" FROM table_203_258 WHERE "sacks" >= 15
Which Award Ceremony in 2009 has a Role of Glinda?
CREATE TABLE table_name_2 ( award_ceremony VARCHAR, role VARCHAR, year VARCHAR )
SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" AND year = 2009
What is the date where the result was L 27-10 in a week before week 9?
CREATE TABLE table_name_94 ( date VARCHAR, week VARCHAR, result VARCHAR )
SELECT date FROM table_name_94 WHERE week < 9 AND result = "l 27-10"
what is the nationality when the ship is willerby?
CREATE TABLE table_45309 ( "Date" text, "Ship" text, "Type" text, "Nationality" text, "Tonnage GRT" real, "Fate" text )
SELECT "Nationality" FROM table_45309 WHERE "Ship" = 'willerby'
Which city contains Telus Plaza South?
CREATE TABLE table_5246 ( "Years" text, "Building" text, "City" text, "Height" text, "Storeys" real )
SELECT "City" FROM table_5246 WHERE "Building" = 'telus plaza south'
Which Points is the lowest one that has Touchdowns smaller than 1?
CREATE TABLE table_name_51 ( points INTEGER, touchdowns INTEGER )
SELECT MAX(points) FROM table_name_51 WHERE touchdowns < 1
What was the smallest crowd for a Melbourne away game?
CREATE TABLE table_name_83 ( crowd INTEGER, away_team VARCHAR )
SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "melbourne"
what is the first discipline listed on this chart ?
CREATE TABLE table_204_345 ( id number, "discipline" text, "amanda" number, "bernie" number, "javine h" number, "julia" number, "michelle" number )
SELECT "discipline" FROM table_204_345 WHERE id = 1
Total smaller than 285, and a To par larger than 1 belongs to what player?
CREATE TABLE table_37035 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text )
SELECT "Player" FROM table_37035 WHERE "Total" < '285' AND "To par" > '1'
What was the smallest crowd that Melbourne played for at home?
CREATE TABLE table_33227 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MIN("Crowd") FROM table_33227 WHERE "Home team" = 'melbourne'
What is the finish in 1953?
CREATE TABLE table_name_75 ( finish VARCHAR, year VARCHAR )
SELECT finish FROM table_name_75 WHERE year = "1953"
who was the only opponent to be scored against with an assist from wambach ?
CREATE TABLE table_204_920 ( id number, "goal" number, "date" text, "location" text, "opponent" text, "lineup" text, "min" number, "assist/pass" text, "score" text, "result" text, "competition" text )
SELECT "opponent" FROM table_204_920 WHERE "assist/pass" = 'wambach'
What is the Eurozone result for Population M (LUZ) of 3.08?
CREATE TABLE table_33785 ( "Rank" real, "City" text, "State" text, "GDP in $ID B" text, "Population M (LUZ)" real, "GDP per capita $ID K" text, "Eurozone" text )
SELECT "Eurozone" FROM table_33785 WHERE "Population M (LUZ)" = '3.08'
Tell me the total number of administrative panel with labour panel more than 2, nominated by taoiseach more than 6 and total of 28
CREATE TABLE table_name_59 ( administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR )
SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6
When the a o was 2012, who was the county?
CREATE TABLE table_29566 ( "A\u00f1o" real, "Trabajo nominado" text, "Premio" text, "Categor\u00eda" text, "Country" text, "Resultado" text )
SELECT "Country" FROM table_29566 WHERE "A\u00f1o" = '2012'
When was roshan mahanama born?
CREATE TABLE table_77940 ( "Player" text, "Date of Birth" text, "Batting Style" text, "Bowling Style" text, "First Class Team" text )
SELECT "Date of Birth" FROM table_77940 WHERE "Player" = 'roshan mahanama'
How many weeks has the opponent been san francisco 49ers?
CREATE TABLE table_7899 ( "Week" real, "Date" text, "TV Time" text, "Opponent" text, "Result" text )
SELECT COUNT("Week") FROM table_7899 WHERE "Opponent" = 'san francisco 49ers'
What was the score for the South American Championship dated December 13, 1925?
CREATE TABLE table_40787 ( "Date" text, "Result" text, "Score" text, "Brazil scorers" text, "Competition" text )
SELECT "Result" FROM table_40787 WHERE "Competition" = 'south american championship' AND "Date" = 'december 13, 1925'
What is the make of car 31?
CREATE TABLE table_77726 ( "Driver" text, "Car #" real, "Make" text, "Points" real, "Laps" real, "Winnings" text )
SELECT "Make" FROM table_77726 WHERE "Car #" = '31'
What is Leading Scorer, when Attendance is Gund Arena 20,562, and when Record is 20-10?
CREATE TABLE table_name_65 ( leading_scorer VARCHAR, attendance VARCHAR, record VARCHAR )
SELECT leading_scorer FROM table_name_65 WHERE attendance = "gund arena 20,562" AND record = "20-10"