mysql 拼接字段

select spot_position,req_line,CONCAT(spot_position,'-',req_line) 
  from pdm_qc_apply 
where req_qctype != '2';

结果展示:

 

posted @ 2024-09-11 14:08  薛柏梁  阅读(3)  评论(0编辑  收藏  举报