First approach to query_memberdata_list
Second approach to query_memberdata_list