喜 我想拆分mysql搜索结果。我为表添加了一个示例图像。我想从adi字段逐字选择值。
MySQL的:
select * from liste like %emlak%
结果:
emlak1 emlak2 emlak3
我已经使用了子串ets ..但它不起作用
SELECT
*,
sum((length(adi)-length(replace(adi,' ',''))+1)) as bosluk
FROM liste2
where adi like '%emlak%'
答案 0 :(得分:0)
也许...
SELECT liste2.*,
sum((length(adi)-length(replace(adi,' ',''))+1)) as bosluk
FROM liste2
WHERE adi like '%emlak%'
添加表名或别名