revised sql (personal_info)