Identify database table relationships and foreign keys