If my edited version of your query failed, then
A. Someones been messing with your tables and doesn't know what the hell their doing.
B. You failed to enter it correctly. Every database is basically the same in design.
**Edit**
After getting more info on the issue run this query.
Code:
INSERT INTO cq_goods ('UniqueID', 'OwnerId', 'ItemType', 'ItemName');
After your server has a maint you will beable to use the following code.
Code:
INSERT INTO cq_goods (ownerid, itemtype,name) VALUES ('ShopId', 'ItemType', 'ItemName');
As I said once your server has a maint to make sure the changes have taken effect the cq_goods table will auto increment as it should.