create database view that combines combines two table

Sonu Parab
Mega Sage
Mega Sage

Hi All,

we have one requirement, 
We need a table view created that combines playbook_checklist_task and the work_request  tables (outer join on the First Reported By field) so that we can see work requests created from tasks in a list of tasks. It will need to include all rows from the Task table and any Work Request rows that match a Task ID in the First Reported By field.

 

 


1. The First Reported By field present on the Work Request table it is reference field and refers to the playbook_checklist_task  table.
2. Task ID i.e task number.

 

 

 

could you please help me to achieve the above requirement.
Thank you

checklist task table

SonuParab_0-1710836203351.png


work request table

SonuParab_1-1710836261527.png

 

 

 

 

 

 

 

 

1 REPLY 1

mhegde1
Kilo Sage

Hi @Sonu Parab ,

 

Can you check if there is any common field on both the tables.

For Example : If we consider RITM and SCTASK table, we can do like this . Similarly you can try with the tables mentioned above if you find that one field.

 

mhegde1_0-1710837258057.png

 

Please mark my answer correct/helpful if it solves your query.

 

Thanks,