[sql] [get_value_for_many_names] if no names, return empty dict