i have 2 table named projects and tasks
in projects table i have:
id name --------- 1 some
in tasks table i have:
SELECT t.*, p.[name] FROM tasks t INNER JOIN projects p ON t.project_id = p.[id] WHERE t.project_id = ____
You fill in _ with the project_id you want