mysql中使用replace方法

輸入HA12005883      在數據庫中查詢出 對應的數據  --> HA1-2005/883數據庫 使用replace方法select select replace(列名,'/','') as 列名 from (select replace(列名,'-','') as 列名 from (select replace(列名,' ','') as 列名 from 表名) as a) as b方
相關文章
相關標籤/搜索