I have 3 tables that I want to join in a single table collaborator with this Sql query :
select * from (
select user.id, Project.id, Task.id
inner join Project on user.join_key = Project.join_key
inner join Task on task.join_key = = Project.join_key
) collaborator
And I can't seem to find How to. I can use this also :
CREATE TABLE Collaborator AS
SELECT user.id, Project.id, Task.id
FROM Project p, Task t, User u
inner join Project on user.join_key = Project.join_key
inner join Task on task.join_key = = Project.join_key.
Any help would be appreciated. Thanks