question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
Who was the succesor that was formally installed on November 8, 1978?
SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978"
CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
Name the team for launceston
SELECT team FROM table_name_60 WHERE race_title = "launceston"
CREATE TABLE table_name_60 (team VARCHAR, race_title VARCHAR)
How many fastest laps were there for a rd that equals 10?
SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10
CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)
Find the first name of students who are living in the dorm that has most number of amenities.
SELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid = T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid = T5.amenid GROUP BY T3.dormid ORDER BY COUNT(*) DESC LIMIT 1)
CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR)
What is Stella Farentino's current relationship status?
SELECT current_marital_status FROM table_24143253_2 WHERE name = "Stella Farentino"
CREATE TABLE table_24143253_2 (current_marital_status VARCHAR, name VARCHAR)
What is the Away Team Score of the Collingwood Home Team?
SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood"
CREATE TABLE table_name_26 (away_team VARCHAR)
What country has a series premier of unknown and mbc action as their TV network?
SELECT country FROM table_name_27 WHERE series_premiere = "unknown" AND tv_network_s_ = "mbc action"
CREATE TABLE table_name_27 (country VARCHAR, series_premiere VARCHAR, tv_network_s_ VARCHAR)
Which team is in 9th place?
SELECT class AS pos FROM table_name_98 WHERE pos = "9th"
CREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR)
What is the invoice number and invoice date for the invoice with most number of transactions?
SELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR)
What is the Away team of Tie no 1?
SELECT away_team FROM table_name_68 WHERE tie_no = "1"
CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)
What was the Location and Attendance of Game 6?
SELECT location_attendance FROM table_name_51 WHERE game = 6
CREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR)
what's the grand prix with winning driver being jenson button
SELECT grand_prix FROM table_12161822_5 WHERE winning_driver = "Jenson Button"
CREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR)
Which contestant was associated with episode 34?
SELECT name FROM table_name_30 WHERE episode_number = "episode 34"
CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR)
What is the Team that has a Races of 4, and a Points of 0?
SELECT team FROM table_name_10 WHERE races = "4" AND points = "0"
CREATE TABLE table_name_10 (team VARCHAR, races VARCHAR, points VARCHAR)
Which cornerback has the lowest overall and a pick number smaller than 16?
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
What is the least amount of prize money when there are 21 events?
SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21
CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)
Name the home team score for brisbane lions
SELECT home_team AS score FROM table_16388439_3 WHERE home_team = "Brisbane Lions"
CREATE TABLE table_16388439_3 (home_team VARCHAR)
Name the total number of air dates for 05 cycle
SELECT COUNT(air_dates) FROM table_16976547_2 WHERE cycle_no = "05"
CREATE TABLE table_16976547_2 (air_dates VARCHAR, cycle_no VARCHAR)
What is the number of distinct publication dates?
SELECT COUNT(DISTINCT Publication_Date) FROM publication
CREATE TABLE publication (Publication_Date VARCHAR)
When the A Score was larger than 5.933 with a total of 19.833, what nation was this?
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833
CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)
Who received gold when the event is time trial details and silver is simon richardson great britain (gbr)?
SELECT gold FROM table_name_2 WHERE event = "time trial details" AND silver = "simon richardson great britain (gbr)"
CREATE TABLE table_name_2 (gold VARCHAR, event VARCHAR, silver VARCHAR)
Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39?
SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46
CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR)
What is the home team score of the Ghantoot Racing and Polo Club Ground?
SELECT home_team AS score FROM table_name_25 WHERE ground = "ghantoot racing and polo club"
CREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)
WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?
SELECT school FROM table_11677691_2 WHERE college = "South Carolina"
CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR)
When st kilda played as the Away team which date was that?
SELECT date FROM table_name_10 WHERE away_team = "st kilda"
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
Tell me the launch pad for 25 december 2010 10:34
SELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = "25 december 2010 10:34"
CREATE TABLE table_name_16 (launch_pad VARCHAR, launch_date_time__utc_ VARCHAR)
What kansas vs. that has w 2 as the current streak, and 31 as games played?
SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "31"
CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR)
How many goals were conceded against the Chepo F.C. team where they lost 7 games?
SELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = "chepo f.c."
CREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR)
What were the lowest laps of Tarso Marques?
SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques"
CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR)
What is Date of Appointment, when Outgoing Manager is "Hakan Kutlu"?
SELECT date_of_appointment FROM table_name_42 WHERE outgoing_manager = "hakan kutlu"
CREATE TABLE table_name_42 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
What is the whole of Drawn that has a Lost of 4?
SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4
CREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR)
Which Nominated Work won in 2000?
SELECT nominated_work FROM table_name_15 WHERE year = 2000 AND results = "won"
CREATE TABLE table_name_15 (nominated_work VARCHAR, year VARCHAR, results VARCHAR)
What is the highest rank for the team of egypt?
SELECT MAX(rank) FROM table_name_58 WHERE country = "egypt"
CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)
What is the location of the tallahassee open, with a Score of 269 (–19)?
SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open"
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)
What Soap Opera with the character Teemu Luotola?
SELECT soap_opera FROM table_name_81 WHERE character = "teemu luotola"
CREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR)
Which BR number has an LMS number over 14768?
SELECT br_number FROM table_name_5 WHERE lms_number > 14768
CREATE TABLE table_name_5 (br_number VARCHAR, lms_number INTEGER)
Which away team played on June 9, 2015 with a home team of f1?
SELECT away_team FROM table_name_34 WHERE date = "june 9, 2015" AND home_team = "f1"
CREATE TABLE table_name_34 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
What is the sum for gold when there is more than 17 silver and more than 24 bronze?
SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24
CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
What is the Branding of Frequency 00 94.5?
SELECT branding FROM table_name_70 WHERE frequency = "00 94.5"
CREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)
What is the lowest round for the player whose position is guard and had a pick number smaller than 144?
SELECT MIN(round) FROM table_name_84 WHERE position = "guard" AND pick < 144
CREATE TABLE table_name_84 (round INTEGER, position VARCHAR, pick VARCHAR)
What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament?
SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"
CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)
Which Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45?
SELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.45
CREATE TABLE table_name_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR)
What was the attendance on September 28?
SELECT MAX(attendance) FROM table_name_92 WHERE date = "september 28"
CREATE TABLE table_name_92 (attendance INTEGER, date VARCHAR)
Who was elected in 1972
SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972
CREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR)
What is the result of game played on 10-05-2012?
SELECT result FROM table_name_23 WHERE date = "10-05-2012"
CREATE TABLE table_name_23 (result VARCHAR, date VARCHAR)
What gender is the team that has a decile of 5 and in the Dalefield area?
SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield"
CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR)
What's the nationality of Cardinal-Bishop of Albano?
SELECT nationality FROM table_name_32 WHERE cardinalatial_order_and_title = "cardinal-bishop of albano"
CREATE TABLE table_name_32 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)
What game has valiquette as the decision, with @ los angeles kings as the opponent?
SELECT game FROM table_name_96 WHERE decision = "valiquette" AND opponent = "@ los angeles kings"
CREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)
What was the title of the episode with a production code of 3x6404?
SELECT title FROM table_27776266_1 WHERE production_code = "3X6404"
CREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR)
What is the average grid number that had Team China with less than 10 laps?
SELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = "china"
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, team VARCHAR)
Name the james e. holmes for joe baez
SELECT james_e_holmes FROM table_25330991_3 WHERE rockingham_county = "Joe Baez"
CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, rockingham_county VARCHAR)
How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414?
SELECT COUNT(population_density__per_km²_) FROM table_name_98 WHERE name = "total northern villages" AND population__2006_ > 11414
CREATE TABLE table_name_98 (population_density__per_km²_ VARCHAR, name VARCHAR, population__2006_ VARCHAR)
Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r
SELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = "6.4" AND archive = "16mm t/r"
CREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)
Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total?
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394
CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)
What was the location and attendance for game 60?
SELECT location_attendance FROM table_17121262_9 WHERE game = 60
CREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR)
On what circuit was the City of Ipswich 400 race held?
SELECT circuit FROM table_14016079_1 WHERE race_title = "City of Ipswich 400"
CREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)
What race has a Pole Position of Jacques Laffite?
SELECT race FROM table_name_25 WHERE pole_position = "jacques laffite"
CREATE TABLE table_name_25 (race VARCHAR, pole_position VARCHAR)
Name the opponent for record 10-13-3
SELECT opponent FROM table_27537870_5 WHERE record = "10-13-3"
CREATE TABLE table_27537870_5 (opponent VARCHAR, record VARCHAR)
What home team has a score of 2–1, when the away team was Telford United?
SELECT home_team FROM table_name_10 WHERE score = "2–1" AND away_team = "telford united"
CREATE TABLE table_name_10 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
What is the name of the national final main host when the semi final/heat host shows internal selection in 2011?
SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = "internal selection" AND year_s_ = "2011"
CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)
What series had the title rank of various?
SELECT series FROM table_name_20 WHERE title_rank = "various"
CREATE TABLE table_name_20 (series VARCHAR, title_rank VARCHAR)
Tell me constructor for Laps less than 17 and Grid more than 11 for alan jones
SELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = "alan jones"
CREATE TABLE table_name_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
List the organisation id with the maximum outcome count, and the count.
SELECT T1.organisation_id, COUNT(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (organisation_id VARCHAR, project_id VARCHAR)
What time is it for the southern home team?
SELECT time FROM table_name_82 WHERE home_team = "southern"
CREATE TABLE table_name_82 (time VARCHAR, home_team VARCHAR)
what's the latest first elected year
SELECT MAX(first_elected) FROM table_1341472_49
CREATE TABLE table_1341472_49 (first_elected INTEGER)
What is the 2011 value with a 134 in 2008?
SELECT 2011 FROM table_name_31 WHERE 2008 = "134"
CREATE TABLE table_name_31 (Id VARCHAR)
Who is the lead for the team from Saskatoon, Saskatchewan?
SELECT lead FROM table_name_84 WHERE home = "saskatoon, saskatchewan"
CREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR)
Which name has the source apoelfc.com.cy and a type of transfer?
SELECT name FROM table_name_94 WHERE source = "apoelfc.com.cy" AND type = "transfer"
CREATE TABLE table_name_94 (name VARCHAR, source VARCHAR, type VARCHAR)
What is the title of the episode originally aired on February 2, 2008?
SELECT title FROM table_name_65 WHERE original_airdate = "february 2, 2008"
CREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR)
On what date was a two-way tie (8) the high rebound?
SELECT date FROM table_name_3 WHERE high_rebounds = "two-way tie (8)"
CREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR)
What's the game with an attendance of 71,962?
SELECT MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962
CREATE TABLE table_name_53 (game INTEGER, attendance VARCHAR)
How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso?
SELECT laps FROM table_name_7 WHERE constructor = "renault" AND driver = "fernando alonso"
CREATE TABLE table_name_7 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)
What was the inroductory phase for the episode with neil shubin as a guest?
SELECT introductory_phrase FROM table_14835674_1 WHERE guest = "Neil Shubin"
CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, guest VARCHAR)
Whose is the manufacturer for team Ranier-Lundy?
SELECT manufacturer FROM table_2268216_1 WHERE team = "Ranier-Lundy"
CREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR)
When was the satellite that has a COSPAR ID of 1967-042a launched?
SELECT launch_date FROM table_name_80 WHERE cospar_id = "1967-042a"
CREATE TABLE table_name_80 (launch_date VARCHAR, cospar_id VARCHAR)
In the country Switzerland, what is the total trade?
SELECT total_trade FROM table_26160007_1 WHERE country = "Switzerland"
CREATE TABLE table_26160007_1 (total_trade VARCHAR, country VARCHAR)
What is the lowest of the athlete from sri lanka who has a lane greater than 8?
SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 8
CREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR)
Which Player has a Position of forward?
SELECT player FROM table_name_18 WHERE position = "forward"
CREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)
Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?
SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2"
CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)
when was the episode guest starring michael mcintyre and alex james broadcasted
SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Michael McIntyre and Alex James"
CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR)
If extremely adventures is the category what is the height from sea level in meters?
SELECT height_from_sea_level_in_meters FROM table_1430913_1 WHERE category = "Extremely Adventures"
CREATE TABLE table_1430913_1 (height_from_sea_level_in_meters VARCHAR, category VARCHAR)
What was the outcome of the match with score 4–6, 3–6, 2–6?
SELECT outcome FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 2–6"
CREATE TABLE table_22839669_1 (outcome VARCHAR, score_in_the_final VARCHAR)
What is the highest rank of a company that has 1,715.8 billion in assets?
SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = "1,715.8"
CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)
What is Benito Cheng's Pick number?
SELECT pick FROM table_name_75 WHERE player = "benito cheng"
CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)
The episode written by Rebecca Dameron aired on what date?
SELECT original_air_date FROM table_11111116_6 WHERE written_by = "Rebecca Dameron"
CREATE TABLE table_11111116_6 (original_air_date VARCHAR, written_by VARCHAR)
How tall is the player from Chicago, IL?
SELECT height FROM table_name_48 WHERE hometown = "chicago, il"
CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR)
What are the average points White made with 0 extra points?
SELECT AVG(points) FROM table_name_14 WHERE extra_points = 0 AND player = "white"
CREATE TABLE table_name_14 (points INTEGER, extra_points VARCHAR, player VARCHAR)
How many mystic arte have hisui (jadeite) hearts 1 as the character?
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1"
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)
What is the aspect ratio of the DVD released on 12/10/2009?
SELECT aspect_ratio FROM table_1180228_1 WHERE released = "12/10/2009"
CREATE TABLE table_1180228_1 (aspect_ratio VARCHAR, released VARCHAR)
What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0–1?
SELECT club FROM table_name_8 WHERE nation = "mexico" AND year = 2010 AND competition = "preseason" AND result = "w 0–1"
CREATE TABLE table_name_8 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR)
Who is the director of the film in Italian?
SELECT director FROM table_name_92 WHERE language = "italian"
CREATE TABLE table_name_92 (director VARCHAR, language VARCHAR)
Which team was at Corio Oval on 4 June 1927?
SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio oval"
CREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR)
What is the Group position for the date of 7 November 2007?
SELECT group_position FROM table_name_9 WHERE date = "7 november 2007"
CREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR)
What was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes?
SELECT winning_score FROM table_name_42 WHERE runner_s__up = "beth daniel" AND margin_of_victory = "7 strokes"
CREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR)
Which Country has a To par larger than 3, and a Year(s) won of 1979? Question 1
SELECT country FROM table_name_3 WHERE to_par > 3 AND year_s__won = "1979"
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
List the states that have entry times of 49years, 29days
SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days"
CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)
With a Rank of 19, and a Start of 14, what was the finish?
SELECT finish FROM table_name_41 WHERE rank = "19" AND start = "14"
CREATE TABLE table_name_41 (finish VARCHAR, rank VARCHAR, start VARCHAR)
Who wrote the episode with a production code greater than 1.4 direcyed by rick wallace?
SELECT written_by FROM table_name_5 WHERE prod_code > 1.4 AND directed_by = "rick wallace"
CREATE TABLE table_name_5 (written_by VARCHAR, prod_code VARCHAR, directed_by VARCHAR)
What player has +2 to par?
SELECT player FROM table_name_29 WHERE to_par = "+2"
CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)
What is the day Number and date of all the documents?
SELECT T2.day_Number, T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date
CREATE TABLE All_documents (Date_Stored VARCHAR, date_stored VARCHAR); CREATE TABLE Ref_calendar (day_Number VARCHAR, calendar_date VARCHAR)