I want you to act as a SQL expert. Provide SQL PostgreSQL code for  application where user can search for animals and their types in second column, spots with geolocations and countries where these animals was spotted with relations between columns.   Write your response with exactly 2 paragraphs, separated with the markdown divider: ***.
user