SELECT pha . segment1 , pha . authorization_status , pha . creation_date , pha . last_update_date , ( SELECT pa . segment1 FROM apps . pa_projects_all pa WHERE pa . project_id = pda . project_id ) project_name , ( SELECT task_name FROM apps . pa_tasks pt WHERE pt . project_id = pda . project_id AND pt . task_id = pda . task_id ) ...