mysql> select concat(name,"**",id) as test from test;
+----------------+
| test           |
+----------------+
| xiaoming**1    |
| xiaohong**2    |
| xiaohong**3    |
| xiaohong**4    |
| xiaohong**5    |
| xiaoming**6    |
| xiaoming**7    |
| xiaoming**8    |
| xiaobai**9     |
| 1.2xiaobai**10 |
| 2.2xiaobai**11 |
| 3xiaobai**12   |
| 123xiaohei**13 |
| xiaohei**14    |
| xiaohei**15    |
| .12xiaohei**16 |
+----------------+
16 rows in set (0.01 sec)

 

 

 

相关文章:

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