The CreatorCon Call for Content is officially open! Get started here.

How can I join 3 tables in a Database view

Yanal
Giga Guru

Hello community ! who can help and tell me how to join 3 tables in a database view, 

Check the screenshot you will see that my where clause is missing something no idea what it can be

find_real_file.pngany help would be highly appreciated !! 

thanks 

1 ACCEPTED SOLUTION

Yanal
Giga Guru

It cant be done I had to create a table and fill it with the info i need

and thats because there was no relation between the 3 tables I wanted

View solution in original post

4 REPLIES 4

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

There are many out of the box database views that uses 3 tables.

You can refer any one of those, for example the following one:

find_real_file.png

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

ggg
Giga Guru

find_real_file.png

Can we also join the catalog task table with them ? 
can the task table be a parent for 2 under it ?

Yanal
Giga Guru

It cant be done I had to create a table and fill it with the info i need

and thats because there was no relation between the 3 tables I wanted