I want to remove simple SEO but the uninstall sql query is not working.

51&q=SET&lr=lang_en">SET @t4=0;
51&q=SELECT&lr=lang_en">SELECT (@t4:=configuration_group_id) 51&q=AS&lr=lang_en">as t4
51&q=FROM&lr=lang_en">FROM configuration_group
51&q=WHERE&lr=lang_en">WHERE configuration_group_title= 'Simple SEO URL';
51&q=DELETE&lr=lang_en">DELETE 51&q=FROM&lr=lang_en">FROM configuration 51&q=WHERE&lr=lang_en">WHERE configuration_group_id = @t4;
51&q=DELETE&lr=lang_en">DELETE 51&q=FROM&lr=lang_en">FROM configuration_group 51&q=WHERE&lr=lang_en">WHERE configuration_group_id = @t4;
51&q=DROP&lr=lang_en">DROP 51&q=TABLE&lr=lang_en">TABLE 5.1/en/control-flow-functions.html">IF 51&q=EXISTS&lr=lang_en">EXISTS links_aliases;
I'm getting this error:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '&lr=lang_en">SET @t4=0' at line 1
in:
[SET&lr=lang_en">SET @t4=0;]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Any advise?

Thanks