question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is from the united states, has a rank less than 9, and heat more than 5?
CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)
SELECT name FROM table_name_79 WHERE rank < 9 AND heat > 5 AND nationality = "united states"
WHAT IS THE EPISODE NUMBER THAT HAS 28 DVD?
CREATE TABLE table_name_78 (episode_no VARCHAR, no_of_dvds VARCHAR)
SELECT episode_no FROM table_name_78 WHERE no_of_dvds = "28"
what is the maximum value for afc cup
CREATE TABLE table_14460937_2 (afc_cup INTEGER)
SELECT MAX(afc_cup) FROM table_14460937_2
Who directed season 1?
CREATE TABLE table_18481791_3 (directed_by VARCHAR, no_in_season VARCHAR)
SELECT directed_by FROM table_18481791_3 WHERE no_in_season = 1
What was the record as of September 1?
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "september 1"
What fraction has a value for dots of 0.\dot{3}?
CREATE TABLE table_name_85 (fraction VARCHAR, dots VARCHAR)
SELECT fraction FROM table_name_85 WHERE dots = "0.\dot{3}"
What is the First Publisher in 2007?
CREATE TABLE table_name_8 (first_publisher VARCHAR, year VARCHAR)
SELECT first_publisher FROM table_name_8 WHERE year = 2007
In which round was Barbara Hawcroft the loser?
CREATE TABLE table_name_84 (round VARCHAR, loser VARCHAR)
SELECT round FROM table_name_84 WHERE loser = "barbara hawcroft"
Opponents of sheffield wednesday had what date?
CREATE TABLE table_name_63 (date VARCHAR, opponents VARCHAR)
SELECT date FROM table_name_63 WHERE opponents = "sheffield wednesday"
What is the average Decile with a state authority and a Name of mapiu school?
CREATE TABLE table_name_16 (decile INTEGER, authority VARCHAR, name VARCHAR)
SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school"
Find the names of the students who are in the position of striker and got a yes tryout decision.
CREATE TABLE tryout (pID VARCHAR, decision VARCHAR, pPos VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes' AND T2.pPos = 'striker'
When ends won were below 57 but stolen ends are more than 14, what's the highest blank ends found?
CREATE TABLE table_name_53 (blank_ends INTEGER, stolen_ends VARCHAR, ends_won VARCHAR)
SELECT MAX(blank_ends) FROM table_name_53 WHERE stolen_ends > 14 AND ends_won < 57
Which audition city held callbacks at Amelia Island Plantation?
CREATE TABLE table_name_81 (audition_city VARCHAR, callback_venue VARCHAR)
SELECT audition_city FROM table_name_81 WHERE callback_venue = "amelia island plantation"
Show the name and theme for all concerts and the number of singers in each concert.
CREATE TABLE singer_in_concert (concert_id VARCHAR); CREATE TABLE concert (concert_name VARCHAR, theme VARCHAR, concert_id VARCHAR)
SELECT T2.concert_name, T2.theme, COUNT(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id
What tournament was an A 1988, and a 2R 1999?
CREATE TABLE table_name_38 (tournament VARCHAR)
SELECT tournament FROM table_name_38 WHERE 1988 = "a" AND 1999 = "2r"
What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone?
CREATE TABLE table_name_54 (_number_of_prefectural_votes VARCHAR, _number_of_seats_won VARCHAR, leader VARCHAR)
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_54 WHERE _number_of_seats_won > 69 AND leader = "yasuhiro nakasone"
List all the cities in a decreasing order of each city's stations' highest latitude.
CREATE TABLE station (city VARCHAR, lat INTEGER)
SELECT city FROM station GROUP BY city ORDER BY MAX(lat) DESC
How many drivers participated in the race Australian Grand Prix held in 2009?
CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (raceid VARCHAR)
SELECT COUNT(*) FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid WHERE T2.name = "Australian Grand Prix" AND YEAR = 2009
What is the total to par with a total of 163?
CREATE TABLE table_name_16 (to_par VARCHAR, total VARCHAR)
SELECT COUNT(to_par) FROM table_name_16 WHERE total = 163
Which Date has an Opponent of newcastle united, and a Result of 2–1?
CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT date FROM table_name_66 WHERE opponent = "newcastle united" AND result = "2–1"
What 1993 has 2r as a 1994, and 1r as a 1995?
CREATE TABLE table_name_18 (Id VARCHAR)
SELECT 1993 FROM table_name_18 WHERE 1994 = "2r" AND 1995 = "1r"
What year sold 1,695,900+ copies with an Oricon position larger than 1?
CREATE TABLE table_name_19 (year INTEGER, copies_sold VARCHAR, oricon_position VARCHAR)
SELECT AVG(year) FROM table_name_19 WHERE copies_sold = "1,695,900+" AND oricon_position > 1
What's the area of askøy, with a Municipal code less than 1247?
CREATE TABLE table_name_34 (area INTEGER, name VARCHAR, municipal_code VARCHAR)
SELECT SUM(area) FROM table_name_34 WHERE name = "askøy" AND municipal_code < 1247
What is the date of the game when the venue is Kardinia Park?
CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_13 WHERE venue = "kardinia park"
How many episodes were written by seth hoffman, russel friend & garrett lerner?
CREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR)
SELECT COUNT(rank__week_) FROM table_28026156_1 WHERE written_by = "Seth Hoffman, Russel Friend & Garrett Lerner"
What could a spanish coronel be addressed as in the commonwealth military?
CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, rank_in_spanish VARCHAR)
SELECT commonwealth_equivalent FROM table_1015521_2 WHERE rank_in_spanish = "Coronel"
What is the height for less than 45 storeys in Scotia Centre?
CREATE TABLE table_name_34 (height VARCHAR, storeys VARCHAR, building VARCHAR)
SELECT height FROM table_name_34 WHERE storeys < 45 AND building = "scotia centre"
There are less than 11 settlements in Kecamatan Bogor Tengah, what is the area in km²?
CREATE TABLE table_name_78 (area_in_km² INTEGER, original_name VARCHAR, number_of_settlements_and_villages VARCHAR)
SELECT SUM(area_in_km²) FROM table_name_78 WHERE original_name = "kecamatan bogor tengah" AND number_of_settlements_and_villages < 11
What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
CREATE TABLE table_name_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR)
SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii"
What is the top losses that with Club of cd toledo and Points more than 56?
CREATE TABLE table_name_23 (losses INTEGER, club VARCHAR, points VARCHAR)
SELECT MAX(losses) FROM table_name_23 WHERE club = "cd toledo" AND points > 56
What Title has a Termination of Mission for August 13, 1854?
CREATE TABLE table_name_93 (title VARCHAR, termination_of_mission VARCHAR)
SELECT title FROM table_name_93 WHERE termination_of_mission = "august 13, 1854"
What is the date when the attendance is 960?
CREATE TABLE table_name_28 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_28 WHERE attendance = 960
When Richmond was the home team, what was the home team score?
CREATE TABLE table_name_24 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_24 WHERE home_team = "richmond"
What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?
CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT surface FROM table_name_61 WHERE opponent = "ivo klec" AND score = "6–3, 6–3"
How many Years have an Iron Man Award of kyal horsley?
CREATE TABLE table_name_37 (year VARCHAR, iron_man_award VARCHAR)
SELECT COUNT(year) FROM table_name_37 WHERE iron_man_award = "kyal horsley"
which country has miss universe Hungary as former pageant?
CREATE TABLE table_14308895_2 (country_territory VARCHAR, former_pageant VARCHAR)
SELECT country_territory FROM table_14308895_2 WHERE former_pageant = "Miss Universe Hungary"
January 7.34 where is June ?
CREATE TABLE table_15945862_1 (january VARCHAR, june VARCHAR)
SELECT january FROM table_15945862_1 WHERE june = "7.34"
Find the total number of scientists.
CREATE TABLE scientists (Id VARCHAR)
SELECT COUNT(*) FROM scientists
What date was Adelaide the home team?
CREATE TABLE table_16388478_4 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_16388478_4 WHERE home_team = "Adelaide"
How many themes have the original artist of Judy Garland?
CREATE TABLE table_15796100_1 (theme VARCHAR, original_artist VARCHAR)
SELECT COUNT(theme) FROM table_15796100_1 WHERE original_artist = "Judy Garland"
Which Episode title has a Doctor Who episode of episodes 1–12?
CREATE TABLE table_name_83 (episode_title VARCHAR, doctor_who_episode VARCHAR)
SELECT episode_title FROM table_name_83 WHERE doctor_who_episode = "episodes 1–12"
How many laps have a Time/Retired of + 4 laps, and a Driver of graham hill?
CREATE TABLE table_name_3 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_3 WHERE time_retired = "+ 4 laps" AND driver = "graham hill"
How many viewed the episode gary gets boundaries?
CREATE TABLE table_name_47 (viewers VARCHAR, episode VARCHAR)
SELECT COUNT(viewers) FROM table_name_47 WHERE episode = "gary gets boundaries"
What is the area km² for a population of 99,685 (2008)?
CREATE TABLE table_name_99 (area_km² VARCHAR, population VARCHAR)
SELECT area_km² FROM table_name_99 WHERE population = "99,685 (2008)"
What score has notts county as the home team?
CREATE TABLE table_name_23 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_23 WHERE home_team = "notts county"
Name the trine dehli cleve for english waltz
CREATE TABLE table_28677723_14 (trine_dehli_cleve INTEGER, style VARCHAR)
SELECT MIN(trine_dehli_cleve) FROM table_28677723_14 WHERE style = "English Waltz"
What is the 2002 average when 2003 is less than 13.2, 2006 is more than 12.1, 2011 is more than 13.5 and 2001 is 11.5?
CREATE TABLE table_name_64 (Id VARCHAR)
SELECT AVG(2002) FROM table_name_64 WHERE 2003 < 13.2 AND 2006 > 12.1 AND 2011 > 13.5 AND 2001 = 11.5
what was the attendance when the away team was boreham wood?
CREATE TABLE table_name_84 (attendance VARCHAR, away_team VARCHAR)
SELECT attendance FROM table_name_84 WHERE away_team = "boreham wood"
What Date has a Name of thuin circuit?
CREATE TABLE table_name_26 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_26 WHERE name = "thuin circuit"
Which Home has an Away of 1–1?
CREATE TABLE table_name_36 (home VARCHAR, away VARCHAR)
SELECT home FROM table_name_36 WHERE away = "1–1"
What is the total number of events that Al Geiberger has played with earnings larger than 527,033?
CREATE TABLE table_name_42 (events VARCHAR, player VARCHAR, earnings___$__ VARCHAR)
SELECT COUNT(events) FROM table_name_42 WHERE player = "al geiberger" AND earnings___$__ > 527 OFFSET 033
What is the score for game 6?
CREATE TABLE table_name_11 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_11 WHERE game = 6
Show names for all employees who do not have certificate of Boeing 737-800.
CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)
SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800"
What is Regulator, when Conduct of Litigation is Yes, and when Probate Activities is Yes?
CREATE TABLE table_name_13 (regulator VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR)
SELECT regulator FROM table_name_13 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes"
What was the final score of the match that had an attendance of 9,205?
CREATE TABLE table_name_99 (score_1 VARCHAR, attendance VARCHAR)
SELECT score_1 FROM table_name_99 WHERE attendance = "9,205"
What was the date of the game with a record of 17–25?
CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_16 WHERE record = "17–25"
What is the venue for the friendly competition at Dreisamstadion, Freiburg?
CREATE TABLE table_name_52 (score VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT score FROM table_name_52 WHERE competition = "friendly" AND venue = "dreisamstadion, freiburg"
What was the goals for in the season that the pct % was 0.604?
CREATE TABLE table_2110959_1 (goals_for INTEGER, pct__percentage VARCHAR)
SELECT MAX(goals_for) FROM table_2110959_1 WHERE pct__percentage = "0.604"
What position did Pranita Sahu's team get?
CREATE TABLE table_18278508_2 (position VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
SELECT position FROM table_18278508_2 WHERE co_contestant__yaar_vs_pyaar_ = "Pranita Sahu"
Which tournament had a performance of 1R in 2004 and 2R in 1998?
CREATE TABLE table_name_79 (tournament VARCHAR)
SELECT tournament FROM table_name_79 WHERE 2004 = "1r" AND 1998 = "2r"
How much is the crowd attending at colonial stadium where Hawthorn plays?
CREATE TABLE table_name_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_9 WHERE ground = "colonial stadium" AND home_team = "hawthorn"
Which Big (>500ha) has a Micro (10ha) larger than 940, and a Department of potosí, and a Total smaller than 16,240?
CREATE TABLE table_name_12 (big__ INTEGER, total VARCHAR, micro__10ha_ VARCHAR, department VARCHAR)
SELECT MAX(big__) > 500 AS ha_ FROM table_name_12 WHERE micro__10ha_ > 940 AND department = "potosí" AND total < 16 OFFSET 240
Who constructed the car with laps more than 70 and a time/retired of +12.535?
CREATE TABLE table_name_5 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_5 WHERE laps > 70 AND time_retired = "+12.535"
Which series # had 0.852 U.S. viewers(millions)?
CREATE TABLE table_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(series__number) FROM table_26808178_3 WHERE us_viewers__millions_ = "0.852"
What is the smallest number of gold medals a country with 1 bronze, and a total of 3 medals which is lower than rank 7?
CREATE TABLE table_name_48 (gold INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT MIN(gold) FROM table_name_48 WHERE bronze = 1 AND total = 3 AND rank > 7
What were the ratings for host Chris Economaki who had 12.3 million viewers?
CREATE TABLE table_name_83 (ratings VARCHAR, host VARCHAR, viewers VARCHAR)
SELECT ratings FROM table_name_83 WHERE host = "chris economaki" AND viewers = "12.3 million"
What is the attendance that has fedex field as the game site with 3 as the week?
CREATE TABLE table_name_24 (attendance VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_24 WHERE game_site = "fedex field" AND week = 3
What is the average number of metres for the Dzelzavas Street 74?
CREATE TABLE table_name_61 (metres INTEGER, name VARCHAR)
SELECT AVG(metres) FROM table_name_61 WHERE name = "dzelzavas street 74"
Which Score points has an Event of og beijing, and Rank points of olympic gold medalist?
CREATE TABLE table_name_9 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)
SELECT score_points FROM table_name_9 WHERE event = "og beijing" AND rank_points = "olympic gold medalist"
What is the result when the candidates are alexander smyth (dr) 100%
CREATE TABLE table_2668336_24 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_2668336_24 WHERE candidates = "Alexander Smyth (DR) 100%"
What coutry had a rampaged killing 14 in 1965?
CREATE TABLE table_name_29 (country VARCHAR, killed VARCHAR, year VARCHAR)
SELECT country FROM table_name_29 WHERE killed = "14" AND year = 1965
What season has roma as the opponent?
CREATE TABLE table_name_15 (season VARCHAR, opponent VARCHAR)
SELECT season FROM table_name_15 WHERE opponent = "roma"
Who did the play-by-play on the CBC network before 1961?
CREATE TABLE table_name_53 (play_by_play VARCHAR, network VARCHAR, year VARCHAR)
SELECT play_by_play FROM table_name_53 WHERE network = "cbc" AND year < 1961
what was the score on june 29?
CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_83 WHERE date = "june 29"
Which companies have a free float of 0.2726?
CREATE TABLE table_20667854_1 (company VARCHAR, free_float VARCHAR)
SELECT company FROM table_20667854_1 WHERE free_float = "0.2726"
What are the notes for the time at 3:19.167?
CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR)
SELECT notes FROM table_name_85 WHERE time = "3:19.167"
What was the record on October 24?
CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_41 WHERE date = "october 24"
Find the first names of all the authors who have written a paper with title containing the word "Functional".
CREATE TABLE authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR)
SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Functional%"
How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987?
CREATE TABLE table_name_37 (pts INTEGER, engine VARCHAR, year VARCHAR)
SELECT SUM(pts) FROM table_name_37 WHERE engine = "ferrari tipo 033 v6 tc" AND year > 1987
What was Olazabal's winning score in the event in which Phillip Price finished 2nd?
CREATE TABLE table_name_90 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT winning_score FROM table_name_90 WHERE runner_s__up = "phillip price"
how many appearances did batram suri category:articles with hcards have scoring less than 2 goals?
CREATE TABLE table_name_41 (appearances VARCHAR, name VARCHAR, goals VARCHAR)
SELECT COUNT(appearances) FROM table_name_41 WHERE name = "batram suri category:articles with hcards" AND goals < 2
What FC Match was played in Darlington?
CREATE TABLE table_name_52 (fc_matches VARCHAR, location VARCHAR)
SELECT fc_matches FROM table_name_52 WHERE location = "darlington"
What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium?
CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, home_ground VARCHAR)
SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = "Dairy Farmers Stadium"
What is the attendance number for the record of 17-22?
CREATE TABLE table_name_52 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_52 WHERE record = "17-22"
If the working force of HK is 32.8%, what are the Pakistanis' %?
CREATE TABLE table_27257896_2 (pakistanis VARCHAR, working_force_of_hk VARCHAR)
SELECT pakistanis FROM table_27257896_2 WHERE working_force_of_hk = "32.8%"
How many games were played on May 11?
CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR)
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 11"
Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked less than 4?
CREATE TABLE table_name_80 (games INTEGER, team VARCHAR, rank VARCHAR, rebounds VARCHAR)
SELECT SUM(games) FROM table_name_80 WHERE rank < 4 AND rebounds < 275 AND team = "bruesa gbc"
If the opponent was @ Boston Bruins, what was the Location/Attendance?
CREATE TABLE table_27537870_6 (location_attendance VARCHAR, opponent VARCHAR)
SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins"
What's the 1881 with 1961 in 1851?
CREATE TABLE table_name_54 (Id VARCHAR)
SELECT 1881 FROM table_name_54 WHERE 1851 = "1961"
Which Number stayed in Southeast has over 4,000 emigrated or forcibly removed?
CREATE TABLE table_name_26 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR)
SELECT number_stayed_in_southeast FROM table_name_26 WHERE total_number_emigrated_or_forcibly_removed = "over 4,000"
What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov?
CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR)
SELECT mountains_classification FROM table_name_60 WHERE winner = "mario cipollini" AND general_classification = "pavel tonkov"
Name the average Blank Ends which has a Shot % smaller than 78, and a Ends Won larger than 43?
CREATE TABLE table_name_80 (blank_ends INTEGER, shot__percentage VARCHAR, ends_won VARCHAR)
SELECT AVG(blank_ends) FROM table_name_80 WHERE shot__percentage < 78 AND ends_won > 43
What is the title of episode number 9-10?
CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR)
SELECT title FROM table_27832075_2 WHERE episode__number = "9-10"
Name the least rank when games are more than 34 and the season is 2009-10
CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR)
SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = "2009-10"
What are the average byes that are greater than 1479, wins greater than 5 and 0 draws?
CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)
SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0
Who directed the episode that was watched by 2.67 million U.S. viewers?
CREATE TABLE table_29747178_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29747178_3 WHERE us_viewers__million_ = "2.67"
Which Title has a Type of album in 1983?
CREATE TABLE table_name_34 (title VARCHAR, type VARCHAR, year VARCHAR)
SELECT title FROM table_name_34 WHERE type = "album" AND year = 1983
What is the Date of the match with a Score in the final of 6–3, 6–3, 2–6, 6–4?
CREATE TABLE table_name_9 (date VARCHAR, score_in_the_final VARCHAR)
SELECT date FROM table_name_9 WHERE score_in_the_final = "6–3, 6–3, 2–6, 6–4"
Which episode number had a viewership of 0.56 million?
CREATE TABLE table_26961951_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT MAX(no_in_series) FROM table_26961951_6 WHERE us_viewers__million_ = "0.56"
Show all main industry and total market value in each industry.
CREATE TABLE company (main_industry VARCHAR, market_value INTEGER)
SELECT main_industry, SUM(market_value) FROM company GROUP BY main_industry