使用concat函数进行拼接:示例如下:

select id,username,concat( id, '-' , username) as idName from user;

相关文章:

  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2022-02-09
  • 2021-11-23
猜你喜欢
  • 2021-05-31
  • 2021-11-23
  • 2021-08-08
  • 2021-11-23
  • 2022-03-05
  • 2021-11-23
  • 2021-11-23
相关资源
相似解决方案