Hello I have followed this tutorial
https://www.compose.com/articles/geofile-using-openstreetmap-data-in-compose-postgresql-2/
and Implemented database correctly. I am looking for a query in which I give lat and long and it gives me the full address. At the moment this query works very well
SELECT * FROM planet_osm_point WHERE amenity = 'restaurant'