instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What residence has representative Quincy Murphy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (residence VARCHAR, representative VARCHAR)
SELECT residence FROM table_name_49 WHERE representative = "quincy murphy"
Write a SQL query that answers the following question: Who is the home captain when the venue is adelaide oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_81 WHERE venue = "adelaide oval"
Write a SQL query that answers the following question: What was the score in the September 20 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_57 WHERE date = "september 20"
Write a SQL query that answers the following question: Where was the September 22 game played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_23 WHERE date = "september 22"
Write a SQL query that answers the following question: What was the score in the September 26 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_76 WHERE date = "september 26"
Write a SQL query that answers the following question: Who was the opposing team in the game(s) that started at 7:30pm?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_97 WHERE time = "7:30pm"
Write a SQL query that answers the following question: What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, opponent VARCHAR, time VARCHAR, location VARCHAR)
SELECT score FROM table_name_12 WHERE time = "7:00pm" AND location = "scotiabank place" AND opponent = "philadelphia flyers"
Write a SQL query that answers the following question: What is the attendance of the match on October 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_16 WHERE date = "october 26"
Write a SQL query that answers the following question: What is the opponent number of the match with a w27-16 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (opponent_number VARCHAR, result VARCHAR)
SELECT opponent_number FROM table_name_78 WHERE result = "w27-16"
Write a SQL query that answers the following question: What is the result of the match with an attendance of 73,855?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_9 WHERE attendance = "73,855"
Write a SQL query that answers the following question: What is the rank of the match on October 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (rank__number VARCHAR, date VARCHAR)
SELECT rank__number FROM table_name_72 WHERE date = "october 19"
Write a SQL query that answers the following question: Who was the scorer when the opponent was aberdeen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (scorers VARCHAR, opponent VARCHAR)
SELECT scorers FROM table_name_63 WHERE opponent = "aberdeen"
Write a SQL query that answers the following question: When was the scorer mccoist (3), johnston, butcher, steven?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, scorers VARCHAR)
SELECT date FROM table_name_48 WHERE scorers = "mccoist (3), johnston, butcher, steven"
Write a SQL query that answers the following question: What is Score, when Visitor is "Pittsburgh", and when Points is greater than 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, visitor VARCHAR, points VARCHAR)
SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 18
Write a SQL query that answers the following question: What is the sum of Points, when Home is "Pittsburgh", when Date is "December 21", and when Attendance is greater than 5,307?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (points INTEGER, attendance VARCHAR, home VARCHAR, date VARCHAR)
SELECT SUM(points) FROM table_name_84 WHERE home = "pittsburgh" AND date = "december 21" AND attendance > 5 OFFSET 307
Write a SQL query that answers the following question: What is the lowest Points, when Home is "Boston"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (points INTEGER, home VARCHAR)
SELECT MIN(points) FROM table_name_81 WHERE home = "boston"
Write a SQL query that answers the following question: what is the team when the high points is by charlie villanueva (24)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)"
Write a SQL query that answers the following question: what is the location attendance when the high assists is by ramon sessions (8) on march 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (location_attendance VARCHAR, high_assists VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_82 WHERE high_assists = "ramon sessions (8)" AND date = "march 30"
Write a SQL query that answers the following question: Who had the high rebounds when the score was l 85–102 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_55 WHERE score = "l 85–102 (ot)"
Write a SQL query that answers the following question: what is the location attendance when the score is w 86–77 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_name_42 WHERE score = "w 86–77 (ot)"
Write a SQL query that answers the following question: what is the date when ramon sessions (8) had the high assists, richard jefferson (29) had the high points and the score was w 107–78 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, score VARCHAR, high_assists VARCHAR, high_points VARCHAR)
SELECT date FROM table_name_32 WHERE high_assists = "ramon sessions (8)" AND high_points = "richard jefferson (29)" AND score = "w 107–78 (ot)"
Write a SQL query that answers the following question: who had the high rebounds when the team was @ toronto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_name_9 WHERE team = "@ toronto"
Write a SQL query that answers the following question: What is the lowest pole with a Flap larger than 5, and a before race 155?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (pole INTEGER, flap VARCHAR, race VARCHAR)
SELECT MIN(pole) FROM table_name_49 WHERE flap > 5 AND race < 155
Write a SQL query that answers the following question: What was Fred Couples' score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR)
SELECT COUNT(score) FROM table_name_15 WHERE player = "fred couples"
Write a SQL query that answers the following question: When Payne Stewart of the United States scored higher than 69, what was the To Par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (to_par VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_43 WHERE country = "united states" AND score > 69 AND player = "payne stewart"
Write a SQL query that answers the following question: What is the 2008 population in 함ν₯ (Ham Hyung)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (population__2008_ INTEGER, korean VARCHAR)
SELECT SUM(population__2008_) FROM table_name_55 WHERE korean = "함ν₯"
Write a SQL query that answers the following question: what is the mountain peak when the location is 53.1370Β°n 119.2667Β°w?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (mountain_peak VARCHAR, location VARCHAR)
SELECT mountain_peak FROM table_name_74 WHERE location = "53.1370Β°n 119.2667Β°w"
Write a SQL query that answers the following question: what is the region when the location is 49.7462Β°n 117.1419Β°w?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (region VARCHAR, location VARCHAR)
SELECT region FROM table_name_96 WHERE location = "49.7462Β°n 117.1419Β°w"
Write a SQL query that answers the following question: what is the rank when the mountain peak is isthmus peak?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (rank VARCHAR, mountain_peak VARCHAR)
SELECT rank FROM table_name_63 WHERE mountain_peak = "isthmus peak"
Write a SQL query that answers the following question: what is the mountain range when the region is british columbia and mountain pea is mount edziza?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (mountain_range VARCHAR, region VARCHAR, mountain_peak VARCHAR)
SELECT mountain_range FROM table_name_90 WHERE region = "british columbia" AND mountain_peak = "mount edziza"
Write a SQL query that answers the following question: What is the Born-Died dates of Xhafer Bej Ypi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (born_died VARCHAR, name VARCHAR)
SELECT born_died FROM table_name_39 WHERE name = "xhafer bej ypi"
Write a SQL query that answers the following question: What is the Name of the Prime Minister with a Born-Died of 1873–1933?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (name VARCHAR, born_died VARCHAR)
SELECT name FROM table_name_34 WHERE born_died = "1873–1933"
Write a SQL query that answers the following question: What is the Term Start date of the Progressive Party Prime Minister?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (term_start VARCHAR, political_party VARCHAR)
SELECT term_start FROM table_name_45 WHERE political_party = "progressive party"
Write a SQL query that answers the following question: What is the percentage for Brown when the lead margin is 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (republican VARCHAR, lead_margin VARCHAR)
SELECT republican AS :_roy_brown FROM table_name_35 WHERE lead_margin = 26
Write a SQL query that answers the following question: What is the percentage for Schweitzer when the lead margin is 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (democrat VARCHAR, lead_margin VARCHAR)
SELECT democrat AS :_brian_schweitzer FROM table_name_12 WHERE lead_margin = 29
Write a SQL query that answers the following question: What is Record, when Date is "November 22"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "november 22"
Write a SQL query that answers the following question: What is the attendance before week 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (attendance VARCHAR, week INTEGER)
SELECT COUNT(attendance) FROM table_name_75 WHERE week < 1
Write a SQL query that answers the following question: What was the date of the match with a winning score of –7 (67-72-69-69=277)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (date VARCHAR, winning_score VARCHAR)
SELECT date FROM table_name_10 WHERE winning_score = –7(67 - 72 - 69 - 69 = 277)
Write a SQL query that answers the following question: Who was the home team in the match with an away team of Millwall?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_6 WHERE away_team = "millwall"
Write a SQL query that answers the following question: What is the score for the match that had a home team of Kidderminster Harriers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_42 WHERE home_team = "kidderminster harriers"
Write a SQL query that answers the following question: What is the date of the match with a home team of Huddersfield Town and was a replay tie?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, tie_no VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_93 WHERE tie_no = "replay" AND home_team = "huddersfield town"
Write a SQL query that answers the following question: Who was the home team for tie number 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_26 WHERE tie_no = "11"
Write a SQL query that answers the following question: Who was the rider with 120.953 mph speed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (rider VARCHAR, speed VARCHAR)
SELECT rider FROM table_name_79 WHERE speed = "120.953 mph"
Write a SQL query that answers the following question: What time did rider steve plater have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_27 WHERE rider = "steve plater"
Write a SQL query that answers the following question: What is the rank of rider gary johnson, who had a speed of 120.979 mph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (rank VARCHAR, speed VARCHAR, rider VARCHAR)
SELECT rank FROM table_name_28 WHERE speed = "120.979 mph" AND rider = "gary johnson"
Write a SQL query that answers the following question: What club has less than 8 draws, 37 points, and less than 71 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (club VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR)
SELECT club FROM table_name_88 WHERE draws < 8 AND points = 37 AND goals_for < 71
Write a SQL query that answers the following question: What is the total number of goals when there are 3 draws, more than 18 losses, and played is smaller than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (goals_for VARCHAR, played VARCHAR, draws VARCHAR, losses VARCHAR)
SELECT COUNT(goals_for) FROM table_name_40 WHERE draws = 3 AND losses > 18 AND played < 38
Write a SQL query that answers the following question: What is the number of goals against when the played is more than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (goals_against VARCHAR, played INTEGER)
SELECT COUNT(goals_against) FROM table_name_19 WHERE played > 38
Write a SQL query that answers the following question: What is the number of draws when played is less than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (draws VARCHAR, played INTEGER)
SELECT COUNT(draws) FROM table_name_53 WHERE played < 38
Write a SQL query that answers the following question: What is the points when played is less than 38?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (points INTEGER, played INTEGER)
SELECT SUM(points) FROM table_name_6 WHERE played < 38
Write a SQL query that answers the following question: Which Transfer window has a Name of tofas?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (transfer_window VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_27 WHERE name = "tofas"
Write a SQL query that answers the following question: Which Type has a Transfer fee of free, and a Name of kapetanos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (type VARCHAR, transfer_fee VARCHAR, name VARCHAR)
SELECT type FROM table_name_63 WHERE transfer_fee = "free" AND name = "kapetanos"
Write a SQL query that answers the following question: Which Type has a Name of edson ratinho?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_14 WHERE name = "edson ratinho"
Write a SQL query that answers the following question: Which Name has a Type of loan, and a Moving to of apollon kalamaria?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (name VARCHAR, type VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_97 WHERE type = "loan" AND moving_to = "apollon kalamaria"
Write a SQL query that answers the following question: What is Location, when Circuit is August 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (location VARCHAR, circuit VARCHAR)
SELECT location FROM table_name_1 WHERE circuit = "august 16"
Write a SQL query that answers the following question: What is Location, when Fastest Lap is Ben Spies, when Pole Position is Ben Spies, when Winner is Ben Spies, and when Date is Tooele, Utah?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (location VARCHAR, date VARCHAR, winner VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT location FROM table_name_77 WHERE fastest_lap = "ben spies" AND pole_position = "ben spies" AND winner = "ben spies" AND date = "tooele, utah"
Write a SQL query that answers the following question: What is Fastest Lap, when Date is Leeds, Alabama, and when Circuit is April 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (fastest_lap VARCHAR, date VARCHAR, circuit VARCHAR)
SELECT fastest_lap FROM table_name_18 WHERE date = "leeds, alabama" AND circuit = "april 19"
Write a SQL query that answers the following question: What is Winner, when Circuit is June 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_name_33 WHERE circuit = "june 8"
Write a SQL query that answers the following question: What is Pole Position, when Fastest Lap is Ben Spies, and when Location is Barber Motorsports Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)
SELECT pole_position FROM table_name_84 WHERE fastest_lap = "ben spies" AND location = "barber motorsports park"
Write a SQL query that answers the following question: What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (winner VARCHAR, pole_position VARCHAR, date VARCHAR)
SELECT winner FROM table_name_41 WHERE pole_position = "ben spies" AND date = "elkhart lake, wisconsin"
Write a SQL query that answers the following question: What is the Surface of the court in the match with a Score of 4–6, 6–4, 3–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_16 WHERE score = "4–6, 6–4, 3–6"
Write a SQL query that answers the following question: Which Team has a Year larger than 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (team VARCHAR, year INTEGER)
SELECT team FROM table_name_47 WHERE year > 2010
Write a SQL query that answers the following question: Which Laps has a Year of 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)
SELECT AVG(laps) FROM table_name_80 WHERE year = 2007
Write a SQL query that answers the following question: What was the tie number with the home team of Swindon Town?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_13 WHERE home_team = "swindon town"
Write a SQL query that answers the following question: What was the tie number with the away team of Sheffield Wednesday?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_63 WHERE away_team = "sheffield wednesday"
Write a SQL query that answers the following question: What was the score for the match with tie number 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_76 WHERE tie_no = "23"
Write a SQL query that answers the following question: Who was the home team for the match against Arsenal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_2 WHERE away_team = "arsenal"
Write a SQL query that answers the following question: Which place is payne stewart, the player in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_40 WHERE player = "payne stewart"
Write a SQL query that answers the following question: What player has +7 as the to par, and 69-69-75-74=287 as the score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_55 WHERE to_par = "+7" AND score = 69 - 69 - 75 - 74 = 287
Write a SQL query that answers the following question: Which tournaments was Ryan Palmer in as a runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_40 WHERE runner_s__up = "ryan palmer"
Write a SQL query that answers the following question: What was the margin of victory for the Players Championship tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_70 WHERE tournament = "the players championship"
Write a SQL query that answers the following question: What tournament was Kirk Triplett a runner-up in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett"
Write a SQL query that answers the following question: What is the winning score for the B.C. Open 1 tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_40 WHERE tournament = "b.c. open 1"
Write a SQL query that answers the following question: What country is Lee Janzen from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_46 WHERE player = "lee janzen"
Write a SQL query that answers the following question: When Tom Watson placed t6, what was the 2 par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_35 WHERE place = "t6" AND player = "tom watson"
Write a SQL query that answers the following question: Who had a score of 70-69-70=209?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_50 WHERE score = 70 - 69 - 70 = 209
Write a SQL query that answers the following question: What was the Opponent in the Tarragona Tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (opponent VARCHAR, tournament VARCHAR)
SELECT opponent FROM table_name_9 WHERE tournament = "tarragona"
Write a SQL query that answers the following question: What Tournament's Score was 6–2, 4–6, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_14 WHERE score = "6–2, 4–6, 6–4"
Write a SQL query that answers the following question: On what Date was the match with a Score of 6-2, 6-4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_64 WHERE score = "6-2, 6-4"
Write a SQL query that answers the following question: How many years had the best actress in a Revival category?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (year VARCHAR, category VARCHAR)
SELECT COUNT(year) FROM table_name_9 WHERE category = "best actress in a revival"
Write a SQL query that answers the following question: What categories had a Nominated work of yerma before 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (category VARCHAR, year VARCHAR, nominated_work VARCHAR)
SELECT category FROM table_name_99 WHERE year < 1992 AND nominated_work = "yerma"
Write a SQL query that answers the following question: How many times is the shot volume (cm3) less than 172.76?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (shot_diameter__cm_ VARCHAR, shot_volume__cm_3__ INTEGER)
SELECT COUNT(shot_diameter__cm_) FROM table_name_37 WHERE shot_volume__cm_3__ < 172.76
Write a SQL query that answers the following question: what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER)
SELECT AVG(shot_volume__cm_3__) FROM table_name_73 WHERE shot_diameter__cm_ < 6.04
Write a SQL query that answers the following question: What role was nominated at the Sydney Film Festival?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (role VARCHAR, festival_organization VARCHAR)
SELECT role FROM table_name_56 WHERE festival_organization = "sydney film festival"
Write a SQL query that answers the following question: In what category was an award won in 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (award_category VARCHAR, nominated_won VARCHAR, year VARCHAR)
SELECT award_category FROM table_name_92 WHERE nominated_won = "won" AND year = 2007
Write a SQL query that answers the following question: What is the first year that there was a Satellite Award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (year INTEGER, festival_organization VARCHAR)
SELECT MIN(year) FROM table_name_90 WHERE festival_organization = "satellite award"
Write a SQL query that answers the following question: What role was at the Sydney Film Festival in 2008?
The relevant table was constructed using the following SQL : 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"
Write a SQL query that answers the following question: What was nominated for the Jury Award?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (nominated_won VARCHAR, award_category VARCHAR)
SELECT nominated_won FROM table_name_57 WHERE award_category = "jury award"
Write a SQL query that answers the following question: what is the released when the series is sorted 6y/ai?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (released VARCHAR, series_sorted VARCHAR)
SELECT released FROM table_name_68 WHERE series_sorted = "6y/ai"
Write a SQL query that answers the following question: who is the featuring when the doctor is the 6th and the series sorted is 6y/ak?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (featuring VARCHAR, doctor VARCHAR, series_sorted VARCHAR)
SELECT featuring FROM table_name_30 WHERE doctor = "6th" AND series_sorted = "6y/ak"
Write a SQL query that answers the following question: what is the series sorted when the released is may 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (series_sorted VARCHAR, released VARCHAR)
SELECT series_sorted FROM table_name_73 WHERE released = "may 2012"
Write a SQL query that answers the following question: who is the featuring when the series sorted is 6eb/b?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (featuring VARCHAR, series_sorted VARCHAR)
SELECT featuring FROM table_name_38 WHERE series_sorted = "6eb/b"
Write a SQL query that answers the following question: Which Country has a Year(s) won of 1977?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (country VARCHAR, year_s__won VARCHAR)
SELECT country FROM table_name_60 WHERE year_s__won = "1977"
Write a SQL query that answers the following question: Which To par is the lowest one that has a Year(s) won of 1962, 1967, 1972, 1980, and a Total larger than 149?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR)
SELECT MIN(to_par) FROM table_name_90 WHERE year_s__won = "1962, 1967, 1972, 1980" AND total > 149
Write a SQL query that answers the following question: Which Country has a Total of 148?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (country VARCHAR, total VARCHAR)
SELECT country FROM table_name_74 WHERE total = 148
Write a SQL query that answers the following question: Which Year(s) won has a Total of 147?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year_s__won VARCHAR, total VARCHAR)
SELECT year_s__won FROM table_name_57 WHERE total = 147
Write a SQL query that answers the following question: Which To par is the highest one that has a Total smaller than 148?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (to_par INTEGER, total INTEGER)
SELECT MAX(to_par) FROM table_name_89 WHERE total < 148
Write a SQL query that answers the following question: Who is the candidate in the 2008 (2) election?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (candidate VARCHAR, election VARCHAR)
SELECT candidate FROM table_name_20 WHERE election = "2008 (2)"
Write a SQL query that answers the following question: What is the share of votes in the 2008 (1) election?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR)
SELECT share_of_votes FROM table_name_99 WHERE election = "2008 (1)"
Write a SQL query that answers the following question: What is the share of votes in the 2000 (2nd) election?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (share_of_votes VARCHAR, election VARCHAR)
SELECT share_of_votes FROM table_name_20 WHERE election = "2000 (2nd)"