标签:sql basic efi bsp nbsp gnu where mysq oracle
sql server 字段合并(CAST)
----------------------
select (CAST(org_no AS VARCHAR(20))+CAST(page_no AS VARCHAR(20))+CAST(djlb_no AS VARCHAR(20))) from ERP_BASIC_BILLNO_PREFIX where org_num=#{orgNum} and page_name=#{pageName} and djlb_name=#{djlbName};")
字段1+字段2
oracle 字段合并(CONCAT)
----------------------
select (Concat(Concat(CODE,‘_‘),NAME)) 合并结果集 from GoodsCate
mysql 字段合并(CONCAT)
----------------------
SELECT declare_type_id,support_model,project_name,CONCAT(declare_type_id,support_model,project_name) from gf_index;
标签:sql basic efi bsp nbsp gnu where mysq oracle
原文地址:https://www.cnblogs.com/gzhbk/p/11507491.html