select distinct chain from chainerlink where fromid='13399137362' and frommid='49696'
select distinct chain from chainerlink where fromid='13399137362' and frommid='49721'