You cannot use a INSERT or UPDATE command in a SELECT query, unless the script is coded in such a way, that you can do multiple queries. In that case, all you need to do is add ; to the end of the SELECT command and enter a new one after it. But this rarely/never happens.