Here's another thought...

...putting this sql thing into a php document and just running it from a URL rather than have to log into cPanel and then go to MyPhpAdmin and all that rigarmarole every time we swipe stuff.