question
stringlengths
12
243
context
stringlengths
45
517
answer
stringlengths
32
484
What are the years when the authority was state integrated and a decile of 9?
columns: - name: years type: VARCHAR - name: authority type: VARCHAR - name: decile type: VARCHAR table: table_name_45
SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9"
What was the away teams score when they played at kardinia park?
columns: - name: away_team type: VARCHAR - name: venue type: VARCHAR table: table_name_7
SELECT away_team AS score FROM table_name_7 WHERE venue = "kardinia park"
Which New/Returning/Same Network has a Previous Network of nbc, and a Show of blockbusters?
columns: - name: new_returning_same_network type: VARCHAR - name: previous_network type: VARCHAR - name: show type: VARCHAR table: table_name_12
SELECT new_returning_same_network FROM table_name_12 WHERE previous_network = "nbc" AND show = "blockbusters"
What was the final score for the game played at 7:00 pm?
columns: - name: result type: VARCHAR - name: time type: VARCHAR table: table_name_16
SELECT result FROM table_name_16 WHERE time = "7:00 pm"
What is the last issue entry for Aron's Absurd Armada?
columns: - name: last_issue type: VARCHAR - name: title type: VARCHAR table: table_name_49
SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada"
What is the highest number of draws with 6 losses and less than 15 points?
columns: - name: draw type: INTEGER - name: lost type: VARCHAR - name: points type: VARCHAR table: table_name_94
SELECT MAX(draw) FROM table_name_94 WHERE lost = 6 AND points < 15
What is the rank of the film directed by Kevin Costner?
columns: - name: rank type: VARCHAR - name: director type: VARCHAR table: table_name_14
SELECT COUNT(rank) FROM table_name_14 WHERE director = "kevin costner"
what is the school that hosts jim goodman
columns: - name: school_club_team type: VARCHAR - name: player type: VARCHAR table: table_name_57
SELECT school_club_team FROM table_name_57 WHERE player = "jim goodman"
How many people attended the Cleveland Browns game on November 11, 1979?
columns: - name: attendance type: INTEGER - name: date type: VARCHAR - name: week type: VARCHAR table: table_name_58
SELECT MAX(attendance) FROM table_name_58 WHERE date = "november 11, 1979" AND week > 11
what season was written by jonathan collier?
columns: - name: no_in_season type: INTEGER - name: written_by type: VARCHAR table: table_25716399_1
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"
What is Score, when Player is "Vijay Singh"?
columns: - name: score type: VARCHAR - name: player type: VARCHAR table: table_name_81
SELECT score FROM table_name_81 WHERE player = "vijay singh"
Name the highest week for result of w 38-13
columns: - name: week type: INTEGER - name: result type: VARCHAR table: table_name_7
SELECT MAX(week) FROM table_name_7 WHERE result = "w 38-13"
Who won on May 2011?
columns: - name: winner type: VARCHAR - name: date type: VARCHAR table: table_name_76
SELECT winner FROM table_name_76 WHERE date = "may 2011"
What is the rank for the city of sewri?
columns: - name: rank type: VARCHAR - name: city type: VARCHAR table: table_name_46
SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri"
What are the average Laps on Grid 15?
columns: - name: laps type: INTEGER - name: grid type: VARCHAR table: table_name_88
SELECT AVG(laps) FROM table_name_88 WHERE grid = 15
What is every registration for the type of T 6 G?
columns: - name: registration type: VARCHAR - name: type type: VARCHAR table: table_22180353_1
SELECT registration FROM table_22180353_1 WHERE type = "T 6 G"
Who was the away team at the Win Entertainment Centre?
columns: - name: away_team type: VARCHAR - name: venue type: VARCHAR table: table_name_31
SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre"
what player has place t10
columns: - name: player type: VARCHAR - name: place type: VARCHAR table: table_name_37
SELECT player FROM table_name_37 WHERE place = "t10"
Which Proto-Oceanic has a Proto-Polynesian of *lima?
columns: - name: proto_oceanic type: VARCHAR - name: proto_polynesian type: VARCHAR table: table_name_48
SELECT proto_oceanic FROM table_name_48 WHERE proto_polynesian = "*lima"
What is the lowest ranking for Paul Mctiernan?
columns: - name: ranking type: INTEGER - name: name type: VARCHAR table: table_name_67
SELECT MIN(ranking) FROM table_name_67 WHERE name = "paul mctiernan"
Which Position has a League from of western hockey league, and a Team from of everett silvertips?
columns: - name: position type: VARCHAR - name: league_from type: VARCHAR - name: team_from type: VARCHAR table: table_name_90
SELECT position FROM table_name_90 WHERE league_from = "western hockey league" AND team_from = "everett silvertips"
What is the phone number of the station located at 53 Dayton Road?
columns: - name: phone type: VARCHAR - name: address type: VARCHAR table: table_name_46
SELECT phone FROM table_name_46 WHERE address = "53 dayton road"
What municipality where the human development index in the year 2000 was 0.7827?
columns: - name: municipality type: VARCHAR - name: human_development_index__2000_ type: VARCHAR table: table_1480455_1
SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827"
What is the lowest goal difference for the club ud alzira, with a played larger than 38?
columns: - name: goal_difference type: INTEGER - name: club type: VARCHAR - name: played type: VARCHAR table: table_name_59
SELECT MIN(goal_difference) FROM table_name_59 WHERE club = "ud alzira" AND played > 38
What was gabriella ferrone's result on the 5th evening?
columns: - name: singer type: VARCHAR table: table_29857115_4
SELECT 5 AS th_evening FROM table_29857115_4 WHERE singer = "Gabriella Ferrone"
What is the total for University of Dublin, having a panel of 0 for agricultural, was nominated by Taoiseach more than 0, and an industrial and commercial panel less than 0?
columns: - name: university_of_dublin type: VARCHAR - name: industrial_and_commercial_panel type: VARCHAR - name: agricultural_panel type: VARCHAR - name: nominated_by_the_taoiseach type: VARCHAR table: table_name_94
SELECT COUNT(university_of_dublin) FROM table_name_94 WHERE agricultural_panel = 0 AND nominated_by_the_taoiseach > 0 AND industrial_and_commercial_panel < 0
What is Player, when Total is greater than 148, and when To Par is "12"?
columns: - name: player type: VARCHAR - name: total type: VARCHAR - name: to_par type: VARCHAR table: table_name_83
SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
Who was the opponent in a week over 8 on December 4, 1960?
columns: - name: opponent type: VARCHAR - name: week type: VARCHAR - name: date type: VARCHAR table: table_name_54
SELECT opponent FROM table_name_54 WHERE week > 8 AND date = "december 4, 1960"
Name the Home captain for venue of the oval
columns: - name: home_captain type: VARCHAR - name: venue type: VARCHAR table: table_name_14
SELECT home_captain FROM table_name_14 WHERE venue = "the oval"
Who was the original artist of the First solo theme?
columns: - name: original_artist type: VARCHAR - name: theme type: VARCHAR table: table_26250155_1
SELECT original_artist FROM table_26250155_1 WHERE theme = "First Solo"
Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
columns: - name: team type: VARCHAR - name: kitmaker type: VARCHAR - name: shirt_sponsor type: VARCHAR table: table_name_73
SELECT team FROM table_name_73 WHERE kitmaker = "saller" AND shirt_sponsor = "krombacher"
What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?
columns: - name: rank type: INTEGER - name: singapore_cup type: VARCHAR - name: name type: VARCHAR table: table_name_80
SELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = "0 (1)" AND name = "masrezwan masturi"
Name the Score of craig stadler?
columns: - name: score type: VARCHAR - name: player type: VARCHAR table: table_name_33
SELECT score FROM table_name_33 WHERE player = "craig stadler"
Who is the leading lady in The Lonely Trail?
columns: - name: leading_lady type: VARCHAR - name: title type: VARCHAR table: table_name_96
SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail"
What was the result of the game attended by 54,110?
columns: - name: result type: VARCHAR - name: attendance type: VARCHAR table: table_name_73
SELECT result FROM table_name_73 WHERE attendance = "54,110"
What is the 1st leg when team number 1 is CSU SIBIU?
columns: - name: team__number1 type: VARCHAR table: table_name_53
SELECT 1 AS st_leg FROM table_name_53 WHERE team__number1 = "csu sibiu"
How many weeks did the single that entered the charts 14 september 2002 stay on the charts ?
columns: - name: weeks_on_chart__uk_ type: VARCHAR - name: entered_chart__uk_ type: VARCHAR table: table_name_30
SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002"
What was the last year MCA had a Release?
columns: - name: year_of_release type: INTEGER - name: label type: VARCHAR table: table_name_40
SELECT MAX(year_of_release) FROM table_name_40 WHERE label = "mca"
What is the Result of the 2013 (86th) Ceremony?
columns: - name: result type: VARCHAR - name: year__ceremony_ type: VARCHAR table: table_name_77
SELECT result FROM table_name_77 WHERE year__ceremony_ = "2013 (86th)"
What Displacement has 185hp (138kw) Power o
columns: - name: displacement type: VARCHAR - name: power type: VARCHAR table: table_name_57
SELECT displacement FROM table_name_57 WHERE power = "185hp (138kw)"
what is the lowest position of brendan sole
columns: - name: pos type: INTEGER - name: driver type: VARCHAR table: table_20090682_4
SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole"
What was the time for the match with away team Mutual Team B?
columns: - name: time type: VARCHAR - name: away_team type: VARCHAR table: table_name_28
SELECT time FROM table_name_28 WHERE away_team = "mutual team b"
What division had a population density of 8,552.4 km2 in 2011?
columns: - name: administrative_division type: VARCHAR - name: "population_density___km\xB2_2011_" type: VARCHAR table: table_24027047_1
SELECT administrative_division FROM table_24027047_1 WHERE population_density___kmΒ²_2011_ = "8,552.4"
How many players were drafted from the Boston Cannons in the round?
columns: - name: round type: INTEGER - name: team type: VARCHAR table: table_name_74
SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons"
what is the money ($) for player justin leonard?
columns: - name: money___$__ type: VARCHAR - name: player type: VARCHAR table: table_name_99
SELECT money___$__ FROM table_name_99 WHERE player = "justin leonard"
are there bi-tone is there's no olive drab and the caliber is 9Γ—19mm parabellum and model is xdm 5.25 competition
columns: - name: bi_tone type: VARCHAR - name: model type: VARCHAR - name: olive_drab type: VARCHAR - name: caliber type: VARCHAR table: table_2869843_1
SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9Γ—19mm Parabellum" AND model = "XDM 5.25 Competition"
What record was set when the result/game was equal to 9 games (28,595 avg.)
columns: - name: type_of_record type: VARCHAR - name: result_games type: VARCHAR table: table_21436373_8
SELECT type_of_record FROM table_21436373_8 WHERE result_games = "9 games (28,595 avg.)"
What venue was the game held at when the Score was 3 – 0?
columns: - name: venue type: VARCHAR - name: score type: VARCHAR table: table_name_66
SELECT venue FROM table_name_66 WHERE score = "3 – 0"
What was the number of podiums in 12th position?
columns: - name: podiums type: VARCHAR - name: position type: VARCHAR table: table_26473176_1
SELECT podiums FROM table_26473176_1 WHERE position = "12th"
What is the number for the moment of intertia in torsion (j) (cm 4) for the 4.7 web thickness (mm)?
columns: - name: moment_of_inertia_in_torsion__j___cm_4__ type: VARCHAR - name: web_thickness__mm_ type: VARCHAR table: table_2071644_1
SELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE web_thickness__mm_ = "4.7"
What's the 2010 when they had a Q2 in 2009?
columns: - name: Id type: VARCHAR table: table_name_10
SELECT 2010 FROM table_name_10 WHERE 2009 = "q2"
what is the venue when the competition is friendly on 26 may 1999?
columns: - name: venue type: VARCHAR - name: competition type: VARCHAR - name: date type: VARCHAR table: table_name_37
SELECT venue FROM table_name_37 WHERE competition = "friendly" AND date = "26 may 1999"
What is the Date with a Format that is cd?
columns: - name: date type: VARCHAR - name: format type: VARCHAR table: table_name_87
SELECT date FROM table_name_87 WHERE format = "cd"
How many players came from Los Angeles?
columns: - name: name type: VARCHAR - name: hometown type: VARCHAR table: table_24055352_1
SELECT COUNT(name) FROM table_24055352_1 WHERE hometown = "Los Angeles"
What is the name of the episode with a night rank of 9?
columns: - name: episode type: VARCHAR - name: rank__night_ type: VARCHAR table: table_19805130_3
SELECT episode FROM table_19805130_3 WHERE rank__night_ = "9"
Which Driver has a Sponsor of pdvsa?
columns: - name: driver_s_ type: VARCHAR - name: sponsor_s_ type: VARCHAR table: table_name_26
SELECT driver_s_ FROM table_name_26 WHERE sponsor_s_ = "pdvsa"
When did the ATV that deorbited on 29 september 2008, launch?
columns: - name: launch_date type: VARCHAR - name: deorbit_date type: VARCHAR table: table_name_93
SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 2008"
For sep 18 what is the total number of 1 prize ($)
columns: - name: date type: VARCHAR table: table_name_56
SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_56 WHERE date = "sep 18"
how many times did estudiantes de la plata participate in 2008 suruga bank championship
columns: - name: team___competition type: VARCHAR table: table_18027411_1
SELECT COUNT(2008 AS _suruga_bank_championship) FROM table_18027411_1 WHERE team___competition = "Estudiantes de La Plata"
What is Package/Option, when Television Service is Sky Inside?
columns: - name: package_option type: VARCHAR - name: television_service type: VARCHAR table: table_name_63
SELECT package_option FROM table_name_63 WHERE television_service = "sky inside"
When was incumbent William B. Oliver first elected?
columns: - name: first_elected type: INTEGER - name: incumbent type: VARCHAR table: table_1342379_2
SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = "William B. Oliver"
What's the 2012 during Wimbledon and had a Q3 in 2008?
columns: - name: tournament type: VARCHAR table: table_name_83
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon"
What Committee has the First Elected of 1993?
columns: - name: committee type: VARCHAR - name: first_elected type: VARCHAR table: table_name_98
SELECT committee FROM table_name_98 WHERE first_elected = 1993
What was the record following game 67?
columns: - name: record type: VARCHAR - name: game type: VARCHAR table: table_name_37
SELECT record FROM table_name_37 WHERE game = 67
How many venues had a race called the Australia Stakes?
columns: - name: venue type: VARCHAR - name: race type: VARCHAR table: table_14981555_3
SELECT COUNT(venue) FROM table_14981555_3 WHERE race = "Australia Stakes"
What year had Nintendo EAD, Monolith Soft as developers?
columns: - name: year type: INTEGER - name: developer_s_ type: VARCHAR table: table_name_36
SELECT SUM(year) FROM table_name_36 WHERE developer_s_ = "nintendo ead, monolith soft"
What is the college that Jeffrey Simmer plays for?
columns: - name: college type: VARCHAR - name: player type: VARCHAR table: table_15817998_5
SELECT college FROM table_15817998_5 WHERE player = "Jeffrey Simmer"
Name the song for points less than 16 and draw less than 3
columns: - name: song type: VARCHAR - name: points type: VARCHAR - name: draw type: VARCHAR table: table_name_99
SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3
The Cardinal-Priest of S. Prassede order and title has who as the elevator?
columns: - name: elevator type: VARCHAR - name: order_and_title type: VARCHAR table: table_name_30
SELECT elevator FROM table_name_30 WHERE order_and_title = "cardinal-priest of s. prassede"
Which tournament had a final score of 6–3, 6–2?
columns: - name: tournament type: VARCHAR - name: score_in_the_final type: VARCHAR table: table_name_65
SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2"
What was the record on March 22?
columns: - name: record type: VARCHAR - name: date type: VARCHAR table: table_name_58
SELECT record FROM table_name_58 WHERE date = "march 22"
What is the Icelandic title for the Norweigan titled galgeblomsten?
columns: - name: icelandic_title type: VARCHAR - name: norwegian_title type: VARCHAR table: table_name_28
SELECT icelandic_title FROM table_name_28 WHERE norwegian_title = "galgeblomsten"
What was the result in the election where the incumbent was Finis J. Garrett?
columns: - name: result type: VARCHAR - name: incumbent type: VARCHAR table: table_1342370_41
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
What is the ends with a free transfer fee and was moved from middlesbrough?
columns: - name: ends type: VARCHAR - name: transfer_fee type: VARCHAR - name: moving_from type: VARCHAR table: table_name_5
SELECT ends FROM table_name_5 WHERE transfer_fee = "free" AND moving_from = "middlesbrough"
How many times was incumbent cordell hull first elected?
columns: - name: first_elected type: VARCHAR - name: incumbent type: VARCHAR table: table_1342379_41
SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"
What is the name of the player with less than 2 wins?
columns: - name: player type: VARCHAR - name: wins type: INTEGER table: table_name_24
SELECT player FROM table_name_24 WHERE wins < 2
What was the position of Greg Fredlund in years after 2008?
columns: - name: position type: VARCHAR - name: year type: VARCHAR - name: player type: VARCHAR table: table_name_30
SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund"
What is the latest year a division was established?
columns: - name: year_established type: INTEGER table: table_1784514_1
SELECT MAX(year_established) FROM table_1784514_1
Name the series ep for s02e08
columns: - name: series_ep type: VARCHAR - name: netflix type: VARCHAR table: table_15187735_3
SELECT series_ep FROM table_15187735_3 WHERE netflix = "S02E08"
Who were the guests on the episode that first aired August 16?
columns: - name: guest type: VARCHAR - name: original_airdate type: VARCHAR table: table_25691838_8
SELECT guest FROM table_25691838_8 WHERE original_airdate = "August 16"
Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4?
columns: - name: driver type: VARCHAR - name: laps type: VARCHAR - name: time_retired type: VARCHAR table: table_name_99
SELECT driver FROM table_name_99 WHERE laps > 78 AND time_retired = "+ 1:09.4"
what is the space where the next winner is skee riegel
columns: - name: margin type: VARCHAR - name: runner_s__up type: VARCHAR table: table_262383_1
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Skee Riegel"
Name the first broadcast for trisha goddard and glenn wool
columns: - name: first_broadcast type: VARCHAR - name: jasons_team type: VARCHAR table: table_23292220_5
SELECT first_broadcast FROM table_23292220_5 WHERE jasons_team = "Trisha Goddard and Glenn Wool"
What is the democratic coalation when together we can do more is sergio castro ( pc )?
columns: - name: democratic_coalition type: VARCHAR - name: together_we_can_do_more type: VARCHAR table: table_2651755_1
SELECT democratic_coalition FROM table_2651755_1 WHERE together_we_can_do_more = "Sergio Castro ( PC )"
What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?
columns: - name: division_one type: VARCHAR - name: division_two type: VARCHAR table: table_name_61
SELECT division_one FROM table_name_61 WHERE division_two = "hereford lads club colts"
Which Team/Chassis has a Year larger than 1987?
columns: - name: team_chassis type: VARCHAR - name: year type: INTEGER table: table_name_46
SELECT team_chassis FROM table_name_46 WHERE year > 1987
What is the total reg gp of Ilya Krikunov, who has a round of 7 and a pick number larger than 223?
columns: - name: reg_gp type: VARCHAR - name: pick__number type: VARCHAR - name: rd__number type: VARCHAR - name: player type: VARCHAR table: table_name_44
SELECT COUNT(reg_gp) FROM table_name_44 WHERE rd__number = 7 AND player = "ilya krikunov" AND pick__number > 223
When did acharya shree koshalendraprasadji maharaj become acharya?
columns: - name: became_acharya_on type: VARCHAR - name: name_of_acharya type: VARCHAR table: table_name_12
SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj"
What is Country, when To Par is "–2", and when Player is "Tsuneyuki Nakajima"?
columns: - name: country type: VARCHAR - name: to_par type: VARCHAR - name: player type: VARCHAR table: table_name_48
SELECT country FROM table_name_48 WHERE to_par = "–2" AND player = "tsuneyuki nakajima"
What is the location and attendance of the game when gilbert arenas (9) had the high assists?
columns: - name: location_attendance type: VARCHAR - name: high_assists type: VARCHAR table: table_27700530_10
SELECT location_attendance FROM table_27700530_10 WHERE high_assists = "Gilbert Arenas (9)"
What was the date for the Sepang International circuit, round 3?
columns: - name: date type: VARCHAR - name: circuit type: VARCHAR - name: round type: VARCHAR table: table_name_40
SELECT date FROM table_name_40 WHERE circuit = "sepang international circuit" AND round = "3"
How many blocks did the player who had 59 rebounds have?
columns: - name: blocks type: VARCHAR - name: rebounds type: VARCHAR table: table_24850487_5
SELECT blocks FROM table_24850487_5 WHERE rebounds = 59
What was Bob Jameson's lowest bonus where he had less than 15 rides?
columns: - name: bonus_pts type: INTEGER - name: rider type: VARCHAR - name: rides type: VARCHAR table: table_name_36
SELECT MIN(bonus_pts) FROM table_name_36 WHERE rider = "bob jameson" AND rides < 15
What is the away side score when footscray is the home side?
columns: - name: away_team type: VARCHAR - name: home_team type: VARCHAR table: table_name_38
SELECT away_team AS score FROM table_name_38 WHERE home_team = "footscray"
What time has q as the notes, and Australia as the country?
columns: - name: time type: VARCHAR - name: notes type: VARCHAR - name: country type: VARCHAR table: table_name_95
SELECT time FROM table_name_95 WHERE notes = "q" AND country = "australia"
What is the Name of the power station with a Capacity of 25 MW?
columns: - name: name type: VARCHAR - name: capacity__mw_ type: VARCHAR table: table_name_9
SELECT name FROM table_name_9 WHERE capacity__mw_ = 25
How many points are there for rank 5 with more than 34 games?
columns: - name: points type: VARCHAR - name: rank type: VARCHAR - name: games type: VARCHAR table: table_name_80
SELECT COUNT(points) FROM table_name_80 WHERE rank = 5 AND games > 34
What is listed under points 1 when the position was greater than 4, there were 54 goals for and more than 11 losses?
columns: - name: points_1 type: VARCHAR - name: lost type: VARCHAR - name: position type: VARCHAR - name: goals_for type: VARCHAR table: table_name_75
SELECT points_1 FROM table_name_75 WHERE position > 4 AND goals_for = 54 AND lost > 11
Which Report is on the Circuit of reims?
columns: - name: report type: VARCHAR - name: circuit type: VARCHAR table: table_name_32
SELECT report FROM table_name_32 WHERE circuit = "reims"
What was the 2009 result associated with a 2012 of 1R and a 2007 of 2R?
columns: - name: Id type: VARCHAR table: table_name_2
SELECT 2009 FROM table_name_2 WHERE 2012 = "1r" AND 2007 = "2r"