Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to join two tables in a database view, when they do not have any common fields?

aadilk
Tera Contributor

Thank you for all your help.

We would like to join two tables ( table A and table B) using the Database view function.

Both table does not have any common fields.
I need to reflect data from both tables in a calendar type report.

If there is any way, no matter how trivial, I would appreciate it if you could let me know.

Thank you in advance.

2 REPLIES 2

Joni V B
Kilo Sage

Hi @aadilk ,

 

It's not really a report, but you could create a workspace with a calendar that uses an EVAM definition to fetch information from different tables in a generic format.

https://www.servicenow.com/docs/bundle/xanadu-servicenow-platform/page/administer/evam/task/define-c...

 

Uncle Rob
Kilo Patron

Are the tables TASK tables by any chance?
If so you could build the report on base task [task] and then use filter only for Task Type = A or Task Type = B
No DB view required.