select a.id,name,b.id as "订单号",money,goodsName from a,b where a.id=b.userId and a.id in(
select id from a where phone ="1861111111" or phone="1862222222")
select a.id,name,b.id as "订单号",money,goodsName from a,b where a.id=b.userId and a.id in(
select id from a where phone ="1861111111" or phone="1862222222")