Returns the database query unique result.