mysql的字符串连接符
mysql> select CONCAT('My', 'S', 'QL');
设置my.cnf : auto-rehashmysql>use mysql; #这是关键...
update 表名 SET log_Content = REPLACE(log_Content,'"upload','"/upload')...
DELETE t1 FROM invest_year t1, invest_year t2 WHERE t1.pro_id = t2.pro_id AND t1.pro_year = t...
SELECT product_brand FROM shop_product WHERE LENGTH(product_brand)>...
truncate table 表名...
SELECT * FROM **** WHERE trim(字段名) REGEXP '[^0-9]'=1...