IDENTITYeg:
create table A
(
   id  int IDENTITY (1,1)NOT NULL,
   phone  int,
   context  varchar(10),
   re  varchar(100),
   type int
)
insert A
select 123,'A1','',1 union
select 123,'A1','sfsdf',1 union
select 456,'A2','fsfsdf',1 union
select 789,'A1','',1 union
select 123,'A3','sdf',2