Are you manually querying the database for information, or are you getting this error from a website?

If it's a manual query, it's pretty hard to help without knowing the table structure and the query you entered. If it's some site that like Google Maps for example, then there's nothing you can do about the error. It's a bug in the site's programming logic, and the site admin will have to fix it.