我想插入一個字符串'Rs'。在一個字符串'2501以上的pendrives'之間。所以輸出將是 '高於pendrives Rs.2501'如何在字符串之間插入一個字mysql
現在從MySQL查詢
SELECT id,
url, replace(substring_index(replace(url, '-', ' '),
'/pendrive/',
- 1),
'in india.php',
'') as pagetitle
FROM
sitemap
where
category_id = 9 and (url like '%under%' or url like '%above%')
id url pagetitle
1 pendrive-above-2501.php pendrive above 2501
1 pendrive-below-500.php pendrive below 500
1 pendrive-below-700.php pendrive above 700