sql拼接字段

sql如下:


select  top 20000 concat(USignUpId,',',PhoneEncrypt) as info  FROM dbo.UserSignUp

WHERE ProjectId=7 and CreateTime>'2020-07-23 14:10' 

order by CreateTime desc

返回结果:

sql拼接字段_第1张图片

你可能感兴趣的:(SQL)