This indicates the most likely endpoint switchport

Good day,
in which table would I find this : “This indicates the most likely endpoint switchport” flag? Or is there some way to list all these ports with a SQL query?
Thank you