instruction
stringlengths
12
317
input
stringlengths
38
973
response
stringlengths
25
526
No Decision listed above has a visitor of Montreal.
CREATE TABLE table_name_62 ( decision VARCHAR, visitor VARCHAR )
SELECT decision FROM table_name_62 WHERE visitor = "montreal"
What year was the winners vote 55.99%?
CREATE TABLE table_1808 ( "Year" real, "Lok Sabha" text, "Members of Parliament" text, "Party Won" text, "Winners % votes" text, "Trailing Party" text, "Trailing Party % votes" text )
SELECT MIN("Year") FROM table_1808 WHERE "Winners % votes" = '55.99%'
In the final, who are the opponents of partner Simon Aspelin?
CREATE TABLE table_35942 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Opponents in the final" FROM table_35942 WHERE "Partner" = 'simon aspelin'
How many draws are for the club senghenydd rfc?
CREATE TABLE table_name_5 ( drawn VARCHAR, club VARCHAR )
SELECT drawn FROM table_name_5 WHERE club = "senghenydd rfc"
Find the schools that were either founded after 1850 or public.
CREATE TABLE university ( school VARCHAR, founded VARCHAR, affiliation VARCHAR )
SELECT school FROM university WHERE founded > 1850 OR affiliation = 'Public'
Who was the match against at the PRIDE 31 event?
CREATE TABLE table_50246 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Opponent" FROM table_50246 WHERE "Event" = 'pride 31'
54 is the game where location attendance are.
CREATE TABLE table_17080868_8 ( location_attendance VARCHAR, game VARCHAR )
SELECT location_attendance FROM table_17080868_8 WHERE game = 54
Who has the high assists when the team is Oklahoma City?
CREATE TABLE table_23285805_8 ( high_assists VARCHAR, team VARCHAR )
SELECT high_assists FROM table_23285805_8 WHERE team = "Oklahoma City"
Which podiums have a final placing of 10th?
CREATE TABLE table_15852257_1 ( podiums VARCHAR, final_placing VARCHAR )
SELECT podiums FROM table_15852257_1 WHERE final_placing = "10th"
How much did the baby who name means God knows my journey weigh at birth?
CREATE TABLE table_78040 ( "Full Name" text, "Nickname" text, "Gender" text, "Weight at birth" text, "Meaning" text )
SELECT "Weight at birth" FROM table_78040 WHERE "Meaning" = 'god knows my journey'
What's the sub-parish (sokn) of Eikefjord?
CREATE TABLE table_21949 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sokn)" text, "Church Name" text, "Year Built" text, "Location of the Church" text )
SELECT "Sub-Parish (Sokn)" FROM table_21949 WHERE "Location of the Church" = 'Eikefjord'
Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?
CREATE TABLE table_32875 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text )
SELECT "Winning driver" FROM table_32875 WHERE "Winning constructor" = 'alfa romeo' AND "Name" = 'roussillon grand prix'
Name the opponent for 1996 at the mt smart stadium venue
CREATE TABLE table_71159 ( "Margin" real, "Score" text, "Opponent" text, "Venue" text, "Year" real )
SELECT "Opponent" FROM table_71159 WHERE "Venue" = 'mt smart stadium' AND "Year" = '1996'
Name the minimum game
CREATE TABLE table_11964263_13 ( game INTEGER )
SELECT MIN(game) FROM table_11964263_13
what is the name of the top horse 's trainer ?
CREATE TABLE table_204_13 ( id number, "finished" text, "post" number, "horse" text, "jockey" text, "trainer" text, "owner" text, "time / behind" text )
SELECT "trainer" FROM table_204_13 ORDER BY "finished" LIMIT 1
What is the score of game 37?
CREATE TABLE table_name_72 ( score VARCHAR, game VARCHAR )
SELECT score FROM table_name_72 WHERE game = 37
How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez?
CREATE TABLE table_26368963_1 ( year VARCHAR, under_15 VARCHAR, under_19 VARCHAR )
SELECT COUNT(year) FROM table_26368963_1 WHERE under_15 = "Arturo Salazar Martinez" AND under_19 = "Moises Galvez"
rosen modified hachinski ischemic score less than or equal to 4
CREATE TABLE table_train_91 ( "id" int, "mini_mental_state_examination_mmse" int, "stroke" bool, "rosen_modified_hachinski_ischemic_score" int, "NOUSE" float )
SELECT * FROM table_train_91 WHERE rosen_modified_hachinski_ischemic_score <= 4
Name the total points for 2
CREATE TABLE table_27496841_3 ( total_points VARCHAR, place VARCHAR )
SELECT total_points FROM table_27496841_3 WHERE place = 2
What venue is the home field of Richmond?
CREATE TABLE table_name_46 ( venue VARCHAR, home_team VARCHAR )
SELECT venue FROM table_name_46 WHERE home_team = "richmond"
Name the attendance for 4 january 2004
CREATE TABLE table_67944 ( "Date" text, "Round" text, "Opponents" text, "Result F\u2013A" text, "Attendance" real )
SELECT "Attendance" FROM table_67944 WHERE "Date" = '4 january 2004'
Who was the winner after 2011?
CREATE TABLE table_name_81 ( winner VARCHAR, year INTEGER )
SELECT winner FROM table_name_81 WHERE year > 2011
What is the highest decile value with a roll greater than 301 in Hauraki?
CREATE TABLE table_name_46 ( decile INTEGER, roll VARCHAR, area VARCHAR )
SELECT MAX(decile) FROM table_name_46 WHERE roll > 301 AND area = "hauraki"
Name the miles for june 7
CREATE TABLE table_16493961_1 ( miles__km_ VARCHAR, date VARCHAR )
SELECT miles__km_ FROM table_16493961_1 WHERE date = "June 7"
How many Drawn is which has a Games smaller than 6?
CREATE TABLE table_name_61 ( drawn INTEGER, games INTEGER )
SELECT SUM(drawn) FROM table_name_61 WHERE games < 6
Give me a bar chart showing the total number of each minister, and sort y axis in descending order please.
CREATE TABLE party_events ( Event_ID int, Event_Name text, Party_ID int, Member_in_charge_ID int ) CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text, Region_ID int, Party_name text ) CREATE TABLE region ( Region_ID int, Region_name text, Date text, Label text, Format text, Catalogue text ) CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text )
SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister ORDER BY COUNT(Minister) DESC
What is Round when Year is 1987?
CREATE TABLE table_45464 ( "Year" real, "Seed" real, "Round" text, "Opponent" text, "Result/Score" text )
SELECT "Round" FROM table_45464 WHERE "Year" = '1987'
how many different ranks exist for karate belts ?
CREATE TABLE table_203_392 ( id number, "rank" text, "belt alternate 1" text, "belt alternate 2" text, "belt alternate 3" text, "belt alternate 4" text )
SELECT COUNT(DISTINCT "rank") FROM table_203_392
what last performance has past status, ballet as style and tommy batchelor?
CREATE TABLE table_67579 ( "Status" text, "Name" text, "First Performance" text, "Last Performance" text, "Style" text )
SELECT "Last Performance" FROM table_67579 WHERE "Status" = 'past' AND "Style" = 'ballet' AND "Name" = 'tommy batchelor'
which morgan creek film grossed the most worldwide ?
CREATE TABLE table_203_98 ( id number, "title" text, "year" number, "director" text, "budget" text, "gross (worldwide)" text, "notes" text )
SELECT "title" FROM table_203_98 ORDER BY "gross (worldwide)" DESC LIMIT 1
How many were penanced when the number with known sentences was 71 (1600 1773)?
CREATE TABLE table_name_3 ( penanced VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR )
SELECT penanced FROM table_name_3 WHERE number_of_autos_da_fé_with_known_sentences = "71 (1600–1773)"
How many cellos are suggested in the reference with section size for 20 players?
CREATE TABLE table_26621 ( "Reference" text, "Author" text, "Section Size" text, "Violins" real, "Violas" real, "Celli" real, "Basses" real )
SELECT "Celli" FROM table_26621 WHERE "Section Size" = '20 players'
What is 1987, when 1986 is '1R'?
CREATE TABLE table_43502 ( "Tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "Career SR" text )
SELECT "1987" FROM table_43502 WHERE "1986" = '1r'
What is the largest Area (msr) that has an Area less than 291.045, is part of the Per family, and has a rank higher than 78?
CREATE TABLE table_12824 ( "Rank" real, "Family" text, "Abbre\u00adviation" text, "Constellation" text, "Area (sq.deg.)" real, "Area (msr)" real, "Per\u00adcent\u00adage" text, "Right ascension (hm)" real, "Decli\u00adnation (dm)" text, "Quad" text )
SELECT MAX("Area (msr)") FROM table_12824 WHERE "Area (sq.deg.)" < '291.045' AND "Family" = 'per' AND "Rank" > '78'
What Tournament on October 24, 1982 had Alycia Moulton as the Partner?
CREATE TABLE table_6328 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Tournament" FROM table_6328 WHERE "Date" = 'october 24, 1982' AND "Partner" = 'alycia moulton'
Who is the auther when the english name was histories and eulogies of the sovereigns?
CREATE TABLE table_22464685_1 ( author VARCHAR, english_name VARCHAR )
SELECT author FROM table_22464685_1 WHERE english_name = "Histories and Eulogies of the Sovereigns"
What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010.
CREATE TABLE table_name_51 ( meg_whitman__r_ VARCHAR, date_s__administered VARCHAR )
SELECT meg_whitman__r_ FROM table_name_51 WHERE date_s__administered = "october 21, 2010"
What play has a base of Athens and was written by Aeschylus?
CREATE TABLE table_name_67 ( play VARCHAR, author VARCHAR, base VARCHAR )
SELECT play FROM table_name_67 WHERE author = "aeschylus" AND base = "athens"
What is Bronze, when Silver is less than 89, and when Total is '4'?
CREATE TABLE table_name_6 ( bronze VARCHAR, silver VARCHAR, total VARCHAR )
SELECT bronze FROM table_name_6 WHERE silver < 89 AND total = 4
List the grapes and appelations of all wines.
CREATE TABLE appellations ( no number, appelation text, county text, state text, area text, isava text ) CREATE TABLE grapes ( id number, grape text, color text ) CREATE TABLE wine ( no number, grape text, winery text, appelation text, state text, name text, year number, price number, score number, cases number, drink text )
SELECT grape, appelation FROM wine
What was the featured in Engine through rounds 10-13?
CREATE TABLE table_55779 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyres" text, "Driver" text, "Rounds" text )
SELECT "Engine" FROM table_55779 WHERE "Rounds" = '10-13'
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?
CREATE TABLE table_67299 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text )
SELECT "Constructor" FROM table_67299 WHERE "Time/Retired" = 'collision' AND "Grid" = '11'
What was the average size of the crowd for matches held at Corio Oval?
CREATE TABLE table_name_28 ( crowd INTEGER, venue VARCHAR )
SELECT AVG(crowd) FROM table_name_28 WHERE venue = "corio oval"
What team has a location and attendance at the Seattle Center Coliseum 12,591?
CREATE TABLE table_50163 ( "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_50163 WHERE "Location Attendance" = 'seattle center coliseum 12,591'
What is the lowest year listed?
CREATE TABLE table_72665 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "To par" text, "Margin of victory" text, "Purse ( US$ )" real, "Winners share" real )
SELECT MIN("Year") FROM table_72665
what is the only nation to receive three gold medals ?
CREATE TABLE table_204_775 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_204_775 WHERE "gold" = 3
Show each location and the number of cinemas there Show bar chart, I want to display in ascending by the X-axis.
CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text )
SELECT Location, COUNT(*) FROM cinema GROUP BY Location ORDER BY Location
Who's the opponent for June 13?
CREATE TABLE table_name_88 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_88 WHERE date = "june 13"
How many height entries are there for players from bayside high school?
CREATE TABLE table_25063 ( "Name" text, "#" real, "Position" text, "Height" text, "Weight" real, "Year" text, "Home Town" text, "High School" text )
SELECT COUNT("Height") FROM table_25063 WHERE "High School" = 'Bayside'
What is the score if the Tie no is 32?
CREATE TABLE table_59162 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Score" FROM table_59162 WHERE "Tie no" = '32'
How many platforms have nanaly fletch as the character?
CREATE TABLE table_30346 ( "Character" text, "Game" text, "Platform" text, "Status" text, "Mystic Arte" text, "Character Voice" text )
SELECT COUNT("Platform") FROM table_30346 WHERE "Character" = 'Nanaly Fletch'
What are the positions with both players having more than 20 points and less than 10 points.
CREATE TABLE player ( POSITION VARCHAR, Points INTEGER )
SELECT POSITION FROM player WHERE Points > 20 INTERSECT SELECT POSITION FROM player WHERE Points < 10
For the headstamp id of h2, what was the color of the bullet tip?
CREATE TABLE table_16081 ( "Headstamp ID" text, "Primer Annulus Color" text, "Bullet Tip Color" text, "Other Features" text, "Functional Type" text )
SELECT "Bullet Tip Color" FROM table_16081 WHERE "Headstamp ID" = 'H2'
How many students are from each city, and which cities have more than one cities?
CREATE TABLE dorm ( dormid number, dorm_name text, student_capacity number, gender text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE has_amenity ( dormid number, amenid number ) CREATE TABLE dorm_amenity ( amenid number, amenity_name text )
SELECT COUNT(*), city_code FROM student GROUP BY city_code HAVING COUNT(*) > 1
What category was nominated in 2010 fo the British Soap Awards?
CREATE TABLE table_58546 ( "Awards" text, "Year" real, "Category" text, "Result" text, "Production" text, "Roll" text )
SELECT "Category" FROM table_58546 WHERE "Year" = '2010' AND "Result" = 'nominated' AND "Awards" = 'british soap awards'
What population density (per km) that has 84 as the population (2006)?
CREATE TABLE table_13796 ( "Name" text, "Population (2011)" real, "Population (2006)" text, "Change (%)" text, "Land area (km\u00b2)" text, "Population density (per km\u00b2)" text )
SELECT "Population density (per km\u00b2)" FROM table_13796 WHERE "Population (2006)" = '84'
What Place has a Player of tony jacklin?
CREATE TABLE table_name_28 ( place VARCHAR, player VARCHAR )
SELECT place FROM table_name_28 WHERE player = "tony jacklin"
What shows for shoots for craig peacock a?
CREATE TABLE table_name_62 ( shoots VARCHAR, player VARCHAR )
SELECT shoots FROM table_name_62 WHERE player = "craig peacock a"
Which Event has the Opponent, Jason Yee?
CREATE TABLE table_10881 ( "Result" text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text )
SELECT "Event" FROM table_10881 WHERE "Opponent" = 'jason yee'
What was the Date of Death of the person whose Date of Birth was 28 May 1371?
CREATE TABLE table_55800 ( "Name" text, "Date of birth" text, "Date of death" text, "Reign" text, "Relationship with predecessor" text )
SELECT "Date of death" FROM table_55800 WHERE "Date of birth" = '28 may 1371'
how many novelists are listed ?
CREATE TABLE table_203_449 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text )
SELECT COUNT(*) FROM table_203_449 WHERE "notable as" = 'novelist'
when was joe clark first elected ?
CREATE TABLE table_203_214 ( id number, "member" text, "party" text, "electorate" text, "state" text, "first elected" text )
SELECT "first elected" FROM table_203_214 WHERE "member" = 'joe clark'
which airline has air sakha as its call sign ?
CREATE TABLE table_203_58 ( id number, "airline" text, "airline (in russian)" text, "licence #" number, "icao" text, "iata" text, "domestic code" text, "callsign" text, "photo" text )
SELECT "airline" FROM table_203_58 WHERE "callsign" = 'air sakha'
What role was at the Sydney Film Festival in 2008?
CREATE TABLE table_name_4 ( role VARCHAR, year VARCHAR, festival_organization VARCHAR )
SELECT role FROM table_name_4 WHERE year = 2008 AND festival_organization = "sydney film festival"
tries against correct as of 2007-10-15 has what tries for?
CREATE TABLE table_name_31 ( tries_for VARCHAR, tries_against VARCHAR )
SELECT tries_for FROM table_name_31 WHERE tries_against = "correct as of 2007-10-15"
Who played on waca ground and scored 79 points?
CREATE TABLE table_69657 ( "Player" text, "Score" text, "Balls" real, "Opponent" text, "Ground" text )
SELECT "Opponent" FROM table_69657 WHERE "Ground" = 'waca ground' AND "Score" = '79'
how many times is the seasons 2 and the coach guy lowman?
CREATE TABLE table_9759 ( "Coach" text, "Years" text, "Seasons" real, "Record" text, "Winning %" real )
SELECT COUNT("Winning %") FROM table_9759 WHERE "Seasons" = '2' AND "Coach" = 'guy lowman'
Bar graph to show meter_100 from different meter 400, and could you display by the y axis in asc?
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) 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 ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int )
SELECT meter_400, meter_100 FROM swimmer ORDER BY meter_100
How many Goals Against have a Position of 4?
CREATE TABLE table_60196 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT COUNT("Goals Against") FROM table_60196 WHERE "Position" = '4'
Show the rank, first name, and last name for all the faculty.
CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE activity ( actid number, activity_name text ) CREATE TABLE participates_in ( stuid number, actid number ) CREATE TABLE faculty_participates_in ( facid number, actid number ) CREATE TABLE faculty ( facid number, lname text, fname text, rank text, sex text, phone number, room text, building text )
SELECT rank, fname, lname FROM faculty
What is Winner, when Win # is greater than 1, and when Points is less than 94?
CREATE TABLE table_76167 ( "Year" text, "Winner" text, "Points" real, "Playoff result" text, "Win #" real )
SELECT "Winner" FROM table_76167 WHERE "Win #" > '1' AND "Points" < '94'
Group and count details for the events using a pie chart.
CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) )
SELECT Event_Details, COUNT(Event_Details) FROM Events GROUP BY Event_Details
Which date held the match at the City Stadium, Georgetown?
CREATE TABLE table_name_7 ( date VARCHAR, venue VARCHAR )
SELECT date FROM table_name_7 WHERE venue = "city stadium, georgetown"
At what latitude can the name origin of naijok fossae be found?
CREATE TABLE table_16799784_11 ( latitude VARCHAR, name VARCHAR )
SELECT latitude FROM table_16799784_11 WHERE name = "Naijok Fossae"
What are the dates that Falling Angel aired?
CREATE TABLE table_28803803_1 ( date VARCHAR, name VARCHAR )
SELECT date FROM table_28803803_1 WHERE name = "Falling Angel"
Who was the visiting team at the game when the Canadiens had a record of 30 19 9?
CREATE TABLE table_77534 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT "Visitor" FROM table_77534 WHERE "Record" = '30–19–9'
How many premio are there when 'Artist of the Year' was the categoria?
CREATE TABLE table_29563 ( "A\u00f1o" real, "Trabajo nominado" text, "Premio" text, "Categor\u00eda" text, "Country" text, "Resultado" text )
SELECT COUNT("Premio") FROM table_29563 WHERE "Categor\u00eda" = 'Artist of the Year'
Which team plays home in western oval venue?
CREATE TABLE table_name_16 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_16 WHERE venue = "western oval"
What Class has the Identifier fo CBFX-FM-2?
CREATE TABLE table_66624 ( "City of license" text, "Identifier" text, "Frequency" text, "Power" text, "Class" text, "RECNet" text )
SELECT "Class" FROM table_66624 WHERE "Identifier" = 'cbfx-fm-2'
What is the 1976 value of the Australian Open?
CREATE TABLE table_name_35 ( tournament VARCHAR )
SELECT 1976 FROM table_name_35 WHERE tournament = "australian open"
What was the home team's score in the match at Victoria Park?
CREATE TABLE table_32844 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_32844 WHERE "Venue" = 'victoria park'
Name the least rank subcontinent for bangladesh
CREATE TABLE table_25049 ( "Rank Subcontinent" real, "Rank Asia" real, "Rank World" real, "Country" text, "2011 GDP (PPP) billions of USD" text )
SELECT MIN("Rank Subcontinent") FROM table_25049 WHERE "Country" = 'Bangladesh'
Kevin lucas appears in which seasons?
CREATE TABLE table_17675 ( "Character" text, "Portrayed by" text, "Main cast seasons" text, "Recurring cast seasons" text, "# of episodes" real )
SELECT "Recurring cast seasons" FROM table_17675 WHERE "Character" = 'Kevin Lucas'
name the only team whose percentage change was positive .
CREATE TABLE table_203_561 ( id number, "pos" number, "team" text, "total" number, "high" number, "low" number, "average" number, "change" text )
SELECT "team" FROM table_203_561 WHERE "change" > 0
Name the hits for years before 1883
CREATE TABLE table_80110 ( "Hits" real, "Player" text, "Team" text, "Year" real, "Years Record Stood" text )
SELECT "Hits" FROM table_80110 WHERE "Year" < '1883'
how many athletes finished the race in less than 5:00:00 ?
CREATE TABLE table_204_521 ( id number, "rank" number, "name" text, "nationality" text, "time (hand)" text, "notes" text )
SELECT COUNT("name") FROM table_204_521 WHERE "time (hand)" < 5
who reigned longer , geunchogo or chaekgye ?
CREATE TABLE table_204_465 ( id number, "#" number, "temple name" text, "hangul" text, "hanja" text, "period of reign" text, "personal name" text, "relationship" text, "note" text )
SELECT "temple name" FROM table_204_465 WHERE "temple name" IN ('geunchogo', 'chaekgye') ORDER BY "period of reign" - "period of reign" DESC LIMIT 1
How many players played for adams state school?
CREATE TABLE table_16402 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT COUNT("Player") FROM table_16402 WHERE "College" = 'Adams State'
Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%?
CREATE TABLE table_54442 ( "Party" text, "Results 2004" text, "CSA 5/14/09" text, "Viavoice 5/15/09" text, "Ifop- La Croix 5/15/09" text, "Ipsos 5/16/09" text, "OpinionWay 5/18/09" text, "CSA 5/20/09" text, "Ipsos 5/25/09" text, "TNS-Sofres 5/26/09" text, "OpinionWay 5/28/09" text, "TNS-Sofres 5/28/09" text )
SELECT "Ipsos 5/16/09" FROM table_54442 WHERE "TNS-Sofres 5/28/09" = '2.5%'
What is the Skip when the Third was john morris?
CREATE TABLE table_name_61 ( skip VARCHAR, third VARCHAR )
SELECT skip FROM table_name_61 WHERE third = "john morris"
What country does Tiger Woods play for?
CREATE TABLE table_name_17 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_17 WHERE player = "tiger woods"
How many goals occurred with Diego Milito in a debut year later than 2008?
CREATE TABLE table_name_40 ( goals VARCHAR, name VARCHAR, debut_year VARCHAR )
SELECT COUNT(goals) FROM table_name_40 WHERE name = "diego milito" AND debut_year > 2008
Which Venue has a Round of gs, and a Result of 0 3?
CREATE TABLE table_name_2 ( venue VARCHAR, round VARCHAR, result VARCHAR )
SELECT venue FROM table_name_2 WHERE round = "gs" AND result = "0–3"
What is the lowest amount of wins of someone who has 2 losses?
CREATE TABLE table_name_96 ( wins INTEGER, losses VARCHAR )
SELECT MIN(wins) FROM table_name_96 WHERE losses = 2
How many gold medals for the school with less than 1 total?
CREATE TABLE table_name_43 ( gold_medals VARCHAR, total_medals INTEGER )
SELECT COUNT(gold_medals) FROM table_name_43 WHERE total_medals < 1
When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th?
CREATE TABLE table_26986076_5 ( fri_27_aug VARCHAR, wed_25_aug VARCHAR )
SELECT fri_27_aug FROM table_26986076_5 WHERE wed_25_aug = "21' 05.83 107.304mph"
Name the episode for vic reeves and claudia winkleman
CREATE TABLE table_23292220_7 ( episode VARCHAR, seans_team VARCHAR )
SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman"
What is the hometown of the pitcher who's school was Saint Joseph Regional High School?
CREATE TABLE table_17053 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text )
SELECT "Hometown" FROM table_17053 WHERE "Position" = 'Pitcher' AND "School" = 'Saint Joseph Regional High School'
What League was played in 2007?
CREATE TABLE table_2380212_1 ( league VARCHAR, year VARCHAR )
SELECT league FROM table_2380212_1 WHERE year = 2007
What are the names of regions that were not affected?
CREATE TABLE region ( region_id number, region_code text, region_name text ) CREATE TABLE storm ( storm_id number, name text, dates_active text, max_speed number, damage_millions_usd number, number_deaths number ) CREATE TABLE affected_region ( region_id number, storm_id number, number_city_affected number )
SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)