answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(team_classification) FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND combativity_award = "Jacky Durand"
What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand?
CREATE TABLE table_2267345_2 (team_classification VARCHAR, young_rider_classification VARCHAR, combativity_award VARCHAR)
SELECT authority FROM table_name_38 WHERE area = "ellerslie" AND decile = "7"
What is the authority status of the school in Ellerslie with a decile of 7?
CREATE TABLE table_name_38 (authority VARCHAR, area VARCHAR, decile VARCHAR)
SELECT date FROM table_name_56 WHERE race_title = "sandown"
what day was the sandown
CREATE TABLE table_name_56 (date VARCHAR, race_title VARCHAR)
SELECT manner_of_departure FROM table_name_52 WHERE date_of_appointment = "27 december 2007"
What was the manner of depature when the date of appointment was 27 December 2007?
CREATE TABLE table_name_52 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
SELECT home_team FROM table_name_35 WHERE tie_no = "40"
What is the Home team of Tie no 40?
CREATE TABLE table_name_35 (home_team VARCHAR, tie_no VARCHAR)
SELECT away_team AS score FROM table_name_25 WHERE away_team = "footscray"
What was the score when the away team was Footscray?
CREATE TABLE table_name_25 (away_team VARCHAR)
SELECT COUNT(rank) FROM table_name_87 WHERE losses < 992 AND college = "north carolina state" AND seasons > 101
What is the total number of rank with losses less than 992, North Carolina State College and a season greater than 101?
CREATE TABLE table_name_87 (rank VARCHAR, seasons VARCHAR, losses VARCHAR, college VARCHAR)
SELECT COUNT(production_code) FROM table_26429658_1 WHERE us_viewers__millions_ = "4.43"
How many production codes had a US viewership of 4.43 million?
CREATE TABLE table_26429658_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
SELECT country FROM table_name_55 WHERE province_region = "hokkaidō" AND airport = "new chitose airport"
In what country is Hokkaidō and New Chitose airport located?
CREATE TABLE table_name_55 (country VARCHAR, province_region VARCHAR, airport VARCHAR)
SELECT away_team FROM table_name_34 WHERE home_team = "collingwood"
Who is the away side when collingwood is at home?
CREATE TABLE table_name_34 (away_team VARCHAR, home_team VARCHAR)
SELECT COUNT(cardiff_win) FROM table_name_26 WHERE draw > 27
How many cardiff wins have a draw greater than 27?
CREATE TABLE table_name_26 (cardiff_win VARCHAR, draw INTEGER)
SELECT production_code FROM table_22948559_1 WHERE no_in_season = "21"
Name the production code for number in season being 21
CREATE TABLE table_22948559_1 (production_code VARCHAR, no_in_season VARCHAR)
SELECT class FROM table_name_95 WHERE wheels = "4-4-0" AND no_built < 40
What class has 4-4-0 wheels and was less than number 40 built?
CREATE TABLE table_name_95 (class VARCHAR, wheels VARCHAR, no_built VARCHAR)
SELECT _percentage FROM table_1108394_47 WHERE the_bronx = "133"
The candidate who received 133 votes in the Bronx won what percentage overall?
CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR)
SELECT winning_constructor FROM table_name_77 WHERE fastest_lap = "mark webber" AND grand_prix = "malaysian grand prix"
Name the winning constructor for when the fastest lap was mark webber at the malaysian grand prix
CREATE TABLE table_name_77 (winning_constructor VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT date_of_appointment FROM table_name_17 WHERE replacement = "paulo sousa"
On what date was Paulo Sousa appointed?
CREATE TABLE table_name_17 (date_of_appointment VARCHAR, replacement VARCHAR)
SELECT catalog FROM table_name_62 WHERE format = "lp" AND label = "simply vinyl"
What is the catalog with an LP Format and under the Simply Vinyl label?
CREATE TABLE table_name_62 (catalog VARCHAR, format VARCHAR, label VARCHAR)
SELECT series FROM table_name_20 WHERE name = "sam evans"
What series was Sam Evans on?
CREATE TABLE table_name_20 (series VARCHAR, name VARCHAR)
SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014
List all singer names in concerts in year 2014.
CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)
SELECT COUNT(position) FROM table_18662026_1 WHERE country = "United States"
How many positions was the United States in?
CREATE TABLE table_18662026_1 (position VARCHAR, country VARCHAR)
SELECT SUM(lost) FROM table_name_18 WHERE points > 40 AND position = 11 AND played < 38
How many Lost have Points larger than 40, and a Position of 11, and a Played smaller than 38?
CREATE TABLE table_name_18 (lost INTEGER, played VARCHAR, points VARCHAR, position VARCHAR)
SELECT result FROM table_1341472_20 WHERE party = "Republican" AND incumbent = "Billy Tauzin"
Which result did the Republican have with the incumbent, Billy Tauzin?
CREATE TABLE table_1341472_20 (result VARCHAR, party VARCHAR, incumbent VARCHAR)
SELECT date FROM table_name_37 WHERE home_team = "geelong"
On what day is geelong the home team?
CREATE TABLE table_name_37 (date VARCHAR, home_team VARCHAR)
SELECT against FROM table_name_24 WHERE losses = 14
Which against has 14 losses?
CREATE TABLE table_name_24 (against VARCHAR, losses VARCHAR)
SELECT MIN(earnings___) AS $__ FROM table_name_12 WHERE rank < 1
Which Earnings ($) is the lowest one that has a Rank smaller than 1?
CREATE TABLE table_name_12 (earnings___ INTEGER, rank INTEGER)
SELECT SUM(points) FROM table_name_86 WHERE draw > 0 AND lost = 7 AND match > 10
What is the sum of points for teams with more than 10 matches, more than 0 draws, and 7 losses?
CREATE TABLE table_name_86 (points INTEGER, match VARCHAR, draw VARCHAR, lost VARCHAR)
SELECT result FROM table_19763199_4 WHERE artist = "Salva Ortega"
What is Salva Ortega's result?
CREATE TABLE table_19763199_4 (result VARCHAR, artist VARCHAR)
SELECT document_type_description FROM Ref_Document_Types WHERE document_type_code = "Paper"
What is the description of document type 'Paper'?
CREATE TABLE Ref_Document_Types (document_type_description VARCHAR, document_type_code VARCHAR)
SELECT SUM(2009) FROM table_name_5 WHERE 1989 < 0
What is the listing for 2009 when 1989 is less than 0?
CREATE TABLE table_name_5 (Id VARCHAR)
SELECT playoffs FROM table_1046170_5 WHERE regular_season = "1st, Atlantic division"
what are all the playoffs for regular season is 1st, atlantic division
CREATE TABLE table_1046170_5 (playoffs VARCHAR, regular_season VARCHAR)
SELECT 1987 FROM table_name_15 WHERE 1986 = "1r"
What is 1987, when 1986 is "1R"?
CREATE TABLE table_name_15 (Id VARCHAR)
SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 2"
Name the most legs for steinlager 2
CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)
SELECT high_assists FROM table_22879323_8 WHERE date = "February 9"
Who did the high assists in the game played on February 9?
CREATE TABLE table_22879323_8 (high_assists VARCHAR, date VARCHAR)
SELECT COUNT(lost_to_eventual_winner) FROM table_12444503_1 WHERE lost_to_eventual_runner_up = "ASC Jeanne d'Arc"
How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up?
CREATE TABLE table_12444503_1 (lost_to_eventual_winner VARCHAR, lost_to_eventual_runner_up VARCHAR)
SELECT ra___j2000__ FROM table_name_68 WHERE name = "ngc 1543"
Which R.A. (J2000) has a Name of ngc 1543?
CREATE TABLE table_name_68 (ra___j2000__ VARCHAR, name VARCHAR)
SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley"
What is the lowest number of bids in the Missouri Valley conference?
CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)
SELECT player FROM table_name_27 WHERE debut_year < 1943 AND games < 12 AND goals < 11 AND years_at_club = "1942"
Which player debuted before 1943, played for the club in 1942, played less than 12 games, and scored less than 11 goals?
CREATE TABLE table_name_27 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR, games VARCHAR)
SELECT MIN(attendance) FROM table_name_48 WHERE week = 1
What was the lowest attendance for week 1?
CREATE TABLE table_name_48 (attendance INTEGER, week VARCHAR)
SELECT home_team FROM table_name_45 WHERE away_team = "coventry city"
What home team has coventry city as the away team?
CREATE TABLE table_name_45 (home_team VARCHAR, away_team VARCHAR)
SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)"
what is the team when the high points is by charlie villanueva (24)?
CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR)
SELECT winning_driver FROM table_name_40 WHERE winning_constructor = "bugatti" AND name = "boulogne grand prix"
Which driver won when the winning constructor was bugatti at the Boulogne Grand Prix ?
CREATE TABLE table_name_40 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT presentation_of_credentials FROM table_name_7 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "raúl h. castro"
What is the presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary?
CREATE TABLE table_name_7 (presentation_of_credentials VARCHAR, title VARCHAR, representative VARCHAR)
SELECT team FROM table_2139390_2 WHERE date = "June 20"
Name the team for june 20
CREATE TABLE table_2139390_2 (team VARCHAR, date VARCHAR)
SELECT name FROM products WHERE price <= 200
Select the name of the products with a price less than or equal to $200.
CREATE TABLE products (name VARCHAR, price VARCHAR)
SELECT date FROM table_name_13 WHERE director = "pen-ek ratanaruang"
When was the film directed by Pen-Ek Ratanaruang released?
CREATE TABLE table_name_13 (date VARCHAR, director 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'
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 transmitter_location FROM table_name_87 WHERE station = "voice of vietnam"
Where is the transmitter located for the station voice of vietnam
CREATE TABLE table_name_87 (transmitter_location VARCHAR, station VARCHAR)
SELECT singapore_gross FROM table_name_66 WHERE director = "1991"
For the directed by 1991, what was the gross in Singapore?
CREATE TABLE table_name_66 (singapore_gross VARCHAR, director VARCHAR)
SELECT team FROM table_24491017_1 WHERE f_laps = 10
What team was he on when he had 10 f/laps?
CREATE TABLE table_24491017_1 (team VARCHAR, f_laps VARCHAR)
SELECT enrollment FROM table_261927_2 WHERE location = "Westfield, Massachusetts"
What is the enrollment for the institution in Westfield, Massachusetts?
CREATE TABLE table_261927_2 (enrollment VARCHAR, location VARCHAR)
SELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = "croatia" AND year > 2007
What is the average expenditures on R&D for Croatia after 2007?
CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)
SELECT producer_s_ FROM table_name_20 WHERE film = "strange little girls"
Who was the producer for the film 'Strange Little Girls'?
CREATE TABLE table_name_20 (producer_s_ VARCHAR, film VARCHAR)
SELECT MIN(gold) FROM table_name_81 WHERE rank = "12"
What is the lowest gold medals of a rank 12 team?
CREATE TABLE table_name_81 (gold INTEGER, rank VARCHAR)
SELECT music FROM table_name_23 WHERE choreographer_s_ = "sabina dalfjäll"
What is the music for choreographer sabina dalfjäll?
CREATE TABLE table_name_23 (music VARCHAR, choreographer_s_ VARCHAR)
SELECT constructor FROM table_name_34 WHERE winning_driver = "jim clark" AND pole_position = "graham hill" AND race = "dutch grand prix"
I want the constructor for winning driver of jim clark, pole position of graham hill and dutch grand prix
CREATE TABLE table_name_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT institution, LOCATION FROM institution WHERE founded > 1990 AND TYPE = 'Private'
Show the names and locations of institutions that are founded after 1990 and have the type "Private".
CREATE TABLE institution (institution VARCHAR, LOCATION VARCHAR, founded VARCHAR, TYPE VARCHAR)
SELECT season FROM table_27571406_1 WHERE team_name = "Pons Racing"
In what season did Pons Racing compete?
CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR)
SELECT high_rebounds FROM table_13464416_6 WHERE record = "12-30"
who made the recovers where the score is 12-30
CREATE TABLE table_13464416_6 (high_rebounds VARCHAR, record VARCHAR)
SELECT episodes FROM table_2639433_4 WHERE year = 2007
What episode came out in the year 2007?
CREATE TABLE table_2639433_4 (episodes VARCHAR, year VARCHAR)
SELECT ppv FROM table_15887683_19 WHERE television_service = "SCT"
Was there PPV when the service was SCT?
CREATE TABLE table_15887683_19 (ppv VARCHAR, television_service VARCHAR)
SELECT batting_partners FROM table_name_99 WHERE venue = "colombo"
Who were the batting partners in Colombo?
CREATE TABLE table_name_99 (batting_partners VARCHAR, venue VARCHAR)
SELECT specification FROM table_name_1 WHERE total_produced > 19 AND model = "fb-1"
What is the specification of the locomotives with a total produced more than 19 and a model of fb-1?
CREATE TABLE table_name_1 (specification VARCHAR, total_produced VARCHAR, model VARCHAR)
SELECT COUNT(wins) FROM table_name_97 WHERE defeated_by = "toda"
How many wins were held before being defeated by toda?
CREATE TABLE table_name_97 (wins VARCHAR, defeated_by VARCHAR)
SELECT mens_singles FROM table_15001681_1 WHERE womens_singles = "Daniela Kressig"
In 2004, where the womens singles is daniela kressig who is the mens singles
CREATE TABLE table_15001681_1 (mens_singles VARCHAR, womens_singles VARCHAR)
SELECT name FROM table_name_16 WHERE left_office = "cabinet secretary for culture and external affairs"
What is the Left Office of cabinet secretary for culture and external affairs named?
CREATE TABLE table_name_16 (name VARCHAR, left_office VARCHAR)
SELECT AVG(crowd) FROM table_name_81 WHERE away_team = "collingwood"
What is the average crowd size when Collingwood is the away team?
CREATE TABLE table_name_81 (crowd INTEGER, away_team VARCHAR)
SELECT min_press___mbar__ FROM table_name_15 WHERE storm_name = "adrian"
what is the minimum force of storm Adrian
CREATE TABLE table_name_15 (min_press___mbar__ VARCHAR, storm_name VARCHAR)
SELECT SUM(pick__number) FROM table_name_20 WHERE position = "sb" AND college = "minnesota"
Can you tell me the sum of Pick # that has the Position of sb, and the College of minnesota?
CREATE TABLE table_name_20 (pick__number INTEGER, position VARCHAR, college VARCHAR)
SELECT unit FROM table_name_29 WHERE location = "mongolia"
What unit is in Mongolia?
CREATE TABLE table_name_29 (unit VARCHAR, location VARCHAR)
SELECT frequency FROM table_name_50 WHERE power__kw_ = "10kw" AND call_sign = "dyfr"
What's the frequency of the call sign DYFR with 10KW of power?
CREATE TABLE table_name_50 (frequency VARCHAR, power__kw_ VARCHAR, call_sign VARCHAR)
SELECT date FROM table_name_87 WHERE week < 10 AND opponent = "denver broncos"
When did the Chargers play the Denver Broncos before Week 10?
CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT arranger FROM table_name_19 WHERE composer = "imad shams eldeen" AND length = "4:03"
Which arranger worked with composer Imad Shams Eldeen at 4:03?
CREATE TABLE table_name_19 (arranger VARCHAR, composer VARCHAR, length VARCHAR)
SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "22"
How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?
CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT partner FROM table_26458137_2 WHERE opponents_in_the_final = "Stephanie Dubois Olga Savchuk"
Who is the partner when the opponents in the final is stephanie dubois olga savchuk?
CREATE TABLE table_26458137_2 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT money___$__ FROM table_name_43 WHERE player = "jerry pate"
What was the money value for Jerry Pate?
CREATE TABLE table_name_43 (money___$__ VARCHAR, player VARCHAR)
SELECT MAX(cuts_made) FROM table_name_89 WHERE top_5 = 1 AND top_25 > 16
Which Cuts made is the highest one that has a Top-5 of 1, and a Top-25 larger than 16?
CREATE TABLE table_name_89 (cuts_made INTEGER, top_5 VARCHAR, top_25 VARCHAR)
SELECT school FROM table_name_35 WHERE mascot = "squires"
Which School has a Mascot of squires?
CREATE TABLE table_name_35 (school VARCHAR, mascot VARCHAR)
SELECT COUNT(draw) FROM table_name_67 WHERE place < 1
How many draw is in a place that is less than 1?
CREATE TABLE table_name_67 (draw VARCHAR, place INTEGER)
SELECT compression_ratio FROM table_23722304_2 WHERE torque__n_m_ = 208
what is the compression ratio whre the torque is 208?
CREATE TABLE table_23722304_2 (compression_ratio VARCHAR, torque__n_m_ VARCHAR)
SELECT sanskrit FROM table_name_74 WHERE chinese = "—" AND english = "cultivation of settling"
Which Sanskrit has a Chinese of —, and an English of cultivation of settling?
CREATE TABLE table_name_74 (sanskrit VARCHAR, chinese VARCHAR, english VARCHAR)
SELECT billboard_peak FROM table_name_52 WHERE title = "god & guns"
Where did god & guns peak on the Billboard?
CREATE TABLE table_name_52 (billboard_peak VARCHAR, title VARCHAR)
SELECT capital FROM table_160510_1 WHERE hanja = "尙州"
The hanja 尙州 is for what capital?
CREATE TABLE table_160510_1 (capital VARCHAR, hanja VARCHAR)
SELECT construction_start FROM table_12983929_1 WHERE commercial_operation = "04.03.1987"
When was the start of the construction of the unit that's been in commercial operation since 04.03.1987?
CREATE TABLE table_12983929_1 (construction_start VARCHAR, commercial_operation VARCHAR)
SELECT MAX(season) FROM table_name_22 WHERE engine = "ferrari" AND driver = "fernando alonso" AND podiums > 13
What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine?
CREATE TABLE table_name_22 (season INTEGER, podiums VARCHAR, engine VARCHAR, driver VARCHAR)
SELECT name FROM stadium ORDER BY capacity DESC LIMIT 1
Find the name of the stadium that has the maximum capacity.
CREATE TABLE stadium (name VARCHAR, capacity VARCHAR)
SELECT MAX(lane) FROM table_name_85 WHERE react < 0.164 AND time = "20.45"
What's the lane number when time was 20.45 and the react was less than 0.164?
CREATE TABLE table_name_85 (lane INTEGER, react VARCHAR, time VARCHAR)
SELECT finish FROM table_name_76 WHERE laps < 197 AND start = "9" AND qual = "152.672"
Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish?
CREATE TABLE table_name_76 (finish VARCHAR, qual VARCHAR, laps VARCHAR, start VARCHAR)
SELECT director_s_ FROM table_11715748_2 WHERE season__number = 13
Who was the dirctor for season 13?
CREATE TABLE table_11715748_2 (director_s_ VARCHAR, season__number VARCHAR)
SELECT rank FROM table_name_25 WHERE games = "276"
What is the rank that shows 276 games?
CREATE TABLE table_name_25 (rank VARCHAR, games VARCHAR)
SELECT MAX(top_10s) FROM table_name_30 WHERE wins < 0
What is the best top 10 when there are fewer than 0 wins?
CREATE TABLE table_name_30 (top_10s INTEGER, wins INTEGER)
SELECT version FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"
With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?
CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
SELECT COUNT(week) FROM table_name_25 WHERE date = "december 31, 1993"
What week shows for december 31, 1993?
CREATE TABLE table_name_25 (week VARCHAR, date VARCHAR)
SELECT surface FROM table_name_18 WHERE opponents = "thomas oger nicolas tourte"
Which surface do opponents of Thomas Oger Nicolas Tourte have?
CREATE TABLE table_name_18 (surface VARCHAR, opponents VARCHAR)
SELECT name FROM table_name_53 WHERE town = "egypt, arkansas"
What's the name of the structure at Egypt, Arkansas?
CREATE TABLE table_name_53 (name VARCHAR, town VARCHAR)
SELECT year FROM table_name_78 WHERE host_city = "bangkok" AND hosts = "alicia keys"
What year will Bangkok be the host city and Alicia Keys host?
CREATE TABLE table_name_78 (year VARCHAR, host_city VARCHAR, hosts VARCHAR)
SELECT result FROM table_name_58 WHERE competition = "2000 asian cup qualification"
What was the result from the 2000 asian cup qualification?
CREATE TABLE table_name_58 (result VARCHAR, competition VARCHAR)
SELECT discipline FROM table_name_31 WHERE championship = "usac national championship"
For the USAC National Championship, what is the Discipline?
CREATE TABLE table_name_31 (discipline VARCHAR, championship VARCHAR)
SELECT dates_administered FROM table_20032301_3 WHERE poll_source = "Minnesota Poll"
When did Minnesota Poll administer their poll?
CREATE TABLE table_20032301_3 (dates_administered VARCHAR, poll_source VARCHAR)
SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolonged"
Is prothrombin time long when thromboplastin is prolonged?
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'A Puzzling Parallax'
Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'.
CREATE TABLE projects (code VARCHAR, name VARCHAR); CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)