mysql> select trim(leading '?' from '1??Mysql???');
+--------------------------------------+
| trim(leading '?' from '1??Mysql???') |
+--------------------------------------+
| 1??Mysql??? |
+--------------------------------------+
1 row in set (0.00 sec)
+--------------------------------------+
| trim(leading '?' from '1??Mysql???') |
+--------------------------------------+
| 1??Mysql??? |
+--------------------------------------+
1 row in set (0.00 sec)
2016-02-16
最新回答 / BLre
CONNECTION_ID 连接ID SELECT CONNECTION(); DATEBASE 当前数据库 SELECT DABETASE(); LAST_INSERT_ID 最后插入的ID号 SELECT LAST_INSERT_ID当插入多条记录时,只会得到记录的第一条ID号,且这个字段是自动编号的,属性名不一定叫ID USER 当前用户 SELECT USER(); VERSION 当前版本 SELECT VERSION();
2016-02-16