answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT AVG(round) FROM table_name_99 WHERE time = "1:15"
What the round with the time 1:15?
CREATE TABLE table_name_99 (round INTEGER, time VARCHAR)
SELECT score FROM table_name_65 WHERE record = "40–36"
What is the score when the record was 40–36?
CREATE TABLE table_name_65 (score VARCHAR, record VARCHAR)
SELECT wins FROM table_name_82 WHERE wpct = "0.2"
What wins has WPct of 0.2?
CREATE TABLE table_name_82 (wins VARCHAR, wpct VARCHAR)
SELECT school_colors FROM table_name_48 WHERE founded = 1969 AND institution = "barton community college"
Which School Colors were Founded of 1969, with an Institution of barton community college?
CREATE TABLE table_name_48 (school_colors VARCHAR, founded VARCHAR, institution VARCHAR)
SELECT subjunctive FROM table_name_85 WHERE inverse_subjunctive = "måchadns"
What subjunctive also has an inverse subjunctive of måchadns?
CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR)
SELECT year FROM table_name_67 WHERE position = "21st (q)"
When did a Position of 21st (q) happen?
CREATE TABLE table_name_67 (year VARCHAR, position VARCHAR)
SELECT score FROM table_name_7 WHERE opponent = "andry laffita"
Opponent of andry laffita had what score?
CREATE TABLE table_name_7 (score VARCHAR, opponent VARCHAR)
SELECT site FROM table_name_55 WHERE date = "september 10, 2010"
Where was the sport played on September 10, 2010?
CREATE TABLE table_name_55 (site VARCHAR, date VARCHAR)
SELECT district FROM table_1341598_11 WHERE first_elected = 1980
Which district shows a first elected of 1980?
CREATE TABLE table_1341598_11 (district VARCHAR, first_elected VARCHAR)
SELECT venue FROM table_name_45 WHERE group = "g1"
What venue has g1 as the group?
CREATE TABLE table_name_45 (venue VARCHAR, group VARCHAR)
SELECT attendance FROM table_name_14 WHERE opponent = "detroit lions"
What attendance has detroit lions as the opponent?
CREATE TABLE table_name_14 (attendance VARCHAR, opponent VARCHAR)
SELECT club FROM table_name_27 WHERE position_in_2012_13 = "4th, second division"
When the position in 2012-23 is 4th, second division what is the club?
CREATE TABLE table_name_27 (club VARCHAR, position_in_2012_13 VARCHAR)
SELECT founded FROM table_name_65 WHERE school = "airds high school"
What is the year Airds High School was founded?
CREATE TABLE table_name_65 (founded VARCHAR, school VARCHAR)
SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.0%"
What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes?
CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR)
SELECT manner_of_departure FROM table_name_24 WHERE outgoing_manager = "miguel brindisi"
What was the manner of departure for the outgoing manager, miguel brindisi?
CREATE TABLE table_name_24 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
SELECT rank FROM table_name_31 WHERE laps < 130 AND year = "1951"
Name the rank for laps less than 130 and year of 1951
CREATE TABLE table_name_31 (rank VARCHAR, laps VARCHAR, year VARCHAR)
SELECT black__both_hispanic_and_non_hispanic_ FROM table_name_63 WHERE white__both_hispanic_and_non_hispanic_ < 80.6 AND n_asia__both_hispanic_and_non_hispanic_ = 0.1 AND amerindian__both_hispanic_and_non_hispanic_ < 0.6000000000000001 AND municipality__2010_ = "vega baja"
What is the Black (Hispanic/Non-Hispanic) value having a white (Hispanic/Non-Hispanic) under 80.6, Asian (Hispanic/Non-Hispanic) of 0.1, Amerindian (Hispanic/Non-Hispanic) under 0.6000000000000001, and municipality of Vega Baja?
CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispanic_and_non_hispanic_ VARCHAR)
SELECT COUNT(oricon) FROM table_10979230_4 WHERE japanese_title = "愛のバカ"
What rank is 愛のバカ on the Japanese singles chart?
CREATE TABLE table_10979230_4 (oricon VARCHAR, japanese_title VARCHAR)
SELECT opponent FROM table_23486853_8 WHERE date = "March 16"
Who is every opponent on the date of March 16?
CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)
SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'A Pu...
Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'.
CREATE TABLE projects (code VARCHAR, name VARCHAR); CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)
SELECT high_assists FROM table_name_85 WHERE high_rebounds = "nick collison (11)"
What is the high assists score of Nick Collison (11)?
CREATE TABLE table_name_85 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT partner FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]"
Who were the partners in games where the score was 7-5, 2-6, [6-10]?
CREATE TABLE table_2259502_2 (partner VARCHAR, score VARCHAR)
SELECT college_junior_club_team FROM table_name_19 WHERE round < 8 AND pick = 50
What College/Junior/Club Team has Pick 50 before Round 8?
CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, round VARCHAR, pick VARCHAR)
SELECT losing_bonus FROM table_name_65 WHERE points_for = "571"
What is the Losing bonus of 571 Points ?
CREATE TABLE table_name_65 (losing_bonus VARCHAR, points_for VARCHAR)
SELECT score_in_the_final FROM table_name_20 WHERE date = "30 august 1993"
What is Score In The Final, when Date is "30 August 1993"?
CREATE TABLE table_name_20 (score_in_the_final VARCHAR, date VARCHAR)
SELECT document_id, template_id, Document_Description FROM Documents WHERE document_name = "Robbin CV"
What is the document id, template id and description for document named "Robbin CV"?
CREATE TABLE Documents (document_id VARCHAR, template_id VARCHAR, Document_Description VARCHAR, document_name VARCHAR)
SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia State"
What team won the regular season when georgia state won the tournament?
CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no"
Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no?
CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
SELECT airport FROM table_name_64 WHERE iata = "cxb"
Name the airport with IATA of cxb
CREATE TABLE table_name_64 (airport VARCHAR, iata VARCHAR)
SELECT segment_d FROM table_15187735_11 WHERE segment_a = "Microphones"
In the episode where segment a is microphones, what is segment d?
CREATE TABLE table_15187735_11 (segment_d VARCHAR, segment_a VARCHAR)
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Paul Whiting"
When Paul Whiting won the mixed veteran, who won the mixed restricted?
CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)
SELECT height_m___ft__ FROM table_name_44 WHERE city_of_license = "malone, ny"
Name the heightfor city of license of malone, ny
CREATE TABLE table_name_44 (height_m___ft__ VARCHAR, city_of_license VARCHAR)
SELECT area_in_1000km²__1930_ FROM table_11654169_1 WHERE voivodeship_separate_city = "lubelskie"
List all areas within 1000 km in the city of Lubelskie?
CREATE TABLE table_11654169_1 (area_in_1000km²__1930_ VARCHAR, voivodeship_separate_city VARCHAR)
SELECT region FROM table_name_91 WHERE date = "november 10, 2007" AND format = "cd"
What's the region for an item on November 10, 2007 that's a cd?
CREATE TABLE table_name_91 (region VARCHAR, date VARCHAR, format VARCHAR)
SELECT country FROM table_2879165_1 WHERE ioc_code = "MAS"
What is the name of the country when the ioc code is mas?
CREATE TABLE table_2879165_1 (country VARCHAR, ioc_code VARCHAR)
SELECT date FROM table_name_55 WHERE outcome = "winner" AND opponent_in_the_final = "çağla büyükakçay"
What is the Date that has a Outcome of winner, and çağla büyükakçay was the opponent in the final?
CREATE TABLE table_name_55 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT date_withdrawn FROM table_name_92 WHERE date_made = "1904"
What is the withdrawal date associated with a date made of 1904?
CREATE TABLE table_name_92 (date_withdrawn VARCHAR, date_made VARCHAR)
SELECT score FROM table_name_81 WHERE competition = "match reports"
which Score has a Competition of match reports?
CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR)
SELECT MAX(enrollment) FROM table_12896884_1 WHERE football_stadium = "Foote Field"
What is the enrollment for Foote Field?
CREATE TABLE table_12896884_1 (enrollment INTEGER, football_stadium VARCHAR)
SELECT county FROM table_name_71 WHERE mascot = "pioneers"
What county has a school mascot of the Pioneers?
CREATE TABLE table_name_71 (county VARCHAR, mascot VARCHAR)
SELECT MIN(grid) FROM table_name_96 WHERE rider = "casey stoner" AND laps < 27
What is the lowest grid with rider casey stoner and laps that are smaller than 27?
CREATE TABLE table_name_96 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1
what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?
CREATE TABLE table_name_68 (runners INTEGER, jockey VARCHAR, placing VARCHAR)
SELECT ground FROM table_name_19 WHERE away_team = "essendon"
What was the ground for away team essendon?
CREATE TABLE table_name_19 (ground VARCHAR, away_team VARCHAR)
SELECT MAX(administrative_panel) FROM table_name_37 WHERE nominated_by_the_taoiseach > 3 AND agricultural_panel = 5 AND cultural_and_educational_panel > 2
What is the biggest administrative panel with a nominated by the Taoiseach greater than 3 and an argricultural panel of 5, plust a cultural and educational panel larger than 2?
CREATE TABLE table_name_37 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, agricultural_panel VARCHAR)
SELECT season AS :_south FROM table_name_88 WHERE qualities = "cold & wet" AND sign = "scorpio"
What is the south season of the scorpio sign, which has cold & wet qualities?
CREATE TABLE table_name_88 (season VARCHAR, qualities VARCHAR, sign VARCHAR)
SELECT MIN(lane) FROM table_name_17 WHERE country = "nigeria" AND react < 0.133
What is the lowest lane for Nigeria, with a react less than 0.133?
CREATE TABLE table_name_17 (lane INTEGER, country VARCHAR, react VARCHAR)
SELECT team FROM table_name_26 WHERE venue = "spartak, mogilev"
What team plays at Spartak, Mogilev?
CREATE TABLE table_name_26 (team VARCHAR, venue VARCHAR)
SELECT COUNT(field_stability) FROM table_name_5 WHERE agent = "cyanogen bromide" AND effectiveness_as_blood_agent > 9
What is the field stability of Cyanogen Bromide that has an effectiveness of 9?
CREATE TABLE table_name_5 (field_stability VARCHAR, agent VARCHAR, effectiveness_as_blood_agent VARCHAR)
SELECT award FROM table_name_18 WHERE year = 1992
What award is featured in 1992?
CREATE TABLE table_name_18 (award VARCHAR, year VARCHAR)
SELECT SUM(ranking) FROM table_name_2 WHERE nationality = "england" AND goals > 53
What is the number of ranking when the nationalits is England with more than 53 goals?
CREATE TABLE table_name_2 (ranking INTEGER, nationality VARCHAR, goals VARCHAR)
SELECT AVG(year) FROM table_name_65 WHERE points > 0
Which year did the team receive more than 0 points?
CREATE TABLE table_name_65 (year INTEGER, points INTEGER)
SELECT away_team AS score FROM table_name_3 WHERE away_team = "melbourne"
What did the Melbourne team score in their away game?
CREATE TABLE table_name_3 (away_team VARCHAR)
SELECT MAX(byes) FROM table_name_93 WHERE losses = 9 AND draws < 0
What is the highest number of byes where the losses were 9 and the draws were less than 0?
CREATE TABLE table_name_93 (byes INTEGER, losses VARCHAR, draws VARCHAR)
SELECT Name FROM Representative WHERE Party <> "Republican"
What are the names of representatives whose party is not "Republican"?
CREATE TABLE Representative (Name VARCHAR, Party VARCHAR)
SELECT range__varies_with_payload_weight_ FROM table_name_71 WHERE name_designation = "shahab-4"
What is the range (varies by payload weight) for Shahab-4?
CREATE TABLE table_name_71 (range__varies_with_payload_weight_ VARCHAR, name_designation VARCHAR)
SELECT MIN(top_5) FROM table_name_82 WHERE events > 18
What are the least Top-5 finish when the events are greater than 18?
CREATE TABLE table_name_82 (top_5 INTEGER, events INTEGER)
SELECT SUM(roll) FROM table_name_65 WHERE name = "morrinsville school"
Name the sum of roll for morrinsville school
CREATE TABLE table_name_65 (roll INTEGER, name VARCHAR)
SELECT stadium FROM table_name_81 WHERE city = "debrecen"
What stadium is in the city of Debrecen?
CREATE TABLE table_name_81 (stadium VARCHAR, city VARCHAR)
SELECT successor FROM table_225200_4 WHERE date_successor_seated = "Not filled this congress"
Name the successor for not filled this congress
CREATE TABLE table_225200_4 (successor VARCHAR, date_successor_seated VARCHAR)
SELECT MIN(fall_05) FROM table_name_22 WHERE fall_09 < 14 AND fall_08 > 5
What's the smallest fall 05 number when fall 09 is less than 14 and fall 08 is more than 5?
CREATE TABLE table_name_22 (fall_05 INTEGER, fall_09 VARCHAR, fall_08 VARCHAR)
SELECT swimsuit FROM table_17516967_1 WHERE state = "Oregon"
Name the swuinsuit for oregon
CREATE TABLE table_17516967_1 (swimsuit VARCHAR, state VARCHAR)
SELECT home_team AS score FROM table_name_53 WHERE home_team = "richmond"
What is richmond's scores when they are the home team?
CREATE TABLE table_name_53 (home_team VARCHAR)
SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "2April1969"
what's the date of birth with end of term being 2april1969
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)
SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = "4-2"
What is the name of team 1 that was after the 2005 season and with a 4-2 score?
CREATE TABLE table_name_11 (team_1 VARCHAR, season VARCHAR, score VARCHAR)
SELECT AVG(matches) FROM table_name_81 WHERE round = "third qualifying round"
What is the average Matches, when Round is Third Qualifying Round?
CREATE TABLE table_name_81 (matches INTEGER, round VARCHAR)
SELECT COUNT(gold) FROM table_name_65 WHERE bronze = 4 AND silver > 2
How many golds have bronze values of 4 and silver values over 2?
CREATE TABLE table_name_65 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT wins FROM table_17751942_4 WHERE team = "Erie Otters"
How many wins do the Erie Otters have?
CREATE TABLE table_17751942_4 (wins VARCHAR, team VARCHAR)
SELECT SUM(crowd) FROM table_name_88 WHERE venue = "junction oval"
How many were in the crowd when there was a game at Junction Oval?
CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR)
SELECT AVG(pick__number) FROM table_name_21 WHERE round = 11
What is the average pick # of the player from round 11?
CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR)
SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000
Who directed the episode with 899000 viewers?
CREATE TABLE table_27547668_3 (directed_by VARCHAR, viewers VARCHAR)
SELECT AVG(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id = T2.player_id JOIN college AS T3 ON T3.college_id = T2.college_id WHERE T3.name_full = 'Yale University'
What is the average height of the players from the college named 'Yale University'?
CREATE TABLE player_college (player_id VARCHAR, college_id VARCHAR); CREATE TABLE player (height INTEGER, player_id VARCHAR); CREATE TABLE college (college_id VARCHAR, name_full VARCHAR)
SELECT recnet FROM table_name_20 WHERE power = "40 watts" AND city_of_license = "temagami"
What RECNet has 40 watts of power and temagami as the city of license?
CREATE TABLE table_name_20 (recnet VARCHAR, power VARCHAR, city_of_license VARCHAR)
SELECT set_2 FROM table_name_98 WHERE date = "jun 29"
What is the Set 2 with a Date that is jun 29?
CREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR)
SELECT to_par FROM table_name_13 WHERE score = "1 up"
How many strokes to par when the score is 1 up?
CREATE TABLE table_name_13 (to_par VARCHAR, score VARCHAR)
SELECT date FROM table_name_70 WHERE score = "3–1" AND record = "1–1–0"
What is the Date of the game with a Score of 3–1 and Record of 1–1–0?
CREATE TABLE table_name_70 (date VARCHAR, score VARCHAR, record VARCHAR)
SELECT rounds FROM table_name_72 WHERE entrant = "automobiles talbot-darracq" AND driver = "pierre levegh"
Which of the Rounds has an Entrant of automobiles Talbot-Darracq, and Pierre Levegh as the driver?
CREATE TABLE table_name_72 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT home_team FROM table_name_74 WHERE away_team = "telford united"
Who was the home team when the away team was Telford United?
CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR)
SELECT SUM(week) FROM table_name_10 WHERE opponent = "tampa bay buccaneers" AND attendance < 44 OFFSET 506
In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance?
CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT COUNT(sack) FROM table_name_46 WHERE tackles > 1 AND assisted < 3 AND yards > 0
How many sacks for the player with over 1 tackle, under 3 assisted tackles, and over 0 yards?
CREATE TABLE table_name_46 (sack VARCHAR, yards VARCHAR, tackles VARCHAR, assisted VARCHAR)
SELECT county FROM table_1304443_2 WHERE bush_percentage = "54.6%"
What's the name of the county where 54.6% voted for Bush?
CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)
SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon"
What is the score of the away team when the home team is Essendon?
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
SELECT MIN(l) FROM table_24224991_2
What is the lowest amount of L in any season?
CREATE TABLE table_24224991_2 (l INTEGER)
SELECT T1.date_of_treatment, T2.first_name FROM Treatments AS T1 JOIN Professionals AS T2 ON T1.professional_id = T2.professional_id
List the date of each treatment, together with the first name of the professional who operated it.
CREATE TABLE Treatments (date_of_treatment VARCHAR, professional_id VARCHAR); CREATE TABLE Professionals (first_name VARCHAR, professional_id VARCHAR)
SELECT nation FROM table_name_88 WHERE bronze > 0 AND gold > 0 AND silver > 0 AND rank = "5"
Which nation has a bronze greater than 0, a gold greater than 0, a silver greater than 0, and 5 as the rank?
CREATE TABLE table_name_88 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT venue FROM table_name_59 WHERE status = "five nations" AND against > 12 AND date = "15/02/1975"
Which venue had a status of five nations, an against larger than 12 and took place on 15/02/1975?
CREATE TABLE table_name_59 (venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR)
SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas"
What is the wards/branches of the fort smith Arkansas stake?
CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)
SELECT MAX(wins) FROM table_name_14 WHERE byes > 2
For the teams that had more than 2 Byes, what was the highest number of Wins?
CREATE TABLE table_name_14 (wins INTEGER, byes INTEGER)
SELECT safari FROM table_name_3 WHERE opera = "2.33%"
What percentage of users were using Safari during the period in which 2.33% were using Opera?
CREATE TABLE table_name_3 (safari VARCHAR, opera VARCHAR)
SELECT version FROM table_name_77 WHERE title = "alarm clock"
What Version has a Title of alarm clock?
CREATE TABLE table_name_77 (version VARCHAR, title VARCHAR)
SELECT runner_s__up FROM table_name_39 WHERE date = "feb 18, 1996"
Who was the runner(s)-up for the Feb 18, 1996 tournament?
CREATE TABLE table_name_39 (runner_s__up VARCHAR, date VARCHAR)
SELECT literate_persons___percentage_ FROM table_14598_9 WHERE females___percentage_ = "73.17"
What is the percentage of all the literate people where females are 73.17?
CREATE TABLE table_14598_9 (literate_persons___percentage_ VARCHAR, females___percentage_ VARCHAR)
SELECT COUNT(*) FROM phone
How many phones are there?
CREATE TABLE phone (Id VARCHAR)
SELECT home FROM table_name_11 WHERE league = "3rd liga" AND away = "4-0"
What is the home for league 3rd liga, and an away of 4-0?
CREATE TABLE table_name_11 (home VARCHAR, league VARCHAR, away VARCHAR)
SELECT AVG(agricultural_panel) FROM table_name_62 WHERE labour_panel < 6 AND nominated_by_the_taoiseach > 0 AND total < 4
What is the average agricultural panel of the composition with a labour panel less than 6, more than 0 nominations by Taoiseach, and a total less than 4?
CREATE TABLE table_name_62 (agricultural_panel INTEGER, total VARCHAR, labour_panel VARCHAR, nominated_by_the_taoiseach VARCHAR)
SELECT MAX(points) FROM table_name_96 WHERE entrant = "yardley-brm" AND year > 1971
What was Yardley-BRM's points high after 1971?
CREATE TABLE table_name_96 (points INTEGER, entrant VARCHAR, year VARCHAR)
SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "2012"
What 2012 amount of earnings corresponds with less than 28 tournaments played?
CREATE TABLE table_name_59 (earnings___$__ VARCHAR, tournaments_played VARCHAR, year VARCHAR)
SELECT COUNT(high_points) FROM table_22871239_9 WHERE record = "21-45"
Name the high points for 21-45 record
CREATE TABLE table_22871239_9 (high_points VARCHAR, record VARCHAR)
SELECT ikavian FROM table_27730_9 WHERE ijekavian = "lijep"
What's the Ikavian translation of the Ijekavian word lijep?
CREATE TABLE table_27730_9 (ikavian VARCHAR, ijekavian VARCHAR)
SELECT result FROM table_name_20 WHERE location = "three rivers stadium" AND record = "6–3"
What is the result of the game at three rivers stadium with a Record of 6–3?
CREATE TABLE table_name_20 (result VARCHAR, location VARCHAR, record VARCHAR)
SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates"
What year was incumbent joe b. bates first elected?
CREATE TABLE table_1342233_17 (first_elected VARCHAR, incumbent VARCHAR)