only return IDs from query