answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT young_rider_classification FROM table_25999087_2 WHERE combativity_award = "Yannick Talabardon"
Who is every young rider classification if combativity award is Yannick Talabardon?
CREATE TABLE table_25999087_2 (young_rider_classification VARCHAR, combativity_award VARCHAR)
SELECT SUM(wins) FROM table_name_24 WHERE club = "sd eibar" AND played < 38
How many wins did SD Eibar, which played less than 38 games, have?
CREATE TABLE table_name_24 (wins INTEGER, club VARCHAR, played VARCHAR)
SELECT driver FROM table_20159025_1 WHERE grid = "01 1"
Who was the driver in grid 01 1?
CREATE TABLE table_20159025_1 (driver VARCHAR, grid VARCHAR)
SELECT time FROM table_name_7 WHERE rank = 1
What is the Time of the Rowers in Rank 1?
CREATE TABLE table_name_7 (time VARCHAR, rank VARCHAR)
SELECT nationality FROM table_name_36 WHERE lane = 5 AND time = "7:08.04"
Which Nationality has a Lane of 5, and a Time of 7:08.04?
CREATE TABLE table_name_36 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
SELECT player FROM table_name_17 WHERE year > 2008 AND position = "wide receiver"
Which player played wide receiver after 2008?
CREATE TABLE table_name_17 (player VARCHAR, year VARCHAR, position VARCHAR)
SELECT date FROM table_17186229_4 WHERE score_time = "W 74-63"
name the date where score time is w 74-63
CREATE TABLE table_17186229_4 (date VARCHAR, score_time VARCHAR)
SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014"
what is the country when the bie recognised is no and years(s) is 2014?
CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)
SELECT MIN(pick) FROM table_name_5 WHERE team = "boston celtics"
What was the lowest pick number for the Boston Celtics?
CREATE TABLE table_name_5 (pick INTEGER, team VARCHAR)
SELECT date FROM table_name_25 WHERE race_title = "oran park"
What date was the race at Oran Park ran?
CREATE TABLE table_name_25 (date VARCHAR, race_title VARCHAR)
SELECT host FROM table_name_61 WHERE city = "philadelphia"
Who is the host in the city of Philadelphia?
CREATE TABLE table_name_61 (host VARCHAR, city VARCHAR)
SELECT COUNT(old_english_day_name) FROM table_2624098_1 WHERE glossed_from_latin_day_name = "Dies Iovis"
how mant different day names in old English were coined from the Latin day name "dies iovis"?
CREATE TABLE table_2624098_1 (old_english_day_name VARCHAR, glossed_from_latin_day_name VARCHAR)
SELECT venue FROM table_name_11 WHERE score = "4-1"
What is the Venue of the Competition with a Score of 4-1?
CREATE TABLE table_name_11 (venue VARCHAR, score VARCHAR)
SELECT score FROM table_name_93 WHERE high_points = "luis scola (18)" AND high_rebounds = "luis scola (11)"
What is Score, when High Points is "Luis Scola (18)", and when High Rebounds is "Luis Scola (11)"?
CREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR, high_rebounds VARCHAR)
SELECT COUNT(capital) FROM table_1888051_1 WHERE area__km²_ = "1111.14"
How many capitals are there when area (km²) is 1111.14?
CREATE TABLE table_1888051_1 (capital VARCHAR, area__km²_ VARCHAR)
SELECT level FROM table_name_22 WHERE domestic_cup = "quarterfinals"
Which level is quarterfinals domestic cup?
CREATE TABLE table_name_22 (level VARCHAR, domestic_cup VARCHAR)
SELECT date FROM table_name_99 WHERE works_number = "12"
On what Date was the Works Number 12?
CREATE TABLE table_name_99 (date VARCHAR, works_number VARCHAR)
SELECT town FROM table_name_29 WHERE structural_type = "guyed mast" AND country = "belgium"
Which Town has a Structural type of guyed mast and a Country of belgium?
CREATE TABLE table_name_29 (town VARCHAR, structural_type VARCHAR, country VARCHAR)
SELECT T2.team_id, T2.rank FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id WHERE T1.year = 2014 GROUP BY T1.team_id ORDER BY AVG(T1.attendance) DESC LIMIT 1
In 2014, what are the id and rank of the team that has the largest average number of attendance?
CREATE TABLE team (team_id VARCHAR, rank VARCHAR); CREATE TABLE home_game (team_id VARCHAR, year VARCHAR, attendance INTEGER)
SELECT colors FROM table_name_74 WHERE division = "division 2" AND nickname = "seahawks"
What are the colors for the division 2 team with the nickname, the seahawks?
CREATE TABLE table_name_74 (colors VARCHAR, division VARCHAR, nickname VARCHAR)
SELECT network FROM table_name_47 WHERE lap_by_lap = "bill flemming" AND pit_reporters = "chris economaki"
What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki?
CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR)
SELECT SUM(ends) FROM table_name_70 WHERE transfer_fee = "£8.5m"
When the transfer fee is £8.5m, what is the total ends?
CREATE TABLE table_name_70 (ends INTEGER, transfer_fee VARCHAR)
SELECT tie_no FROM table_name_62 WHERE attendance = "14 november 1998" AND away_team = "hayes"
Which Tie # that has an Attendance of 14 november 1998, and an Away team of hayes?
CREATE TABLE table_name_62 (tie_no VARCHAR, attendance VARCHAR, away_team VARCHAR)
SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = "tianjin" AND number_of_clubs > 8
What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs?
CREATE TABLE table_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR)
SELECT owner FROM table_name_65 WHERE frequency = "fm 92.1"
Who owns the station with the frequency FM 92.1?
CREATE TABLE table_name_65 (owner VARCHAR, frequency VARCHAR)
SELECT place FROM table_name_89 WHERE score = 71 AND country = "united states"
When the score is 71 and the player is from United States what is the place?
CREATE TABLE table_name_89 (place VARCHAR, score VARCHAR, country VARCHAR)
SELECT COUNT(form) FROM table_name_72 WHERE pages < 18
How many forms have less than 18 pages?
CREATE TABLE table_name_72 (form VARCHAR, pages INTEGER)
SELECT player FROM table_name_91 WHERE score = 72 - 68 - 78 - 71 = 289
Which Player has a Score of 72-68-78-71=289?
CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR)
SELECT driver FROM table_name_82 WHERE sponsor = "w.h. bolin"
Who drives for the sponsor w.h. bolin?
CREATE TABLE table_name_82 (driver VARCHAR, sponsor VARCHAR)
SELECT original_airdate FROM table_name_56 WHERE episode = "2-01 (42)"
What date did Episode 2-01 (42) air?
CREATE TABLE table_name_56 (original_airdate VARCHAR, episode VARCHAR)
SELECT evening_gown FROM table_16323766_3 WHERE interview = "7.600 (9)"
What was the evening gown score for the woman who scored 7.600 (9) in her interview?
CREATE TABLE table_16323766_3 (evening_gown VARCHAR, interview VARCHAR)
SELECT COUNT(high_assists) FROM table_27902171_5 WHERE location_attendance = "Seattle Center Coliseum 14,180"
How many people are high assists when location attendance is Seattle Center Coliseum 14,180?
CREATE TABLE table_27902171_5 (high_assists VARCHAR, location_attendance VARCHAR)
SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect"
What are the the approximate translations when the Morphological Category is 1st. plur. perfect?
CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)
SELECT to_par FROM table_name_85 WHERE place = "t1" AND country = "india"
Which To par has a Place of t1, and a Country of india?
CREATE TABLE table_name_85 (to_par VARCHAR, place VARCHAR, country VARCHAR)
SELECT Operating_system, COUNT(*) FROM web_client_accelerator GROUP BY Operating_system
Find the number of web accelerators used for each Operating system.
CREATE TABLE web_client_accelerator (Operating_system VARCHAR)
SELECT SUM(draws) FROM table_name_67 WHERE season > 1964
What is the sum of Draws for a season later than 1964?
CREATE TABLE table_name_67 (draws INTEGER, season INTEGER)
SELECT record FROM table_27755603_2 WHERE high_rebounds = "Greg Monroe (8)"
What's the record in the game where Greg Monroe (8) did the high rebounds?
CREATE TABLE table_27755603_2 (record VARCHAR, high_rebounds VARCHAR)
SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9
What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?
CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT country FROM table_name_49 WHERE player = "rocco mediate"
What Country is Rocco Mediate from?
CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR)
SELECT crowd FROM table_name_12 WHERE date = "26 april 1948" AND away_team = "hawthorn"
What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?
CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT SUM(wins) FROM table_name_2 WHERE ties < 2 AND goals_against = 18 AND losses < 2
What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?
CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)
SELECT COUNT(DISTINCT language_id) FROM film
How many languages are in these films?
CREATE TABLE film (language_id VARCHAR)
SELECT location FROM table_name_74 WHERE record = "12-4"
What was the location of the game when the record was 12-4?
CREATE TABLE table_name_74 (location VARCHAR, record VARCHAR)
SELECT rank FROM table_name_34 WHERE qual = "150.163"
What is the rank of the 150.163 qual?
CREATE TABLE table_name_34 (rank VARCHAR, qual VARCHAR)
SELECT opponent FROM table_name_71 WHERE loss = "weaver (1-2)"
Who was the opponent at the game with a loss of Weaver (1-2)?
CREATE TABLE table_name_71 (opponent VARCHAR, loss VARCHAR)
SELECT characters FROM table_name_1 WHERE construction = "1870, foochow navy yard" AND name__wade_giles_ = "fu-hsing"
Who has a Construction of 1870, foochow navy yard, and a Name (Wade Giles) of fu-hsing?
CREATE TABLE table_name_1 (characters VARCHAR, construction VARCHAR, name__wade_giles_ VARCHAR)
SELECT points_against FROM table_name_67 WHERE losing_bonus = "1" AND club = "blaenavon rfc"
How many points were scored against with a losing bonus of 1 for Blaenavon RFC?
CREATE TABLE table_name_67 (points_against VARCHAR, losing_bonus VARCHAR, club VARCHAR)
SELECT COUNT(snare_pad) FROM table_2889300_6 WHERE drumset_name = "TD-15K"
for the drumset name td-15k how many snare pads are
CREATE TABLE table_2889300_6 (snare_pad VARCHAR, drumset_name VARCHAR)
SELECT score FROM table_name_90 WHERE home = "real espana"
What is the score of the game where real espana was the home team?
CREATE TABLE table_name_90 (score VARCHAR, home VARCHAR)
SELECT director FROM table_name_35 WHERE title = "antz"
Who is the director of Antz?
CREATE TABLE table_name_35 (director VARCHAR, title VARCHAR)
SELECT title FROM table_name_81 WHERE director = "stephen fossatti"
On what title was Stephen Fossatti the director of?
CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR)
SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger"
What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24?
CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR)
SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "New policy application"
Find the names of customers who have used both the service "Close a policy" and the service "New policy application".
CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VARCHAR, service_name VARCHAR)
SELECT cover_model FROM table_name_56 WHERE pictorials = "brande roderick-pmoy, naked news"
Which Cover model has a Pictorials of brande roderick-pmoy, naked news?
CREATE TABLE table_name_56 (cover_model VARCHAR, pictorials VARCHAR)
SELECT nationality FROM table_name_52 WHERE name = "jessica pengelly"
What nationality is Jessica Pengelly?
CREATE TABLE table_name_52 (nationality VARCHAR, name VARCHAR)
SELECT rounds FROM table_name_10 WHERE tyre = "d" AND chassis = "p15"
In what rounds did the P15 Chassis and tyre D participate?
CREATE TABLE table_name_10 (rounds VARCHAR, tyre VARCHAR, chassis VARCHAR)
SELECT MAX(bus_width__bits_) FROM table_name_51 WHERE designation = "pc800"
Designation of pc800 has which highest Bus width (bits)?
CREATE TABLE table_name_51 (bus_width__bits_ INTEGER, designation VARCHAR)
SELECT surface FROM table_name_93 WHERE date = "september 20, 1993"
What type of surface was used for the game played on September 20, 1993?
CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR)
SELECT frequency_mhz FROM table_name_50 WHERE erp_w > 30 AND city_of_license = "tremonton, utah"
What is the frequency MHz in tremonton, utah with a ERP W larger than 30?
CREATE TABLE table_name_50 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR)
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.overall_rating > (SELECT AVG(overall_rating) FROM Player_Attributes)
List all player names who have an overall rating higher than the average.
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating INTEGER)
SELECT date FROM table_name_49 WHERE week = 7
What was the date of the game on week 7?
CREATE TABLE table_name_49 (date VARCHAR, week VARCHAR)
SELECT points_classification FROM table_name_42 WHERE stage = "final"
What's the points classification when the stage was final?
CREATE TABLE table_name_42 (points_classification VARCHAR, stage VARCHAR)
SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design"
For which Category was Outstanding Main Title Design a Recipient and nominee?
CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR)
SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw"
Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw?
CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR)
SELECT opponent_in_the_final FROM table_name_76 WHERE partner = "gastón etlis"
What Opponent in the final had a Partner of Gastón Etlis?
CREATE TABLE table_name_76 (opponent_in_the_final VARCHAR, partner VARCHAR)
SELECT MIN(round) FROM table_name_76 WHERE position = "g" AND overall < 31
Lowest round for g that was smaller than 31?
CREATE TABLE table_name_76 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT MAX(production_code) FROM table_23793770_1 WHERE us_viewers__millions_ = "16.10"
What the production code for the episode with 16.10 U.S. viewers?
CREATE TABLE table_23793770_1 (production_code INTEGER, us_viewers__millions_ VARCHAR)
SELECT current_club FROM table_name_20 WHERE rank = 4
Which Current Club has a Rank of 4?
CREATE TABLE table_name_20 (current_club VARCHAR, rank VARCHAR)
SELECT score FROM table_name_77 WHERE date = "may 19"
What was the score on may 19?
CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR)
SELECT nation FROM table_name_77 WHERE silver < 16 AND bronze > 6 AND gold = 2
Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?
CREATE TABLE table_name_77 (nation VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT rowers FROM table_name_42 WHERE rank > 3 AND country = "finland"
Who are the rowers ranked greater than 3 from Finland?
CREATE TABLE table_name_42 (rowers VARCHAR, rank VARCHAR, country VARCHAR)
SELECT T1.driverid, COUNT(*) FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid GROUP BY T1.driverid HAVING COUNT(*) <= 30
Find the driver id and number of races of all drivers who have at most participated in 30 races?
CREATE TABLE races (raceid VARCHAR); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR); CREATE TABLE drivers (driverid VARCHAR)
SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria"
What is the total End term with a Title of prince regent of bavaria?
CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)
SELECT COUNT(long) FROM table_name_30 WHERE avg_g > 0.2 AND loss < 2 AND gain < 8
What's the total long for an avg/g over 0.2, fewer than 2 loss, and a gain less than 8?
CREATE TABLE table_name_30 (long VARCHAR, gain VARCHAR, avg_g VARCHAR, loss VARCHAR)
SELECT laps FROM table_2241841_1 WHERE race_time = "4:17:18"
In the race with a winning time of 4:17:18, how many laps were run?
CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR)
SELECT MIN(year) FROM table_name_7 WHERE expenditure = 55 AND income < 36.2
Which Year has an Expenditure of 55, and an Income smaller than 36.2?
CREATE TABLE table_name_7 (year INTEGER, expenditure VARCHAR, income VARCHAR)
SELECT attendance FROM table_name_47 WHERE visitor = "clippers"
How many people attended the game that had the Clippers as visiting team?
CREATE TABLE table_name_47 (attendance VARCHAR, visitor VARCHAR)
SELECT civil_parish FROM table_30120556_1 WHERE townland = "Ballynamona" AND area__acres__ = 126
What civil paris appears when Ballynamona is the townland with 126 acres?
CREATE TABLE table_30120556_1 (civil_parish VARCHAR, townland VARCHAR, area__acres__ VARCHAR)
SELECT clubs_involved FROM table_28039032_1 WHERE round = "Second round"
How many clubs were involved in the second round?
CREATE TABLE table_28039032_1 (clubs_involved VARCHAR, round VARCHAR)
SELECT COUNT(original_us_air_date) FROM table_25246990_5 WHERE us_viewers__millions_ = "2.5"
How many different original U.S. air dates appear where the U.S. viewers were 2.5 million?
CREATE TABLE table_25246990_5 (original_us_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT points_for FROM table_name_44 WHERE losing_bonus = "2" AND points_against = "300"
How many points did the club with a losing bonus of 2 and 300 points against have?
CREATE TABLE table_name_44 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)
SELECT country FROM table_name_4 WHERE name = "polák"
Name the country with polák
CREATE TABLE table_name_4 (country VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "Dutch")
How many countries speak both English and Dutch?
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)
SELECT games FROM table_name_36 WHERE rebounds < 270 AND rank < 5
Which game had less than 270 rebounds and a rank lower than 5?
CREATE TABLE table_name_36 (games VARCHAR, rebounds VARCHAR, rank VARCHAR)
SELECT COUNT(year) FROM table_name_52 WHERE film = "taukukauppiaat"
ilm of taukukauppiaat has how many total number of years?
CREATE TABLE table_name_52 (year VARCHAR, film VARCHAR)
SELECT miles__km_ FROM table_17802778_1 WHERE race_time = "1:05:33"
How many total miles recorded for the racer who finished in 1:05:33?
CREATE TABLE table_17802778_1 (miles__km_ VARCHAR, race_time VARCHAR)
SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent"
Name the tier 1 ratio for irish life and permanent
CREATE TABLE table_22368322_2 (tier_1_ratio VARCHAR, institution VARCHAR)
SELECT MIN(102) FROM table_name_78 WHERE "friendly" = "friendly" AND austria = "greece"
What is the smallest number for 102 when Friendly of friendly, and an Austria of greece?
CREATE TABLE table_name_78 (austria VARCHAR)
SELECT division FROM table_name_73 WHERE playoffs = "finalist" AND open_cup = "3rd round"
What division has finalist playoffs and was 3rd round Open Cup?
CREATE TABLE table_name_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
SELECT years FROM table_179174_2 WHERE flights = "134 Orbital"
What years had 134 orbital flights?
CREATE TABLE table_179174_2 (years VARCHAR, flights VARCHAR)
SELECT home_team FROM table_name_32 WHERE result = "105-99"
Who was the home team with a result of 105-99?
CREATE TABLE table_name_32 (home_team VARCHAR, result VARCHAR)
SELECT year_model FROM table_1444201_1 WHERE engine = "4-cyl Straight engine DOHC 16V" AND model = "1.5 CRDi"
Name the year model for 4-cyl straight engine dohc 16v and 1.5 crdi
CREATE TABLE table_1444201_1 (year_model VARCHAR, engine VARCHAR, model VARCHAR)
SELECT change__2009_to_2010_ FROM table_14752049_2 WHERE country = "Tunisia"
What are the changes from 2009 to 2010 in Tunisia?
CREATE TABLE table_14752049_2 (change__2009_to_2010_ VARCHAR, country VARCHAR)
SELECT SUM(Amount_Payment) FROM Payments
What is the total amount of payment?
CREATE TABLE Payments (Amount_Payment INTEGER)
SELECT date FROM table_name_97 WHERE event = "1500 m freestyle"
What date was the 1500 m freestyle competition?
CREATE TABLE table_name_97 (date VARCHAR, event VARCHAR)
SELECT T3.location, T3.Representative_Name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.Assets_billion DESC LIMIT 3
find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.
CREATE TABLE gas_station (location VARCHAR, Representative_Name VARCHAR, station_id VARCHAR); CREATE TABLE station_company (company_id VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, Assets_billion VARCHAR)
SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008"
When is Part 6, when Part 4 is on March 2, 2008?
CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR)
SELECT COUNT(pick__number) FROM table_name_5 WHERE mls_team = "chicago fire"
Chicago fire has a total of a total of how many #s?
CREATE TABLE table_name_5 (pick__number VARCHAR, mls_team VARCHAR)
SELECT away_team FROM table_name_80 WHERE round < 3 AND home_team = "queensland roar"
Who was the away team when Queensland Roar was the home team in the round less than 3?
CREATE TABLE table_name_80 (away_team VARCHAR, round VARCHAR, home_team VARCHAR)
SELECT points FROM table_name_37 WHERE entrant = "bob gerard racing" AND year = 1965
How many points did Bob Gerard Racing have in 1965?
CREATE TABLE table_name_37 (points VARCHAR, entrant VARCHAR, year VARCHAR)