This is surely not an error in HeidiSQL, but in the query itself.
Btw, you can activate the notify option in the forum settings to get an email on replies. There is noone sending you a manual email because he replies to your questions.
Please login to leave a reply, or register at first.