Column 'id_pro' in from clause is ambiguous