我是mysql的新手,我的真实数据是Mr.& Yehuda Sarale Adelist夫人:580 Crown St.#311 11213 在触发ms-access查询后,我得到了Mr.& Yehuda Sarale Adelist夫人。 Ms-Access查询定义如下:
SELECT
CopyExcelHere.Field1,
Replace([Field2],":",Chr$(13) & Chr$(10)) AS F2,
Replace([Field3],":",Chr$(13) & Chr$(10)) AS Expr1
FROM CopyExcelHere;
我希望将此MS查询转换为mysql查询,以获得结果Mr.& Yehuda Sarale Adelist夫人。 任何帮助都会被批评。
由于
答案 0 :(得分:2)
也许这应该有用
select
CopyExcelHere.Field1,
replace(Field2, ':', "\r\n") as F2,
replace(Field3, ':', "\r\n") as Expr1,
from
CopyExcelHere;