Many thanks for the MySQL queries, Chris! They have saved me a great deal of time. Just one comment: in ISPConfig 3.0.5.3 the 'parent_id' field...
Separate names with a comma.