Working location lookup with Sqlite.