SQL中在查询结果中新增一列自定义的值

select sale_no,cast('自定义的值' as '自定义的字段类型') as '列名' 
from incomeManage
where sale_no not in (
    select sale_no from saleManage 
)

猜你喜欢

转载自blog.csdn.net/qq_35106907/article/details/82146272
今日推荐