Finding tunnels in sql

Hello,
I imported a map in SQL Server using osm2mssql. I need to find start/end coordinates for each tunnel in this map.
Can anyone suggest me a solution for this?

Thanks
eclipse79