INSERT INTO catalog_category_entity (
entity_type_id, 
attribute_set_id, 
parent_id, 
created_at, 
updated_at, 
path, 
position,  
level, 
children_count
) values (
(
SELECT b.entity_type_id from eav_entity_type b
 
WHERE b.entity_table = 'catalog/category' 
)
 ,
(
SELECT b.default_attribute_set_id from eav_entity_type b
 
WHERE b.entity_table = 'catalog/category' 
)
,
2,
now(),
now(),
'1/2/',
<@WSORTNO@>, 
'2',
'0'
)