如何在同一字段上运行带有两个替换的选择?
SELECT `id`, `name`, `address`, REPLACE( `info`, '|', '-' ) AS `info`
INTO OUTFILE '/tmp/" . $SESSION . "NET_SCAN.csv'
FIELDS TERMINATED BY '|'
ENCLOSED BY ''
LINES TERMINATED BY '\n'
FROM `net_scan`;
我想在同一字段上运行辅助 REPLACE。