sorry for the title..
my problem is on how to get a specific part of a URL using mysql select statement for example the url
http://www.google.com/search?q=lpol&ie=utf-8&oe=utf-8&client=ubuntu&channel=fs
and
http://www.google.com/search?q=query+to+count+specific+character&ie=utf-8&oe=utf-8&client=ubuntu&channel=fs#hl=fil&client=ubuntu&channel=fs&sa=X&ei=J1knUPu9GsiUiAe3xYB4&ved=0CEQQvwUoAQ&q=mysql+query+to+go+through+specific+character+position&spell=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=c4fd06cd155ee554&biw=1014&bih=424
these two are different url’s but they both have google.com in their url so how can i get the google.com so i can count these 2 url in to 1 using mysql select statement
The SUBSTRING_INDEX function should work
Use this in combination with the column that you have.
im no entierly sure about the 3 it could be 2.
Goodluck.