SQL CONCAT函数:用于将两个字符串连接起来,形成一个单一的字符串。

举例:

查询当前系统时间

正常查询:select current_date ;
添加前缀:select CONCAT(“系统时间:”,current_date);
添加后缀:select CONCAT(current_date,”,aaa”);

相关文章:

  • 2021-07-10
  • 2021-06-18
  • 2022-12-23
  • 2022-01-01
  • 2022-03-02
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案