خرید بک لینک

Vote count: -1

I have a table "sites" with a field "url"
all urls have a "id=" like:

http://www.google.com/&id=1234

I need to list all the urls that have an unique id

with this query I can list correctly but I can't really use the url

SELECT DISTINCT(SUBSTRING_INDEX(SUBSTRING_INDEX(url, 'id=', -1), '&', 1)) FROM sites

maybe with regex will be better

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 18 فروردين 1395 ساعت: 2:01

صفحه بندی