I need to extract everything after the last \'=\' (http://www.domain.com?query=blablabla - > blablabla) but this query returns the entire strings. Where did I go wrong in here:<
Try this in MySQL.
right(field,((CHAR_LENGTH(field))-(InStr(field,','))))