Database view with duplicate records

Hafila Hatta
Tera Guru

We have setup a database view to get a list of software installed on servers with their current version & lifecycle phase. We have used below tables. The problem is, the records seem to have duplication where multiple record with the same software and version installed on the same server appeared. Is there something that we could configure in the clause to fix this?

 

Another thing to achieve, how to filter for record with only latest phase start date?

 

HafilaHatta_0-1719551087421.png

 

HafilaHatta_1-1719551720724.png

 

 

 

1 REPLY 1

Yashsvi
Kilo Sage

Hi @Hafila Hatta,

please check below link:

https://www.servicenow.com/community/developer-forum/database-view-showing-duplicate-records/m-p/193...

Thank you, please make helpful if you accept the solution.