instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Name the date for visiting team of denver broncos
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_72 WHERE visiting_team = "denver broncos"
Write a SQL query that answers the following question: Name the stadium with host team of san diego chargers and final score of 23-45
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (stadium VARCHAR, host_team VARCHAR, final_score VARCHAR)
SELECT stadium FROM table_name_46 WHERE host_team = "san diego chargers" AND final_score = "23-45"
Write a SQL query that answers the following question: Name the stadium with final score of 20-10
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR)
SELECT stadium FROM table_name_35 WHERE final_score = "20-10"
Write a SQL query that answers the following question: Name the date with visiting team of philadelphia eagles
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_47 WHERE visiting_team = "philadelphia eagles"
Write a SQL query that answers the following question: Name the host team for january 1 (2006)
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_93 WHERE date = "january 1 (2006)"
Write a SQL query that answers the following question: What team belongs to Delmar?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (team VARCHAR, school VARCHAR)
SELECT team FROM table_name_36 WHERE school = "delmar"
Write a SQL query that answers the following question: What was Laurel's division record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (division_record VARCHAR, school VARCHAR)
SELECT division_record FROM table_name_63 WHERE school = "laurel"
Write a SQL query that answers the following question: What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (rank INTEGER, code__iata_icao_ VARCHAR)
SELECT MIN(rank) FROM table_name_90 WHERE code__iata_icao_ = "bcm/lrbc" AND 2010 > 240 OFFSET 735
Write a SQL query that answers the following question: What is the average in 2010 of the team with a code of (IATA/ICAO) or cra/lrcv?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (code__iata_icao_ VARCHAR)
SELECT 2010 FROM table_name_20 WHERE code__iata_icao_ = "cra/lrcv"
Write a SQL query that answers the following question: Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (state_ranked_in_partisan_order VARCHAR, percentage_republicans VARCHAR, republican__democratic VARCHAR)
SELECT state_ranked_in_partisan_order FROM table_name_28 WHERE percentage_republicans = "67%" AND republican__democratic = "24/12"
Write a SQL query that answers the following question: What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR)
SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/2"
Write a SQL query that answers the following question: What is the ratio of Republicans to Democrats in South Carolina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR)
SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina"
Write a SQL query that answers the following question: What is the Republican seat plurality of the state with a ratio of 12/4 Republicans to Democrats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (republican_seat_plurality VARCHAR, republican__democratic VARCHAR)
SELECT republican_seat_plurality FROM table_name_30 WHERE republican__democratic = "12/4"
Write a SQL query that answers the following question: What is the Republican seat plurality of North Carolina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (republican_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
SELECT republican_seat_plurality FROM table_name_18 WHERE state_ranked_in_partisan_order = "north carolina"
Write a SQL query that answers the following question: What is the highest score in round 4 and total of 284 in a year more recent than 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (round_4 INTEGER, score VARCHAR, year VARCHAR)
SELECT MAX(round_4) FROM table_name_56 WHERE score = 284 AND year > 1998
Write a SQL query that answers the following question: What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (money__ INTEGER, round_2 VARCHAR, round_4 VARCHAR)
SELECT MAX(money__) AS ¥_ FROM table_name_65 WHERE round_2 = 65 AND round_4 < 67
Write a SQL query that answers the following question: What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (year INTEGER, tournament VARCHAR, round_4 VARCHAR)
SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 72
Write a SQL query that answers the following question: What is the lowest round with a place of t15 in a year earlier than 1998?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR)
SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998
Write a SQL query that answers the following question: Where was the BRDC International Trophy with driver Emerson Fittipaldi held?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (venue VARCHAR, driver VARCHAR, event VARCHAR)
SELECT venue FROM table_name_61 WHERE driver = "emerson fittipaldi" AND event = "brdc international trophy"
Write a SQL query that answers the following question: What was the most recent race at Kyalami with Keke Rosberg competing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (year INTEGER, venue VARCHAR, driver VARCHAR)
SELECT MAX(year) FROM table_name_41 WHERE venue = "kyalami" AND driver = "keke rosberg"
Write a SQL query that answers the following question: What year was the Spanish Grand Prix where Emerson Fittipaldi drove?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (year VARCHAR, event VARCHAR, driver VARCHAR)
SELECT year FROM table_name_30 WHERE event = "spanish grand prix" AND driver = "emerson fittipaldi"
Write a SQL query that answers the following question: What was the outcome for Emerson Fittipaldi in the race held at Jarama?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (result VARCHAR, venue VARCHAR, driver VARCHAR)
SELECT result FROM table_name_51 WHERE venue = "jarama" AND driver = "emerson fittipaldi"
Write a SQL query that answers the following question: How many years did Wilson Fittipaldi race?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (year VARCHAR, driver VARCHAR)
SELECT COUNT(year) FROM table_name_97 WHERE driver = "wilson fittipaldi"
Write a SQL query that answers the following question: What was the score of the game that had a loss of Cox (6–2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_44 WHERE loss = "cox (6–2)"
Write a SQL query that answers the following question: What was the date of the game that had a loss of Rojas (9–8)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_74 WHERE loss = "rojas (9–8)"
Write a SQL query that answers the following question: What was the score of the game that had a loss of Coates (0–2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_25 WHERE loss = "coates (0–2)"
Write a SQL query that answers the following question: What was the score of the game when the record was 58–47?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_12 WHERE record = "58–47"
Write a SQL query that answers the following question: How do you spell the Hebrew word יְהוֹשָפָט in English?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (english_spelling VARCHAR, hebrew_word VARCHAR)
SELECT english_spelling FROM table_name_24 WHERE hebrew_word = "יְהוֹשָפָט"
Write a SQL query that answers the following question: Which start has 1956 as the year?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (start VARCHAR, year VARCHAR)
SELECT start FROM table_name_96 WHERE year = "1956"
Write a SQL query that answers the following question: Which start has 32 as the finish and laps more than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (start VARCHAR, finish VARCHAR, laps VARCHAR)
SELECT start FROM table_name_11 WHERE finish = "32" AND laps > 6
Write a SQL query that answers the following question: Which start has 4 as a rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (start VARCHAR, rank VARCHAR)
SELECT start FROM table_name_55 WHERE rank = "4"
Write a SQL query that answers the following question: How many laps have 1 as the start?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (laps VARCHAR, start VARCHAR)
SELECT COUNT(laps) FROM table_name_25 WHERE start = "1"
Write a SQL query that answers the following question: Which finish has 33 as a rank and 200 for laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (finish VARCHAR, rank VARCHAR, laps VARCHAR)
SELECT finish FROM table_name_24 WHERE rank = "33" AND laps = 200
Write a SQL query that answers the following question: Which finish has 1 as the rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (finish VARCHAR, rank VARCHAR)
SELECT finish FROM table_name_95 WHERE rank = "1"
Write a SQL query that answers the following question: What are the special notes for an issue price under 24.95 with an edmonton oilers theme?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR)
SELECT special_notes FROM table_name_91 WHERE issue_price < 24.95 AND theme = "edmonton oilers"
Write a SQL query that answers the following question: What theme has special notes from calgary flames gift set?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (theme VARCHAR, special_notes VARCHAR)
SELECT theme FROM table_name_24 WHERE special_notes = "from calgary flames gift set"
Write a SQL query that answers the following question: What year has an issue price over 15.95, and a special notes from edmonton oilers gift set?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (year VARCHAR, issue_price VARCHAR, special_notes VARCHAR)
SELECT COUNT(year) FROM table_name_10 WHERE issue_price > 15.95 AND special_notes = "from edmonton oilers gift set"
Write a SQL query that answers the following question: What is the site when the superintendent was John Barry?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (site VARCHAR, superintendent VARCHAR)
SELECT site FROM table_name_28 WHERE superintendent = "john barry"
Write a SQL query that answers the following question: What is the number of guns when the superintendent was Silas Talbot?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR)
SELECT guns FROM table_name_36 WHERE superintendent = "silas talbot"
Write a SQL query that answers the following question: What is the site when the superintendent was James Sever?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (site VARCHAR, superintendent VARCHAR)
SELECT site FROM table_name_93 WHERE superintendent = "james sever"
Write a SQL query that answers the following question: Who was the loss in the game with the record of 65-53?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_25 WHERE record = "65-53"
Write a SQL query that answers the following question: On August 29, What was the record playing against the Rangers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_75 WHERE opponent = "rangers" AND date = "august 29"
Write a SQL query that answers the following question: On August 22, how many people came to the game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_39 WHERE date = "august 22"
Write a SQL query that answers the following question: When west indes was a holder at the end of the series for the 1991 season with an england greater than 1, what is the smallest west indies?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (west_indies INTEGER, season VARCHAR, holder_at_the_end_of_the_series VARCHAR, england VARCHAR)
SELECT MIN(west_indies) FROM table_name_92 WHERE holder_at_the_end_of_the_series = "west indies" AND england > 1 AND season = "1991"
Write a SQL query that answers the following question: When were the Brewers 27-31?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_43 WHERE record = "27-31"
Write a SQL query that answers the following question: When did the Brewers lose 2-8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (loss VARCHAR, score VARCHAR)
SELECT loss FROM table_name_63 WHERE score = "2-8"
Write a SQL query that answers the following question: When the Brewers score was 5-7, what was the lowest attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR)
SELECT MIN(attendance) FROM table_name_13 WHERE score = "5-7"
Write a SQL query that answers the following question: Who hosted the visiting team Baltimore Ravens?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_24 WHERE visiting_team = "baltimore ravens"
Write a SQL query that answers the following question: What was the final score at Heinz Field?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (final_score VARCHAR, stadium VARCHAR)
SELECT final_score FROM table_name_25 WHERE stadium = "heinz field"
Write a SQL query that answers the following question: What is the home stadium of the Atlanta Falcons?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (stadium VARCHAR, host_team VARCHAR)
SELECT stadium FROM table_name_11 WHERE host_team = "atlanta falcons"
Write a SQL query that answers the following question: What date did the New York Giants play as a visiting team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_34 WHERE visiting_team = "new york giants"
Write a SQL query that answers the following question: What is the score of Tim Herron, who placed t1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim herron"
Write a SQL query that answers the following question: What place does Fred Funk, who has a score of 69-69=138, have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (place VARCHAR, player VARCHAR, score VARCHAR)
SELECT place FROM table_name_71 WHERE score = 69 - 69 = 138 AND player = "fred funk"
Write a SQL query that answers the following question: What is Tiger Woods's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_1 WHERE player = "tiger woods"
Write a SQL query that answers the following question: What is the score of Australia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_55 WHERE country = "australia"
Write a SQL query that answers the following question: Who was Constructor for rider Marco Melandri?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR)
SELECT constructor FROM table_name_76 WHERE rider = "marco melandri"
Write a SQL query that answers the following question: Anthony West ride which Motorcyle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (motorcycle VARCHAR, rider VARCHAR)
SELECT motorcycle FROM table_name_23 WHERE rider = "anthony west"
Write a SQL query that answers the following question: What team draft a player from Canada that was picked #43 and plays right wing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT nhl_team FROM table_name_59 WHERE nationality = "canada" AND position = "right wing" AND pick__number = "43"
Write a SQL query that answers the following question: What nationality is Gerry Methe?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_34 WHERE player = "gerry methe"
Write a SQL query that answers the following question: What which player from Canada was picked #49 and plays left wing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (player VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT player FROM table_name_18 WHERE nationality = "canada" AND position = "left wing" AND pick__number = "49"
Write a SQL query that answers the following question: What Nationality is Dave Hynes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_74 WHERE player = "dave hynes"
Write a SQL query that answers the following question: The Estevan Bruins (WCHL) are affiliated with what NHL team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT nhl_team FROM table_name_51 WHERE college_junior_club_team = "estevan bruins (wchl)"
Write a SQL query that answers the following question: what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (games INTEGER, goals_for VARCHAR, draws VARCHAR, goals_against VARCHAR, wins VARCHAR)
SELECT MAX(games) FROM table_name_27 WHERE goals_against < 14 AND wins > 1 AND draws < 2 AND goals_for = 3
Write a SQL query that answers the following question: what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR)
SELECT COUNT(wins) FROM table_name_85 WHERE games < 7 AND goals_for > 2 AND goals_against < 6 AND draws = 1
Write a SQL query that answers the following question: for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller than 2, and a Wins of 1, what's the goal total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (goals_for INTEGER, wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_differential VARCHAR)
SELECT SUM(goals_for) FROM table_name_81 WHERE goals_against < 9 AND goal_differential = "0" AND draws < 2 AND wins = 1
Write a SQL query that answers the following question: What tournament happened on 12 november 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_88 WHERE date = "12 november 2006"
Write a SQL query that answers the following question: what was the score on 6 june 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_82 WHERE date = "6 june 2010"
Write a SQL query that answers the following question: When was the railmotor made?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date_made VARCHAR, type VARCHAR)
SELECT date_made FROM table_name_26 WHERE type = "railmotor"
Write a SQL query that answers the following question: What are the fleet number for the 4-6-4t locomotive?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR)
SELECT fleet_numbers FROM table_name_19 WHERE type = "4-6-4t"
Write a SQL query that answers the following question: How many fast laps have 0 points in the World Series by Nissan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)
SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan"
Write a SQL query that answers the following question: How many fast laps are in 6 races with 30 points in the World Series by Nissan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (fast_laps VARCHAR, points VARCHAR, series VARCHAR, races VARCHAR)
SELECT fast_laps FROM table_name_28 WHERE series = "world series by nissan" AND races = "6" AND points = "30"
Write a SQL query that answers the following question: Which team has the points category of test driver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR)
SELECT team FROM table_name_74 WHERE points = "test driver"
Write a SQL query that answers the following question: What is the position with 0 points in Season of 2007–08?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR)
SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08"
Write a SQL query that answers the following question: Name the least wins for 6 points
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (wins INTEGER, points VARCHAR)
SELECT MIN(wins) FROM table_name_69 WHERE points = 6
Write a SQL query that answers the following question: Name the wins for 1963 bultaco
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (wins VARCHAR, year VARCHAR, team VARCHAR)
SELECT wins FROM table_name_15 WHERE year = 1963 AND team = "bultaco"
Write a SQL query that answers the following question: Year larger than 2008, and a Nationality of director of lebanon is what director?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (director VARCHAR, year VARCHAR, nationality_of_director VARCHAR)
SELECT director FROM table_name_49 WHERE year > 2008 AND nationality_of_director = "lebanon"
Write a SQL query that answers the following question: ilm of taukukauppiaat has how many total number of years?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (year VARCHAR, film VARCHAR)
SELECT COUNT(year) FROM table_name_52 WHERE film = "taukukauppiaat"
Write a SQL query that answers the following question: Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR)
SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa"
Write a SQL query that answers the following question: Film of um sol alaranjado director is what nationality?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (nationality_of_director VARCHAR, film VARCHAR)
SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alaranjado"
Write a SQL query that answers the following question: What is the position for round 5 from alabama state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (position VARCHAR, round VARCHAR, college VARCHAR)
SELECT position FROM table_name_39 WHERE round = 5 AND college = "alabama state"
Write a SQL query that answers the following question: what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (pick__number VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR)
SELECT COUNT(pick__number) FROM table_name_37 WHERE overall > 131 AND position = "wide receiver" AND round < 5
Write a SQL query that answers the following question: what is the highest round for anthony gonzalez?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (round INTEGER, name VARCHAR)
SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez"
Write a SQL query that answers the following question: How many times is brannon condren with and overall more than 131 drafted?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_56 WHERE name = "brannon condren" AND overall > 131
Write a SQL query that answers the following question: Which rider has the time of +31.426?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (rider VARCHAR, time_retired VARCHAR)
SELECT rider FROM table_name_10 WHERE time_retired = "+31.426"
Write a SQL query that answers the following question: What is the grid for the rider who rides a Suzuki and has the time of +1:01.894?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR)
SELECT MAX(grid) FROM table_name_9 WHERE manufacturer = "suzuki" AND time_retired = "+1:01.894"
Write a SQL query that answers the following question: What is the score for Australia with a place of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (score VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_87 WHERE country = "australia" AND place = "4"
Write a SQL query that answers the following question: What is the place of To par of e when Arron Oberholser was the player ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (place VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT place FROM table_name_66 WHERE to_par = "e" AND player = "arron oberholser"
Write a SQL query that answers the following question: What is the score with a place of t6 for the player k.j. choi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_83 WHERE place = "t6" AND player = "k.j. choi"
Write a SQL query that answers the following question: What is the country for the player Tiger Woods?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_3 WHERE player = "tiger woods"
Write a SQL query that answers the following question: What is the name of the player with a score of 72-68-70=210?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_30 WHERE score = 72 - 68 - 70 = 210
Write a SQL query that answers the following question: What is the name of the player with t6 as his place and a country of United states?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_85 WHERE place = "t6" AND country = "united states"
Write a SQL query that answers the following question: What is the fineness of the 2008 chinese cuju sport Reverse?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR)
SELECT fineness FROM table_name_11 WHERE year = 2008 AND reverse = "chinese cuju sport"
Write a SQL query that answers the following question: What's the diameter of the 2006 equestrian Reverse?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (diameter VARCHAR, year VARCHAR, reverse VARCHAR)
SELECT diameter FROM table_name_49 WHERE year = 2006 AND reverse = "equestrian"
Write a SQL query that answers the following question: What denomination was produced in 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (denomination VARCHAR, year VARCHAR)
SELECT denomination FROM table_name_80 WHERE year = 2006
Write a SQL query that answers the following question: What was the fineness prior to 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (fineness VARCHAR, year INTEGER)
SELECT fineness FROM table_name_28 WHERE year < 2007
Write a SQL query that answers the following question: What does the ii Series weigh?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (weight VARCHAR, series VARCHAR)
SELECT weight FROM table_name_73 WHERE series = "ii series"
Write a SQL query that answers the following question: What loss has 10-16 as the record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_83 WHERE record = "10-16"
Write a SQL query that answers the following question: What is the least attendance that has 3-5 as a record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_25 WHERE record = "3-5"
Write a SQL query that answers the following question: What is the average attendance for the date of april 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_23 WHERE date = "april 4"
Write a SQL query that answers the following question: Which opponent has april 2 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_93 WHERE date = "april 2"