answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT rank FROM table_name_52 WHERE actor_actress = "jolene anderson"
What is Jolene Anderson's Rank?
CREATE TABLE table_name_52 (rank VARCHAR, actor_actress VARCHAR)
SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87
What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87?
CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR)
SELECT horse FROM table_name_10 WHERE faults = "did not start" AND total > 16.16
What horse did not start and had a total of over 16.16?
CREATE TABLE table_name_10 (horse VARCHAR, faults VARCHAR, total VARCHAR)
SELECT length_of_marriage FROM table_24143253_4 WHERE name = "Ray Bradbury"
How long were Ray Bradbury and his wife married?
CREATE TABLE table_24143253_4 (length_of_marriage VARCHAR, name VARCHAR)
SELECT AVG(game) FROM table_name_18 WHERE record = "4-1"
What is the average game number when the record is 4-1?
CREATE TABLE table_name_18 (game INTEGER, record VARCHAR)
SELECT COUNT(round) FROM table_name_24 WHERE position = "1b" AND signed = "no cardinals - 1969 june"
What round drafted was the 1b and a Signed of no cardinals - 1969 june?
CREATE TABLE table_name_24 (round VARCHAR, position VARCHAR, signed VARCHAR)
SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 2008"
What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?
CREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR)
SELECT high_points FROM table_22871316_11 WHERE series = "3-2"
Who has the high points when 3-2 is the series?
CREATE TABLE table_22871316_11 (high_points VARCHAR, series VARCHAR)
SELECT district_name FROM district WHERE city_area > 10 OR City_Population > 100000
Find the name all districts with city area greater than 10 or population larger than 100000
CREATE TABLE district (district_name VARCHAR, city_area VARCHAR, City_Population VARCHAR)
SELECT series FROM table_24998088_1 WHERE position = "7th"
In what series did he have the 7th position?
CREATE TABLE table_24998088_1 (series VARCHAR, position VARCHAR)
SELECT COUNT(minor_sponsors) FROM table_187239_1 WHERE kit_manufacturer = "Olympikus" AND period = "2011"
When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?
CREATE TABLE table_187239_1 (minor_sponsors VARCHAR, kit_manufacturer VARCHAR, period VARCHAR)
SELECT opponent FROM table_name_69 WHERE result = "w 20-17"
Who was the opponent at the game with a result of w 20-17?
CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR)
SELECT COUNT(*) FROM customer_orders WHERE order_details = "Second time"
How many orders have detail "Second time"?
CREATE TABLE customer_orders (order_details VARCHAR)
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Nanhai 南海"
When nanhai 南海 is the commandery what is the commandery capital?
CREATE TABLE table_278229_1 (commandery VARCHAR)
SELECT away_team FROM table_name_3 WHERE date = "9 february 1988"
Who was the away team on 9 February 1988?
CREATE TABLE table_name_3 (away_team VARCHAR, date VARCHAR)
SELECT front_side_bus FROM table_name_95 WHERE frequency = "733mhz"
What is the front-side bus for the processor whose frequency is 733MHz?
CREATE TABLE table_name_95 (front_side_bus VARCHAR, frequency VARCHAR)
SELECT results¹ FROM table_name_54 WHERE opponent = "hungary"
What was the result of the game against Hungary?
CREATE TABLE table_name_54 (results¹ VARCHAR, opponent VARCHAR)
SELECT opponent FROM table_name_86 WHERE attendance = "31,002"
Who was the opponent when the attendance was 31,002?
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
SELECT catalog_number FROM table_name_66 WHERE format = "album" AND label = "seed records" AND formats = "cd" AND title = "grey"
I want to know the catalog number for album and seed records label for cd and title of grey
CREATE TABLE table_name_66 (catalog_number VARCHAR, title VARCHAR, formats VARCHAR, format VARCHAR, label VARCHAR)
SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = 1
name the total number of timeslot for number 1
CREATE TABLE table_19834691_4 (timeslot VARCHAR, _number VARCHAR)
SELECT pos FROM table_name_40 WHERE player = "brian butch"
What position does Brian Butch play?
CREATE TABLE table_name_40 (pos VARCHAR, player VARCHAR)
SELECT order__number FROM table_27616663_1 WHERE theme = "Male Singers"
What was the order # of the theme Male Singers?
CREATE TABLE table_27616663_1 (order__number VARCHAR, theme VARCHAR)
SELECT T1.id FROM trip AS T1 JOIN weather AS T2 ON T1.zip_code = T2.zip_code GROUP BY T2.zip_code HAVING AVG(T2.mean_temperature_f) > 60
Give me ids for all the trip that took place in a zip code area with average mean temperature above 60.
CREATE TABLE trip (id VARCHAR, zip_code VARCHAR); CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER)
SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico"
What player from New Mexico plays the WR position?
CREATE TABLE table_name_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT track FROM table_name_80 WHERE pole_winner = "frank kimmel" AND event_name = "pennsylvania 200"
At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200?
CREATE TABLE table_name_80 (track VARCHAR, pole_winner VARCHAR, event_name VARCHAR)
SELECT SUM(attendance) FROM table_name_98 WHERE first_downs < 26 AND opponent = "los angeles rams" AND points_for > 28
Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28?
CREATE TABLE table_name_98 (attendance INTEGER, points_for VARCHAR, first_downs VARCHAR, opponent VARCHAR)
SELECT 1 AS st_leg FROM table_name_56 WHERE team__number2 = "gran canaria"
what's the first leg with gran canaria as team #2?
CREATE TABLE table_name_56 (team__number2 VARCHAR)
SELECT COUNT(round) FROM table_1132600_3 WHERE pole_position = "Michael Schumacher" AND fastest_lap = "David Coulthard" AND winning_constructor = "McLaren - Mercedes"
Which round had Michael Schumacher in the pole position, David Coulthard with the fastest lap, and McLaren - Mercedes as the winning constructor?
CREATE TABLE table_1132600_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT MAX(first_elected) FROM table_name_36 WHERE party = "republican"
What is the most recent year for a first elected republican?
CREATE TABLE table_name_36 (first_elected INTEGER, party VARCHAR)
SELECT year FROM table_name_72 WHERE status = "won"
In what year is the status of won?
CREATE TABLE table_name_72 (year VARCHAR, status VARCHAR)
SELECT AVG(year) FROM table_name_19 WHERE chassis = "lotus 25"
What is the year of the Lotus 25 chassis?
CREATE TABLE table_name_19 (year INTEGER, chassis VARCHAR)
SELECT jockey FROM table_name_74 WHERE horse = "eight belles"
What is Jockey, when Horse is "Eight Belles"?
CREATE TABLE table_name_74 (jockey VARCHAR, horse VARCHAR)
SELECT country FROM table_name_95 WHERE place = "t9" AND player = "jiyai shin"
Which country placed t9 and had the player jiyai shin?
CREATE TABLE table_name_95 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT attendance FROM table_name_64 WHERE record = "4-4"
When the record was 4-4, how many people attended?
CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR)
SELECT rank FROM table_name_26 WHERE year = "1940"
What is the rank in 1940?
CREATE TABLE table_name_26 (rank VARCHAR, year VARCHAR)
SELECT time FROM table_name_83 WHERE laps = 19 AND grid > 19 AND manufacturer = "ktm" AND rider = "randy krummenacher"
Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?
CREATE TABLE table_name_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT MAX(televote) FROM table_name_64 WHERE artist = "justinas lapatinskas" AND draw > 9
Artist Justinas Lapatinskas with a draw of greater than 9 got what as the highest televote?
CREATE TABLE table_name_64 (televote INTEGER, artist VARCHAR, draw VARCHAR)
SELECT SUM(drawn) FROM table_name_81 WHERE points < 15 AND lost = 8 AND position > 6
what is the sum of drawn when points is less than 15, lost is 8 and position is more than 6?
CREATE TABLE table_name_81 (drawn INTEGER, position VARCHAR, points VARCHAR, lost VARCHAR)
SELECT bronze FROM table_name_31 WHERE notes = "2.5km, 16controls"
Who won Bronze with Notes of 2.5km, 16controls?
CREATE TABLE table_name_31 (bronze VARCHAR, notes VARCHAR)
SELECT result FROM table_name_77 WHERE opponent = "green bay packers"
Tell me the result for green bay packers
CREATE TABLE table_name_77 (result VARCHAR, opponent VARCHAR)
SELECT wrestler FROM table_29692554_2 WHERE method_of_elimination = "Pinned after a spear" AND time = "22:50"
Who was eliminated by being pinned after a spear at 22:50?
CREATE TABLE table_29692554_2 (wrestler VARCHAR, method_of_elimination VARCHAR, time VARCHAR)
SELECT nhl_team FROM table_2781227_7 WHERE player = "Tom White"
What NHL team picked Tom White?
CREATE TABLE table_2781227_7 (nhl_team VARCHAR, player VARCHAR)
SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia"
What television service has italian as the language, and sky famiglia as the package option?
CREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)
SELECT winning_team FROM table_name_35 WHERE date = "january 28, 2006"
What is the Winning team on january 28, 2006?
CREATE TABLE table_name_35 (winning_team VARCHAR, date VARCHAR)
SELECT score FROM table_17360840_6 WHERE date = "December 11"
What was the score of the game on December 11?
CREATE TABLE table_17360840_6 (score VARCHAR, date VARCHAR)
SELECT appointed_by FROM table_name_40 WHERE termination_of_mission = "april 7, 2005"
Which Appointed has Termination of Mission on april 7, 2005?
CREATE TABLE table_name_40 (appointed_by VARCHAR, termination_of_mission VARCHAR)
SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936
Which incumbent was first elected in 1936?
CREATE TABLE table_1341897_45 (incumbent VARCHAR, first_elected VARCHAR)
SELECT extra FROM table_name_14 WHERE tournament = "olympic games"
Tell me the extra for tournament of olympic games
CREATE TABLE table_name_14 (extra VARCHAR, tournament VARCHAR)
SELECT MAX(to_par) FROM table_name_83 WHERE place = "t7" AND score = 73 - 74 = 147 AND player = "len mattiace"
What is the highest to par of player len mattiace, who has a t7 place and a score of 73-74=147?
CREATE TABLE table_name_83 (to_par INTEGER, player VARCHAR, place VARCHAR, score VARCHAR)
SELECT date FROM table_name_92 WHERE tie_no = "4"
What date has a Tie Number of 4?
CREATE TABLE table_name_92 (date VARCHAR, tie_no VARCHAR)
SELECT SUM(took_office) FROM table_name_42 WHERE left_office = "incumbent"
What is the Took Office Date of the Presidency that Left Office Incumbent?
CREATE TABLE table_name_42 (took_office INTEGER, left_office VARCHAR)
SELECT MAX(lane) FROM table_name_38 WHERE name = "nimrod shapira bar-or"
What is the highest lane that has nimrod shapira bar-or as the name?
CREATE TABLE table_name_38 (lane INTEGER, name VARCHAR)
SELECT MAX(week) FROM table_name_60 WHERE date = "november 12, 1967" AND attendance < 34 OFFSET 761
What was the latest week with a date of November 12, 1967 and less than 34,761 in attendance?
CREATE TABLE table_name_60 (week INTEGER, date VARCHAR, attendance VARCHAR)
SELECT DISTINCT T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970'
Find the name of the makers that produced some cars in the year of 1970?
CREATE TABLE MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Maker VARCHAR, Id VARCHAR); CREATE TABLE CARS_DATA (id VARCHAR, year VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)
SELECT venue FROM table_24919137_2 WHERE score = "14.16 (100)-12.12 (84)"
Where was the game played when the score was 14.16 (100)-12.12 (84)?
CREATE TABLE table_24919137_2 (venue VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_39 WHERE partnering = "diego pérez" AND opponents_in_the_final = "christer allgardh carl limberger"
WHich Tournament has a Partnering of diego pérez and a Opponents in the final of christer allgardh carl limberger?
CREATE TABLE table_name_39 (tournament VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR)
SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = "24' 17.26 93.208mph"
What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August?
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)
SELECT MAX(wins) FROM table_name_75 WHERE rank > 2 AND played < 5
What is the highest Wins, when Rank is greater than 2, and when Played is less than 5?
CREATE TABLE table_name_75 (wins INTEGER, rank VARCHAR, played VARCHAR)
SELECT AVG(year) FROM table_name_57 WHERE category = "most popular actress" AND nominated_for = "birds of a feather"
Name the year that Birds of a feather category for most popular actress was nominated
CREATE TABLE table_name_57 (year INTEGER, category VARCHAR, nominated_for VARCHAR)
SELECT type FROM table_name_31 WHERE name = "l. publilius philo vulscus"
What is the Type for l. publilius philo vulscus?
CREATE TABLE table_name_31 (type VARCHAR, name VARCHAR)
SELECT COUNT(result) FROM table_22815259_1 WHERE cowboys_points = 23
Name the result for cowboys points being 23
CREATE TABLE table_22815259_1 (result VARCHAR, cowboys_points VARCHAR)
SELECT COUNT(series__number) FROM table_17152787_3 WHERE season__number = 1
How many episodes have the season number of 1?
CREATE TABLE table_17152787_3 (series__number VARCHAR, season__number VARCHAR)
SELECT home_team FROM table_name_53 WHERE away_team = "fitzroy"
What is the name of the Home team that played Fitzroy as the Away team?
CREATE TABLE table_name_53 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(byes) FROM table_name_48 WHERE against < 1544 AND wins = 13 AND draws > 0
How many byes did they have against smaller than 1544, 13 wins, and draws larger than 0?
CREATE TABLE table_name_48 (byes VARCHAR, draws VARCHAR, against VARCHAR, wins VARCHAR)
SELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0
How many wins of average has cuts made less than 0?
CREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER)
SELECT home FROM table_name_29 WHERE visitor = "edmonton oilers" AND date = "may 22"
What is the home team of the game on May 22 with the Edmonton Oilers as the visiting team?
CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT position FROM table_name_82 WHERE year = 2009
Which position was in 2009?
CREATE TABLE table_name_82 (position VARCHAR, year VARCHAR)
SELECT partner FROM table_name_20 WHERE opponents_in_the_final = "john bromwich frank sedgman"
Which Partner has Opponents in the final of john bromwich frank sedgman?
CREATE TABLE table_name_20 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton__ = "1.150"
List the maximum speed for the 1.150 ton ships?
CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR)
SELECT number_of_cars FROM table_name_38 WHERE car__number < 7 AND year_started = 2010
HOW MANY CARS HAD A CAR # SMALLER THAN 7 AND STARTED ON 2010?
CREATE TABLE table_name_38 (number_of_cars VARCHAR, car__number VARCHAR, year_started VARCHAR)
SELECT lead FROM table_name_19 WHERE season = "2004-05"
What is the Lead in the 2004-05 Season?
CREATE TABLE table_name_19 (lead VARCHAR, season VARCHAR)
SELECT us AS Christian FROM table_name_92 WHERE year = 1989
What is the U.S. Christian with a Year that is 1989?
CREATE TABLE table_name_92 (us VARCHAR, year VARCHAR)
SELECT high_rebounds FROM table_11959669_3 WHERE date = "November 4"
Who had the highest rebounds on November 4
CREATE TABLE table_11959669_3 (high_rebounds VARCHAR, date VARCHAR)
SELECT game FROM table_name_81 WHERE location = "boston garden" AND record = "49-17"
Which game is located in Boston Garden and has a record of 49-17?
CREATE TABLE table_name_81 (game VARCHAR, location VARCHAR, record VARCHAR)
SELECT county FROM table_name_47 WHERE longitude = "85°45′43″w"
What County has a Longitude of 85°45′43″w?
CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR)
SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/19"
How many economy stats for the player with 2/19 BBI?
CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR)
SELECT date FROM table_name_73 WHERE save = "||54,918||50–36"
On what date did a save of ||54,918||50–36 occur?
CREATE TABLE table_name_73 (date VARCHAR, save VARCHAR)
SELECT written_by FROM table_name_2 WHERE episode__number = "38 (16)"
Who is the author of Episode 38 (16)?
CREATE TABLE table_name_2 (written_by VARCHAR, episode__number VARCHAR)
SELECT SUM(wins) FROM table_name_62 WHERE against > 1136 AND losses < 15 AND golden_rivers = "ultima" AND byes < 2
What was the total number of wins that had an against greater than 1136 but losses less than 15 with Ultima with less than 2 byes?
CREATE TABLE table_name_62 (wins INTEGER, byes VARCHAR, golden_rivers VARCHAR, against VARCHAR, losses VARCHAR)
SELECT finish FROM table_name_80 WHERE total = 282
What was the finish of the player who had a total of 282?
CREATE TABLE table_name_80 (finish VARCHAR, total VARCHAR)
SELECT record FROM table_name_71 WHERE opponent = "christian nielson"
Name the record with opponent of christian nielson
CREATE TABLE table_name_71 (record VARCHAR, opponent VARCHAR)
SELECT MAX(total__kg_) FROM table_name_82 WHERE bodyweight > 136.16
Of weightlifters who weighed more than 136.16, who had the highest Total?
CREATE TABLE table_name_82 (total__kg_ INTEGER, bodyweight INTEGER)
SELECT COUNT(grid) FROM table_name_98 WHERE time_retired = "gearbox" AND laps < 3
How many grids have a Time/Retired of gearbox, and Laps smaller than 3?
CREATE TABLE table_name_98 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT MIN(cultural_and_educational_panel) FROM table_name_28 WHERE university_of_dublin < 3 AND industrial_and_commercial_panel > 0 AND agricultural_panel > 4
What is the lowest number of members on the Cultural and Educational Panel, when the University of Dublin had 3 members, when the Industrial and Commercial Panel had more than 0 members, and when the Agricultural Panel had more than 4 members?
CREATE TABLE table_name_28 (cultural_and_educational_panel INTEGER, agricultural_panel VARCHAR, university_of_dublin VARCHAR, industrial_and_commercial_panel VARCHAR)
SELECT against FROM table_name_31 WHERE venue = "brewery field , bridgend"
Name the Against of Venue of brewery field , bridgend?
CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_38 WHERE score = "2–0"
What Competition had a Score of 2–0?
CREATE TABLE table_name_38 (competition VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_8 WHERE road_team = "st. louis" AND date = "april 13"
What is the Home Team on April 13 with a Road Team of St. Louis?
CREATE TABLE table_name_8 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT common_name FROM table_name_18 WHERE color = "darker colors"
What is the common name for the creature with darker colors?
CREATE TABLE table_name_18 (common_name VARCHAR, color VARCHAR)
SELECT rank FROM table_name_87 WHERE nation = "denmark"
What is Denmark's rank?
CREATE TABLE table_name_87 (rank VARCHAR, nation VARCHAR)
SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT 1
What is the name of the nurse has the most appointments?
CREATE TABLE nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR)
SELECT MIN(rank) FROM table_150340_3 WHERE country = "Puerto Rico"
What is the lowest rank for puerto rico?
CREATE TABLE table_150340_3 (rank INTEGER, country VARCHAR)
SELECT label FROM table_name_42 WHERE catalog = "uici-1069"
What is the Label of the UICI-1069 Catalog?
CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR)
SELECT away_team AS score FROM table_name_65 WHERE away_team = "carlton"
What did carlton score while away?
CREATE TABLE table_name_65 (away_team VARCHAR)
SELECT round FROM table_name_42 WHERE kick_off = "1992-10-01 21:15"
Which round has a Kick Off of 1992-10-01 21:15?
CREATE TABLE table_name_42 (round VARCHAR, kick_off VARCHAR)
SELECT AVG(play_offs) FROM table_name_9 WHERE fa_cup > 3
What are the average play-offs that have an FA Cup greater than 3?
CREATE TABLE table_name_9 (play_offs INTEGER, fa_cup INTEGER)
SELECT semifinal FROM table_name_47 WHERE event = "team"
Which Semifinal has an Event of team?
CREATE TABLE table_name_47 (semifinal VARCHAR, event VARCHAR)
SELECT score FROM table_27722734_11 WHERE team = "Denver"
Name the score for denver
CREATE TABLE table_27722734_11 (score VARCHAR, team VARCHAR)
SELECT written_by FROM table_11411026_2 WHERE us_viewers__millions_ = "19.01"
Who wrote an episode watched by 19.01 million US viewers?
CREATE TABLE table_11411026_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(reason_for_change) FROM table_1802522_3 WHERE successor = "Leonard B. Jordan (R)"
How many total reason for change are listed corresponding to the successor Leonard B. Jordan (r)?
CREATE TABLE table_1802522_3 (reason_for_change VARCHAR, successor VARCHAR)
SELECT soap_opera FROM table_name_81 WHERE character = "teemu luotola"
What Soap Opera with the character Teemu Luotola?
CREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR)