When you set up Zen Cart, it asks you to specify a "database prefix". It is optional. If the commands that you executed before worked successfully just as you have noted them in your last post, then you don't have a database prefix.
But you should really make sure before proceeding:
I could not figure out any way in the Admin to see what the database prefix is. The only way that I know of is to look at this file:
includes/configure.php
If you know how to open that and look at it, scroll down to near the bottom to find the line that defines "DB_PREFIX". For me, it's defined to 'zc_'. If you didn't set up a prefix, yours should be defined to ''. In that case, this is the SQL that you want to execute.
Code:
ALTER TABLE customers DROP COWOA_account;
ALTER TABLE orders DROP COWOA_order;
DELETE FROM query_builder WHERE query_name = 'Permanent Account Holders Only';
If it IS defined to something other than blank, let me know what it is. I'd be surprised because in that case the queries that you noted above should not have worked.
Let me know how you make out.
Bookmarks