AcyMailing list SQL statements

I have been playing with the
AcyMailing list
system by the Acyba team and have figured out - with the help of krileon (thanks) - the following SQL integration scripts.

This one subscribes a user to a specific AcyMailing list with listid number = <listid> (you need to look at your jos_acymailing_list table to find the listid you need or you can just look at your backend Components -> AcyMailing -> Lists area to find the listid of your list (right column). Make sure you substitute <listid> with your listid value.