context
stringlengths
0
489
instruction
stringlengths
16
244
response
stringlengths
38
557
CREATE TABLE table_name_74 (round INTEGER, team VARCHAR)
How many players were drafted from the Boston Cannons in the round?
SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons"
CREATE TABLE table_name_99 (director VARCHAR, title VARCHAR)
Who is the director of Wallace & Gromit: The Curse of the Were-Rabbit?
SELECT director FROM table_name_99 WHERE title = "wallace & gromit: the curse of the were-rabbit"
CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
Name the laps for suzuki and time/retired of +1:02.804
SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804"
CREATE TABLE table_name_62 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
What was the time when the laps were smaller than 66 and the grid was 15?
SELECT time_retired FROM table_name_62 WHERE laps < 66 AND grid = 15
CREATE TABLE table_name_31 (_number_of_total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95
SELECT MAX(_number_of_total_votes) FROM table_name_31 WHERE _percentage_of_popular_vote = "32.41%" AND _number_of_seats_won > 95
CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR)
What place did Jack McGrath start in when he received a qual score of 141.033?
SELECT start FROM table_name_72 WHERE qual = "141.033"
CREATE TABLE table_name_46 (goals INTEGER, tries VARCHAR, points VARCHAR)
What is the total number of goals from 24 tries and 96 or greater points?
SELECT SUM(goals) FROM table_name_46 WHERE tries = 24 AND points > 96
CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)
Name the term in office for liberal and state of sa for ian mclachlan
SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan"
CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR)
Played that has a Points of 38, and a B.P. larger than 5 has what sum?
SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5
CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR)
What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran?
SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises"
CREATE TABLE table_name_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR)
What is the truck used by Brett Moffitt, from Hattori Racing Enterprises?
SELECT truck_s_ FROM table_name_23 WHERE driver_s_ = "brett moffitt" AND team = "hattori racing enterprises"
CREATE TABLE table_name_77 (ppv_buyrate VARCHAR, date VARCHAR, event VARCHAR)
On September 10 during Strikeforce: Heavyweight Grand Prix Semifinals, what was the PPV buyrate?
SELECT ppv_buyrate FROM table_name_77 WHERE date = "september 10" AND event = "strikeforce: heavyweight grand prix semifinals"
CREATE TABLE table_name_67 (film VARCHAR, result VARCHAR, year VARCHAR)
Which Film has a Result of nominated, and a Year of 2001?
SELECT film FROM table_name_67 WHERE result = "nominated" AND year = 2001
CREATE TABLE table_name_39 (award VARCHAR, film VARCHAR, year VARCHAR, group VARCHAR, result VARCHAR)
Which Award has a Group of césar awards, and a Result of nominated, and a Year larger than 2001, and a Film of 8 women (8 femmes)?
SELECT award FROM table_name_39 WHERE group = "césar awards" AND result = "nominated" AND year > 2001 AND film = "8 women (8 femmes)"
CREATE TABLE table_name_41 (year INTEGER, film VARCHAR, award VARCHAR, group VARCHAR, result VARCHAR)
Which Year has a Group of césar awards, and a Result of nominated, and an Award of the best actress, and a Film of 8 women (8 femmes)?
SELECT AVG(year) FROM table_name_41 WHERE group = "césar awards" AND result = "nominated" AND award = "best actress" AND film = "8 women (8 femmes)"
CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)
What venue held the 1966 fifa world cup qualification on may 7, 1965?
SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965"
CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)
Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?
SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games < 70
CREATE TABLE table_name_17 (Id VARCHAR)
What is the lowest number of participants in 2012 when there were 72 in 2010 and less than 56 in 2013?
SELECT MIN(2012) FROM table_name_17 WHERE 2010 = 72 AND 2013 < 56
CREATE TABLE table_name_79 (result VARCHAR, offer_team VARCHAR, player VARCHAR)
What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player?
SELECT result FROM table_name_79 WHERE offer_team = "new york rangers" AND player = "adam graves"
CREATE TABLE table_name_99 (country VARCHAR)
What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?
SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 4
CREATE TABLE table_name_73 (result VARCHAR, offer_team VARCHAR, player VARCHAR)
What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team?
SELECT result FROM table_name_73 WHERE offer_team = "philadelphia flyers" AND player = "chris gratton"
CREATE TABLE table_name_26 (date VARCHAR, player VARCHAR, original_team VARCHAR, result VARCHAR)
What date has Vancouver Canucks as the original team, Ryan Kesler as the player, and matched as the Result?
SELECT date FROM table_name_26 WHERE original_team = "vancouver canucks" AND result = "matched" AND player = "ryan kesler"
CREATE TABLE table_name_15 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
How low is the Attendance that has an Opponent of devil rays and a Date of may 13?
SELECT MIN(attendance) FROM table_name_15 WHERE opponent = "devil rays" AND date = "may 13"
CREATE TABLE table_name_16 (game INTEGER, opponent VARCHAR, points VARCHAR)
What's the highest game against the New York Rangers with more than 55 points?
SELECT MAX(game) FROM table_name_16 WHERE opponent = "new york rangers" AND points > 55
CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR)
Which nationality's distance was 500m before 2012, when the record was 1:37.071s?
SELECT nationality FROM table_name_26 WHERE distance = "500m" AND year < 2012 AND record = "1:37.071s"
CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR, player VARCHAR)
WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE?
SELECT place FROM table_name_30 WHERE score > 65 AND player = "rocco mediate"
CREATE TABLE table_name_92 (player VARCHAR, place VARCHAR, country VARCHAR)
WHAT IS THE PLAYER WITH T7 PLACE, FOR ENGLAND?
SELECT player FROM table_name_92 WHERE place = "t7" AND country = "england"
CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR)
Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939
SELECT name FROM table_name_73 WHERE laid_down = "22 september 1939" AND commissioned = "30 august 1941"
CREATE TABLE table_name_51 (gold INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR)
Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze smaller than 0 had what sum of gold?
SELECT SUM(gold) FROM table_name_51 WHERE silver > 0 AND total < 3 AND nation = "bulgaria" AND bronze < 0
CREATE TABLE table_name_59 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR)
What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played?
SELECT COUNT(points) FROM table_name_59 WHERE position < 7 AND goals_for = 68 AND played < 30
CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)
What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?
SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10
CREATE TABLE table_name_63 (goal_difference INTEGER, club VARCHAR, points VARCHAR, losses VARCHAR)
What is the average goal difference of club cultural leonesa, which has more than 27 points and less than 9 losses?
SELECT AVG(goal_difference) FROM table_name_63 WHERE points > 27 AND losses < 9 AND club = "cultural leonesa"
CREATE TABLE table_name_63 (position VARCHAR, games_played VARCHAR, w_l_d VARCHAR)
Which position had 5 games played and a record of 1-2-2?
SELECT position FROM table_name_63 WHERE games_played = 5 AND w_l_d = "1-2-2"
CREATE TABLE table_name_67 (year INTEGER, total_score VARCHAR, country VARCHAR)
When the United States had a total score of 274 what was the average year?
SELECT AVG(year) FROM table_name_67 WHERE total_score = "274" AND country = "united states"
CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR)
What date has the format of CD and catalog of alca-274?
SELECT date FROM table_name_72 WHERE format = "cd" AND catalog = "alca-274"
CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR)
What is the location for the year under 2010 and the year Hei Zhi Hong won silver?
SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong"
CREATE TABLE table_name_23 (byte_string VARCHAR, max_memory__kwords_ VARCHAR, floating_point VARCHAR, memory_map VARCHAR, decimal VARCHAR)
What is the value for the byte string when the memory map, decimal, and floating points are all standard and the max memory is smaller than 512?
SELECT byte_string FROM table_name_23 WHERE memory_map = "standard" AND decimal = "standard" AND floating_point = "standard" AND max_memory__kwords_ < 512
CREATE TABLE table_name_90 (model VARCHAR, byte_string VARCHAR, floating_point VARCHAR)
What model has both a standard byte string and floating-point?
SELECT model FROM table_name_90 WHERE byte_string = "standard" AND floating_point = "standard"
CREATE TABLE table_name_19 (decimal VARCHAR, max_memory__kwords_ VARCHAR, byte_string VARCHAR, memory_map VARCHAR)
What is the decimal value when the memory map and byte string are standard, and the max memory is 512?
SELECT decimal FROM table_name_19 WHERE byte_string = "standard" AND memory_map = "standard" AND max_memory__kwords_ = 512
Can you tell me the sum of 100s that has the Team of deccan chargers, and the Match of 8, and the Average larger than 35.57?
SELECT SUM(_100s) FROM table_name_41 WHERE team = "deccan chargers" AND matches = 8 AND average > 35.57
CREATE TABLE table_name_19 (round INTEGER, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)?
SELECT MIN(round) FROM table_name_19 WHERE nationality = "united states" AND college_junior_club_team__league_ = "breck school (ushs)"
CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?
SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "world seniors invitational"
CREATE TABLE table_name_86 (team VARCHAR, high_rebounds VARCHAR, record VARCHAR)
What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28?
SELECT team FROM table_name_86 WHERE high_rebounds = "popeye jones (14)" AND record = "16-28"
CREATE TABLE table_name_27 (game INTEGER, record VARCHAR)
What is the score of the scores when Game had a Record of 17-29?
SELECT SUM(game) FROM table_name_27 WHERE record = "17-29"
CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR)
What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8?
SELECT AVG(net_yards) FROM table_name_87 WHERE touchdowns = 9 AND attempts = 145 AND yards_per_attempt > 4.8
CREATE TABLE table_name_36 (rank INTEGER, profits__billion_$_ VARCHAR, industry VARCHAR, company VARCHAR)
What is the smallest rank for an industry of banking, a company of bank of america, and profits (billion $) larger than 16.47?
SELECT MIN(rank) FROM table_name_36 WHERE industry = "banking" AND company = "bank of america" AND profits__billion_$_ > 16.47
CREATE TABLE table_name_2 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR)
What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase?
SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = "usa" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = "jpmorgan chase"
CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)
On what Date was Rafael Nadal the Opponent?
SELECT date FROM table_name_37 WHERE opponent = "rafael nadal"
CREATE TABLE table_name_36 (points INTEGER, engine VARCHAR, chassis VARCHAR)
What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis?
SELECT MIN(points) FROM table_name_36 WHERE engine = "mugen v8" AND chassis = "reynard 91d"
CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)
What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977?
SELECT leftfielder FROM table_name_90 WHERE second_baseman = "davey lopes" AND first_baseman = "steve garvey" AND shortstop = "bill russell" AND year > 1977
CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)
What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver?
SELECT shortstop FROM table_name_40 WHERE catcher = "johnny roseboro" AND third_baseman = "jim lefebvre" AND second_baseman = "nate oliver"
CREATE TABLE table_name_25 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR)
What is the name of the Leftfielder when the Shortstop was bill russell, and the Second Baseman was steve sax in 1983?
SELECT leftfielder FROM table_name_25 WHERE shortstop = "bill russell" AND second_baseman = "steve sax" AND year = 1983
CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR)
Which Score has High points of raymond felton (32)?
SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)"
CREATE TABLE table_name_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR)
Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?
SELECT team FROM table_name_69 WHERE winner = "craig lowndes" AND circuit = "phillip island grand prix circuit"
CREATE TABLE table_name_17 (location_attendance VARCHAR, high_assists VARCHAR, record VARCHAR)
Which Location Attendance has a High assists of raymond felton (5), and a Record of 35–44?
SELECT location_attendance FROM table_name_17 WHERE high_assists = "raymond felton (5)" AND record = "35–44"
CREATE TABLE table_name_42 (service_charge VARCHAR, designation VARCHAR)
What is the service chage of the boat howitzers with a 12-pdr light destination?
SELECT service_charge FROM table_name_42 WHERE designation = "12-pdr light"
CREATE TABLE table_name_8 (bore VARCHAR, designation VARCHAR)
What is the bore of the boat howitzers with a 12-pdr heavy designation?
SELECT bore FROM table_name_8 WHERE designation = "12-pdr heavy"
CREATE TABLE table_name_22 (pick__number VARCHAR, position VARCHAR, overall VARCHAR)
How many Picks have a Position of defensive end, and an Overall smaller than 33?
SELECT COUNT(pick__number) FROM table_name_22 WHERE position = "defensive end" AND overall < 33
CREATE TABLE table_name_64 (moving_from VARCHAR, country VARCHAR, transfer_fee VARCHAR)
What is moving from esp with transfer fee of youth system?
SELECT moving_from FROM table_name_64 WHERE country = "esp" AND transfer_fee = "youth system"
CREATE TABLE table_name_26 (score VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR)
What is Score, when Partnering is "Alexander Waske", and when Opponents In The Final is "Rafael Nadal Bartolomé Salvá-Vidal"?
SELECT score FROM table_name_26 WHERE partnering = "alexander waske" AND opponents_in_the_final = "rafael nadal bartolomé salvá-vidal"
CREATE TABLE table_name_17 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
What is the highest Gold that has a Silver less than 7 and Bronze less than 0
SELECT MAX(gold) FROM table_name_17 WHERE silver < 7 AND bronze < 0
CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR)
when points for was points for what was the points?
SELECT points FROM table_name_86 WHERE points_for = "points for"
CREATE TABLE table_name_71 (surface VARCHAR, opponents VARCHAR)
Opponents of sebastián decoud santiago giraldo had what surface?
SELECT surface FROM table_name_71 WHERE opponents = "sebastián decoud santiago giraldo"
CREATE TABLE table_name_2 (player VARCHAR, year_born VARCHAR, height VARCHAR)
Who is the player born before 1985 who is less than 2.02 tall?
SELECT player FROM table_name_2 WHERE year_born < 1985 AND height < 2.02
CREATE TABLE table_name_29 (rank INTEGER, name VARCHAR, points VARCHAR)
Which Rank that a Name of thomas morgenstern, and Points larger than 288.7?
SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.7
CREATE TABLE table_name_81 (call_sign VARCHAR, frequency VARCHAR)
Which call sign has a frequency of FM 105.3?
SELECT call_sign FROM table_name_81 WHERE frequency = "fm 105.3"
CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)
what is the wind speed when brenda morehead was in the united states?
SELECT MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead"
CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR)
WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?
SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = "june 13"
CREATE TABLE table_name_72 (europe INTEGER, position VARCHAR, others VARCHAR, league VARCHAR)
What is the sum of the Europe totals for players with other appearances of 0, league appearances under 328, and a position of MF?
SELECT SUM(europe) FROM table_name_72 WHERE others = 0 AND league < 328 AND position = "mf"
CREATE TABLE table_name_39 (investment_income VARCHAR, other_social_security_benefits VARCHAR, occupational_pensions VARCHAR, working_tax_credit VARCHAR)
Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income?
SELECT investment_income FROM table_name_39 WHERE occupational_pensions = "7%" AND working_tax_credit = "2%" AND other_social_security_benefits = "6%"
CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR)
Who is the winner of the Florence to Genoa course?
SELECT winner FROM table_name_95 WHERE course = "florence to genoa"
CREATE TABLE table_name_67 (investment_income VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR, self_employed VARCHAR)
State pensions of 7%, and a Self employed of 7%, and a Other income sources of 2% has what investment income?
SELECT investment_income FROM table_name_67 WHERE state_pensions = "7%" AND self_employed = "7%" AND other_income_sources = "2%"
CREATE TABLE table_name_34 (occupational_pensions VARCHAR, working_tax_credit VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR, other_income_sources VARCHAR, state_pensions VARCHAR)
Other income sources of 2%, and a State pensions of 7%, and a Working tax credit of 2%, and a Employment ( salaries & wages) of 66% has what occupational pensions?
SELECT occupational_pensions FROM table_name_34 WHERE other_income_sources = "2%" AND state_pensions = "7%" AND working_tax_credit = "2%" AND employment___salaries_ & _wages_ = "66%"
CREATE TABLE table_name_20 (working_tax_credit VARCHAR, occupational_pensions VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)
Employment ( salaries & wages) of 64%, and a Occupational pensions of 6% has what working tax credit?
SELECT working_tax_credit FROM table_name_20 WHERE employment___salaries_ & _wages_ = "64%" AND occupational_pensions = "6%"
CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)
What team was the opponent in the 2008–09 season, with a final score of 2–3 l?
SELECT opponent FROM table_name_43 WHERE season = "2008–09" AND final_score = "2–3 l"
CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)
what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0?
SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0
CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR)
Name the Losing BP with 22 played and 9 Try BP.
SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9"
CREATE TABLE table_name_3 (time___et__ VARCHAR, opponent VARCHAR)
When is the Opponent of new england patriots?
SELECT time___et__ FROM table_name_3 WHERE opponent = "new england patriots"
CREATE TABLE table_name_27 (high_rebounds VARCHAR, high_assists VARCHAR, game VARCHAR, team VARCHAR)
Which High rebounds have a Game larger than 2, and a Team of @ denver, and High assists of kobe bryant (5)?
SELECT high_rebounds FROM table_name_27 WHERE game > 2 AND team = "@ denver" AND high_assists = "kobe bryant (5)"
CREATE TABLE table_name_18 (sales__billion_ INTEGER, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR)
What is the average sales for the company with market value of 204.9bil and profits under 20.6bil?
SELECT AVG(sales__billion_) AS $_ FROM table_name_18 WHERE market_value__billion_$_ = 204.9 AND profits__billion_$_ < 20.6
CREATE TABLE table_name_82 (year INTEGER, entrant VARCHAR, engine VARCHAR, chassis VARCHAR)
Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering?
SELECT MAX(year) FROM table_name_82 WHERE engine = "offenhauser l4" AND chassis = "kurtis kraft 500c" AND entrant = "federal engineering"
CREATE TABLE table_name_15 (pick__number INTEGER, name VARCHAR)
What is the lowest pick # of John Ayres?
SELECT MIN(pick__number) FROM table_name_15 WHERE name = "john ayres"
CREATE TABLE table_name_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR)
What is the final score in 2007 for the world league in novi sad played against Italy?
SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy"
CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
What is the last match with a resigned manner of departure and a round 1 date of vacancy?
SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1"
CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR)
Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points?
SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2
CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)
How many episodes have a share of 16.2% and an episode number of less than 1?
SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1
CREATE TABLE table_name_11 (car__number INTEGER, current_car VARCHAR, year_started VARCHAR)
WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR?
SELECT MIN(car__number) FROM table_name_11 WHERE current_car = "son-e-wa" AND year_started < 2012
CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)
What's greatest attendance on May 7?
SELECT MAX(attendance) FROM table_name_89 WHERE date = "may 7"
CREATE TABLE table_name_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR)
On what date did the person leave office who died on October 23, 1887 and who served 2 years?
SELECT left_office FROM table_name_58 WHERE years_in_office = "2" AND death = "october 23, 1887"
CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)
What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955?
SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = "500cc" AND team = "norton" AND year > 1955
CREATE TABLE table_name_94 (crowd VARCHAR, away_team VARCHAR, venue VARCHAR)
How big was the crowd when the South Dragons were the away team at the Gold Coast Convention Centre?
SELECT crowd FROM table_name_94 WHERE away_team = "south dragons" AND venue = "gold coast convention centre"
CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification?
SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti"
CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)
What is the largest metropolitan area of the Central-West?
SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west"
CREATE TABLE table_name_21 (general_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, young_rider_classification VARCHAR)
What is the general classification of the stage 3 with Daniele Bennati as the points classification and Morris Possoni as the young rider classification.
SELECT general_classification FROM table_name_21 WHERE points_classification = "daniele bennati" AND young_rider_classification = "morris possoni" AND stage = "3"
CREATE TABLE table_name_37 (general_classification VARCHAR, young_rider_classification VARCHAR)
What is the general classification with riccardo riccò as the young rider classification?
SELECT general_classification FROM table_name_37 WHERE young_rider_classification = "riccardo riccò"
CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR)
What is the point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification?
SELECT points_classification FROM table_name_93 WHERE young_rider_classification = "chris anker sørensen" AND general_classification = "christian vande velde"
CREATE TABLE table_name_78 (leader_at_the_summit VARCHAR, finish VARCHAR, start VARCHAR, stage VARCHAR, category VARCHAR)
Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets?
SELECT leader_at_the_summit FROM table_name_78 WHERE stage > 14 AND category = 1 AND start = "saint-girons" AND finish = "cauterets"
CREATE TABLE table_name_56 (year INTEGER, start VARCHAR, stage VARCHAR)
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?
SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15
CREATE TABLE table_name_31 (rank VARCHAR, venue VARCHAR, margin VARCHAR)
What is the Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs?
SELECT rank FROM table_name_31 WHERE venue = "bellerive oval , hobart" AND margin = "115 runs"
CREATE TABLE table_name_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR)
In which title was Ann Rutherford the leading lady for Joseph Kane?
SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane"