-- Database schema
| Scientists : SSN [ INT ] primary_key , Name [ TEXT ] | Projects : Code [ TEXT ] primary_key , Name [ TEXT ] , Hours [ INT ] | AssignedTo : Scientist [ INT ] primary_key AssignedTo.Scientist = Scientists.SSN , Project [ TEXT ] AssignedTo.Project = Projects.Code |
-- -- What are the names of scientists who are assigned to any project?

SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist  =  T2.ssn;